Push event to branch main 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-ssh8761631044630884674.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh5034097363196903501.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh11946496910100852845.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4896455005604617480.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-ssh1803508817566838355.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40936 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 > 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 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 core.sparsecheckout # timeout=10 > git checkout -f 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 > git rev-list --no-walk 367e7ce991daf9058552cca639fd49d18f0c0d72 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:58 ========================================================= 00:12:58 EdgeX Global Pipelines Version Info 00:12:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:59 ------------------- 00:12:59 stable info: 00:12:59 ------------------- 00:12:59 Commited By: Cherry Wang cherry@iotechsys.com 00:12:59 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 00:12:59 Message: update stable to v1.0.271 00:12:59 ------------------- 00:12:59 experimental info: 00:12:59 ------------------- 00:12:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:59 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 00:12:59 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30c083a [Pipeline] echo 00:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:00 provisioning config files... 00:13:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12381375458733403483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:00 ---> ****-login.sh 00:13:00 nexus3.edgexfoundry.org:10001 00:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:01 Configure a credential helper to remove this warning. See 00:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:01 00:13:01 Login Succeeded 00:13:01 nexus3.edgexfoundry.org:10002 00:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:01 Configure a credential helper to remove this warning. See 00:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:01 00:13:01 Login Succeeded 00:13:01 nexus3.edgexfoundry.org:10003 00:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:01 Configure a credential helper to remove this warning. See 00:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:01 00:13:01 Login Succeeded 00:13:01 nexus3.edgexfoundry.org:10004 00:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:01 Configure a credential helper to remove this warning. See 00:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:01 00:13:01 Login Succeeded 00:13:01 ****.io 00:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:01 Configure a credential helper to remove this warning. See 00:13:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:01 00:13:01 Login Succeeded 00:13:01 ---> ****-login.sh ends [Pipeline] } 00:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:13:02 + git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 00:13:02 -----------> git rev-list -1 --merges 30c083a5452dbfcd7d2c6cff84583659684690cc~1..30c083a5452dbfcd7d2c6cff84583659684690cc 30c083a5452dbfcd7d2c6cff84583659684690cc 00:13:02 30c083a5452dbfcd7d2c6cff84583659684690cc [false] [Pipeline] sh 00:13:02 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 00:13:02 ========================================================= 00:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:02 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] echo 00:13:02 [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 00:13:02 [semverPrep] This is not a build commit. [Pipeline] sh 00:13:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:13:03 + grep -v github /etc/ssh/ssh_known_hosts 00:13:03 + [ -e /tmp/ssh_known_hosts ] 00:13:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:13:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:13:03 + sudo tee -a /etc/ssh/ssh_known_hosts 00:13:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:03 00:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:04 0.1.4: Pulling from edgex-devops/py-git-semver 00:13:04 b85a868b505f: Pulling fs layer 00:13:04 e2be974225ed: Pulling fs layer 00:13:04 339a4e72a1f5: Pulling fs layer 00:13:04 988bab9f4d93: Pulling fs layer 00:13:04 1469e6f7b9e6: Pulling fs layer 00:13:04 eaf3925da568: Pulling fs layer 00:13:04 bab4dde63d76: Pulling fs layer 00:13:04 bde34c3a00c8: Pulling fs layer 00:13:04 b352a97aabf1: Pulling fs layer 00:13:04 4872d77fe225: Pulling fs layer 00:13:04 5851b861e8e6: Pulling fs layer 00:13:04 1469e6f7b9e6: Waiting 00:13:04 eaf3925da568: Waiting 00:13:04 bab4dde63d76: Waiting 00:13:04 b352a97aabf1: Waiting 00:13:04 4872d77fe225: Waiting 00:13:04 5851b861e8e6: Waiting 00:13:04 bde34c3a00c8: Waiting 00:13:04 988bab9f4d93: Waiting 00:13:04 e2be974225ed: Download complete 00:13:04 988bab9f4d93: Verifying Checksum 00:13:04 988bab9f4d93: Download complete 00:13:04 1469e6f7b9e6: Verifying Checksum 00:13:04 1469e6f7b9e6: Download complete 00:13:04 339a4e72a1f5: Verifying Checksum 00:13:04 339a4e72a1f5: Download complete 00:13:04 eaf3925da568: Download complete 00:13:04 bde34c3a00c8: Verifying Checksum 00:13:04 bde34c3a00c8: Download complete 00:13:04 b352a97aabf1: Verifying Checksum 00:13:04 b352a97aabf1: Download complete 00:13:04 4872d77fe225: Verifying Checksum 00:13:04 4872d77fe225: Download complete 00:13:04 5851b861e8e6: Verifying Checksum 00:13:04 5851b861e8e6: Download complete 00:13:04 b85a868b505f: Verifying Checksum 00:13:04 b85a868b505f: Download complete 00:13:04 bab4dde63d76: Verifying Checksum 00:13:04 bab4dde63d76: Download complete 00:13:05 b85a868b505f: Pull complete 00:13:05 e2be974225ed: Pull complete 00:13:05 339a4e72a1f5: Pull complete 00:13:05 988bab9f4d93: Pull complete 00:13:06 1469e6f7b9e6: Pull complete 00:13:06 eaf3925da568: Pull complete 00:13:08 bab4dde63d76: Pull complete 00:13:08 bde34c3a00c8: Pull complete 00:13:08 b352a97aabf1: Pull complete 00:13:08 4872d77fe225: Pull complete 00:13:08 5851b861e8e6: Pull complete 00:13:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:08 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:13:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:13:09 $ docker top 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe -eo pid,comm 00:13:09 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). 00:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:09 [ssh-agent] Looking for ssh-agent implementation... 00:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:10 $ docker exec 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe ssh-agent 00:13:10 SSH_AUTH_SOCK=/tmp/ssh-M7EPLyAGLi5C/agent.33 00:13:10 SSH_AGENT_PID=39 00:13:10 Running ssh-add (command line suppressed) 00:13:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6353199410841293329.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6353199410841293329.key) 00:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:10 + git tag --points-at HEAD [Pipeline] } 00:13:10 $ docker exec --env ******** --env ******** 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe ssh-agent -k 00:13:10 unset SSH_AUTH_SOCK; 00:13:10 unset SSH_AGENT_PID; 00:13:10 echo Agent pid 39 killed; 00:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:10 [ssh-agent] Looking for ssh-agent implementation... 00:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:10 $ docker exec 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe ssh-agent 00:13:10 SSH_AUTH_SOCK=/tmp/ssh-9nP9LVUw3Cjl/agent.72 00:13:10 SSH_AGENT_PID=78 00:13:10 Running ssh-add (command line suppressed) 00:13:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17342805422473552642.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17342805422473552642.key) 00:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:11 + git semver init 00:13:11 2025-03-12 00:13:11,482 [run_init] DEBUG init version:0.0.0 force:False 00:13:11 2025-03-12 00:13:11,483 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 00:13:11 2025-03-12 00:13:11,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 00:13:11 2025-03-12 00:13:11,484 [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) 00:13:12 2025-03-12 00:13:12,614 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 00:13:12 2025-03-12 00:13:12,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 00:13:12 2025-03-12 00:13:12,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:13:12 2025-03-12 00:13:12,614 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:13:12 4.0.0-dev.12 [Pipeline] } 00:13:12 $ docker exec --env ******** --env ******** 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe ssh-agent -k 00:13:13 unset SSH_AUTH_SOCK; 00:13:13 unset SSH_AGENT_PID; 00:13:13 echo Agent pid 78 killed; 00:13:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:13 + git semver [Pipeline] } 00:13:13 $ docker stop --time=1 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe 00:13:14 $ docker rm -f --volumes 3b81bab211488c2aef56a7ce8a19f9285e80f50c94ed511227008ccabd9418fe [Pipeline] // withDockerContainer [Pipeline] sh 00:13:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:15 Stashed 1 file(s) [Pipeline] echo 00:13:15 [edgeXSemver]: initialized semver on version 4.0.0-dev.12 [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 00:13:15 provisioning config files... 00:13:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3418112162075212509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:16 ---> ****-login.sh 00:13:16 nexus3.edgexfoundry.org:10001 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 nexus3.edgexfoundry.org:10002 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 nexus3.edgexfoundry.org:10003 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 nexus3.edgexfoundry.org:10004 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 ****.io 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 ---> ****-login.sh ends [Pipeline] } 00:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:13:16 ========================================================= 00:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:13:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:17 + 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 . 00:13:17 Sending build context to Docker daemon 16.69MB 00:13:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:13:17 Step 2/12 : FROM ${BASE} AS builder 00:13:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:17 da9db072f522: Pulling fs layer 00:13:17 6ef4a4ee8ca5: Pulling fs layer 00:13:17 06f05ace1117: Pulling fs layer 00:13:17 5fe327b54edc: Pulling fs layer 00:13:17 4f4fb700ef54: Pulling fs layer 00:13:17 92a5565b7b96: Pulling fs layer 00:13:17 ff9bb7016b71: Pulling fs layer 00:13:17 b67dba6c2c7d: Pulling fs layer 00:13:17 a813b0c90790: Pulling fs layer 00:13:17 92a5565b7b96: Waiting 00:13:17 b67dba6c2c7d: Waiting 00:13:17 ff9bb7016b71: Waiting 00:13:17 a813b0c90790: Waiting 00:13:17 5fe327b54edc: Waiting 00:13:17 4f4fb700ef54: Waiting 00:13:17 6ef4a4ee8ca5: Download complete 00:13:17 5fe327b54edc: Download complete 00:13:17 4f4fb700ef54: Verifying Checksum 00:13:17 4f4fb700ef54: Download complete 00:13:17 92a5565b7b96: Verifying Checksum 00:13:17 92a5565b7b96: Download complete 00:13:17 da9db072f522: Verifying Checksum 00:13:17 da9db072f522: Download complete 00:13:17 ff9bb7016b71: Verifying Checksum 00:13:17 ff9bb7016b71: Download complete 00:13:17 da9db072f522: Pull complete 00:13:17 a813b0c90790: Verifying Checksum 00:13:17 a813b0c90790: Download complete 00:13:17 6ef4a4ee8ca5: Pull complete 00:13:17 06f05ace1117: Verifying Checksum 00:13:17 06f05ace1117: Download complete 00:13:17 b67dba6c2c7d: Verifying Checksum 00:13:17 b67dba6c2c7d: Download complete 00:13:21 06f05ace1117: Pull complete 00:13:21 5fe327b54edc: Pull complete 00:13:21 4f4fb700ef54: Pull complete 00:13:21 92a5565b7b96: Pull complete 00:13:21 ff9bb7016b71: Pull complete 00:13:23 b67dba6c2c7d: Pull complete 00:13:23 a813b0c90790: Pull complete 00:13:23 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:13:23 ---> 3ba60ce46760 00:13:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:13:25 ---> Running in 1bd21464c39c 00:13:25 Removing intermediate container 1bd21464c39c 00:13:25 ---> 8059334e32f8 00:13:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:25 ---> Running in fc9b47e7f3d9 00:13:25 Removing intermediate container fc9b47e7f3d9 00:13:25 ---> c5edc3b045c8 00:13:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:13:25 ---> Running in 9e440f613328 00:13:25 Removing intermediate container 9e440f613328 00:13:25 ---> 46acdf6e8319 00:13:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:13:25 ---> Running in 74ef19c367e1 00:13:25 Removing intermediate container 74ef19c367e1 00:13:25 ---> 8a796bc739f3 00:13:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:25 ---> Running in 47adc2eb1bfb 00:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:13:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:13:26 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:13:26 (2/4) Installing libedit (20240517.3.1-r0) 00:13:26 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:13:26 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:13:26 Executing busybox-1.36.1-r29.trigger 00:13:26 OK: 252 MiB in 62 packages 00:13:27 Removing intermediate container 47adc2eb1bfb 00:13:27 ---> f41519dcb5ab 00:13:27 Step 8/12 : WORKDIR /device-rest-go 00:13:27 ---> Running in ec99778529a8 00:13:27 Removing intermediate container ec99778529a8 00:13:27 ---> 2d25d5354fee 00:13:27 Step 9/12 : COPY go.mod vendor* ./ 00:13:27 ---> 1625e35c621f 00:13:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:27 ---> Running in ee7ded4f865b 00:13:30 Still waiting to schedule task 00:13:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:14:23 Removing intermediate container ee7ded4f865b 00:14:23 ---> 1dc7ca78333b 00:14:23 Step 11/12 : COPY . . 00:14:23 ---> de182ce6b793 00:14:23 Step 12/12 : RUN $MAKE 00:14:23 ---> Running in 6a74879f3117 00:14:23 noop 00:14:23 Removing intermediate container 6a74879f3117 00:14:23 ---> 174ad588a551 00:14:23 Successfully built 174ad588a551 00:14:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:23 + docker inspect -f . ci-base-image-x86_64 00:14:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:23 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:14:23 $ 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 00:14:24 $ docker top ca214266893a57f180926eaeda65f912cb1d0aff4f1f3c55ebf9d7520d7347c9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:24 + go version 00:14:24 go version go1.23.4 linux/amd64 [Pipeline] } 00:14:24 $ docker stop --time=1 ca214266893a57f180926eaeda65f912cb1d0aff4f1f3c55ebf9d7520d7347c9 00:14:25 $ docker rm -f --volumes ca214266893a57f180926eaeda65f912cb1d0aff4f1f3c55ebf9d7520d7347c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:26 + docker inspect -f . ci-base-image-x86_64 00:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:26 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:14:26 $ 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 00:14:26 $ docker top 8fc636318f1417c58682ae6f41e613993ff61eab0f070efdabad07470ec5b1f2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 00:14:27 + make test 00:14:27 go test ./... -coverprofile=coverage.out ./... 00:14:28 ? github.com/edgexfoundry/device-rest-go [no test files] 00:14:46 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:14:46 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 00:14:56 go vet ./... 00:15:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:02 ./bin/test-attribution-txt.sh [Pipeline] echo 00:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 00:15:02 $ docker stop --time=1 8fc636318f1417c58682ae6f41e613993ff61eab0f070efdabad07470ec5b1f2 00:15:05 $ docker rm -f --volumes 8fc636318f1417c58682ae6f41e613993ff61eab0f070efdabad07470ec5b1f2 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:15:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:15:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:15:06 + ls -al . 00:15:06 total 244 00:15:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 00:14 . 00:15:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 00:12 .. 00:15:06 -rw-rw-r-- 1 jenkins jenkins 151 Mar 12 00:12 .dockerignore 00:15:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:14 .git 00:15:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:12 .github 00:15:06 -rw-rw-r-- 1 jenkins jenkins 264 Mar 12 00:12 .gitignore 00:15:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 00:12 .golangci.yml 00:15:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 00:13 .semver 00:15:06 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 12 00:12 Attribution.txt 00:15:06 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 12 00:12 CHANGELOG.md 00:15:06 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 12 00:12 Dockerfile 00:15:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 00:12 GOVERNANCE.md 00:15:06 -rw-rw-r-- 1 jenkins jenkins 680 Mar 12 00:12 Jenkinsfile 00:15:06 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 00:12 LICENSE 00:15:06 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 12 00:12 Makefile 00:15:06 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 00:12 OWNERS.md 00:15:06 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 12 00:12 README.md 00:15:06 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 00:13 VERSION 00:15:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:12 bin 00:15:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:12 cmd 00:15:06 -rw-r--r-- 1 jenkins jenkins 14565 Mar 12 00:14 coverage.out 00:15:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:12 driver 00:15:06 -rw-rw-r-- 1 jenkins jenkins 6244 Mar 12 00:12 go.mod 00:15:06 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 00:12 go.sum 00:15:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:12 openapi 00:15:06 -rw-rw-r-- 1 jenkins jenkins 713 Mar 12 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:06 + 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.0.0-dev.12 . 00:15:06 Sending build context to Docker daemon 16.7MB 00:15:06 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:15:06 Step 2/26 : FROM ${BASE} AS builder 00:15:06 ---> 174ad588a551 00:15:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:15:06 ---> Running in 0bd60ad347dc 00:15:07 Removing intermediate container 0bd60ad347dc 00:15:07 ---> 0b07c76deba4 00:15:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:07 ---> Running in 4b197590ec12 00:15:07 Removing intermediate container 4b197590ec12 00:15:07 ---> 9d3042e1e876 00:15:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:15:07 ---> Running in 4f343b206559 00:15:07 Removing intermediate container 4f343b206559 00:15:07 ---> ec81e2a69ac2 00:15:07 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:15:07 ---> Running in 728680639e22 00:15:07 Removing intermediate container 728680639e22 00:15:07 ---> c161be50e24c 00:15:07 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:07 ---> Running in 08e54c6ecc73 00:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:15:08 OK: 252 MiB in 62 packages 00:15:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40937 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 00:15:08 Running in /w/workspace/device-rest-go/190 [Pipeline] { [Pipeline] checkout 00:15:08 Removing intermediate container 08e54c6ecc73 00:15:08 ---> 4fcc8de459ed 00:15:08 Step 8/26 : WORKDIR /device-rest-go 00:15:08 ---> Running in 7a0218ffd788 00:15:08 Removing intermediate container 7a0218ffd788 00:15:08 ---> ff25302b3c60 00:15:08 Step 9/26 : COPY go.mod vendor* ./ 00:15:08 ---> 31fb1313cac3 00:15:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:08 ---> Running in 7b3a1edc90a3 00:15:09 Removing intermediate container 7b3a1edc90a3 00:15:09 ---> 6c3240ac0388 00:15:09 Step 11/26 : COPY . . 00:15:09 ---> 8bcae824ce36 00:15:09 Step 12/26 : RUN $MAKE 00:15:09 ---> Running in eefffa1877df 00:15:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.12 -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 00:15:11 The recommended git tool is: git 00:15:15 using credential edgex-jenkins-ssh 00:15:15 Cloning the remote Git repository 00:15:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:15:16 > git init /w/workspace/device-rest-go/190 # timeout=10 00:15:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:15:16 > git --version # timeout=10 00:15:16 > git --version # 'git version 2.25.1' 00:15:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:19 Avoid second fetch 00:15:19 Checking out Revision 30c083a5452dbfcd7d2c6cff84583659684690cc (main) 00:15:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:15:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:19 > git config core.sparsecheckout # timeout=10 00:15:19 > git checkout -f 30c083a5452dbfcd7d2c6cff84583659684690cc # timeout=10 00:15:20 Commit message: "Merge pull request #458 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:25 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:25 Dload Upload Total Spent Left Speed 00:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 158k 0 --:--:-- --:--:-- --:--:-- 158k [Pipeline] sh 00:15:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:25 + sudo tee /etc/docker/daemon.new 00:15:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:25 { 00:15:25 "registry-mirrors": [ 00:15:25 "https://nexus3.edgexfoundry.org:10001" 00:15:25 ], 00:15:25 "bip": "10.250.0.254/24", 00:15:25 "hosts": [ 00:15:25 "tcp://0.0.0.0:5555", 00:15:25 "unix:///var/run/docker.sock" 00:15:25 ], 00:15:25 "mtu": 1458, 00:15:25 "selinux-enabled": true, 00:15:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:25 } [Pipeline] sh 00:15:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:26 + sudo service docker restart 00:15:36 Removing intermediate container eefffa1877df 00:15:36 ---> 7c923fcdbc83 00:15:36 Step 13/26 : FROM alpine:3.20 00:15:36 3.20: Pulling from library/alpine 00:15:36 0a9a5dfd008f: Pulling fs layer 00:15:36 0a9a5dfd008f: Verifying Checksum 00:15:36 0a9a5dfd008f: Download complete 00:15:36 0a9a5dfd008f: Pull complete 00:15:36 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:15:36 Status: Downloaded newer image for alpine:3.20 00:15:36 ---> ff221270b9fb 00:15:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:15:36 ---> Running in a814cd7e2980 00:15:36 Removing intermediate container a814cd7e2980 00:15:36 ---> 65bd1af9afa2 00:15:36 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:15:36 ---> Running in e3dde26fc205 00:15:36 Removing intermediate container e3dde26fc205 00:15:36 ---> de2e186b7023 00:15:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:15:36 ---> Running in dc49bad9b7fc 00:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:15:36 (1/1) Installing dumb-init (1.2.5-r3) 00:15:36 Executing busybox-1.36.1-r29.trigger 00:15:36 OK: 8 MiB in 15 packages 00:15:36 Removing intermediate container dc49bad9b7fc 00:15:36 ---> bf0476dfcb79 00:15:36 Step 17/26 : RUN apk --no-cache upgrade 00:15:36 ---> Running in 87374dde3b00 00:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:15:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:15:37 OK: 8 MiB in 15 packages 00:15:37 Removing intermediate container 87374dde3b00 00:15:37 ---> 273085cd52fe 00:15:37 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:15:38 ---> ccc55049e16f 00:15:38 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:15:38 ---> e8ad8f9acf30 00:15:38 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:15:38 ---> 30ca4c7277cf 00:15:38 Step 21/26 : EXPOSE 59986 00:15:38 ---> Running in f2a4484f1f42 00:15:39 Removing intermediate container f2a4484f1f42 00:15:39 ---> 05c218c5ba8a 00:15:39 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:15:39 ---> Running in 271795a9f70a 00:15:39 Removing intermediate container 271795a9f70a 00:15:39 ---> fe45c812ad96 00:15:39 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:15:39 ---> Running in 87b0249ca0db 00:15:39 Removing intermediate container 87b0249ca0db 00:15:39 ---> dcd9caef3646 00:15:39 Step 24/26 : LABEL arch=amd64 00:15:39 ---> Running in 89d9f816c257 00:15:39 Removing intermediate container 89d9f816c257 00:15:39 ---> 1e5310a99fc3 00:15:39 Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc 00:15:39 ---> Running in a177bf72ecbb 00:15:39 Removing intermediate container a177bf72ecbb 00:15:39 ---> 92363a2f2cb7 00:15:39 Step 26/26 : LABEL version=4.0.0-dev.12 00:15:39 ---> Running in 28eb309c765a 00:15:39 Removing intermediate container 28eb309c765a 00:15:39 ---> 058565ceadd6 00:15:39 [Warning] One or more build-args [ARCH] were not consumed 00:15:39 Successfully built 058565ceadd6 00:15:39 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:39 provisioning config files... 00:15:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11736636084070316507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:39 ---> ****-login.sh 00:15:39 nexus3.edgexfoundry.org:10001 00:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:39 Configure a credential helper to remove this warning. See 00:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:39 00:15:39 Login Succeeded 00:15:39 nexus3.edgexfoundry.org:10002 00:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:39 Configure a credential helper to remove this warning. See 00:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:39 00:15:39 Login Succeeded 00:15:39 nexus3.edgexfoundry.org:10003 00:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:40 Configure a credential helper to remove this warning. See 00:15:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:40 00:15:40 Login Succeeded 00:15:40 nexus3.edgexfoundry.org:10004 00:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:40 Configure a credential helper to remove this warning. See 00:15:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:40 00:15:40 Login Succeeded 00:15:40 ****.io 00:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:40 Configure a credential helper to remove this warning. See 00:15:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:40 00:15:40 Login Succeeded 00:15:40 ---> ****-login.sh ends [Pipeline] } 00:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:15:40 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:15:40 30c083a5452dbfcd7d2c6cff84583659684690cc 00:15:40 latest 00:15:40 4.0.0-dev.12 00:15:40 30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:15:40 main 00:15:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc 00:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:15:41 77351cc93c68: Preparing 00:15:41 66684b754377: Preparing 00:15:41 01c034496409: Preparing 00:15:41 59ecf9ff3b4c: Preparing 00:15:41 21e8ac8ded6e: Preparing 00:15:41 994456c4fd7b: Preparing 00:15:41 994456c4fd7b: Waiting 00:15:41 77351cc93c68: Pushed 00:15:41 21e8ac8ded6e: Pushed 00:15:41 59ecf9ff3b4c: Pushed 00:15:41 66684b754377: Pushed 00:15:41 994456c4fd7b: Layer already exists 00:15:44 01c034496409: Pushed 00:15:44 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:8ddb186e3f985954f1632ff9c61b0e846e611fa6e52e05f8a756992c5e9aedf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:44 provisioning config files... 00:15:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/190@tmp/config5565650618670654561tmp 00:15:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:45 ---> ****-login.sh 00:15:45 nexus3.edgexfoundry.org:10001 00:15:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 00:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:15:45 77351cc93c68: Preparing 00:15:45 66684b754377: Preparing 00:15:45 01c034496409: Preparing 00:15:45 59ecf9ff3b4c: Preparing 00:15:45 21e8ac8ded6e: Preparing 00:15:45 994456c4fd7b: Preparing 00:15:45 994456c4fd7b: Waiting 00:15:45 77351cc93c68: Layer already exists 00:15:45 21e8ac8ded6e: Layer already exists 00:15:45 66684b754377: Layer already exists 00:15:45 59ecf9ff3b4c: Layer already exists 00:15:45 01c034496409: Layer already exists 00:15:45 994456c4fd7b: Layer already exists 00:15:45 latest: digest: sha256:8ddb186e3f985954f1632ff9c61b0e846e611fa6e52e05f8a756992c5e9aedf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:45 Configure a credential helper to remove this warning. See 00:15:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:45 00:15:45 Login Succeeded 00:15:45 nexus3.edgexfoundry.org:10002 00:15:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.12 00:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:15:45 77351cc93c68: Preparing 00:15:45 66684b754377: Preparing 00:15:45 01c034496409: Preparing 00:15:45 59ecf9ff3b4c: Preparing 00:15:45 21e8ac8ded6e: Preparing 00:15:45 994456c4fd7b: Preparing 00:15:45 994456c4fd7b: Waiting 00:15:45 66684b754377: Layer already exists 00:15:45 01c034496409: Layer already exists 00:15:45 21e8ac8ded6e: Layer already exists 00:15:45 77351cc93c68: Layer already exists 00:15:45 59ecf9ff3b4c: Layer already exists 00:15:45 994456c4fd7b: Layer already exists 00:15:45 4.0.0-dev.12: digest: sha256:8ddb186e3f985954f1632ff9c61b0e846e611fa6e52e05f8a756992c5e9aedf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:45 Configure a credential helper to remove this warning. See 00:15:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:45 00:15:45 Login Succeeded 00:15:45 nexus3.edgexfoundry.org:10003 00:15:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 [Pipeline] } 00:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:46 Configure a credential helper to remove this warning. See 00:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:46 00:15:46 Login Succeeded 00:15:46 nexus3.edgexfoundry.org:10004 00:15:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:15:46 77351cc93c68: Preparing 00:15:46 66684b754377: Preparing 00:15:46 01c034496409: Preparing 00:15:46 59ecf9ff3b4c: Preparing 00:15:46 21e8ac8ded6e: Preparing 00:15:46 994456c4fd7b: Preparing 00:15:46 994456c4fd7b: Waiting 00:15:46 66684b754377: Layer already exists 00:15:46 01c034496409: Layer already exists 00:15:46 77351cc93c68: Layer already exists 00:15:46 59ecf9ff3b4c: Layer already exists 00:15:46 21e8ac8ded6e: Layer already exists 00:15:46 994456c4fd7b: Layer already exists 00:15:46 30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12: digest: sha256:8ddb186e3f985954f1632ff9c61b0e846e611fa6e52e05f8a756992c5e9aedf9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:46 Configure a credential helper to remove this warning. See 00:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:46 00:15:46 Login Succeeded 00:15:46 ****.io 00:15:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 00:15:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:15:47 77351cc93c68: Preparing 00:15:47 66684b754377: Preparing 00:15:47 01c034496409: Preparing 00:15:47 59ecf9ff3b4c: Preparing 00:15:47 21e8ac8ded6e: Preparing 00:15:47 994456c4fd7b: Preparing 00:15:47 994456c4fd7b: Waiting 00:15:47 21e8ac8ded6e: Layer already exists 00:15:47 59ecf9ff3b4c: Layer already exists 00:15:47 01c034496409: Layer already exists 00:15:47 66684b754377: Layer already exists 00:15:47 77351cc93c68: Layer already exists 00:15:47 994456c4fd7b: Layer already exists 00:15:47 main: digest: sha256:8ddb186e3f985954f1632ff9c61b0e846e611fa6e52e05f8a756992c5e9aedf9 size: 1573 [Pipeline] } 00:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:15:47 Configure a credential helper to remove this warning. See 00:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:15:47 00:15:47 Login Succeeded 00:15:47 ---> ****-login.sh ends [Pipeline] // withEnv [Pipeline] } 00:15:47 Deleting 1 temporary files [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:47 ===================================================== [Pipeline] echo 00:15:47 taggedImages: 00:15:47 - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc 00:15:47 - nexus3.edgexfoundry.org:10004/device-rest:latest 00:15:47 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.12 00:15:47 - nexus3.edgexfoundry.org:10004/device-rest:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:15:47 - 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 [Pipeline] echo 00:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:15:47 ========================================================= 00:15:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:15:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:47 00:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:48 + 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 . 00:15:48 Sending build context to Docker daemon 141.8kB 00:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:48 latest: Pulling from edgex-lftools-log-publisher 00:15:48 5eb5b503b376: Pulling fs layer 00:15:48 5c69ac0246d0: Pulling fs layer 00:15:48 ec43610c2a17: Pulling fs layer 00:15:48 3a2ae6a8a46f: Pulling fs layer 00:15:48 33b1e0a273af: Pulling fs layer 00:15:48 5d3b04190fa2: Pulling fs layer 00:15:48 2f39f015ded8: Pulling fs layer 00:15:48 33b1e0a273af: Waiting 00:15:48 5d3b04190fa2: Waiting 00:15:48 2f39f015ded8: Waiting 00:15:48 3a2ae6a8a46f: Waiting 00:15:48 5c69ac0246d0: Download complete 00:15:48 3a2ae6a8a46f: Verifying Checksum 00:15:48 3a2ae6a8a46f: Download complete 00:15:48 33b1e0a273af: Verifying Checksum 00:15:48 33b1e0a273af: Download complete 00:15:48 5d3b04190fa2: Verifying Checksum 00:15:48 5d3b04190fa2: Download complete 00:15:48 ec43610c2a17: Verifying Checksum 00:15:48 ec43610c2a17: Download complete 00:15:48 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:15:48 Step 2/12 : FROM ${BASE} AS builder 00:15:48 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:48 9986a736f7d3: Pulling fs layer 00:15:48 1f018df60701: Pulling fs layer 00:15:48 39f8f326b044: Pulling fs layer 00:15:48 e6a1e7a6a96a: Pulling fs layer 00:15:48 4f4fb700ef54: Pulling fs layer 00:15:48 d45d956e0dbf: Pulling fs layer 00:15:48 d7702b0d1db1: Pulling fs layer 00:15:48 5c7f0f088c93: Pulling fs layer 00:15:48 4fdc064ae6cf: Pulling fs layer 00:15:48 d45d956e0dbf: Waiting 00:15:48 d7702b0d1db1: Waiting 00:15:48 5c7f0f088c93: Waiting 00:15:48 4fdc064ae6cf: Waiting 00:15:48 e6a1e7a6a96a: Waiting 00:15:48 4f4fb700ef54: Waiting 00:15:48 1f018df60701: Verifying Checksum 00:15:48 1f018df60701: Download complete 00:15:48 5eb5b503b376: Verifying Checksum 00:15:48 5eb5b503b376: Download complete 00:15:48 e6a1e7a6a96a: Verifying Checksum 00:15:48 e6a1e7a6a96a: Download complete 00:15:48 4f4fb700ef54: Verifying Checksum 00:15:48 4f4fb700ef54: Download complete 00:15:48 d45d956e0dbf: Verifying Checksum 00:15:48 d45d956e0dbf: Download complete 00:15:48 d7702b0d1db1: Verifying Checksum 00:15:48 d7702b0d1db1: Download complete 00:15:48 9986a736f7d3: Verifying Checksum 00:15:48 9986a736f7d3: Download complete 00:15:48 4fdc064ae6cf: Verifying Checksum 00:15:48 4fdc064ae6cf: Download complete 00:15:48 2f39f015ded8: Download complete 00:15:49 5eb5b503b376: Pull complete 00:15:49 9986a736f7d3: Pull complete 00:15:49 5c69ac0246d0: Pull complete 00:15:49 ec43610c2a17: Pull complete 00:15:50 3a2ae6a8a46f: Pull complete 00:15:50 33b1e0a273af: Pull complete 00:15:50 1f018df60701: Pull complete 00:15:50 5d3b04190fa2: Pull complete 00:15:50 39f8f326b044: Verifying Checksum 00:15:50 39f8f326b044: Download complete 00:15:51 5c7f0f088c93: Verifying Checksum 00:15:51 5c7f0f088c93: Download complete 00:15:54 2f39f015ded8: Pull complete 00:15:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:54 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:15:54 $ 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 00:15:56 $ docker top 19ffa832079ee1f56d4da3862dff3ff9f0d4e8f07eb77a10e8540c92be107a29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:56 ---> job-cost.sh 00:15:56 lf-activate-venv: SKIPPING 00:15:56 INFO: No Stack... 00:15:57 INFO: Retrieving Pricing Info for: v3-standard-8 00:15:57 INFO: Archiving Costs [Pipeline] sh 00:15:57 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 00:15:57 + cut -d, -f6 [Pipeline] lock 00:15:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] 00:15:57 Resource [jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] did not exist. Created. 00:15:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:58 + echo total: 0.2199999988079071 [Pipeline] stash 00:15:58 Stashed 1 file(s) [Pipeline] } 00:15:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 00:15:58 $ docker stop --time=1 19ffa832079ee1f56d4da3862dff3ff9f0d4e8f07eb77a10e8540c92be107a29 00:15:59 $ docker rm -f --volumes 19ffa832079ee1f56d4da3862dff3ff9f0d4e8f07eb77a10e8540c92be107a29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:16:03 39f8f326b044: Pull complete 00:16:04 e6a1e7a6a96a: Pull complete 00:16:04 4f4fb700ef54: Pull complete 00:16:04 d45d956e0dbf: Pull complete 00:16:04 d7702b0d1db1: Pull complete 00:16:13 5c7f0f088c93: Pull complete 00:16:15 4fdc064ae6cf: Pull complete 00:16:15 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 00:16:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:16:15 ---> 63f30b955cb9 00:16:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:16:16 ---> Running in 8ab2b637f2c4 00:16:16 Removing intermediate container 8ab2b637f2c4 00:16:16 ---> 84c0195e92f3 00:16:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:16 ---> Running in c58dbf2ee179 00:16:16 Removing intermediate container c58dbf2ee179 00:16:16 ---> c88b1311cee9 00:16:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:16 ---> Running in ed0edb205637 00:16:17 Removing intermediate container ed0edb205637 00:16:17 ---> 7bb483cf8321 00:16:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:16:17 ---> Running in 1028399cd582 00:16:17 Removing intermediate container 1028399cd582 00:16:17 ---> 9e01814b65ee 00:16:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:17 ---> Running in 1d28e1c316e7 00:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:16:20 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:16:20 (2/4) Installing libedit (20240517.3.1-r0) 00:16:20 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:16:20 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:16:20 Executing busybox-1.36.1-r29.trigger 00:16:20 OK: 244 MiB in 62 packages 00:16:21 Removing intermediate container 1d28e1c316e7 00:16:21 ---> e799392e70d6 00:16:21 Step 8/12 : WORKDIR /device-rest-go 00:16:21 ---> Running in f59cc41151a8 00:16:21 Removing intermediate container f59cc41151a8 00:16:21 ---> 3f4cd222686f 00:16:21 Step 9/12 : COPY go.mod vendor* ./ 00:16:21 ---> b58e0c9a07b9 00:16:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:22 ---> Running in 058c7d18d622 00:17:58 Removing intermediate container 058c7d18d622 00:17:58 ---> d041f4cccc1e 00:17:58 Step 11/12 : COPY . . 00:17:58 ---> 52a80d738c12 00:17:58 Step 12/12 : RUN $MAKE 00:17:58 ---> Running in fbc8f7bb797e 00:17:58 noop 00:17:58 Removing intermediate container fbc8f7bb797e 00:17:58 ---> 96faa5d34fac 00:17:58 Successfully built 96faa5d34fac 00:17:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:59 + docker inspect -f . ci-base-image-arm64 00:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:59 prd-ubuntu20.04-docker-arm64-4c-16g-40937 does not seem to be running inside a container 00:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/190 -v /w/workspace/device-rest-go/190:/w/workspace/device-rest-go/190:rw,z -v /w/workspace/device-rest-go/190@tmp:/w/workspace/device-rest-go/190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:00 $ docker top c977851f39c0de15ca9db0d3c6ed76903e139b548c473fa077c39da2becf3694 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:01 + go version 00:18:01 go version go1.23.4 linux/arm64 [Pipeline] } 00:18:01 $ docker stop --time=1 c977851f39c0de15ca9db0d3c6ed76903e139b548c473fa077c39da2becf3694 00:18:03 $ docker rm -f --volumes c977851f39c0de15ca9db0d3c6ed76903e139b548c473fa077c39da2becf3694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:04 + docker inspect -f . ci-base-image-arm64 00:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:04 prd-ubuntu20.04-docker-arm64-4c-16g-40937 does not seem to be running inside a container 00:18:04 $ 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/190 -v /w/workspace/device-rest-go/190:/w/workspace/device-rest-go/190:rw,z -v /w/workspace/device-rest-go/190@tmp:/w/workspace/device-rest-go/190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:05 $ docker top 744bfaf5482a5f6da4a21fc97e03a197236923a045ab68bbfcea69e7199339cc -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:06 + git config --global --add safe.directory /w/workspace/device-rest-go/190 [Pipeline] fileExists [Pipeline] sh 00:18:06 + make test 00:18:06 go test ./... -coverprofile=coverage.out ./... 00:18:12 ? github.com/edgexfoundry/device-rest-go [no test files] 00:22:04 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:22:04 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 00:22:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:22:04 go vet ./... 00:23:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:23:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:23:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:23:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 00:23:12 $ docker stop --time=1 744bfaf5482a5f6da4a21fc97e03a197236923a045ab68bbfcea69e7199339cc 00:23:14 $ docker rm -f --volumes 744bfaf5482a5f6da4a21fc97e03a197236923a045ab68bbfcea69e7199339cc [Pipeline] // withDockerContainer [Pipeline] sh 00:23:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:16 Warning: overwriting stash ‘coverage-report’ 00:23:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:23:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:23:17 + ls -al . 00:23:17 total 240 00:23:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:18 . 00:23:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 00:15 .. 00:23:17 -rw-rw-r-- 1 jenkins jenkins 151 Mar 12 00:15 .dockerignore 00:23:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 00:15 .git 00:23:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:15 .github 00:23:17 -rw-rw-r-- 1 jenkins jenkins 264 Mar 12 00:15 .gitignore 00:23:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 00:15 .golangci.yml 00:23:17 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 12 00:15 Attribution.txt 00:23:17 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 12 00:15 CHANGELOG.md 00:23:17 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 12 00:15 Dockerfile 00:23:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 00:15 GOVERNANCE.md 00:23:17 -rw-rw-r-- 1 jenkins jenkins 680 Mar 12 00:15 Jenkinsfile 00:23:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 00:15 LICENSE 00:23:17 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 12 00:15 Makefile 00:23:17 -rw-rw-r-- 1 jenkins jenkins 620 Mar 12 00:15 OWNERS.md 00:23:17 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 12 00:15 README.md 00:23:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 00:13 VERSION 00:23:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:15 bin 00:23:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:15 cmd 00:23:17 -rw-r--r-- 1 jenkins jenkins 14565 Mar 12 00:22 coverage.out 00:23:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 00:15 driver 00:23:17 -rw-rw-r-- 1 jenkins jenkins 6244 Mar 12 00:15 go.mod 00:23:17 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 12 00:15 go.sum 00:23:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 00:15 openapi 00:23:17 -rw-rw-r-- 1 jenkins jenkins 713 Mar 12 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:18 + 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.0.0-dev.12 . 00:23:18 Sending build context to Docker daemon 157.2kB 00:23:18 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:23:18 Step 2/26 : FROM ${BASE} AS builder 00:23:18 ---> 96faa5d34fac 00:23:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:23:18 ---> Running in 839a6f964c16 00:23:18 Removing intermediate container 839a6f964c16 00:23:18 ---> fc68c7437e54 00:23:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:23:19 ---> Running in 905ca64e3b64 00:23:19 Removing intermediate container 905ca64e3b64 00:23:19 ---> c09540daffe8 00:23:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:23:19 ---> Running in 909483a25d48 00:23:19 Removing intermediate container 909483a25d48 00:23:19 ---> 907e7774ee15 00:23:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:23:20 ---> Running in 2fba12a13f41 00:23:20 Removing intermediate container 2fba12a13f41 00:23:20 ---> dba7910407ee 00:23:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:20 ---> Running in 1ad75ab33fc7 00:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:23:25 OK: 244 MiB in 62 packages 00:23:26 Removing intermediate container 1ad75ab33fc7 00:23:26 ---> 585b7bd5666c 00:23:26 Step 8/26 : WORKDIR /device-rest-go 00:23:26 ---> Running in 3cec197ef843 00:23:26 Removing intermediate container 3cec197ef843 00:23:26 ---> 0957defe7bea 00:23:26 Step 9/26 : COPY go.mod vendor* ./ 00:23:27 ---> e4662b95b4f0 00:23:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:27 ---> Running in 25d4efa81505 00:23:30 Removing intermediate container 25d4efa81505 00:23:30 ---> e22437d33d9c 00:23:30 Step 11/26 : COPY . . 00:23:31 ---> 8894b6570ae4 00:23:31 Step 12/26 : RUN $MAKE 00:23:31 ---> Running in 934b79f1962c 00:23:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.12 -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 00:27:54 Removing intermediate container 934b79f1962c 00:27:54 ---> 9115a8f0f66c 00:27:54 Step 13/26 : FROM alpine:3.20 00:27:54 3.20: Pulling from library/alpine 00:27:54 94e9d8af2201: Pulling fs layer 00:27:54 94e9d8af2201: Download complete 00:27:54 94e9d8af2201: Pull complete 00:27:54 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:27:54 Status: Downloaded newer image for alpine:3.20 00:27:54 ---> 7aab056cecc6 00:27:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:27:54 ---> Running in 6210fbe21411 00:27:54 Removing intermediate container 6210fbe21411 00:27:54 ---> bc5bbf06d817 00:27:54 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:27:54 ---> Running in 409ae3fc5d5a 00:27:54 Removing intermediate container 409ae3fc5d5a 00:27:54 ---> 1f9db9f4429d 00:27:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:27:54 ---> Running in 6a3b2cec293d 00:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:27:54 (1/1) Installing dumb-init (1.2.5-r3) 00:27:54 Executing busybox-1.36.1-r29.trigger 00:27:54 OK: 9 MiB in 15 packages 00:27:54 Removing intermediate container 6a3b2cec293d 00:27:54 ---> 6ed866fe7d74 00:27:54 Step 17/26 : RUN apk --no-cache upgrade 00:27:54 ---> Running in f31974ecee3f 00:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:27:54 OK: 9 MiB in 15 packages 00:27:56 Removing intermediate container f31974ecee3f 00:27:56 ---> 82135aaf7e92 00:27:56 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:27:58 ---> 9c11d157d756 00:27:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:27:58 ---> 7167cfbd83ec 00:27:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:27:59 ---> e68f564c7b17 00:27:59 Step 21/26 : EXPOSE 59986 00:27:59 ---> Running in 438c86167a5c 00:27:59 Removing intermediate container 438c86167a5c 00:27:59 ---> 93f70806a8a3 00:27:59 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:27:59 ---> Running in 4c27bca53798 00:28:00 Removing intermediate container 4c27bca53798 00:28:00 ---> 964b5b17cc85 00:28:00 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:28:00 ---> Running in 7eab3d754d0d 00:28:00 Removing intermediate container 7eab3d754d0d 00:28:00 ---> 8918c077e7d5 00:28:00 Step 24/26 : LABEL arch=arm64 00:28:01 ---> Running in bfa4766511fb 00:28:01 Removing intermediate container bfa4766511fb 00:28:01 ---> c5e221626b10 00:28:01 Step 25/26 : LABEL git_sha=30c083a5452dbfcd7d2c6cff84583659684690cc 00:28:01 ---> Running in a3c49d9f0e91 00:28:01 Removing intermediate container a3c49d9f0e91 00:28:01 ---> 7e4b83d3d169 00:28:01 Step 26/26 : LABEL version=4.0.0-dev.12 00:28:01 ---> Running in 7264ab63b121 00:28:02 Removing intermediate container 7264ab63b121 00:28:02 ---> 6d712b0328ed 00:28:02 [Warning] One or more build-args [ARCH] were not consumed 00:28:02 Successfully built 6d712b0328ed 00:28:02 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 00:28:02 provisioning config files... 00:28:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/190@tmp/config17269389466880231605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:02 ---> ****-login.sh 00:28:02 nexus3.edgexfoundry.org:10001 00:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:28:03 Configure a credential helper to remove this warning. See 00:28:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:28:03 00:28:03 Login Succeeded 00:28:03 nexus3.edgexfoundry.org:10002 00:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:28:03 Configure a credential helper to remove this warning. See 00:28:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:28:03 00:28:03 Login Succeeded 00:28:03 nexus3.edgexfoundry.org:10003 00:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:28:03 Configure a credential helper to remove this warning. See 00:28:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:28:03 00:28:03 Login Succeeded 00:28:03 nexus3.edgexfoundry.org:10004 00:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:28:04 Configure a credential helper to remove this warning. See 00:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:28:04 00:28:04 Login Succeeded 00:28:04 ****.io 00:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:28:05 Configure a credential helper to remove this warning. See 00:28:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:28:05 00:28:05 Login Succeeded 00:28:05 ---> ****-login.sh ends [Pipeline] } 00:28:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:28:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 00:28:05 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:28:05 30c083a5452dbfcd7d2c6cff84583659684690cc 00:28:05 latest 00:28:05 4.0.0-dev.12 00:28:05 30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:28:05 main 00:28:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc 00:28:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:28:05 3ce52357f0ba: Preparing 00:28:05 43bbf3b1fbd7: Preparing 00:28:05 8a7555e13caf: Preparing 00:28:05 dafe2fc0b1de: Preparing 00:28:05 a73b5e9bf895: Preparing 00:28:05 dd9c8f8612c8: Preparing 00:28:05 dd9c8f8612c8: Waiting 00:28:06 dafe2fc0b1de: Pushed 00:28:06 43bbf3b1fbd7: Pushed 00:28:06 3ce52357f0ba: Pushed 00:28:06 a73b5e9bf895: Pushed 00:28:06 dd9c8f8612c8: Layer already exists 00:28:14 8a7555e13caf: Pushed 00:28:14 30c083a5452dbfcd7d2c6cff84583659684690cc: digest: sha256:f0cfaa83aa2d084ce4507a52ab508edfa180b2dd88be81f6d8fb6981f233f3ff size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:28:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:28:15 3ce52357f0ba: Preparing 00:28:15 43bbf3b1fbd7: Preparing 00:28:15 8a7555e13caf: Preparing 00:28:15 dafe2fc0b1de: Preparing 00:28:15 a73b5e9bf895: Preparing 00:28:15 dd9c8f8612c8: Preparing 00:28:15 dd9c8f8612c8: Waiting 00:28:15 a73b5e9bf895: Layer already exists 00:28:15 3ce52357f0ba: Layer already exists 00:28:15 8a7555e13caf: Layer already exists 00:28:15 43bbf3b1fbd7: Layer already exists 00:28:15 dafe2fc0b1de: Layer already exists 00:28:15 dd9c8f8612c8: Layer already exists 00:28:15 latest: digest: sha256:f0cfaa83aa2d084ce4507a52ab508edfa180b2dd88be81f6d8fb6981f233f3ff size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.12 00:28:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:28:16 3ce52357f0ba: Preparing 00:28:16 43bbf3b1fbd7: Preparing 00:28:16 8a7555e13caf: Preparing 00:28:16 dafe2fc0b1de: Preparing 00:28:16 a73b5e9bf895: Preparing 00:28:16 dd9c8f8612c8: Preparing 00:28:16 dd9c8f8612c8: Waiting 00:28:16 a73b5e9bf895: Layer already exists 00:28:16 dafe2fc0b1de: Layer already exists 00:28:16 3ce52357f0ba: Layer already exists 00:28:16 43bbf3b1fbd7: Layer already exists 00:28:16 8a7555e13caf: Layer already exists 00:28:16 dd9c8f8612c8: Layer already exists 00:28:16 4.0.0-dev.12: digest: sha256:f0cfaa83aa2d084ce4507a52ab508edfa180b2dd88be81f6d8fb6981f233f3ff size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:28:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:28:17 3ce52357f0ba: Preparing 00:28:17 43bbf3b1fbd7: Preparing 00:28:17 8a7555e13caf: Preparing 00:28:17 dafe2fc0b1de: Preparing 00:28:17 a73b5e9bf895: Preparing 00:28:17 dd9c8f8612c8: Preparing 00:28:17 dd9c8f8612c8: Waiting 00:28:17 a73b5e9bf895: Layer already exists 00:28:17 3ce52357f0ba: Layer already exists 00:28:17 43bbf3b1fbd7: Layer already exists 00:28:17 8a7555e13caf: Layer already exists 00:28:17 dafe2fc0b1de: Layer already exists 00:28:17 dd9c8f8612c8: Layer already exists 00:28:17 30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12: digest: sha256:f0cfaa83aa2d084ce4507a52ab508edfa180b2dd88be81f6d8fb6981f233f3ff size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:28:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:28:18 3ce52357f0ba: Preparing 00:28:18 43bbf3b1fbd7: Preparing 00:28:18 8a7555e13caf: Preparing 00:28:18 dafe2fc0b1de: Preparing 00:28:18 a73b5e9bf895: Preparing 00:28:18 dd9c8f8612c8: Preparing 00:28:18 dd9c8f8612c8: Waiting 00:28:18 8a7555e13caf: Layer already exists 00:28:18 3ce52357f0ba: Layer already exists 00:28:18 dafe2fc0b1de: Layer already exists 00:28:18 43bbf3b1fbd7: Layer already exists 00:28:18 a73b5e9bf895: Layer already exists 00:28:18 dd9c8f8612c8: Layer already exists 00:28:18 main: digest: sha256:f0cfaa83aa2d084ce4507a52ab508edfa180b2dd88be81f6d8fb6981f233f3ff size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:28:18 ===================================================== [Pipeline] echo 00:28:18 taggedImages: 00:28:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc 00:28:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:28:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.12 00:28:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:30c083a5452dbfcd7d2c6cff84583659684690cc-4.0.0-dev.12 00:28:18 - 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 00:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:18 00:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:19 arm64: Pulling from edgex-lftools-log-publisher 00:28:19 8998bd30e6a1: Pulling fs layer 00:28:19 04944245beec: Pulling fs layer 00:28:19 699f458cf7ca: Pulling fs layer 00:28:19 765212b225bb: Pulling fs layer 00:28:19 f23df028b6ca: Pulling fs layer 00:28:19 d65c8cfc05b1: Pulling fs layer 00:28:19 2437ff75d9bd: Pulling fs layer 00:28:19 f23df028b6ca: Waiting 00:28:19 d65c8cfc05b1: Waiting 00:28:19 2437ff75d9bd: Waiting 00:28:19 765212b225bb: Waiting 00:28:19 04944245beec: Verifying Checksum 00:28:19 04944245beec: Download complete 00:28:19 f23df028b6ca: Verifying Checksum 00:28:19 f23df028b6ca: Download complete 00:28:19 d65c8cfc05b1: Verifying Checksum 00:28:19 d65c8cfc05b1: Download complete 00:28:19 699f458cf7ca: Verifying Checksum 00:28:19 699f458cf7ca: Download complete 00:28:20 8998bd30e6a1: Verifying Checksum 00:28:20 8998bd30e6a1: Download complete 00:28:23 2437ff75d9bd: Verifying Checksum 00:28:23 2437ff75d9bd: Download complete 00:28:25 8998bd30e6a1: Pull complete 00:28:26 04944245beec: Pull complete 00:28:28 699f458cf7ca: Pull complete 00:28:28 765212b225bb: Pull complete 00:28:29 f23df028b6ca: Pull complete 00:28:29 d65c8cfc05b1: Pull complete 00:28:47 2437ff75d9bd: Pull complete 00:28:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:48 prd-ubuntu20.04-docker-arm64-4c-16g-40937 does not seem to be running inside a container 00:28:48 $ 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/190 -v /w/workspace/device-rest-go/190:/w/workspace/device-rest-go/190:rw,z -v /w/workspace/device-rest-go/190@tmp:/w/workspace/device-rest-go/190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:28:51 $ docker top c5c58ee147b590cb611c212526e0e077ee103bd008ef52d5250f1148d0524586 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:52 ---> job-cost.sh 00:28:53 lf-activate-venv: SKIPPING 00:28:53 INFO: No Stack... 00:28:53 INFO: Retrieving Pricing Info for: v3-standard-4 00:28:54 INFO: Archiving Costs [Pipeline] sh 00:28:55 + cat /w/workspace/device-rest-go/190/archives/cost.csv 00:28:55 + cut -d, -f6 [Pipeline] lock 00:28:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] 00:28:55 Resource [jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] did not exist. Created. 00:28:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:28:56 /w/workspace/device-rest-go/190@tmp/durable-867d6822/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:28:56 + echo total: 0.10999999940395355 [Pipeline] stash 00:28:56 Warning: overwriting stash ‘stack-cost’ 00:28:56 Stashed 1 file(s) [Pipeline] } 00:28:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-190-stack-cost] [Pipeline] // lock [Pipeline] } 00:28:56 $ docker stop --time=1 c5c58ee147b590cb611c212526e0e077ee103bd008ef52d5250f1148d0524586 00:28:58 $ docker rm -f --volumes c5c58ee147b590cb611c212526e0e077ee103bd008ef52d5250f1148d0524586 [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 00:28:59 provisioning config files... 00:28:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7649368052569458869tmp [Pipeline] { [Pipeline] sh 00:28:59 + set +x 00:28:59 + curl -s https://codecov.io/bash 00:28:59 + bash -s -- 00:28:59 00:28:59 _____ _ 00:28:59 / ____| | | 00:28:59 | | ___ __| | ___ ___ _____ __ 00:28:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:28:59 | |___| (_) | (_| | __/ (_| (_) \ V / 00:28:59 \_____\___/ \__,_|\___|\___\___/ \_/ 00:28:59 Bash-1.0.6 00:28:59 00:28:59 00:28:59 ==> git version 2.25.1 found 00:28:59 ==> 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 00:28:59 Release-Date: 2020-01-08 00:28:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:28:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:28:59 ==> Jenkins CI detected. 00:28:59 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 00:28:59 project root: . 00:28:59 --> token set from env 00:28:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:28:59 ==> Running gcov in . (disable via -X gcov) 00:28:59 ==> Python coveragepy not found 00:28:59 ==> Searching for coverage reports in: 00:28:59 + . 00:28:59 -> Found 1 reports 00:28:59 ==> Detecting git/mercurial file structure 00:28:59 ==> Reading reports 00:28:59 + ./coverage.out bytes=14565 00:28:59 ==> Appending adjustments 00:28:59 https://docs.codecov.io/docs/fixing-reports 00:28:59 + Found adjustments 00:28:59 ==> Gzipping contents 00:28:59 4.0K /tmp/codecov.lX8MhU.gz 00:28:59 ==> Uploading reports 00:28:59 url: https://codecov.io 00:28:59 query: branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:59 -> Pinging Codecov 00:28:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=30c083a5452dbfcd7d2c6cff84583659684690cc&build=190&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F190%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:59 -> Uploading to 00:28:59 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/30c083a5452dbfcd7d2c6cff84583659684690cc/545c66da-65e5-4ac0-b211-a7f1f2651261.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T002859Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=d3a66c794fa4ef9cce01608ecc04634a1712565fc7e8c8d607f6fa8c178de675 00:28:59 % Total % Received % Xferd Average Speed Time Time Time Current 00:28:59 Dload Upload Total Spent Left Speed 00:28:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 16741 --:--:-- --:--:-- --:--:-- 16741 00:28:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] } 00:28:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:29:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:29:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:29:00 00:29:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:29:00 latest: Pulling from edgex-devops/edgex-snyk-go 00:29:00 43c4264eed91: Pulling fs layer 00:29:00 4cc291be95ef: Pulling fs layer 00:29:00 2ac1f1163629: Pulling fs layer 00:29:00 5c3c966382ef: Pulling fs layer 00:29:00 4f4fb700ef54: Pulling fs layer 00:29:00 d9c7d2e4e75e: Pulling fs layer 00:29:00 9c3e1370e548: Pulling fs layer 00:29:00 4f4fb700ef54: Waiting 00:29:00 d9c7d2e4e75e: Waiting 00:29:00 9c3e1370e548: Waiting 00:29:00 5c3c966382ef: Waiting 00:29:00 4cc291be95ef: Download complete 00:29:00 5c3c966382ef: Download complete 00:29:00 4f4fb700ef54: Verifying Checksum 00:29:00 4f4fb700ef54: Download complete 00:29:00 43c4264eed91: Download complete 00:29:01 43c4264eed91: Pull complete 00:29:01 d9c7d2e4e75e: Verifying Checksum 00:29:01 d9c7d2e4e75e: Download complete 00:29:01 4cc291be95ef: Pull complete 00:29:01 2ac1f1163629: Verifying Checksum 00:29:01 2ac1f1163629: Download complete 00:29:01 9c3e1370e548: Verifying Checksum 00:29:01 9c3e1370e548: Download complete 00:29:04 2ac1f1163629: Pull complete 00:29:04 5c3c966382ef: Pull complete 00:29:04 4f4fb700ef54: Pull complete 00:29:04 d9c7d2e4e75e: Pull complete 00:29:07 9c3e1370e548: Pull complete 00:29:07 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 00:29:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:29:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:07 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:07 $ 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 00:29:09 $ docker top 3c91c7e94cc15f9676a39b21fe67a99c693ddd2a1b75931f41888538ae9cc7a6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 00:29:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 00:29:10 + set -o pipefail 00:29:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 00:29:16 00:29:16 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 00:29:16 00:29:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/b8e42123-eea4-4a5c-a797-1bfa46617980 00:29:16 00:29:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:29:16 00:29:16 00:29:16 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 00:29:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:29:16 $ docker stop --time=1 3c91c7e94cc15f9676a39b21fe67a99c693ddd2a1b75931f41888538ae9cc7a6 00:29:18 $ docker rm -f --volumes 3c91c7e94cc15f9676a39b21fe67a99c693ddd2a1b75931f41888538ae9cc7a6 [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 00:29:19 + git log --format=format:%s -1 30c083a5452dbfcd7d2c6cff84583659684690cc [Pipeline] sh 00:29:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:20 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:20 $ 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 00:29:20 $ docker top 13950a95b04b2d07685cf9effa6f4b25d080e100e26e8f28ac0d61bfb4c61497 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:21 [ssh-agent] Looking for ssh-agent implementation... 00:29:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:21 $ docker exec 13950a95b04b2d07685cf9effa6f4b25d080e100e26e8f28ac0d61bfb4c61497 ssh-agent 00:29:21 SSH_AUTH_SOCK=/tmp/ssh-J413z9Acr1g0/agent.31 00:29:21 SSH_AGENT_PID=37 00:29:21 Running ssh-add (command line suppressed) 00:29:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8119829960935925765.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8119829960935925765.key) 00:29:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:21 + git semver tag 00:29:21 2025-03-12 00:29:21,822 [run_tag] DEBUG tag force:False 00:29:21 2025-03-12 00:29:21,822 [check_head_tag] DEBUG check head tag 00:29:21 2025-03-12 00:29:21,823 [execute] INFO git cat-file --batch-check 00:29:21 2025-03-12 00:29:21,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:29:21 2025-03-12 00:29:21,827 [execute] INFO git cat-file --batch 00:29:21 2025-03-12 00:29:21,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:29:21 2025-03-12 00:29:21,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:21 2025-03-12 00:29:21,847 [execute] INFO git tag -a v4.0.0-dev.12 -m v4.0.0-dev.12 00:29:21 2025-03-12 00:29:21,848 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.12', '-m', 'v4.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:29:21 2025-03-12 00:29:21,852 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:21 4.0.0-dev.12 [Pipeline] } 00:29:21 $ docker exec --env ******** --env ******** 13950a95b04b2d07685cf9effa6f4b25d080e100e26e8f28ac0d61bfb4c61497 ssh-agent -k 00:29:22 unset SSH_AUTH_SOCK; 00:29:22 unset SSH_AGENT_PID; 00:29:22 echo Agent pid 37 killed; 00:29:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:22 + git semver [Pipeline] } 00:29:22 $ docker stop --time=1 13950a95b04b2d07685cf9effa6f4b25d080e100e26e8f28ac0d61bfb4c61497 00:29:23 $ docker rm -f --volumes 13950a95b04b2d07685cf9effa6f4b25d080e100e26e8f28ac0d61bfb4c61497 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:24 00:29:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:24 0.23.1-centos7: Pulling from edgex-lftools 00:29:24 ab5ef0e58194: Pulling fs layer 00:29:24 9712f1f96733: Pulling fs layer 00:29:24 63f879dbbcfc: Pulling fs layer 00:29:24 0d9ebad4ef96: Pulling fs layer 00:29:24 e9a5061849ea: Pulling fs layer 00:29:24 d747dcd14b5f: Pulling fs layer 00:29:24 2de7ff778b66: Pulling fs layer 00:29:24 e9a5061849ea: Waiting 00:29:24 2de7ff778b66: Waiting 00:29:24 d747dcd14b5f: Waiting 00:29:24 0d9ebad4ef96: Waiting 00:29:24 9712f1f96733: Download complete 00:29:25 63f879dbbcfc: Verifying Checksum 00:29:25 63f879dbbcfc: Download complete 00:29:25 e9a5061849ea: Verifying Checksum 00:29:25 e9a5061849ea: Download complete 00:29:25 d747dcd14b5f: Verifying Checksum 00:29:25 d747dcd14b5f: Download complete 00:29:25 0d9ebad4ef96: Verifying Checksum 00:29:25 0d9ebad4ef96: Download complete 00:29:25 ab5ef0e58194: Verifying Checksum 00:29:25 ab5ef0e58194: Download complete 00:29:25 2de7ff778b66: Verifying Checksum 00:29:25 2de7ff778b66: Download complete 00:29:27 ab5ef0e58194: Pull complete 00:29:27 9712f1f96733: Pull complete 00:29:28 63f879dbbcfc: Pull complete 00:29:31 0d9ebad4ef96: Pull complete 00:29:31 e9a5061849ea: Pull complete 00:29:32 d747dcd14b5f: Pull complete 00:29:33 2de7ff778b66: Pull complete 00:29:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:29:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:29:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:33 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:33 $ 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 00:29:35 $ docker top 76d7565ae9b9ea720d48509571cb5beca0dc82337dc22d0088a578dfaf1a5d88 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:29:35 provisioning config files... 00:29:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1342977664776534645tmp 00:29:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17003036786547874001tmp 00:29:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17742917257839606844tmp [Pipeline] { [Pipeline] echo 00:29:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:29:35 ---> sigul-configuration.sh 00:29:35 gpg: directory `/root/.gnupg' created 00:29:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:29:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:29:35 gpg: keyring `/root/.gnupg/secring.gpg' created 00:29:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:29:35 gpg: CAST5 encrypted data 00:29:35 gpg: encrypted with 1 passphrase 00:29:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:29:35 + mkdir /home/jenkins 00:29:35 + mkdir /home/jenkins/sigul [Pipeline] sh 00:29:36 + 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 00:29:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:29:36 ---> sigul-install.sh 00:29:36 Sigul already installed; skipping installation. [Pipeline] sh 00:29:36 + git tag --list 00:29:36 v1.0.0 00:29:36 v1.1.0 00:29:36 v1.1.1 00:29:36 v1.1.2 00:29:36 v1.2.0 00:29:36 v1.2.1 00:29:36 v2.0.0 00:29:36 v2.1.0 00:29:36 v2.1.1 00:29:36 v2.2.0 00:29:36 v2.3.0 00:29:36 v3.0 00:29:36 v3.0.0 00:29:36 v3.1 00:29:36 v3.1.0 00:29:36 v3.1.0-dev.1 00:29:36 v3.1.0-dev.10 00:29:36 v3.1.0-dev.11 00:29:36 v3.1.0-dev.12 00:29:36 v3.1.0-dev.13 00:29:36 v3.1.0-dev.14 00:29:36 v3.1.0-dev.15 00:29:36 v3.1.0-dev.16 00:29:36 v3.1.0-dev.17 00:29:36 v3.1.0-dev.18 00:29:36 v3.1.0-dev.19 00:29:36 v3.1.0-dev.2 00:29:36 v3.1.0-dev.20 00:29:36 v3.1.0-dev.21 00:29:36 v3.1.0-dev.22 00:29:36 v3.1.0-dev.23 00:29:36 v3.1.0-dev.24 00:29:36 v3.1.0-dev.25 00:29:36 v3.1.0-dev.26 00:29:36 v3.1.0-dev.27 00:29:36 v3.1.0-dev.28 00:29:36 v3.1.0-dev.29 00:29:36 v3.1.0-dev.3 00:29:36 v3.1.0-dev.30 00:29:36 v3.1.0-dev.31 00:29:36 v3.1.0-dev.32 00:29:36 v3.1.0-dev.4 00:29:36 v3.1.0-dev.5 00:29:36 v3.1.0-dev.6 00:29:36 v3.1.0-dev.7 00:29:36 v3.1.0-dev.8 00:29:36 v3.1.0-dev.9 00:29:36 v3.1.1 00:29:36 v3.2.0-dev.1 00:29:36 v3.2.0-dev.10 00:29:36 v3.2.0-dev.11 00:29:36 v3.2.0-dev.12 00:29:36 v3.2.0-dev.13 00:29:36 v3.2.0-dev.14 00:29:36 v3.2.0-dev.15 00:29:36 v3.2.0-dev.16 00:29:36 v3.2.0-dev.17 00:29:36 v3.2.0-dev.18 00:29:36 v3.2.0-dev.19 00:29:36 v3.2.0-dev.2 00:29:36 v3.2.0-dev.20 00:29:36 v3.2.0-dev.21 00:29:36 v3.2.0-dev.22 00:29:36 v3.2.0-dev.23 00:29:36 v3.2.0-dev.24 00:29:36 v3.2.0-dev.25 00:29:36 v3.2.0-dev.3 00:29:36 v3.2.0-dev.4 00:29:36 v3.2.0-dev.5 00:29:36 v3.2.0-dev.6 00:29:36 v3.2.0-dev.7 00:29:36 v3.2.0-dev.8 00:29:36 v3.2.0-dev.9 00:29:36 v4.0.0-dev.1 00:29:36 v4.0.0-dev.10 00:29:36 v4.0.0-dev.11 00:29:36 v4.0.0-dev.12 00:29:36 v4.0.0-dev.2 00:29:36 v4.0.0-dev.3 00:29:36 v4.0.0-dev.4 00:29:36 v4.0.0-dev.5 00:29:36 v4.0.0-dev.6 00:29:36 v4.0.0-dev.7 00:29:36 v4.0.0-dev.8 00:29:36 v4.0.0-dev.9 [Pipeline] sh 00:29:36 + lftools sign git-tag v4.0.0-dev.12 00:29:37 Signing Git tag with Sigul... 00:29:37 Signing v4.0.0-dev.12 [Pipeline] echo 00:29:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:29:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:29:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:29:38 $ docker stop --time=1 76d7565ae9b9ea720d48509571cb5beca0dc82337dc22d0088a578dfaf1a5d88 00:29:39 $ docker rm -f --volumes 76d7565ae9b9ea720d48509571cb5beca0dc82337dc22d0088a578dfaf1a5d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:29:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:40 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:40 $ 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 00:29:40 $ docker top a458b5f21369b5f0e4ae4254fcc93de33b62fe4c782c30539b6e6d1b063b026e -eo pid,comm 00:29:40 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). 00:29:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:40 [ssh-agent] Looking for ssh-agent implementation... 00:29:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:40 $ docker exec a458b5f21369b5f0e4ae4254fcc93de33b62fe4c782c30539b6e6d1b063b026e ssh-agent 00:29:41 SSH_AUTH_SOCK=/tmp/ssh-4QLAIKFjHAAK/agent.32 00:29:41 SSH_AGENT_PID=38 00:29:41 Running ssh-add (command line suppressed) 00:29:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14213313443743411059.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14213313443743411059.key) 00:29:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:41 + git semver bump pre 00:29:41 2025-03-12 00:29:41,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:41 2025-03-12 00:29:41,623 [bump_version] DEBUG bumping version:4.0.0-dev.12 on axis:pre with prefix:dev 00:29:41 2025-03-12 00:29:41,623 [bump_version] DEBUG bumped version:4.0.0-dev.13 00:29:41 2025-03-12 00:29:41,623 [write_version] DEBUG write version:4.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 00:29:41 2025-03-12 00:29:41,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:41 2025-03-12 00:29:41,623 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:41 2025-03-12 00:29:41,625 [execute] INFO git cat-file --batch-check 00:29:41 2025-03-12 00:29:41,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:41 2025-03-12 00:29:41,631 [execute] INFO git cat-file --batch 00:29:41 2025-03-12 00:29:41,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:41 2025-03-12 00:29:41,636 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:41 4.0.0-dev.13 [Pipeline] } 00:29:41 $ docker exec --env ******** --env ******** a458b5f21369b5f0e4ae4254fcc93de33b62fe4c782c30539b6e6d1b063b026e ssh-agent -k 00:29:41 unset SSH_AUTH_SOCK; 00:29:41 unset SSH_AGENT_PID; 00:29:41 echo Agent pid 38 killed; 00:29:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:42 + git semver [Pipeline] } 00:29:42 $ docker stop --time=1 a458b5f21369b5f0e4ae4254fcc93de33b62fe4c782c30539b6e6d1b063b026e 00:29:43 $ docker rm -f --volumes a458b5f21369b5f0e4ae4254fcc93de33b62fe4c782c30539b6e6d1b063b026e [Pipeline] // withDockerContainer [Pipeline] sh 00:29:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:44 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:44 $ 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 00:29:44 $ docker top 9f5111e7282d12d9b648586f358751e559615f1003f1aad45c1ed54e0796baa7 -eo pid,comm 00:29:44 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). 00:29:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:44 [ssh-agent] Looking for ssh-agent implementation... 00:29:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:45 $ docker exec 9f5111e7282d12d9b648586f358751e559615f1003f1aad45c1ed54e0796baa7 ssh-agent 00:29:45 SSH_AUTH_SOCK=/tmp/ssh-qi11JrJjx9OZ/agent.32 00:29:45 SSH_AGENT_PID=38 00:29:45 Running ssh-add (command line suppressed) 00:29:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11610931883557639010.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11610931883557639010.key) 00:29:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:45 + git semver push 00:29:45 2025-03-12 00:29:45,747 [run_push] DEBUG push 00:29:45 2025-03-12 00:29:45,747 [execute] INFO git cat-file --batch-check 00:29:45 2025-03-12 00:29:45,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:45 2025-03-12 00:29:45,751 [execute] INFO git rev-list 77220e1c128ba80027dc999a17738396677c36a4 -- 00:29:45 2025-03-12 00:29:45,752 [execute] DEBUG Popen(['git', 'rev-list', '77220e1c128ba80027dc999a17738396677c36a4', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:45 2025-03-12 00:29:45,761 [execute] INFO git fetch -v origin 00:29:45 2025-03-12 00:29:45,762 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:29:46 2025-03-12 00:29:46,222 [run_push] DEBUG no remote changes detected 00:29:46 2025-03-12 00:29:46,223 [execute] INFO git push origin semver 00:29:46 2025-03-12 00:29:46,223 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:46 2025-03-12 00:29:46,821 [run_push] DEBUG push all version tags 00:29:46 2025-03-12 00:29:46,822 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:29:46 2025-03-12 00:29:46,822 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:29:47 2025-03-12 00:29:47,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:29:47 4.0.0-dev.13 [Pipeline] } 00:29:47 $ docker exec --env ******** --env ******** 9f5111e7282d12d9b648586f358751e559615f1003f1aad45c1ed54e0796baa7 ssh-agent -k 00:29:47 unset SSH_AUTH_SOCK; 00:29:47 unset SSH_AGENT_PID; 00:29:47 echo Agent pid 38 killed; 00:29:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:47 + git semver [Pipeline] } 00:29:48 $ docker stop --time=1 9f5111e7282d12d9b648586f358751e559615f1003f1aad45c1ed54e0796baa7 00:29:49 $ docker rm -f --volumes 9f5111e7282d12d9b648586f358751e559615f1003f1aad45c1ed54e0796baa7 [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 00:29:50 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:29:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:29:50 total 16 00:29:50 drwxr-xr-x 3 root root 4096 Mar 12 00:15 . 00:29:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 00:29 .. 00:29:50 drwxr-xr-x 2 root root 4096 Mar 12 00:15 cost 00:29:50 -rw-r--r-- 1 root root 86 Mar 12 00:15 cost.csv 00:29:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:29:50 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:29:50 total 16 00:29:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 00:15 . 00:29:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 00:29 .. 00:29:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 00:15 cost 00:29:50 -rw-r--r-- 1 jenkins jenkins 86 Mar 12 00:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:29:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:29:51 ---> package-listing.sh 00:29:51 ++ facter osfamily 00:29:51 ++ tr '[:upper:]' '[:lower:]' 00:29:51 + OS_FAMILY=debian 00:29:51 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:29:51 + START_PACKAGES=/tmp/packages_start.txt 00:29:51 + END_PACKAGES=/tmp/packages_end.txt 00:29:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:29:51 + PACKAGES=/tmp/packages_start.txt 00:29:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:29:51 + PACKAGES=/tmp/packages_end.txt 00:29:51 + case "${OS_FAMILY}" in 00:29:51 + dpkg -l 00:29:51 + grep '^ii' 00:29:51 + '[' -f /tmp/packages_start.txt ']' 00:29:51 + '[' -f /tmp/packages_end.txt ']' 00:29:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:29:51 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:29:51 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:29:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:29:51 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 00:29:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:29:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:52 prd-ubuntu20.04-docker-8c-8g-40936 does not seem to be running inside a container 00:29:52 $ 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 00:29:52 $ docker top a4168ad5a231fe6c5d3d9e7e95b67364b4e27190f16c8d012ca2c945f42bc5ea -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:53 + touch /tmp/pre-build-complete [Pipeline] sh 00:29:53 + mkdir -p /var/log/sysstat [Pipeline] sh 00:29:53 + ls /var/log/sa-host 00:29:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:53 provisioning config files... 00:29:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15612256433771690538tmp [Pipeline] { [Pipeline] echo 00:29:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:29:54 ---> create-netrc.sh [Pipeline] } 00:29:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:29:54 ---> python-tools-install.sh [Pipeline] echo 00:29:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:29:54 ---> sudo-logs.sh 00:29:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:29:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:29:55 ---> job-cost.sh 00:29:55 lf-activate-venv: SKIPPING 00:29:55 DEBUG: total: 0.2199999988079071 00:29:55 INFO: Retrieving Stack Cost... 00:29:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:29:55 INFO: Archiving Costs [Pipeline] echo 00:29:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:29:56 ---> logs-deploy.sh 00:29:56 lf-activate-venv: SKIPPING 00:29:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/190 00:29:56 INFO: archiving workspace using pattern(s): 00:29:57 Archives upload complete. 00:29:57 INFO: archiving logs to Nexus