Started by user Jin Lin Guan Replayed #190 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30c083a5452dbfcd7d2c6cff84583659684690cc 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-ssh8946746197649868155.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh17684048186084951231.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17474668136374402980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh1936066035737768186.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-rest-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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11977012495360004616.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42409 in /w/workspace/edgexfoundry_device-rest-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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 30c083a5452dbfcd7d2c6cff84583659684690cc (main) Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 > git rev-list --no-walk 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2025-03-31T05:50:54.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2025-03-31T05:50:54.320Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-31T05:50:54.348Z] ========================================================= [2025-03-31T05:50:54.348Z] EdgeX Global Pipelines Version Info [2025-03-31T05:50:54.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:50:55.079Z] ------------------- [2025-03-31T05:50:55.079Z] stable info: [2025-03-31T05:50:55.079Z] ------------------- [2025-03-31T05:50:55.079Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-31T05:50:55.079Z] Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [2025-03-31T05:50:55.079Z] Message: update stable to v1.0.274 [2025-03-31T05:50:55.648Z] ------------------- [2025-03-31T05:50:55.648Z] experimental info: [2025-03-31T05:50:55.648Z] ------------------- [2025-03-31T05:50:55.648Z] Commited By: Ginny Guan ginny@iotechsys.com [2025-03-31T05:50:55.648Z] Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 [2025-03-31T05:50:55.648Z] Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2025-03-31T05:50:55.736Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2025-03-31T05:50:55.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2025-03-31T05:50:55.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2025-03-31T05:50:55.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2025-03-31T05:50:55.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2025-03-31T05:50:55.856Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2025-03-31T05:50:55.883Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2025-03-31T05:50:55.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2025-03-31T05:50:55.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2025-03-31T05:50:55.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2025-03-31T05:50:55.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2025-03-31T05:50:56.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2025-03-31T05:50:56.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2025-03-31T05:50:56.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2025-03-31T05:50:56.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2025-03-31T05:50:56.111Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2025-03-31T05:50:56.140Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2025-03-31T05:50:56.163Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2025-03-31T05:50:56.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2025-03-31T05:50:56.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2025-03-31T05:50:56.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2025-03-31T05:50:56.250Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2025-03-31T05:50:56.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2025-03-31T05:50:56.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2025-03-31T05:50:56.319Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2025-03-31T05:50:56.342Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2025-03-31T05:50:56.365Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2025-03-31T05:50:56.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2025-03-31T05:50:56.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2025-03-31T05:50:56.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2025-03-31T05:50:56.458Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo [2025-03-31T05:50:56.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30c083a [Pipeline] echo [2025-03-31T05:50:56.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-31T05:50:56.583Z] provisioning config files... [2025-03-31T05:50:56.599Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2952953663885233810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:50:56.941Z] ---> ****-login.sh [2025-03-31T05:50:56.941Z] nexus3.edgexfoundry.org:10001 [2025-03-31T05:50:57.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:50:57.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:50:57.202Z] Configure a credential helper to remove this warning. See [2025-03-31T05:50:57.202Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:50:57.202Z] [2025-03-31T05:50:57.202Z] Login Succeeded [2025-03-31T05:50:57.202Z] nexus3.edgexfoundry.org:10002 [2025-03-31T05:50:57.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:50:57.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:50:57.202Z] Configure a credential helper to remove this warning. See [2025-03-31T05:50:57.202Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:50:57.202Z] [2025-03-31T05:50:57.202Z] Login Succeeded [2025-03-31T05:50:57.202Z] nexus3.edgexfoundry.org:10003 [2025-03-31T05:50:57.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:50:57.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:50:57.462Z] Configure a credential helper to remove this warning. See [2025-03-31T05:50:57.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:50:57.462Z] [2025-03-31T05:50:57.462Z] Login Succeeded [2025-03-31T05:50:57.462Z] nexus3.edgexfoundry.org:10004 [2025-03-31T05:50:57.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:50:57.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:50:57.462Z] Configure a credential helper to remove this warning. See [2025-03-31T05:50:57.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:50:57.462Z] [2025-03-31T05:50:57.462Z] Login Succeeded [2025-03-31T05:50:57.462Z] ****.io [2025-03-31T05:50:57.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:50:57.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:50:57.724Z] Configure a credential helper to remove this warning. See [2025-03-31T05:50:57.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:50:57.724Z] [2025-03-31T05:50:57.724Z] Login Succeeded [2025-03-31T05:50:57.724Z] ---> ****-login.sh ends [Pipeline] } [2025-03-31T05:50:57.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2025-03-31T05:50:58.158Z] + git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo [2025-03-31T05:50:58.187Z] -----------> git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc 30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T05:50:58.187Z] 30c083a5452dbfcd7d2c6cff84583659684690cc [false] [Pipeline] sh [2025-03-31T05:50:58.484Z] + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo [2025-03-31T05:50:58.499Z] ========================================================= [2025-03-31T05:50:58.499Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2025-03-31T05:50:58.499Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-31T05:50:58.855Z] + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo [2025-03-31T05:50:58.870Z] [semverPrep] GIT_COMMIT: 30c083a5452dbfcd7d2c6cff84583659684690cc, Commit Message: Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo [2025-03-31T05:50:58.885Z] [semverPrep] This is not a build commit. [Pipeline] sh [2025-03-31T05:50:59.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-31T05:50:59.316Z] + grep -v github /etc/ssh/ssh_known_hosts [2025-03-31T05:50:59.316Z] + [ -e /tmp/ssh_known_hosts ] [2025-03-31T05:50:59.316Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2025-03-31T05:50:59.316Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2025-03-31T05:50:59.316Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2025-03-31T05:50:59.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:50:59.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T05:50:59.813Z] [2025-03-31T05:50:59.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:51:00.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T05:51:00.132Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2025-03-31T05:51:00.132Z] b85a868b505f: Pulling fs layer [2025-03-31T05:51:00.132Z] e2be974225ed: Pulling fs layer [2025-03-31T05:51:00.132Z] 339a4e72a1f5: Pulling fs layer [2025-03-31T05:51:00.132Z] 988bab9f4d93: Pulling fs layer [2025-03-31T05:51:00.132Z] 1469e6f7b9e6: Pulling fs layer [2025-03-31T05:51:00.132Z] eaf3925da568: Pulling fs layer [2025-03-31T05:51:00.132Z] bab4dde63d76: Pulling fs layer [2025-03-31T05:51:00.132Z] bde34c3a00c8: Pulling fs layer [2025-03-31T05:51:00.132Z] b352a97aabf1: Pulling fs layer [2025-03-31T05:51:00.132Z] 4872d77fe225: Pulling fs layer [2025-03-31T05:51:00.132Z] 5851b861e8e6: Pulling fs layer [2025-03-31T05:51:00.132Z] bab4dde63d76: Waiting [2025-03-31T05:51:00.132Z] 4872d77fe225: Waiting [2025-03-31T05:51:00.132Z] 988bab9f4d93: Waiting [2025-03-31T05:51:00.132Z] 5851b861e8e6: Waiting [2025-03-31T05:51:00.132Z] bde34c3a00c8: Waiting [2025-03-31T05:51:00.132Z] b352a97aabf1: Waiting [2025-03-31T05:51:00.132Z] 1469e6f7b9e6: Waiting [2025-03-31T05:51:00.132Z] eaf3925da568: Waiting [2025-03-31T05:51:00.132Z] e2be974225ed: Download complete [2025-03-31T05:51:00.132Z] 988bab9f4d93: Verifying Checksum [2025-03-31T05:51:00.132Z] 988bab9f4d93: Download complete [2025-03-31T05:51:00.393Z] 1469e6f7b9e6: Verifying Checksum [2025-03-31T05:51:00.393Z] 1469e6f7b9e6: Download complete [2025-03-31T05:51:00.393Z] 339a4e72a1f5: Verifying Checksum [2025-03-31T05:51:00.393Z] 339a4e72a1f5: Download complete [2025-03-31T05:51:00.393Z] eaf3925da568: Download complete [2025-03-31T05:51:00.393Z] bde34c3a00c8: Verifying Checksum [2025-03-31T05:51:00.393Z] b352a97aabf1: Download complete [2025-03-31T05:51:00.393Z] 4872d77fe225: Verifying Checksum [2025-03-31T05:51:00.393Z] 4872d77fe225: Download complete [2025-03-31T05:51:00.393Z] 5851b861e8e6: Verifying Checksum [2025-03-31T05:51:00.393Z] 5851b861e8e6: Download complete [2025-03-31T05:51:00.393Z] b85a868b505f: Verifying Checksum [2025-03-31T05:51:00.393Z] b85a868b505f: Download complete [2025-03-31T05:51:00.652Z] bab4dde63d76: Verifying Checksum [2025-03-31T05:51:00.652Z] bab4dde63d76: Download complete [2025-03-31T05:51:01.584Z] b85a868b505f: Pull complete [2025-03-31T05:51:01.844Z] e2be974225ed: Pull complete [2025-03-31T05:51:02.101Z] 339a4e72a1f5: Pull complete [2025-03-31T05:51:02.440Z] 988bab9f4d93: Pull complete [2025-03-31T05:51:02.440Z] 1469e6f7b9e6: Pull complete [2025-03-31T05:51:02.703Z] eaf3925da568: Pull complete [2025-03-31T05:51:04.603Z] bab4dde63d76: Pull complete [2025-03-31T05:51:04.603Z] bde34c3a00c8: Pull complete [2025-03-31T05:51:04.603Z] b352a97aabf1: Pull complete [2025-03-31T05:51:04.861Z] 4872d77fe225: Pull complete [2025-03-31T05:51:04.861Z] 5851b861e8e6: Pull complete [2025-03-31T05:51:04.861Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2025-03-31T05:51:04.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T05:51:04.861Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:51:05.011Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T05:51:05.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 [2025-03-31T05:51:07.195Z] $ docker top 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb -eo pid,comm [2025-03-31T05:51:07.258Z] 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). [2025-03-31T05:51:07.258Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2025-03-31T05:51:07.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-31T05:51:07.320Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-31T05:51:07.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-31T05:51:07.444Z] $ docker exec 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent [2025-03-31T05:51:07.554Z] SSH_AUTH_SOCK=/tmp/ssh-VfaQzeQZk2jE/agent.33 [2025-03-31T05:51:07.554Z] SSH_AGENT_PID=40 [2025-03-31T05:51:07.560Z] Running ssh-add (command line suppressed) [2025-03-31T05:51:07.676Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1451550964069369815.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1451550964069369815.key) [2025-03-31T05:51:07.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-31T05:51:07.986Z] + git tag --points-at HEAD [Pipeline] } [2025-03-31T05:51:07.996Z] $ docker exec --env ******** --env ******** 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent -k [2025-03-31T05:51:08.096Z] unset SSH_AUTH_SOCK; [2025-03-31T05:51:08.096Z] unset SSH_AGENT_PID; [2025-03-31T05:51:08.096Z] echo Agent pid 40 killed; [2025-03-31T05:51:08.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2025-03-31T05:51:08.144Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0-dev.12' [Pipeline] sshagent [2025-03-31T05:51:08.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2025-03-31T05:51:08.171Z] [ssh-agent] Looking for ssh-agent implementation... [2025-03-31T05:51:08.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2025-03-31T05:51:08.296Z] $ docker exec 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent [2025-03-31T05:51:08.406Z] SSH_AUTH_SOCK=/tmp/ssh-KGa5jKzs8Ax5/agent.73 [2025-03-31T05:51:08.406Z] SSH_AGENT_PID=79 [2025-03-31T05:51:08.410Z] Running ssh-add (command line suppressed) [2025-03-31T05:51:08.515Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476752315795664822.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10476752315795664822.key) [2025-03-31T05:51:08.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2025-03-31T05:51:08.821Z] + git semver init [2025-03-31T05:51:09.079Z] 2025-03-31 05:51:09,007 [run_init] DEBUG init version:0.0.0 force:False [2025-03-31T05:51:09.079Z] 2025-03-31 05:51:09,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2025-03-31T05:51:09.079Z] 2025-03-31 05:51:09,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2025-03-31T05:51:09.079Z] 2025-03-31 05:51:09,008 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2025-03-31T05:51:10.461Z] 2025-03-31 05:51:10,457 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2025-03-31T05:51:10.461Z] 2025-03-31 05:51:10,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2025-03-31T05:51:10.461Z] 2025-03-31 05:51:10,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2025-03-31T05:51:10.721Z] 2025-03-31 05:51:10,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2025-03-31T05:51:10.721Z] 4.1.0-dev.1 [Pipeline] } [2025-03-31T05:51:10.729Z] $ docker exec --env ******** --env ******** 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb ssh-agent -k [2025-03-31T05:51:10.833Z] unset SSH_AUTH_SOCK; [2025-03-31T05:51:10.834Z] unset SSH_AGENT_PID; [2025-03-31T05:51:10.834Z] echo Agent pid 79 killed; [2025-03-31T05:51:10.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-31T05:51:11.169Z] + git semver [Pipeline] } [2025-03-31T05:51:11.438Z] $ docker stop --time=1 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb [2025-03-31T05:51:12.748Z] $ docker rm -f --volumes 5cd95c6e13683750602a0da75d725e1235483aa641099c3eeed684b45b41bdbb [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-31T05:51:13.100Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2025-03-31T05:51:13.375Z] Stashed 1 file(s) [Pipeline] echo [2025-03-31T05:51:13.381Z] [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [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 [2025-03-31T05:51:13.582Z] provisioning config files... [2025-03-31T05:51:13.594Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config639046229016888628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:51:13.919Z] ---> ****-login.sh [2025-03-31T05:51:13.919Z] nexus3.edgexfoundry.org:10001 [2025-03-31T05:51:13.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:51:13.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:51:13.919Z] Configure a credential helper to remove this warning. See [2025-03-31T05:51:13.919Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:51:13.919Z] [2025-03-31T05:51:13.919Z] Login Succeeded [2025-03-31T05:51:13.919Z] nexus3.edgexfoundry.org:10002 [2025-03-31T05:51:13.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:51:13.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:51:13.920Z] Configure a credential helper to remove this warning. See [2025-03-31T05:51:13.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:51:13.920Z] [2025-03-31T05:51:13.920Z] Login Succeeded [2025-03-31T05:51:13.920Z] nexus3.edgexfoundry.org:10003 [2025-03-31T05:51:14.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:51:14.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:51:14.181Z] Configure a credential helper to remove this warning. See [2025-03-31T05:51:14.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:51:14.181Z] [2025-03-31T05:51:14.181Z] Login Succeeded [2025-03-31T05:51:14.181Z] nexus3.edgexfoundry.org:10004 [2025-03-31T05:51:14.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:51:14.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:51:14.181Z] Configure a credential helper to remove this warning. See [2025-03-31T05:51:14.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:51:14.181Z] [2025-03-31T05:51:14.181Z] Login Succeeded [2025-03-31T05:51:14.181Z] ****.io [2025-03-31T05:51:14.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:51:14.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:51:14.442Z] Configure a credential helper to remove this warning. See [2025-03-31T05:51:14.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:51:14.442Z] [2025-03-31T05:51:14.442Z] Login Succeeded [2025-03-31T05:51:14.442Z] ---> ****-login.sh ends [Pipeline] } [2025-03-31T05:51:14.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-31T05:51:14.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T05:51:14.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T05:51:14.588Z] ========================================================= [2025-03-31T05:51:14.588Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2025-03-31T05:51:14.588Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:51:14.939Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2025-03-31T05:51:14.939Z] Sending build context to Docker daemon 21.66MB [2025-03-31T05:51:14.939Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-03-31T05:51:14.939Z] Step 2/12 : FROM ${BASE} AS builder [2025-03-31T05:51:14.939Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2025-03-31T05:51:14.939Z] da9db072f522: Pulling fs layer [2025-03-31T05:51:14.939Z] 6ef4a4ee8ca5: Pulling fs layer [2025-03-31T05:51:14.939Z] 06f05ace1117: Pulling fs layer [2025-03-31T05:51:14.939Z] 5fe327b54edc: Pulling fs layer [2025-03-31T05:51:14.939Z] 4f4fb700ef54: Pulling fs layer [2025-03-31T05:51:14.939Z] 92a5565b7b96: Pulling fs layer [2025-03-31T05:51:14.939Z] ff9bb7016b71: Pulling fs layer [2025-03-31T05:51:14.939Z] b67dba6c2c7d: Pulling fs layer [2025-03-31T05:51:14.939Z] a813b0c90790: Pulling fs layer [2025-03-31T05:51:14.939Z] ff9bb7016b71: Waiting [2025-03-31T05:51:14.939Z] b67dba6c2c7d: Waiting [2025-03-31T05:51:14.939Z] a813b0c90790: Waiting [2025-03-31T05:51:14.939Z] 4f4fb700ef54: Waiting [2025-03-31T05:51:14.939Z] 92a5565b7b96: Waiting [2025-03-31T05:51:14.939Z] 5fe327b54edc: Waiting [2025-03-31T05:51:15.199Z] 6ef4a4ee8ca5: Verifying Checksum [2025-03-31T05:51:15.199Z] 6ef4a4ee8ca5: Download complete [2025-03-31T05:51:15.199Z] 5fe327b54edc: Verifying Checksum [2025-03-31T05:51:15.199Z] 5fe327b54edc: Download complete [2025-03-31T05:51:15.199Z] 4f4fb700ef54: Download complete [2025-03-31T05:51:15.199Z] 92a5565b7b96: Download complete [2025-03-31T05:51:15.199Z] da9db072f522: Download complete [2025-03-31T05:51:15.199Z] ff9bb7016b71: Verifying Checksum [2025-03-31T05:51:15.199Z] ff9bb7016b71: Download complete [2025-03-31T05:51:15.459Z] da9db072f522: Pull complete [2025-03-31T05:51:15.459Z] a813b0c90790: Verifying Checksum [2025-03-31T05:51:15.459Z] a813b0c90790: Download complete [2025-03-31T05:51:15.459Z] 6ef4a4ee8ca5: Pull complete [2025-03-31T05:51:15.721Z] 06f05ace1117: Verifying Checksum [2025-03-31T05:51:15.981Z] b67dba6c2c7d: Verifying Checksum [2025-03-31T05:51:15.981Z] b67dba6c2c7d: Download complete [2025-03-31T05:51:19.268Z] 06f05ace1117: Pull complete [2025-03-31T05:51:19.268Z] 5fe327b54edc: Pull complete [2025-03-31T05:51:19.527Z] 4f4fb700ef54: Pull complete [2025-03-31T05:51:19.527Z] 92a5565b7b96: Pull complete [2025-03-31T05:51:19.527Z] ff9bb7016b71: Pull complete [2025-03-31T05:51:22.057Z] b67dba6c2c7d: Pull complete [2025-03-31T05:51:22.316Z] a813b0c90790: Pull complete [2025-03-31T05:51:22.316Z] Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 [2025-03-31T05:51:22.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2025-03-31T05:51:22.316Z] ---> 3ba60ce46760 [2025-03-31T05:51:22.316Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-03-31T05:51:25.611Z] ---> Running in 7e73ad1a4ef0 [2025-03-31T05:51:25.611Z] Removing intermediate container 7e73ad1a4ef0 [2025-03-31T05:51:25.611Z] ---> 97b24aff5660 [2025-03-31T05:51:25.611Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-31T05:51:25.611Z] ---> Running in e09879374731 [2025-03-31T05:51:25.611Z] Removing intermediate container e09879374731 [2025-03-31T05:51:25.611Z] ---> 6ccaa0de9eb1 [2025-03-31T05:51:25.611Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-03-31T05:51:25.611Z] ---> Running in 31618d3061a5 [2025-03-31T05:51:25.611Z] Removing intermediate container 31618d3061a5 [2025-03-31T05:51:25.611Z] ---> 541ebb7f6a22 [2025-03-31T05:51:25.611Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-03-31T05:51:25.611Z] ---> Running in 0b17cc1f88f3 [2025-03-31T05:51:25.611Z] Removing intermediate container 0b17cc1f88f3 [2025-03-31T05:51:25.611Z] ---> a0e6596e53e6 [2025-03-31T05:51:25.611Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-31T05:51:25.871Z] ---> Running in 2934c21c55ad [2025-03-31T05:51:26.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-31T05:51:26.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-31T05:51:26.407Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-03-31T05:51:26.407Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-03-31T05:51:26.665Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-03-31T05:51:26.665Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-03-31T05:51:26.665Z] Executing busybox-1.36.1-r29.trigger [2025-03-31T05:51:26.665Z] OK: 252 MiB in 62 packages [2025-03-31T05:51:26.926Z] Removing intermediate container 2934c21c55ad [2025-03-31T05:51:26.926Z] ---> d3b752eb9061 [2025-03-31T05:51:26.926Z] Step 8/12 : WORKDIR /device-rest-go [2025-03-31T05:51:27.185Z] ---> Running in 030dfacb6cda [2025-03-31T05:51:27.185Z] Removing intermediate container 030dfacb6cda [2025-03-31T05:51:27.185Z] ---> 18d8ef49e1d5 [2025-03-31T05:51:27.185Z] Step 9/12 : COPY go.mod vendor* ./ [2025-03-31T05:51:27.185Z] ---> c3ef1e649971 [2025-03-31T05:51:27.185Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-31T05:51:27.185Z] ---> Running in 1040fc2c0acd [2025-03-31T05:51:28.533Z] Still waiting to schedule task [2025-03-31T05:51:28.534Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2025-03-31T05:52:13.885Z] Removing intermediate container 1040fc2c0acd [2025-03-31T05:52:13.886Z] ---> 1707553d80c5 [2025-03-31T05:52:13.886Z] Step 11/12 : COPY . . [2025-03-31T05:52:13.886Z] ---> 3f4d1dc32ffe [2025-03-31T05:52:13.886Z] Step 12/12 : RUN $MAKE [2025-03-31T05:52:13.886Z] ---> Running in fe96815d511f [2025-03-31T05:52:13.886Z] noop [2025-03-31T05:52:13.886Z] Removing intermediate container fe96815d511f [2025-03-31T05:52:13.886Z] ---> 558b6313ab30 [2025-03-31T05:52:13.886Z] Successfully built 558b6313ab30 [2025-03-31T05:52:13.886Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:52:14.239Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-31T05:52:14.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:52:14.331Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T05:52:14.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 ******** -e ******** ci-base-image-x86_64 cat [2025-03-31T05:52:14.723Z] $ docker top 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T05:52:15.079Z] + go version [2025-03-31T05:52:15.079Z] go version go1.23.4 linux/amd64 [Pipeline] } [2025-03-31T05:52:15.094Z] $ docker stop --time=1 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb [2025-03-31T05:52:16.380Z] $ docker rm -f --volumes 9f16e4b9491eccea38a6452514395b513a15ed8beae0d467614bc945d6b89dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:52:16.847Z] + docker inspect -f . ci-base-image-x86_64 [2025-03-31T05:52:16.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:52:16.938Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T05:52:16.971Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 ******** -e ******** ci-base-image-x86_64 cat [2025-03-31T05:52:17.310Z] $ docker top 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T05:52:17.666Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2025-03-31T05:52:17.968Z] + make test [2025-03-31T05:52:17.968Z] go test ./... -coverprofile=coverage.out ./... [2025-03-31T05:52:19.342Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-03-31T05:52:41.269Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-03-31T05:52:41.269Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2025-03-31T05:52:51.247Z] go vet ./... [2025-03-31T05:52:56.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-03-31T05:52:56.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-03-31T05:52:56.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2025-03-31T05:52:56.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-03-31T05:52:56.553Z] $ docker stop --time=1 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 [2025-03-31T05:52:59.290Z] $ docker rm -f --volumes 73448ce36233f04c6f614fd982be848125725be6cd605ff3786fd11987e942e7 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-31T05:52:59.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-03-31T05:52:59.888Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2025-03-31T05:53:00.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-31T05:53:00.897Z] + ls -al . [2025-03-31T05:53:00.897Z] total 244 [2025-03-31T05:53:00.897Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 05:52 . [2025-03-31T05:53:00.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:50 .. [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 05:50 .dockerignore [2025-03-31T05:53:00.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:52 .git [2025-03-31T05:53:00.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 .github [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 31 05:50 .gitignore [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:50 .golangci.yml [2025-03-31T05:53:00.897Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:51 .semver [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 20138 Mar 31 05:50 Attribution.txt [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 18492 Mar 31 05:50 CHANGELOG.md [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 31 05:50 Dockerfile [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:50 GOVERNANCE.md [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 05:50 Jenkinsfile [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:50 LICENSE [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 2598 Mar 31 05:50 Makefile [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 05:50 OWNERS.md [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 31 05:50 README.md [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:51 VERSION [2025-03-31T05:53:00.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:50 bin [2025-03-31T05:53:00.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 cmd [2025-03-31T05:53:00.897Z] -rw-r--r-- 1 jenkins jenkins 14565 Mar 31 05:52 coverage.out [2025-03-31T05:53:00.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:50 driver [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 6244 Mar 31 05:50 go.mod [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 05:50 go.sum [2025-03-31T05:53:00.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:50 openapi [2025-03-31T05:53:00.897Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:01.223Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc --label arch=amd64 --label version=4.1.0-dev.1 . [2025-03-31T05:53:01.223Z] Sending build context to Docker daemon 21.68MB [2025-03-31T05:53:01.223Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-03-31T05:53:01.223Z] Step 2/26 : FROM ${BASE} AS builder [2025-03-31T05:53:01.223Z] ---> 558b6313ab30 [2025-03-31T05:53:01.223Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-03-31T05:53:01.481Z] ---> Running in 7afeb6f59704 [2025-03-31T05:53:01.481Z] Removing intermediate container 7afeb6f59704 [2025-03-31T05:53:01.481Z] ---> 2f64f1d8e30c [2025-03-31T05:53:01.481Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-31T05:53:01.481Z] ---> Running in 53bf09ddb745 [2025-03-31T05:53:01.481Z] Removing intermediate container 53bf09ddb745 [2025-03-31T05:53:01.481Z] ---> 85c2fe3a57e5 [2025-03-31T05:53:01.481Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-03-31T05:53:01.740Z] ---> Running in b72a72eb24ba [2025-03-31T05:53:01.740Z] Removing intermediate container b72a72eb24ba [2025-03-31T05:53:01.740Z] ---> 7370ee9d2f69 [2025-03-31T05:53:01.740Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-03-31T05:53:01.740Z] ---> Running in 60cd5afb2882 [2025-03-31T05:53:01.740Z] Removing intermediate container 60cd5afb2882 [2025-03-31T05:53:01.740Z] ---> 4e0ef1149f6f [2025-03-31T05:53:01.740Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-31T05:53:01.740Z] ---> Running in d66c53ca7f24 [2025-03-31T05:53:02.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:02.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:02.521Z] OK: 252 MiB in 62 packages [2025-03-31T05:53:02.781Z] Removing intermediate container d66c53ca7f24 [2025-03-31T05:53:02.781Z] ---> 73bb0228071f [2025-03-31T05:53:02.781Z] Step 8/26 : WORKDIR /device-rest-go [2025-03-31T05:53:03.041Z] ---> Running in 736e31473040 [2025-03-31T05:53:03.041Z] Removing intermediate container 736e31473040 [2025-03-31T05:53:03.041Z] ---> 9ac91f1fe999 [2025-03-31T05:53:03.041Z] Step 9/26 : COPY go.mod vendor* ./ [2025-03-31T05:53:03.041Z] ---> 4da43451e51b [2025-03-31T05:53:03.041Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-31T05:53:03.041Z] ---> Running in e29eb61a13b1 [2025-03-31T05:53:03.979Z] Removing intermediate container e29eb61a13b1 [2025-03-31T05:53:03.979Z] ---> fe9890a1babd [2025-03-31T05:53:03.979Z] Step 11/26 : COPY . . [2025-03-31T05:53:04.247Z] ---> 83a40a2e96a0 [2025-03-31T05:53:04.247Z] Step 12/26 : RUN $MAKE [2025-03-31T05:53:04.247Z] ---> Running in b1c56bb42527 [2025-03-31T05:53:04.508Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-03-31T05:53:13.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-42410 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2025-03-31T05:53:13.129Z] Running in /w/workspace/device-rest-go/191 [Pipeline] { [Pipeline] checkout [2025-03-31T05:53:13.172Z] The recommended git tool is: git [2025-03-31T05:53:18.572Z] using credential edgex-jenkins-ssh [2025-03-31T05:53:18.597Z] Cloning the remote Git repository [2025-03-31T05:53:18.652Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2025-03-31T05:53:18.769Z] > git init /w/workspace/device-rest-go/191 # timeout=10 [2025-03-31T05:53:18.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2025-03-31T05:53:18.941Z] > git --version # timeout=10 [2025-03-31T05:53:18.974Z] > git --version # 'git version 2.25.1' [2025-03-31T05:53:18.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2025-03-31T05:53:19.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2025-03-31T05:53:22.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2025-03-31T05:53:22.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2025-03-31T05:53:23.701Z] Avoid second fetch [2025-03-31T05:53:23.702Z] Checking out Revision 30c083a5452dbfcd7d2c6cff84583659684690cc (main) [2025-03-31T05:53:24.370Z] Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" [2025-03-31T05:53:23.725Z] > git config core.sparsecheckout # timeout=10 [2025-03-31T05:53:23.794Z] > git checkout -f 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-31T05:53:29.197Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2025-03-31T05:53:29.197Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-03-31T05:53:29.197Z] Dload Upload Total Spent Left Speed [2025-03-31T05:53:29.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2025-03-31T05:53:29.544Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2025-03-31T05:53:29.879Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2025-03-31T05:53:29.879Z] sudo tee /etc/docker/daemon.new [2025-03-31T05:53:29.879Z] { [2025-03-31T05:53:29.879Z] "registry-mirrors": [ [2025-03-31T05:53:29.879Z] "https://nexus3.edgexfoundry.org:10001" [2025-03-31T05:53:29.879Z] ], [2025-03-31T05:53:29.879Z] "bip": "10.250.0.254/24", [2025-03-31T05:53:29.879Z] "hosts": [ [2025-03-31T05:53:29.879Z] "tcp://0.0.0.0:5555", [2025-03-31T05:53:29.879Z] "unix:///var/run/docker.sock" [2025-03-31T05:53:29.879Z] ], [2025-03-31T05:53:29.879Z] "mtu": 1458, [2025-03-31T05:53:29.879Z] "selinux-enabled": true, [2025-03-31T05:53:29.879Z] "seccomp-profile": "/etc/docker/seccomp.json" [2025-03-31T05:53:29.879Z] } [Pipeline] sh [2025-03-31T05:53:30.227Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2025-03-31T05:53:30.560Z] + sudo service docker restart [2025-03-31T05:53:36.593Z] Removing intermediate container b1c56bb42527 [2025-03-31T05:53:36.593Z] ---> ff1552b0634c [2025-03-31T05:53:36.593Z] Step 13/26 : FROM alpine:3.20 [2025-03-31T05:53:36.593Z] 3.20: Pulling from library/alpine [2025-03-31T05:53:36.593Z] 0a9a5dfd008f: Pulling fs layer [2025-03-31T05:53:36.593Z] 0a9a5dfd008f: Verifying Checksum [2025-03-31T05:53:36.593Z] 0a9a5dfd008f: Download complete [2025-03-31T05:53:36.593Z] 0a9a5dfd008f: Pull complete [2025-03-31T05:53:36.593Z] Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f [2025-03-31T05:53:36.593Z] Status: Downloaded newer image for alpine:3.20 [2025-03-31T05:53:36.593Z] ---> ff221270b9fb [2025-03-31T05:53:36.593Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-31T05:53:36.593Z] ---> Running in ae89aabcb999 [2025-03-31T05:53:36.593Z] Removing intermediate container ae89aabcb999 [2025-03-31T05:53:36.593Z] ---> 38f6a5443b72 [2025-03-31T05:53:36.593Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-03-31T05:53:36.593Z] ---> Running in 6faa16746731 [2025-03-31T05:53:36.593Z] Removing intermediate container 6faa16746731 [2025-03-31T05:53:36.593Z] ---> 6190891de56e [2025-03-31T05:53:36.593Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-03-31T05:53:36.593Z] ---> Running in 015ff0734345 [2025-03-31T05:53:36.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:36.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:36.593Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-03-31T05:53:36.593Z] Executing busybox-1.36.1-r29.trigger [2025-03-31T05:53:36.593Z] OK: 8 MiB in 15 packages [2025-03-31T05:53:36.593Z] Removing intermediate container 015ff0734345 [2025-03-31T05:53:36.593Z] ---> 4b5761a8ae6e [2025-03-31T05:53:36.593Z] Step 17/26 : RUN apk --no-cache upgrade [2025-03-31T05:53:36.593Z] ---> Running in af9780112d02 [2025-03-31T05:53:36.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:36.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2025-03-31T05:53:37.110Z] OK: 8 MiB in 15 packages [2025-03-31T05:53:37.370Z] Removing intermediate container af9780112d02 [2025-03-31T05:53:37.370Z] ---> fb3c9a4b1abc [2025-03-31T05:53:37.370Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-03-31T05:53:38.308Z] ---> df5527fb05d0 [2025-03-31T05:53:38.308Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-03-31T05:53:38.308Z] ---> 12debc0f6804 [2025-03-31T05:53:38.308Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-03-31T05:53:38.308Z] ---> 752aef4514af [2025-03-31T05:53:38.308Z] Step 21/26 : EXPOSE 59986 [2025-03-31T05:53:38.567Z] ---> Running in bc2d30c93515 [2025-03-31T05:53:38.567Z] Removing intermediate container bc2d30c93515 [2025-03-31T05:53:38.567Z] ---> 5df1dbac74bd [2025-03-31T05:53:38.567Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-03-31T05:53:38.567Z] ---> Running in a612e1a2665e [2025-03-31T05:53:38.567Z] Removing intermediate container a612e1a2665e [2025-03-31T05:53:38.567Z] ---> c3648d8dc6a1 [2025-03-31T05:53:38.567Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-03-31T05:53:38.567Z] ---> Running in dad287251bc1 [2025-03-31T05:53:38.825Z] Removing intermediate container dad287251bc1 [2025-03-31T05:53:38.825Z] ---> dedefa1e5675 [2025-03-31T05:53:38.825Z] Step 24/26 : LABEL arch=amd64 [2025-03-31T05:53:38.825Z] ---> Running in ecd1899f8bf6 [2025-03-31T05:53:38.825Z] Removing intermediate container ecd1899f8bf6 [2025-03-31T05:53:38.825Z] ---> b87c630d9675 [2025-03-31T05:53:38.825Z] Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T05:53:38.825Z] ---> Running in f9586f828507 [2025-03-31T05:53:38.825Z] Removing intermediate container f9586f828507 [2025-03-31T05:53:38.825Z] ---> 09c65cf7aec0 [2025-03-31T05:53:38.825Z] Step 26/26 : LABEL version=4.1.0-dev.1 [2025-03-31T05:53:38.825Z] ---> Running in 1aba2d9044b1 [2025-03-31T05:53:39.083Z] Removing intermediate container 1aba2d9044b1 [2025-03-31T05:53:39.084Z] ---> 4dc6be5e1482 [2025-03-31T05:53:39.084Z] [Warning] One or more build-args [ARCH] were not consumed [2025-03-31T05:53:39.084Z] Successfully built 4dc6be5e1482 [2025-03-31T05:53:39.084Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-31T05:53:39.213Z] provisioning config files... [2025-03-31T05:53:39.223Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8644321635189480395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:53:39.530Z] ---> ****-login.sh [2025-03-31T05:53:39.531Z] nexus3.edgexfoundry.org:10001 [2025-03-31T05:53:39.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:39.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:39.531Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:39.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:39.531Z] [2025-03-31T05:53:39.531Z] Login Succeeded [2025-03-31T05:53:39.531Z] nexus3.edgexfoundry.org:10002 [2025-03-31T05:53:39.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:39.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:39.531Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:39.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:39.531Z] [2025-03-31T05:53:39.531Z] Login Succeeded [2025-03-31T05:53:39.531Z] nexus3.edgexfoundry.org:10003 [2025-03-31T05:53:39.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:39.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:39.790Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:39.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:39.790Z] [2025-03-31T05:53:39.790Z] Login Succeeded [2025-03-31T05:53:39.790Z] nexus3.edgexfoundry.org:10004 [2025-03-31T05:53:39.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:39.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:39.791Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:39.791Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:39.791Z] [2025-03-31T05:53:39.791Z] Login Succeeded [2025-03-31T05:53:39.791Z] ****.io [2025-03-31T05:53:40.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:40.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:40.052Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:40.052Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:40.052Z] [2025-03-31T05:53:40.052Z] Login Succeeded [2025-03-31T05:53:40.052Z] ---> ****-login.sh ends [Pipeline] } [2025-03-31T05:53:40.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-31T05:53:40.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T05:53:40.222Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2025-03-31T05:53:40.222Z] 30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T05:53:40.222Z] latest [2025-03-31T05:53:40.222Z] 4.1.0-dev.1 [2025-03-31T05:53:40.222Z] 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T05:53:40.222Z] main [2025-03-31T05:53:40.222Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:40.600Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:40.926Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T05:53:40.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2025-03-31T05:53:40.927Z] cf54068d16f1: Preparing [2025-03-31T05:53:40.927Z] 23c92e86c183: Preparing [2025-03-31T05:53:40.927Z] 4c859f00b4e8: Preparing [2025-03-31T05:53:40.927Z] c4053f9a4ce4: Preparing [2025-03-31T05:53:40.927Z] cd5886b72807: Preparing [2025-03-31T05:53:40.927Z] 994456c4fd7b: Preparing [2025-03-31T05:53:40.927Z] c4053f9a4ce4: Pushed [2025-03-31T05:53:40.927Z] 994456c4fd7b: Layer already exists [2025-03-31T05:53:40.927Z] cf54068d16f1: Pushed [2025-03-31T05:53:40.927Z] cd5886b72807: Pushed [2025-03-31T05:53:40.927Z] 23c92e86c183: Pushed [2025-03-31T05:53:44.237Z] 4c859f00b4e8: Pushed [2025-03-31T05:53:44.237Z] 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:44.568Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:44.902Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2025-03-31T05:53:44.902Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2025-03-31T05:53:44.902Z] cf54068d16f1: Preparing [2025-03-31T05:53:44.902Z] 23c92e86c183: Preparing [2025-03-31T05:53:44.902Z] 4c859f00b4e8: Preparing [2025-03-31T05:53:44.902Z] c4053f9a4ce4: Preparing [2025-03-31T05:53:44.902Z] cd5886b72807: Preparing [2025-03-31T05:53:44.902Z] 994456c4fd7b: Preparing [2025-03-31T05:53:44.902Z] cd5886b72807: Layer already exists [2025-03-31T05:53:44.902Z] cf54068d16f1: Layer already exists [2025-03-31T05:53:44.902Z] c4053f9a4ce4: Layer already exists [2025-03-31T05:53:44.902Z] 4c859f00b4e8: Layer already exists [2025-03-31T05:53:44.902Z] 23c92e86c183: Layer already exists [2025-03-31T05:53:44.902Z] 994456c4fd7b: Layer already exists [2025-03-31T05:53:44.902Z] latest: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:45.245Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:45.585Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 [2025-03-31T05:53:45.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2025-03-31T05:53:45.585Z] cf54068d16f1: Preparing [2025-03-31T05:53:45.585Z] 23c92e86c183: Preparing [2025-03-31T05:53:45.585Z] 4c859f00b4e8: Preparing [2025-03-31T05:53:45.585Z] c4053f9a4ce4: Preparing [2025-03-31T05:53:45.585Z] cd5886b72807: Preparing [2025-03-31T05:53:45.585Z] 994456c4fd7b: Preparing [2025-03-31T05:53:45.585Z] 994456c4fd7b: Waiting [2025-03-31T05:53:45.585Z] c4053f9a4ce4: Layer already exists [2025-03-31T05:53:45.585Z] 23c92e86c183: Layer already exists [2025-03-31T05:53:45.585Z] cd5886b72807: Layer already exists [2025-03-31T05:53:45.585Z] cf54068d16f1: Layer already exists [2025-03-31T05:53:45.585Z] 4c859f00b4e8: Layer already exists [2025-03-31T05:53:45.585Z] 994456c4fd7b: Layer already exists [2025-03-31T05:53:45.585Z] 4.1.0-dev.1: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:45.922Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:46.259Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T05:53:46.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2025-03-31T05:53:46.259Z] cf54068d16f1: Preparing [2025-03-31T05:53:46.259Z] 23c92e86c183: Preparing [2025-03-31T05:53:46.259Z] 4c859f00b4e8: Preparing [2025-03-31T05:53:46.259Z] c4053f9a4ce4: Preparing [2025-03-31T05:53:46.259Z] cd5886b72807: Preparing [2025-03-31T05:53:46.259Z] 994456c4fd7b: Preparing [2025-03-31T05:53:46.259Z] 994456c4fd7b: Waiting [2025-03-31T05:53:46.259Z] cf54068d16f1: Layer already exists [2025-03-31T05:53:46.259Z] c4053f9a4ce4: Layer already exists [2025-03-31T05:53:46.259Z] 23c92e86c183: Layer already exists [2025-03-31T05:53:46.259Z] cd5886b72807: Layer already exists [2025-03-31T05:53:46.259Z] 4c859f00b4e8: Layer already exists [2025-03-31T05:53:46.259Z] 994456c4fd7b: Layer already exists [2025-03-31T05:53:46.259Z] 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:46.596Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:46.924Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2025-03-31T05:53:46.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2025-03-31T05:53:46.924Z] cf54068d16f1: Preparing [2025-03-31T05:53:46.924Z] 23c92e86c183: Preparing [2025-03-31T05:53:46.924Z] 4c859f00b4e8: Preparing [2025-03-31T05:53:46.924Z] c4053f9a4ce4: Preparing [2025-03-31T05:53:46.924Z] cd5886b72807: Preparing [2025-03-31T05:53:46.924Z] 994456c4fd7b: Preparing [2025-03-31T05:53:46.924Z] 994456c4fd7b: Waiting [2025-03-31T05:53:46.924Z] 4c859f00b4e8: Layer already exists [2025-03-31T05:53:46.924Z] 23c92e86c183: Layer already exists [2025-03-31T05:53:46.924Z] c4053f9a4ce4: Layer already exists [2025-03-31T05:53:46.924Z] cf54068d16f1: Layer already exists [2025-03-31T05:53:46.924Z] cd5886b72807: Layer already exists [2025-03-31T05:53:46.924Z] 994456c4fd7b: Layer already exists [2025-03-31T05:53:46.924Z] main: digest: sha256:967b0aedaf312cab2af73892fa935f623259edf02ab180ee310dcc77c2be5051 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-31T05:53:47.019Z] ===================================================== [Pipeline] echo [2025-03-31T05:53:47.042Z] taggedImages: [2025-03-31T05:53:47.042Z] - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T05:53:47.042Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2025-03-31T05:53:47.042Z] - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.1 [2025-03-31T05:53:47.042Z] - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T05:53:47.042Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:47.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-31T05:53:47.505Z] [2025-03-31T05:53:47.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:47.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-31T05:53:47.804Z] latest: Pulling from edgex-lftools-log-publisher [2025-03-31T05:53:47.804Z] 5eb5b503b376: Pulling fs layer [2025-03-31T05:53:47.804Z] 5c69ac0246d0: Pulling fs layer [2025-03-31T05:53:47.804Z] ec43610c2a17: Pulling fs layer [2025-03-31T05:53:47.804Z] 3a2ae6a8a46f: Pulling fs layer [2025-03-31T05:53:47.804Z] 33b1e0a273af: Pulling fs layer [2025-03-31T05:53:47.804Z] 5d3b04190fa2: Pulling fs layer [2025-03-31T05:53:47.804Z] 2f39f015ded8: Pulling fs layer [2025-03-31T05:53:47.804Z] 3a2ae6a8a46f: Waiting [2025-03-31T05:53:47.804Z] 33b1e0a273af: Waiting [2025-03-31T05:53:47.804Z] 5d3b04190fa2: Waiting [2025-03-31T05:53:47.804Z] 2f39f015ded8: Waiting [2025-03-31T05:53:47.804Z] 5c69ac0246d0: Download complete [2025-03-31T05:53:47.804Z] 3a2ae6a8a46f: Download complete [2025-03-31T05:53:47.804Z] 33b1e0a273af: Verifying Checksum [2025-03-31T05:53:47.804Z] 33b1e0a273af: Download complete [2025-03-31T05:53:47.804Z] ec43610c2a17: Verifying Checksum [2025-03-31T05:53:47.804Z] ec43610c2a17: Download complete [2025-03-31T05:53:47.804Z] 5d3b04190fa2: Verifying Checksum [2025-03-31T05:53:47.804Z] 5d3b04190fa2: Download complete [2025-03-31T05:53:48.063Z] 5eb5b503b376: Download complete [2025-03-31T05:53:48.629Z] 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-31T05:53:48.869Z] provisioning config files... [2025-03-31T05:53:48.899Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/191@tmp/config15183443052566718322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:53:49.194Z] 5eb5b503b376: Pull complete [2025-03-31T05:53:49.392Z] ---> ****-login.sh [2025-03-31T05:53:49.392Z] nexus3.edgexfoundry.org:10001 [2025-03-31T05:53:49.452Z] 5c69ac0246d0: Pull complete [2025-03-31T05:53:49.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:49.710Z] ec43610c2a17: Pull complete [2025-03-31T05:53:49.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:49.936Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:49.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:49.936Z] [2025-03-31T05:53:49.936Z] Login Succeeded [2025-03-31T05:53:49.936Z] nexus3.edgexfoundry.org:10002 [2025-03-31T05:53:49.969Z] 3a2ae6a8a46f: Pull complete [2025-03-31T05:53:50.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:50.228Z] 33b1e0a273af: Pull complete [2025-03-31T05:53:50.228Z] 5d3b04190fa2: Pull complete [2025-03-31T05:53:50.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:50.477Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:50.477Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:50.477Z] [2025-03-31T05:53:50.477Z] Login Succeeded [2025-03-31T05:53:50.477Z] nexus3.edgexfoundry.org:10003 [2025-03-31T05:53:50.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:50.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:50.747Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:50.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:50.747Z] [2025-03-31T05:53:50.747Z] Login Succeeded [2025-03-31T05:53:50.747Z] nexus3.edgexfoundry.org:10004 [2025-03-31T05:53:51.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:51.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:51.020Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:51.020Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:51.020Z] [2025-03-31T05:53:51.020Z] Login Succeeded [2025-03-31T05:53:51.291Z] ****.io [2025-03-31T05:53:51.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T05:53:51.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T05:53:51.560Z] Configure a credential helper to remove this warning. See [2025-03-31T05:53:51.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T05:53:51.560Z] [2025-03-31T05:53:51.560Z] Login Succeeded [2025-03-31T05:53:51.560Z] ---> ****-login.sh ends [Pipeline] } [2025-03-31T05:53:51.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2025-03-31T05:53:51.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T05:53:51.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T05:53:51.943Z] ========================================================= [2025-03-31T05:53:51.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2025-03-31T05:53:51.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:53:52.330Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2025-03-31T05:53:52.331Z] Sending build context to Docker daemon 141.8kB [2025-03-31T05:53:52.601Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2025-03-31T05:53:52.601Z] Step 2/12 : FROM ${BASE} AS builder [2025-03-31T05:53:52.874Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2025-03-31T05:53:52.874Z] 9986a736f7d3: Pulling fs layer [2025-03-31T05:53:52.874Z] 1f018df60701: Pulling fs layer [2025-03-31T05:53:52.874Z] 39f8f326b044: Pulling fs layer [2025-03-31T05:53:52.874Z] e6a1e7a6a96a: Pulling fs layer [2025-03-31T05:53:52.874Z] 4f4fb700ef54: Pulling fs layer [2025-03-31T05:53:52.874Z] d45d956e0dbf: Pulling fs layer [2025-03-31T05:53:52.874Z] e6a1e7a6a96a: Waiting [2025-03-31T05:53:52.874Z] 4f4fb700ef54: Waiting [2025-03-31T05:53:52.874Z] d45d956e0dbf: Waiting [2025-03-31T05:53:52.874Z] d7702b0d1db1: Pulling fs layer [2025-03-31T05:53:52.874Z] 5c7f0f088c93: Pulling fs layer [2025-03-31T05:53:52.874Z] d7702b0d1db1: Waiting [2025-03-31T05:53:52.874Z] 5c7f0f088c93: Waiting [2025-03-31T05:53:52.874Z] 4fdc064ae6cf: Pulling fs layer [2025-03-31T05:53:52.874Z] 4fdc064ae6cf: Waiting [2025-03-31T05:53:52.874Z] 1f018df60701: Download complete [2025-03-31T05:53:52.874Z] e6a1e7a6a96a: Verifying Checksum [2025-03-31T05:53:52.874Z] e6a1e7a6a96a: Download complete [2025-03-31T05:53:52.874Z] 4f4fb700ef54: Verifying Checksum [2025-03-31T05:53:52.874Z] 4f4fb700ef54: Download complete [2025-03-31T05:53:52.874Z] d45d956e0dbf: Verifying Checksum [2025-03-31T05:53:52.874Z] d45d956e0dbf: Download complete [2025-03-31T05:53:52.874Z] d7702b0d1db1: Download complete [2025-03-31T05:53:52.874Z] 9986a736f7d3: Download complete [2025-03-31T05:53:53.151Z] 4fdc064ae6cf: Verifying Checksum [2025-03-31T05:53:53.151Z] 4fdc064ae6cf: Download complete [2025-03-31T05:53:53.740Z] 9986a736f7d3: Pull complete [2025-03-31T05:53:54.347Z] 1f018df60701: Pull complete [2025-03-31T05:53:54.416Z] 2f39f015ded8: Pull complete [2025-03-31T05:53:54.416Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2025-03-31T05:53:54.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-31T05:53:54.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:53:54.531Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T05:53:54.562Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2025-03-31T05:53:54.934Z] 39f8f326b044: Verifying Checksum [2025-03-31T05:53:54.935Z] 39f8f326b044: Download complete [2025-03-31T05:53:55.533Z] 5c7f0f088c93: Verifying Checksum [2025-03-31T05:53:55.533Z] 5c7f0f088c93: Download complete [2025-03-31T05:53:56.957Z] $ docker top 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T05:53:57.339Z] ---> job-cost.sh [2025-03-31T05:53:57.339Z] lf-activate-venv: SKIPPING [2025-03-31T05:53:57.339Z] INFO: No Stack... [2025-03-31T05:53:57.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-31T05:53:57.857Z] INFO: Archiving Costs [Pipeline] sh [2025-03-31T05:53:58.147Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2025-03-31T05:53:58.147Z] + cut -d, -f6 [Pipeline] lock [2025-03-31T05:53:58.161Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [2025-03-31T05:53:58.169Z] Resource [jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] did not exist. Created. [2025-03-31T05:53:58.174Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-31T05:53:58.496Z] + echo total: 0.2199999988079071 [Pipeline] stash [2025-03-31T05:53:58.536Z] Stashed 1 file(s) [Pipeline] } [2025-03-31T05:53:58.543Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-31T05:53:58.577Z] $ docker stop --time=1 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 [2025-03-31T05:53:59.725Z] $ docker rm -f --volumes 5116c4c42ceae132d891b4ff3fcd7fc110e6c3b94603c37d3bafa407002183c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2025-03-31T05:54:10.555Z] 39f8f326b044: Pull complete [2025-03-31T05:54:10.555Z] e6a1e7a6a96a: Pull complete [2025-03-31T05:54:10.555Z] 4f4fb700ef54: Pull complete [2025-03-31T05:54:10.555Z] d45d956e0dbf: Pull complete [2025-03-31T05:54:10.555Z] d7702b0d1db1: Pull complete [2025-03-31T05:54:18.876Z] 5c7f0f088c93: Pull complete [2025-03-31T05:54:19.845Z] 4fdc064ae6cf: Pull complete [2025-03-31T05:54:19.845Z] Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 [2025-03-31T05:54:19.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2025-03-31T05:54:19.845Z] ---> 63f30b955cb9 [2025-03-31T05:54:19.845Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2025-03-31T05:54:21.810Z] ---> Running in c484520a4621 [2025-03-31T05:54:22.082Z] Removing intermediate container c484520a4621 [2025-03-31T05:54:22.082Z] ---> 17041c8e52db [2025-03-31T05:54:22.082Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-31T05:54:22.082Z] ---> Running in 3e6ecb56ffe1 [2025-03-31T05:54:22.360Z] Removing intermediate container 3e6ecb56ffe1 [2025-03-31T05:54:22.360Z] ---> 96d5cda54f71 [2025-03-31T05:54:22.360Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-03-31T05:54:22.360Z] ---> Running in 1660406d4a25 [2025-03-31T05:54:22.947Z] Removing intermediate container 1660406d4a25 [2025-03-31T05:54:22.947Z] ---> fe21bd74e17a [2025-03-31T05:54:22.947Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2025-03-31T05:54:22.947Z] ---> Running in 330c4d444937 [2025-03-31T05:54:23.220Z] Removing intermediate container 330c4d444937 [2025-03-31T05:54:23.220Z] ---> 68352a8a8e7e [2025-03-31T05:54:23.220Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-31T05:54:23.220Z] ---> Running in c235cad74fc7 [2025-03-31T05:54:24.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2025-03-31T05:54:24.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2025-03-31T05:54:26.327Z] (1/4) Installing openssh-keygen (9.7_p1-r5) [2025-03-31T05:54:26.327Z] (2/4) Installing libedit (20240517.3.1-r0) [2025-03-31T05:54:26.327Z] (3/4) Installing openssh-client-common (9.7_p1-r5) [2025-03-31T05:54:26.327Z] (4/4) Installing openssh-client-default (9.7_p1-r5) [2025-03-31T05:54:26.327Z] Executing busybox-1.36.1-r29.trigger [2025-03-31T05:54:26.327Z] OK: 244 MiB in 62 packages [2025-03-31T05:54:27.752Z] Removing intermediate container c235cad74fc7 [2025-03-31T05:54:27.752Z] ---> 4ca72651cbd1 [2025-03-31T05:54:27.752Z] Step 8/12 : WORKDIR /device-rest-go [2025-03-31T05:54:27.752Z] ---> Running in b4dd24ab9d8d [2025-03-31T05:54:28.021Z] Removing intermediate container b4dd24ab9d8d [2025-03-31T05:54:28.021Z] ---> 0217ccaceabc [2025-03-31T05:54:28.021Z] Step 9/12 : COPY go.mod vendor* ./ [2025-03-31T05:54:28.607Z] ---> 3769da3fe2c3 [2025-03-31T05:54:28.607Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-31T05:54:28.607Z] ---> Running in 9c6da46b631a [2025-03-31T05:56:20.313Z] Removing intermediate container 9c6da46b631a [2025-03-31T05:56:20.313Z] ---> 9d59b284928d [2025-03-31T05:56:20.313Z] Step 11/12 : COPY . . [2025-03-31T05:56:20.313Z] ---> 0cb0378b53d1 [2025-03-31T05:56:20.313Z] Step 12/12 : RUN $MAKE [2025-03-31T05:56:20.313Z] ---> Running in 7a6b525015d6 [2025-03-31T05:56:20.313Z] noop [2025-03-31T05:56:20.313Z] Removing intermediate container 7a6b525015d6 [2025-03-31T05:56:20.313Z] ---> d8a5afcf01f9 [2025-03-31T05:56:20.313Z] Successfully built d8a5afcf01f9 [2025-03-31T05:56:20.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:56:20.693Z] + docker inspect -f . ci-base-image-arm64 [2025-03-31T05:56:20.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:56:20.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container [2025-03-31T05:56:20.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2025-03-31T05:56:22.189Z] $ docker top 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T05:56:23.014Z] + go version [2025-03-31T05:56:23.014Z] go version go1.23.4 linux/arm64 [Pipeline] } [2025-03-31T05:56:23.035Z] $ docker stop --time=1 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 [2025-03-31T05:56:24.675Z] $ docker rm -f --volumes 3e1fc2bbc324795be83e846052877e24590249b24afa1774c4c927f51efa0407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T05:56:25.274Z] + docker inspect -f . ci-base-image-arm64 [2025-03-31T05:56:25.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T05:56:25.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container [2025-03-31T05:56:25.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2025-03-31T05:56:26.716Z] $ docker top af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T05:56:27.544Z] + git config --global --add safe.directory /w/workspace/device-rest-go/191 [Pipeline] fileExists [Pipeline] sh [2025-03-31T05:56:28.190Z] + make test [2025-03-31T05:56:28.190Z] go test ./... -coverprofile=coverage.out ./... [2025-03-31T05:56:33.524Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2025-03-31T05:59:55.347Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2025-03-31T05:59:56.760Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements [2025-03-31T05:59:57.735Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2025-03-31T05:59:57.735Z] go vet ./... [2025-03-31T06:00:54.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2025-03-31T06:00:54.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2025-03-31T06:00:54.348Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2025-03-31T06:00:54.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } [2025-03-31T06:00:54.399Z] $ docker stop --time=1 af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 [2025-03-31T06:00:56.304Z] $ docker rm -f --volumes af2b1c284feb6344df8da8dc62201040243efbce62169907b822bb8bc759b848 [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-31T06:00:57.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2025-03-31T06:00:57.948Z] Warning: overwriting stash ‘coverage-report’ [2025-03-31T06:00:58.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2025-03-31T06:00:58.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2025-03-31T06:00:59.187Z] + ls -al . [2025-03-31T06:00:59.187Z] total 240 [2025-03-31T06:00:59.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:56 . [2025-03-31T06:00:59.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:53 .. [2025-03-31T06:00:59.187Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 31 05:53 .dockerignore [2025-03-31T06:00:59.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:53 .git [2025-03-31T06:00:59.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 .github [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 31 05:53 .gitignore [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:53 .golangci.yml [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 20138 Mar 31 05:53 Attribution.txt [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 18492 Mar 31 05:53 CHANGELOG.md [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 31 05:53 Dockerfile [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:53 GOVERNANCE.md [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 31 05:53 Jenkinsfile [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:53 LICENSE [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 2598 Mar 31 05:53 Makefile [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 31 05:53 OWNERS.md [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 3989 Mar 31 05:53 README.md [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 05:51 VERSION [2025-03-31T06:00:59.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:53 bin [2025-03-31T06:00:59.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 cmd [2025-03-31T06:00:59.188Z] -rw-r--r-- 1 jenkins jenkins 14565 Mar 31 05:59 coverage.out [2025-03-31T06:00:59.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:53 driver [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 6244 Mar 31 05:53 go.mod [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 05:53 go.sum [2025-03-31T06:00:59.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:53 openapi [2025-03-31T06:00:59.188Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 31 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:00:59.549Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc --label arch=arm64 --label version=4.1.0-dev.1 . [2025-03-31T06:00:59.549Z] Sending build context to Docker daemon 157.2kB [2025-03-31T06:00:59.821Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2025-03-31T06:00:59.821Z] Step 2/26 : FROM ${BASE} AS builder [2025-03-31T06:00:59.821Z] ---> d8a5afcf01f9 [2025-03-31T06:00:59.821Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2025-03-31T06:00:59.821Z] ---> Running in 0dcdea0fda14 [2025-03-31T06:01:00.097Z] Removing intermediate container 0dcdea0fda14 [2025-03-31T06:01:00.097Z] ---> a2ba8d71e3cc [2025-03-31T06:01:00.097Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2025-03-31T06:01:00.364Z] ---> Running in 1c776f320191 [2025-03-31T06:01:00.631Z] Removing intermediate container 1c776f320191 [2025-03-31T06:01:00.631Z] ---> 4bb466795ff0 [2025-03-31T06:01:00.631Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2025-03-31T06:01:00.631Z] ---> Running in 14b0683b6404 [2025-03-31T06:01:00.901Z] Removing intermediate container 14b0683b6404 [2025-03-31T06:01:00.902Z] ---> fbd35a62a0c7 [2025-03-31T06:01:00.902Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2025-03-31T06:01:01.170Z] ---> Running in fb14fb1a4727 [2025-03-31T06:01:01.436Z] Removing intermediate container fb14fb1a4727 [2025-03-31T06:01:01.436Z] ---> ffad1fcf89b8 [2025-03-31T06:01:01.436Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2025-03-31T06:01:01.436Z] ---> Running in 1f7457b66c9a [2025-03-31T06:01:02.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2025-03-31T06:01:02.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2025-03-31T06:01:04.382Z] OK: 244 MiB in 62 packages [2025-03-31T06:01:05.342Z] Removing intermediate container 1f7457b66c9a [2025-03-31T06:01:05.342Z] ---> badd7060f00e [2025-03-31T06:01:05.342Z] Step 8/26 : WORKDIR /device-rest-go [2025-03-31T06:01:05.342Z] ---> Running in 26bd8b09dd87 [2025-03-31T06:01:05.928Z] Removing intermediate container 26bd8b09dd87 [2025-03-31T06:01:05.928Z] ---> 8c4255e57856 [2025-03-31T06:01:05.928Z] Step 9/26 : COPY go.mod vendor* ./ [2025-03-31T06:01:06.195Z] ---> be4a8bf8cb27 [2025-03-31T06:01:06.195Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2025-03-31T06:01:06.462Z] ---> Running in cef0d1fdb99a [2025-03-31T06:01:08.403Z] Removing intermediate container cef0d1fdb99a [2025-03-31T06:01:08.403Z] ---> 049542232903 [2025-03-31T06:01:08.403Z] Step 11/26 : COPY . . [2025-03-31T06:01:08.988Z] ---> ca24144ce293 [2025-03-31T06:01:08.988Z] Step 12/26 : RUN $MAKE [2025-03-31T06:01:09.258Z] ---> Running in 9868758768f6 [2025-03-31T06:01:10.221Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2025-03-31T06:04:31.989Z] Removing intermediate container 9868758768f6 [2025-03-31T06:04:31.989Z] ---> 81694a22972b [2025-03-31T06:04:31.989Z] Step 13/26 : FROM alpine:3.20 [2025-03-31T06:04:31.989Z] 3.20: Pulling from library/alpine [2025-03-31T06:04:31.989Z] 94e9d8af2201: Pulling fs layer [2025-03-31T06:04:31.989Z] 94e9d8af2201: Verifying Checksum [2025-03-31T06:04:31.989Z] 94e9d8af2201: Download complete [2025-03-31T06:04:31.989Z] 94e9d8af2201: Pull complete [2025-03-31T06:04:31.989Z] Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f [2025-03-31T06:04:31.989Z] Status: Downloaded newer image for alpine:3.20 [2025-03-31T06:04:31.989Z] ---> 7aab056cecc6 [2025-03-31T06:04:31.989Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2025-03-31T06:04:31.989Z] ---> Running in 63cbdf4cae49 [2025-03-31T06:04:31.989Z] Removing intermediate container 63cbdf4cae49 [2025-03-31T06:04:31.989Z] ---> 40661441f81b [2025-03-31T06:04:31.989Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2025-03-31T06:04:31.989Z] ---> Running in 895b21670ee5 [2025-03-31T06:04:31.989Z] Removing intermediate container 895b21670ee5 [2025-03-31T06:04:31.989Z] ---> 0441b056e0dd [2025-03-31T06:04:31.989Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2025-03-31T06:04:31.989Z] ---> Running in 3ff85d3086af [2025-03-31T06:04:32.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2025-03-31T06:04:32.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2025-03-31T06:04:34.242Z] (1/1) Installing dumb-init (1.2.5-r3) [2025-03-31T06:04:34.242Z] Executing busybox-1.36.1-r29.trigger [2025-03-31T06:04:34.242Z] OK: 9 MiB in 15 packages [2025-03-31T06:04:35.209Z] Removing intermediate container 3ff85d3086af [2025-03-31T06:04:35.209Z] ---> 45fe15cff3ff [2025-03-31T06:04:35.209Z] Step 17/26 : RUN apk --no-cache upgrade [2025-03-31T06:04:35.209Z] ---> Running in 5fb3c11bfaaf [2025-03-31T06:04:36.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2025-03-31T06:04:36.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2025-03-31T06:04:37.851Z] OK: 9 MiB in 15 packages [2025-03-31T06:04:38.815Z] Removing intermediate container 5fb3c11bfaaf [2025-03-31T06:04:38.815Z] ---> 2314b74a86b0 [2025-03-31T06:04:38.815Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2025-03-31T06:04:40.764Z] ---> cd5e46ab5c9f [2025-03-31T06:04:40.764Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2025-03-31T06:04:41.030Z] ---> 0ecb39aeb762 [2025-03-31T06:04:41.030Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2025-03-31T06:04:41.613Z] ---> 1e1bd002a519 [2025-03-31T06:04:41.613Z] Step 21/26 : EXPOSE 59986 [2025-03-31T06:04:41.613Z] ---> Running in eeeac3354981 [2025-03-31T06:04:41.880Z] Removing intermediate container eeeac3354981 [2025-03-31T06:04:41.880Z] ---> cb7dc11c335e [2025-03-31T06:04:41.880Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2025-03-31T06:04:41.880Z] ---> Running in c4426b3dd2e9 [2025-03-31T06:04:42.148Z] Removing intermediate container c4426b3dd2e9 [2025-03-31T06:04:42.148Z] ---> c98a1016fcd9 [2025-03-31T06:04:42.148Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2025-03-31T06:04:42.413Z] ---> Running in 2100ad7eae1e [2025-03-31T06:04:42.682Z] Removing intermediate container 2100ad7eae1e [2025-03-31T06:04:42.682Z] ---> 1255d4da4548 [2025-03-31T06:04:42.682Z] Step 24/26 : LABEL arch=arm64 [2025-03-31T06:04:42.682Z] ---> Running in 63b473ef4f7a [2025-03-31T06:04:42.961Z] Removing intermediate container 63b473ef4f7a [2025-03-31T06:04:42.961Z] ---> 4c2caf5e867e [2025-03-31T06:04:42.961Z] Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T06:04:42.961Z] ---> Running in b5a731c7d3b8 [2025-03-31T06:04:43.230Z] Removing intermediate container b5a731c7d3b8 [2025-03-31T06:04:43.230Z] ---> b6b76a76c92e [2025-03-31T06:04:43.230Z] Step 26/26 : LABEL version=4.1.0-dev.1 [2025-03-31T06:04:43.503Z] ---> Running in 2af558e9575d [2025-03-31T06:04:43.769Z] Removing intermediate container 2af558e9575d [2025-03-31T06:04:43.769Z] ---> e0814ec05a62 [2025-03-31T06:04:43.769Z] [Warning] One or more build-args [ARCH] were not consumed [2025-03-31T06:04:43.769Z] Successfully built e0814ec05a62 [2025-03-31T06:04:43.769Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-31T06:04:43.955Z] provisioning config files... [2025-03-31T06:04:43.969Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/191@tmp/config11972093932141337025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:04:44.309Z] ---> ****-login.sh [2025-03-31T06:04:44.309Z] nexus3.edgexfoundry.org:10001 [2025-03-31T06:04:44.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T06:04:44.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T06:04:44.577Z] Configure a credential helper to remove this warning. See [2025-03-31T06:04:44.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T06:04:44.577Z] [2025-03-31T06:04:44.577Z] Login Succeeded [2025-03-31T06:04:44.577Z] nexus3.edgexfoundry.org:10002 [2025-03-31T06:04:44.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T06:04:44.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T06:04:44.844Z] Configure a credential helper to remove this warning. See [2025-03-31T06:04:44.844Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T06:04:44.844Z] [2025-03-31T06:04:44.844Z] Login Succeeded [2025-03-31T06:04:44.844Z] nexus3.edgexfoundry.org:10003 [2025-03-31T06:04:45.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T06:04:45.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T06:04:45.379Z] Configure a credential helper to remove this warning. See [2025-03-31T06:04:45.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T06:04:45.379Z] [2025-03-31T06:04:45.379Z] Login Succeeded [2025-03-31T06:04:45.379Z] nexus3.edgexfoundry.org:10004 [2025-03-31T06:04:45.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T06:04:45.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T06:04:45.645Z] Configure a credential helper to remove this warning. See [2025-03-31T06:04:45.645Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T06:04:45.645Z] [2025-03-31T06:04:45.645Z] Login Succeeded [2025-03-31T06:04:45.645Z] ****.io [2025-03-31T06:04:45.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2025-03-31T06:04:46.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2025-03-31T06:04:46.176Z] Configure a credential helper to remove this warning. See [2025-03-31T06:04:46.176Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2025-03-31T06:04:46.176Z] [2025-03-31T06:04:46.176Z] Login Succeeded [2025-03-31T06:04:46.176Z] ---> ****-login.sh ends [Pipeline] } [2025-03-31T06:04:46.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-31T06:04:46.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo [2025-03-31T06:04:46.287Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2025-03-31T06:04:46.287Z] 30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T06:04:46.287Z] latest [2025-03-31T06:04:46.287Z] 4.1.0-dev.1 [2025-03-31T06:04:46.287Z] 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T06:04:46.287Z] main [2025-03-31T06:04:46.287Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:46.674Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:47.038Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T06:04:47.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2025-03-31T06:04:47.038Z] f332540eadf9: Preparing [2025-03-31T06:04:47.038Z] cd5eed9e21ef: Preparing [2025-03-31T06:04:47.038Z] 0b38ced37491: Preparing [2025-03-31T06:04:47.038Z] 01b216566238: Preparing [2025-03-31T06:04:47.039Z] 8ac44ef1b37c: Preparing [2025-03-31T06:04:47.039Z] dd9c8f8612c8: Preparing [2025-03-31T06:04:47.039Z] dd9c8f8612c8: Waiting [2025-03-31T06:04:47.305Z] 01b216566238: Pushed [2025-03-31T06:04:47.305Z] 8ac44ef1b37c: Pushed [2025-03-31T06:04:47.305Z] f332540eadf9: Pushed [2025-03-31T06:04:47.305Z] cd5eed9e21ef: Pushed [2025-03-31T06:04:47.305Z] dd9c8f8612c8: Layer already exists [2025-03-31T06:04:53.934Z] 0b38ced37491: Pushed [2025-03-31T06:04:54.198Z] 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:54.561Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:54.918Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2025-03-31T06:04:54.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2025-03-31T06:04:54.918Z] f332540eadf9: Preparing [2025-03-31T06:04:54.918Z] cd5eed9e21ef: Preparing [2025-03-31T06:04:54.918Z] 0b38ced37491: Preparing [2025-03-31T06:04:54.918Z] 01b216566238: Preparing [2025-03-31T06:04:54.918Z] 8ac44ef1b37c: Preparing [2025-03-31T06:04:54.918Z] dd9c8f8612c8: Preparing [2025-03-31T06:04:54.918Z] dd9c8f8612c8: Waiting [2025-03-31T06:04:54.918Z] cd5eed9e21ef: Layer already exists [2025-03-31T06:04:54.918Z] f332540eadf9: Layer already exists [2025-03-31T06:04:54.918Z] 8ac44ef1b37c: Layer already exists [2025-03-31T06:04:54.918Z] 01b216566238: Layer already exists [2025-03-31T06:04:54.918Z] 0b38ced37491: Layer already exists [2025-03-31T06:04:54.918Z] dd9c8f8612c8: Layer already exists [2025-03-31T06:04:55.183Z] latest: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:55.545Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:55.903Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [2025-03-31T06:04:55.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2025-03-31T06:04:55.903Z] f332540eadf9: Preparing [2025-03-31T06:04:55.903Z] cd5eed9e21ef: Preparing [2025-03-31T06:04:55.903Z] 0b38ced37491: Preparing [2025-03-31T06:04:55.903Z] 01b216566238: Preparing [2025-03-31T06:04:55.903Z] 8ac44ef1b37c: Preparing [2025-03-31T06:04:55.903Z] dd9c8f8612c8: Preparing [2025-03-31T06:04:55.903Z] dd9c8f8612c8: Waiting [2025-03-31T06:04:55.903Z] cd5eed9e21ef: Layer already exists [2025-03-31T06:04:55.903Z] f332540eadf9: Layer already exists [2025-03-31T06:04:55.903Z] 01b216566238: Layer already exists [2025-03-31T06:04:55.903Z] 0b38ced37491: Layer already exists [2025-03-31T06:04:55.903Z] 8ac44ef1b37c: Layer already exists [2025-03-31T06:04:55.903Z] dd9c8f8612c8: Layer already exists [2025-03-31T06:04:55.903Z] 4.1.0-dev.1: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:56.524Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:56.886Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T06:04:56.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2025-03-31T06:04:56.886Z] f332540eadf9: Preparing [2025-03-31T06:04:56.886Z] cd5eed9e21ef: Preparing [2025-03-31T06:04:56.886Z] 0b38ced37491: Preparing [2025-03-31T06:04:56.886Z] 01b216566238: Preparing [2025-03-31T06:04:56.886Z] 8ac44ef1b37c: Preparing [2025-03-31T06:04:56.886Z] dd9c8f8612c8: Preparing [2025-03-31T06:04:56.886Z] dd9c8f8612c8: Waiting [2025-03-31T06:04:56.886Z] f332540eadf9: Layer already exists [2025-03-31T06:04:56.886Z] 0b38ced37491: Layer already exists [2025-03-31T06:04:56.886Z] 8ac44ef1b37c: Layer already exists [2025-03-31T06:04:56.886Z] 01b216566238: Layer already exists [2025-03-31T06:04:56.886Z] cd5eed9e21ef: Layer already exists [2025-03-31T06:04:56.886Z] dd9c8f8612c8: Layer already exists [2025-03-31T06:04:56.886Z] 30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:57.510Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:57.872Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2025-03-31T06:04:57.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2025-03-31T06:04:57.873Z] f332540eadf9: Preparing [2025-03-31T06:04:57.873Z] cd5eed9e21ef: Preparing [2025-03-31T06:04:57.873Z] 0b38ced37491: Preparing [2025-03-31T06:04:57.873Z] 01b216566238: Preparing [2025-03-31T06:04:57.873Z] 8ac44ef1b37c: Preparing [2025-03-31T06:04:57.873Z] dd9c8f8612c8: Preparing [2025-03-31T06:04:57.873Z] dd9c8f8612c8: Waiting [2025-03-31T06:04:57.873Z] 0b38ced37491: Layer already exists [2025-03-31T06:04:57.873Z] f332540eadf9: Layer already exists [2025-03-31T06:04:57.873Z] cd5eed9e21ef: Layer already exists [2025-03-31T06:04:57.873Z] 01b216566238: Layer already exists [2025-03-31T06:04:57.873Z] 8ac44ef1b37c: Layer already exists [2025-03-31T06:04:57.873Z] dd9c8f8612c8: Layer already exists [2025-03-31T06:04:58.140Z] main: digest: sha256:5dae0f8604cba3c17ff936036d9a3f811fe2ab788f1eb4fd8bd3b4642220e146 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2025-03-31T06:04:58.231Z] ===================================================== [Pipeline] echo [2025-03-31T06:04:58.251Z] taggedImages: [2025-03-31T06:04:58.251Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc [2025-03-31T06:04:58.251Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2025-03-31T06:04:58.251Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.1 [2025-03-31T06:04:58.251Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.1.0-dev.1 [2025-03-31T06:04:58.251Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:58.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2025-03-31T06:04:58.654Z] [2025-03-31T06:04:58.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:04:58.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2025-03-31T06:04:58.992Z] arm64: Pulling from edgex-lftools-log-publisher [2025-03-31T06:04:58.992Z] 8998bd30e6a1: Pulling fs layer [2025-03-31T06:04:58.992Z] 04944245beec: Pulling fs layer [2025-03-31T06:04:58.992Z] 699f458cf7ca: Pulling fs layer [2025-03-31T06:04:58.992Z] 765212b225bb: Pulling fs layer [2025-03-31T06:04:58.992Z] f23df028b6ca: Pulling fs layer [2025-03-31T06:04:58.992Z] d65c8cfc05b1: Pulling fs layer [2025-03-31T06:04:58.992Z] 2437ff75d9bd: Pulling fs layer [2025-03-31T06:04:58.992Z] 765212b225bb: Waiting [2025-03-31T06:04:58.992Z] f23df028b6ca: Waiting [2025-03-31T06:04:58.992Z] d65c8cfc05b1: Waiting [2025-03-31T06:04:58.992Z] 2437ff75d9bd: Waiting [2025-03-31T06:04:59.259Z] 04944245beec: Verifying Checksum [2025-03-31T06:04:59.260Z] 04944245beec: Download complete [2025-03-31T06:04:59.260Z] 765212b225bb: Verifying Checksum [2025-03-31T06:04:59.260Z] 765212b225bb: Download complete [2025-03-31T06:04:59.260Z] f23df028b6ca: Verifying Checksum [2025-03-31T06:04:59.260Z] f23df028b6ca: Download complete [2025-03-31T06:04:59.260Z] d65c8cfc05b1: Verifying Checksum [2025-03-31T06:04:59.260Z] d65c8cfc05b1: Download complete [2025-03-31T06:04:59.260Z] 699f458cf7ca: Verifying Checksum [2025-03-31T06:04:59.260Z] 699f458cf7ca: Download complete [2025-03-31T06:04:59.841Z] 8998bd30e6a1: Download complete [2025-03-31T06:05:02.421Z] 2437ff75d9bd: Verifying Checksum [2025-03-31T06:05:02.421Z] 2437ff75d9bd: Download complete [2025-03-31T06:05:04.364Z] 8998bd30e6a1: Pull complete [2025-03-31T06:05:04.947Z] 04944245beec: Pull complete [2025-03-31T06:05:06.356Z] 699f458cf7ca: Pull complete [2025-03-31T06:05:06.622Z] 765212b225bb: Pull complete [2025-03-31T06:05:07.582Z] f23df028b6ca: Pull complete [2025-03-31T06:05:07.582Z] d65c8cfc05b1: Pull complete [2025-03-31T06:05:25.793Z] 2437ff75d9bd: Pull complete [2025-03-31T06:05:25.793Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2025-03-31T06:05:25.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2025-03-31T06:05:25.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:05:26.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-42410 does not seem to be running inside a container [2025-03-31T06:05:26.079Z] $ 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-rest-go/191 -v /w/workspace/device-rest-go/191:/w/workspace/device-rest-go/191:rw,z -v /w/workspace/device-rest-go/191@tmp:/w/workspace/device-rest-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2025-03-31T06:05:28.673Z] $ docker top 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:05:29.215Z] ---> job-cost.sh [2025-03-31T06:05:29.480Z] lf-activate-venv: SKIPPING [2025-03-31T06:05:29.480Z] INFO: No Stack... [2025-03-31T06:05:30.062Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2025-03-31T06:05:30.639Z] INFO: Archiving Costs [Pipeline] sh [2025-03-31T06:05:30.951Z] + cat /w/workspace/device-rest-go/191/archives/cost.csv [2025-03-31T06:05:31.215Z] + cut -d, -f6 [Pipeline] lock [2025-03-31T06:05:31.269Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [2025-03-31T06:05:31.276Z] Resource [jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] did not exist. Created. [2025-03-31T06:05:31.281Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-31T06:05:31.936Z] /w/workspace/device-rest-go/191@tmp/durable-8110e41e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2025-03-31T06:05:32.575Z] + echo total: 0.10999999940395355 [Pipeline] stash [2025-03-31T06:05:32.601Z] Warning: overwriting stash ‘stack-cost’ [2025-03-31T06:05:32.648Z] Stashed 1 file(s) [Pipeline] } [2025-03-31T06:05:32.658Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-191-stack-cost] [Pipeline] // lock [Pipeline] } [2025-03-31T06:05:32.684Z] $ docker stop --time=1 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 [2025-03-31T06:05:34.190Z] $ docker rm -f --volumes 0c4786c6b2e265e94fe8227f5c0c421bf027e10b23f6404020c79087e8519e33 [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 [2025-03-31T06:05:34.704Z] provisioning config files... [2025-03-31T06:05:34.710Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11382147141878884621tmp [Pipeline] { [Pipeline] sh [2025-03-31T06:05:35.013Z] + set +x [2025-03-31T06:05:35.014Z] + + bash -s -- [2025-03-31T06:05:35.014Z] curl -s https://codecov.io/bash [2025-03-31T06:05:35.014Z] [2025-03-31T06:05:35.014Z] _____ _ [2025-03-31T06:05:35.014Z] / ____| | | [2025-03-31T06:05:35.014Z] | | ___ __| | ___ ___ _____ __ [2025-03-31T06:05:35.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2025-03-31T06:05:35.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2025-03-31T06:05:35.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2025-03-31T06:05:35.014Z] Bash-1.0.6 [2025-03-31T06:05:35.014Z] [2025-03-31T06:05:35.014Z] [2025-03-31T06:05:35.014Z] ==> git version 2.25.1 found [2025-03-31T06:05:35.014Z] ==> 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 [2025-03-31T06:05:35.014Z] Release-Date: 2020-01-08 [2025-03-31T06:05:35.014Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2025-03-31T06:05:35.014Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2025-03-31T06:05:35.014Z] ==> Jenkins CI detected. [2025-03-31T06:05:35.014Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2025-03-31T06:05:35.014Z] project root: . [2025-03-31T06:05:35.014Z] --> token set from env [2025-03-31T06:05:35.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2025-03-31T06:05:35.014Z] ==> Running gcov in . (disable via -X gcov) [2025-03-31T06:05:35.014Z] ==> Python coveragepy not found [2025-03-31T06:05:35.014Z] ==> Searching for coverage reports in: [2025-03-31T06:05:35.014Z] + . [2025-03-31T06:05:35.014Z] -> Found 1 reports [2025-03-31T06:05:35.014Z] ==> Detecting git/mercurial file structure [2025-03-31T06:05:35.014Z] ==> Reading reports [2025-03-31T06:05:35.014Z] + ./coverage.out bytes=14565 [2025-03-31T06:05:35.014Z] ==> Appending adjustments [2025-03-31T06:05:35.014Z] https://docs.codecov.io/docs/fixing-reports [2025-03-31T06:05:35.277Z] + Found adjustments [2025-03-31T06:05:35.277Z] ==> Gzipping contents [2025-03-31T06:05:35.277Z] 4.0K /tmp/codecov.rCcy3K.gz [2025-03-31T06:05:35.277Z] ==> Uploading reports [2025-03-31T06:05:35.277Z] url: https://codecov.io [2025-03-31T06:05:35.277Z] query: branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F191%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2025-03-31T06:05:35.277Z] -> Pinging Codecov [2025-03-31T06:05:35.277Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F191%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2025-03-31T06:05:35.277Z] -> Uploading to [2025-03-31T06:05:35.277Z] https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/30c083a5452dbfcd7d2c6cff84583659684690cc/c917d4cd-5559-47ba-aded-12a8b24f1955.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250331%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250331T060535Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=798d39368202b0317d66998271b28d1de7b896a66aef69cdc3255cc0cec8ccdf [2025-03-31T06:05:35.277Z] % Total % Received % Xferd Average Speed Time Time Time Current [2025-03-31T06:05:35.277Z] Dload Upload Total Spent Left Speed [2025-03-31T06:05:35.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14543 --:--:-- --:--:-- --:--:-- 14635 [2025-03-31T06:05:35.537Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [2025-03-31T06:05:35.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2025-03-31T06:05:35.786Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2025-03-31T06:05:35.805Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:05:36.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2025-03-31T06:05:36.126Z] [2025-03-31T06:05:36.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:05:36.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2025-03-31T06:05:36.435Z] latest: Pulling from edgex-devops/edgex-snyk-go [2025-03-31T06:05:36.435Z] 43c4264eed91: Pulling fs layer [2025-03-31T06:05:36.435Z] 4cc291be95ef: Pulling fs layer [2025-03-31T06:05:36.435Z] 2ac1f1163629: Pulling fs layer [2025-03-31T06:05:36.435Z] 5c3c966382ef: Pulling fs layer [2025-03-31T06:05:36.435Z] 4f4fb700ef54: Pulling fs layer [2025-03-31T06:05:36.435Z] d9c7d2e4e75e: Pulling fs layer [2025-03-31T06:05:36.435Z] 9c3e1370e548: Pulling fs layer [2025-03-31T06:05:36.435Z] 4f4fb700ef54: Waiting [2025-03-31T06:05:36.435Z] 5c3c966382ef: Waiting [2025-03-31T06:05:36.435Z] d9c7d2e4e75e: Waiting [2025-03-31T06:05:36.435Z] 4cc291be95ef: Verifying Checksum [2025-03-31T06:05:36.435Z] 4cc291be95ef: Download complete [2025-03-31T06:05:36.435Z] 5c3c966382ef: Verifying Checksum [2025-03-31T06:05:36.435Z] 5c3c966382ef: Download complete [2025-03-31T06:05:36.435Z] 4f4fb700ef54: Verifying Checksum [2025-03-31T06:05:36.435Z] 4f4fb700ef54: Download complete [2025-03-31T06:05:36.435Z] 43c4264eed91: Download complete [2025-03-31T06:05:36.694Z] 43c4264eed91: Pull complete [2025-03-31T06:05:36.694Z] d9c7d2e4e75e: Verifying Checksum [2025-03-31T06:05:36.694Z] 4cc291be95ef: Pull complete [2025-03-31T06:05:36.952Z] 2ac1f1163629: Verifying Checksum [2025-03-31T06:05:36.952Z] 2ac1f1163629: Download complete [2025-03-31T06:05:37.552Z] 9c3e1370e548: Verifying Checksum [2025-03-31T06:05:37.552Z] 9c3e1370e548: Download complete [2025-03-31T06:05:40.838Z] 2ac1f1163629: Pull complete [2025-03-31T06:05:40.838Z] 5c3c966382ef: Pull complete [2025-03-31T06:05:40.838Z] 4f4fb700ef54: Pull complete [2025-03-31T06:05:41.098Z] d9c7d2e4e75e: Pull complete [2025-03-31T06:05:44.395Z] 9c3e1370e548: Pull complete [2025-03-31T06:05:44.395Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2025-03-31T06:05:44.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2025-03-31T06:05:44.395Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:05:44.498Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:05:44.654Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2025-03-31T06:05:47.475Z] $ docker top 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T06:05:47.911Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2025-03-31T06:05:47.933Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2025-03-31T06:05:48.208Z] + set -o pipefail [2025-03-31T06:05:48.208Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2025-03-31T06:05:54.773Z] [2025-03-31T06:05:54.774Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2025-03-31T06:05:54.774Z] [2025-03-31T06:05:54.774Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/d9c953dc-6c0d-4d4c-9fbe-ae368f53118d [2025-03-31T06:05:54.774Z] [2025-03-31T06:05:54.774Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2025-03-31T06:05:54.774Z] [Pipeline] } [2025-03-31T06:05:54.788Z] $ docker stop --time=1 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea [2025-03-31T06:05:57.545Z] $ docker rm -f --volumes 81b9b902ed9f900a6d98529332a9b76e251415e85c0ce26704e77c438d1333ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2025-03-31T06:05:58.472Z] + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] sh [2025-03-31T06:05:58.767Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-31T06:05:58.767Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:05:59.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T06:05:59.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:05:59.165Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:05:59.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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/py-git-semver:0.1.4 cat [2025-03-31T06:05:59.595Z] $ docker top 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 -eo pid,comm [2025-03-31T06:05:59.642Z] 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). [2025-03-31T06:05:59.642Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-31T06:05:59.691Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-31T06:06:00.000Z] + git semver [Pipeline] } [2025-03-31T06:06:00.277Z] $ docker stop --time=1 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 [2025-03-31T06:06:01.565Z] $ docker rm -f --volumes 071b7557200130b24fa4bab2dd61870f62ae9e1a201490fc72758e1f0f2b0a35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:06:02.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-03-31T06:06:02.012Z] [2025-03-31T06:06:02.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:06:02.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-03-31T06:06:02.323Z] 0.23.1-centos7: Pulling from edgex-lftools [2025-03-31T06:06:02.323Z] ab5ef0e58194: Pulling fs layer [2025-03-31T06:06:02.323Z] 9712f1f96733: Pulling fs layer [2025-03-31T06:06:02.323Z] 63f879dbbcfc: Pulling fs layer [2025-03-31T06:06:02.323Z] 0d9ebad4ef96: Pulling fs layer [2025-03-31T06:06:02.323Z] e9a5061849ea: Pulling fs layer [2025-03-31T06:06:02.323Z] d747dcd14b5f: Pulling fs layer [2025-03-31T06:06:02.323Z] 2de7ff778b66: Pulling fs layer [2025-03-31T06:06:02.323Z] 0d9ebad4ef96: Waiting [2025-03-31T06:06:02.323Z] e9a5061849ea: Waiting [2025-03-31T06:06:02.323Z] d747dcd14b5f: Waiting [2025-03-31T06:06:02.323Z] 2de7ff778b66: Waiting [2025-03-31T06:06:02.323Z] 9712f1f96733: Download complete [2025-03-31T06:06:02.891Z] 63f879dbbcfc: Verifying Checksum [2025-03-31T06:06:02.891Z] 63f879dbbcfc: Download complete [2025-03-31T06:06:02.891Z] 0d9ebad4ef96: Verifying Checksum [2025-03-31T06:06:02.891Z] 0d9ebad4ef96: Download complete [2025-03-31T06:06:02.891Z] d747dcd14b5f: Download complete [2025-03-31T06:06:02.891Z] e9a5061849ea: Verifying Checksum [2025-03-31T06:06:02.891Z] e9a5061849ea: Download complete [2025-03-31T06:06:02.891Z] ab5ef0e58194: Verifying Checksum [2025-03-31T06:06:02.891Z] ab5ef0e58194: Download complete [2025-03-31T06:06:02.891Z] 2de7ff778b66: Verifying Checksum [2025-03-31T06:06:02.891Z] 2de7ff778b66: Download complete [2025-03-31T06:06:06.177Z] ab5ef0e58194: Pull complete [2025-03-31T06:06:06.177Z] 9712f1f96733: Pull complete [2025-03-31T06:06:06.436Z] 63f879dbbcfc: Pull complete [2025-03-31T06:06:10.621Z] 0d9ebad4ef96: Pull complete [2025-03-31T06:06:10.621Z] e9a5061849ea: Pull complete [2025-03-31T06:06:10.621Z] d747dcd14b5f: Pull complete [2025-03-31T06:06:11.995Z] 2de7ff778b66: Pull complete [2025-03-31T06:06:11.995Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2025-03-31T06:06:11.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2025-03-31T06:06:11.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:06:12.112Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:06:12.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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:0.23.1-centos7 cat [2025-03-31T06:06:15.219Z] $ docker top 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2025-03-31T06:06:15.303Z] provisioning config files... [2025-03-31T06:06:15.310Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6102840092301379642tmp [2025-03-31T06:06:15.321Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10379724416012103279tmp [2025-03-31T06:06:15.330Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1293516635120553834tmp [Pipeline] { [Pipeline] echo [2025-03-31T06:06:15.370Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:15.663Z] ---> sigul-configuration.sh [2025-03-31T06:06:15.663Z] gpg: directory `/root/.gnupg' created [2025-03-31T06:06:15.663Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2025-03-31T06:06:15.663Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2025-03-31T06:06:15.663Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2025-03-31T06:06:15.663Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2025-03-31T06:06:15.663Z] gpg: CAST5 encrypted data [2025-03-31T06:06:15.663Z] gpg: encrypted with 1 passphrase [2025-03-31T06:06:15.663Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2025-03-31T06:06:15.957Z] + mkdir /home/jenkins [2025-03-31T06:06:15.957Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2025-03-31T06:06:16.254Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2025-03-31T06:06:16.270Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:16.564Z] ---> sigul-install.sh [2025-03-31T06:06:16.564Z] Sigul already installed; skipping installation. [Pipeline] sh [2025-03-31T06:06:16.863Z] + git tag --list [2025-03-31T06:06:16.863Z] v1.0.0 [2025-03-31T06:06:16.863Z] v1.1.0 [2025-03-31T06:06:16.863Z] v1.1.1 [2025-03-31T06:06:16.863Z] v1.1.2 [2025-03-31T06:06:16.863Z] v1.2.0 [2025-03-31T06:06:16.863Z] v1.2.1 [2025-03-31T06:06:16.863Z] v2.0.0 [2025-03-31T06:06:16.863Z] v2.1.0 [2025-03-31T06:06:16.863Z] v2.1.1 [2025-03-31T06:06:16.863Z] v2.2.0 [2025-03-31T06:06:16.863Z] v2.3.0 [2025-03-31T06:06:16.863Z] v3.0 [2025-03-31T06:06:16.863Z] v3.0.0 [2025-03-31T06:06:16.863Z] v3.1 [2025-03-31T06:06:16.863Z] v3.1.0 [2025-03-31T06:06:16.863Z] v3.1.1 [2025-03-31T06:06:16.863Z] v4.0 [2025-03-31T06:06:16.863Z] v4.0.0 [2025-03-31T06:06:16.863Z] v4.0.0-dev.1 [2025-03-31T06:06:16.863Z] v4.0.0-dev.10 [2025-03-31T06:06:16.863Z] v4.0.0-dev.11 [2025-03-31T06:06:16.863Z] v4.0.0-dev.12 [2025-03-31T06:06:16.863Z] v4.0.0-dev.2 [2025-03-31T06:06:16.863Z] v4.0.0-dev.3 [2025-03-31T06:06:16.863Z] v4.0.0-dev.4 [2025-03-31T06:06:16.863Z] v4.0.0-dev.5 [2025-03-31T06:06:16.863Z] v4.0.0-dev.6 [2025-03-31T06:06:16.863Z] v4.0.0-dev.7 [2025-03-31T06:06:16.863Z] v4.0.0-dev.8 [2025-03-31T06:06:16.863Z] v4.0.0-dev.9 [Pipeline] sh [2025-03-31T06:06:17.167Z] + lftools sign git-tag v4.1.0-dev.1 [2025-03-31T06:06:17.734Z] Signing Git tag with Sigul... [2025-03-31T06:06:17.734Z] Signing v4.1.0-dev.1 [2025-03-31T06:06:17.734Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v4.1.0-dev.1'], return code 1, stdout , stderr [Pipeline] echo [2025-03-31T06:06:17.749Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:18.041Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2025-03-31T06:06:18.049Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2025-03-31T06:06:18.076Z] $ docker stop --time=1 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b [2025-03-31T06:06:19.357Z] $ docker rm -f --volumes 758175014e6de02438034441318e9921e3dc349ad0599324f732425ff0eb377b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2025-03-31T06:06:19.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-31T06:06:19.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:06:20.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T06:06:20.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:06:20.178Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:06:20.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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/py-git-semver:0.1.4 cat [2025-03-31T06:06:20.572Z] $ docker top 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-31T06:06:20.667Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-31T06:06:20.966Z] + git semver [Pipeline] } [2025-03-31T06:06:21.240Z] $ docker stop --time=1 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf [2025-03-31T06:06:22.515Z] $ docker rm -f --volumes 4db0b3a1c67c822a5f135e4576af4724c27e8c4d166ddd45559c5c28e5d0b1cf [Pipeline] // withDockerContainer [Pipeline] sh [2025-03-31T06:06:22.876Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2025-03-31T06:06:22.876Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:06:23.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2025-03-31T06:06:23.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:06:23.270Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:06:23.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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/py-git-semver:0.1.4 cat [2025-03-31T06:06:23.643Z] $ docker top 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2025-03-31T06:06:23.744Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0-dev.12' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2025-03-31T06:06:24.047Z] + git semver [Pipeline] } [2025-03-31T06:06:24.321Z] $ docker stop --time=1 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee [2025-03-31T06:06:25.601Z] $ docker rm -f --volumes 6473d7058766f7146c71164abfd37621bd67fb0095ca5f2ce857858af187d9ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2025-03-31T06:06:26.241Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2025-03-31T06:06:26.241Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2025-03-31T06:06:26.241Z] total 16 [2025-03-31T06:06:26.241Z] drwxr-xr-x 3 root root 4096 Mar 31 05:53 . [2025-03-31T06:06:26.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 06:06 .. [2025-03-31T06:06:26.241Z] drwxr-xr-x 2 root root 4096 Mar 31 05:53 cost [2025-03-31T06:06:26.241Z] -rw-r--r-- 1 root root 86 Mar 31 05:53 cost.csv [2025-03-31T06:06:26.241Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2025-03-31T06:06:26.241Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2025-03-31T06:06:26.241Z] total 16 [2025-03-31T06:06:26.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:53 . [2025-03-31T06:06:26.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 06:06 .. [2025-03-31T06:06:26.241Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 05:53 cost [2025-03-31T06:06:26.241Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 31 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:26.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:27.379Z] ---> package-listing.sh [2025-03-31T06:06:27.379Z] ++ facter osfamily [2025-03-31T06:06:27.379Z] ++ tr '[:upper:]' '[:lower:]' [2025-03-31T06:06:27.643Z] + OS_FAMILY=debian [2025-03-31T06:06:27.643Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2025-03-31T06:06:27.643Z] + START_PACKAGES=/tmp/packages_start.txt [2025-03-31T06:06:27.643Z] + END_PACKAGES=/tmp/packages_end.txt [2025-03-31T06:06:27.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2025-03-31T06:06:27.643Z] + PACKAGES=/tmp/packages_start.txt [2025-03-31T06:06:27.643Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2025-03-31T06:06:27.643Z] + PACKAGES=/tmp/packages_end.txt [2025-03-31T06:06:27.643Z] + case "${OS_FAMILY}" in [2025-03-31T06:06:27.643Z] + dpkg -l [2025-03-31T06:06:27.643Z] + grep '^ii' [2025-03-31T06:06:27.643Z] + '[' -f /tmp/packages_start.txt ']' [2025-03-31T06:06:27.643Z] + '[' -f /tmp/packages_end.txt ']' [2025-03-31T06:06:27.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2025-03-31T06:06:27.643Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2025-03-31T06:06:27.643Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2025-03-31T06:06:27.643Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2025-03-31T06:06:27.653Z] 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2025-03-31T06:06:27.931Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2025-03-31T06:06:28.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2025-03-31T06:06:28.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2025-03-31T06:06:28.599Z] prd-ubuntu20.04-docker-8c-8g-42409 does not seem to be running inside a container [2025-03-31T06:06:28.635Z] $ 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-rest-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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 [2025-03-31T06:06:28.857Z] $ docker top 4fe7707abd038e84b62c94d04a1cb5ff990f3c8444cff422f9e9d36eeb4a199a -eo pid,comm [Pipeline] { [Pipeline] sh [2025-03-31T06:06:29.282Z] + touch /tmp/pre-build-complete [Pipeline] sh [2025-03-31T06:06:29.566Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2025-03-31T06:06:29.850Z] + ls /var/log/sa-host [2025-03-31T06:06:29.850Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2025-03-31T06:06:29.939Z] provisioning config files... [2025-03-31T06:06:29.947Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6277755299553718512tmp [Pipeline] { [Pipeline] echo [2025-03-31T06:06:29.972Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:30.256Z] ---> create-netrc.sh [Pipeline] } [2025-03-31T06:06:30.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:30.601Z] ---> python-tools-install.sh [Pipeline] echo [2025-03-31T06:06:30.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:30.895Z] ---> sudo-logs.sh [2025-03-31T06:06:30.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2025-03-31T06:06:30.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:31.207Z] ---> job-cost.sh [2025-03-31T06:06:31.207Z] lf-activate-venv: SKIPPING [2025-03-31T06:06:31.207Z] DEBUG: total: 0.2199999988079071 [2025-03-31T06:06:31.207Z] INFO: Retrieving Stack Cost... [2025-03-31T06:06:31.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2025-03-31T06:06:32.036Z] INFO: Archiving Costs [Pipeline] echo [2025-03-31T06:06:32.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2025-03-31T06:06:32.334Z] ---> logs-deploy.sh [2025-03-31T06:06:32.334Z] lf-activate-venv: SKIPPING [2025-03-31T06:06:32.334Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/191 [2025-03-31T06:06:32.334Z] INFO: archiving workspace using pattern(s): [2025-03-31T06:06:33.274Z] Archives upload complete. [2025-03-31T06:06:33.274Z] INFO: archiving logs to Nexus