Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 652475eb7f40601dc51275e4cb2d5155a3ec317c 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-ssh15185462588925544120.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh6101800939644375212.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh10694238001889609144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh11926495504343489351.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-ssh4941600759394861088.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40100 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 652475eb7f40601dc51275e4cb2d5155a3ec317c (main) Commit message: "Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 652475eb7f40601dc51275e4cb2d5155a3ec317c # timeout=10 > git rev-list --no-walk e0a5c5a73132d7079afb502fe425c62ff6deb797 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:48:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:48:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:48:15 ========================================================= 00:48:15 EdgeX Global Pipelines Version Info 00:48:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:48:16 ------------------- 00:48:16 stable info: 00:48:16 ------------------- 00:48:16 Commited By: Cherry Wang cherry@iotechsys.com 00:48:16 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:48:16 Message: update stable to v1.0.269 00:48:16 ------------------- 00:48:16 experimental info: 00:48:16 ------------------- 00:48:16 Commited By: Ginny Guan ginny@iotechsys.com 00:48:16 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 00:48:16 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:48:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 652475e [Pipeline] echo 00:48:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:48:17 provisioning config files... 00:48:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9000816196256139210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:18 ---> ****-login.sh 00:48:18 nexus3.edgexfoundry.org:10001 00:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:18 Configure a credential helper to remove this warning. See 00:48:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:18 00:48:18 Login Succeeded 00:48:18 nexus3.edgexfoundry.org:10002 00:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:18 Configure a credential helper to remove this warning. See 00:48:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:18 00:48:18 Login Succeeded 00:48:18 nexus3.edgexfoundry.org:10003 00:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:18 Configure a credential helper to remove this warning. See 00:48:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:18 00:48:18 Login Succeeded 00:48:18 nexus3.edgexfoundry.org:10004 00:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:19 Configure a credential helper to remove this warning. See 00:48:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:19 00:48:19 Login Succeeded 00:48:19 ****.io 00:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:19 Configure a credential helper to remove this warning. See 00:48:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:19 00:48:19 Login Succeeded 00:48:19 ---> ****-login.sh ends [Pipeline] } 00:48:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:48:19 + git rev-list -1 --merges 652475eb7f40601dc51275e4cb2d5155a3ec317c~1..652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] echo 00:48:19 -----------> git rev-list -1 --merges 652475eb7f40601dc51275e4cb2d5155a3ec317c~1..652475eb7f40601dc51275e4cb2d5155a3ec317c 652475eb7f40601dc51275e4cb2d5155a3ec317c 00:48:19 652475eb7f40601dc51275e4cb2d5155a3ec317c [false] [Pipeline] sh 00:48:20 + git log --format=format:%s -1 652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] echo 00:48:20 ========================================================= 00:48:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:48:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:20 + git log --format=format:%s -1 652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] echo 00:48:20 [semverPrep] GIT_COMMIT: 652475eb7f40601dc51275e4cb2d5155a3ec317c, Commit Message: Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26 [Pipeline] echo 00:48:20 [semverPrep] This is not a build commit. [Pipeline] sh 00:48:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:48:20 + grep -v github /etc/ssh/ssh_known_hosts 00:48:20 + [ -e /tmp/ssh_known_hosts ] 00:48:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:48:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:48:20 + sudo tee -a /etc/ssh/ssh_known_hosts 00:48:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:21 00:48:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:21 0.1.4: Pulling from edgex-devops/py-git-semver 00:48:21 b85a868b505f: Pulling fs layer 00:48:21 e2be974225ed: Pulling fs layer 00:48:21 339a4e72a1f5: Pulling fs layer 00:48:21 988bab9f4d93: Pulling fs layer 00:48:21 1469e6f7b9e6: Pulling fs layer 00:48:21 eaf3925da568: Pulling fs layer 00:48:21 bab4dde63d76: Pulling fs layer 00:48:21 bde34c3a00c8: Pulling fs layer 00:48:21 b352a97aabf1: Pulling fs layer 00:48:21 4872d77fe225: Pulling fs layer 00:48:21 5851b861e8e6: Pulling fs layer 00:48:21 988bab9f4d93: Waiting 00:48:21 bab4dde63d76: Waiting 00:48:21 bde34c3a00c8: Waiting 00:48:21 b352a97aabf1: Waiting 00:48:21 4872d77fe225: Waiting 00:48:21 5851b861e8e6: Waiting 00:48:21 1469e6f7b9e6: Waiting 00:48:21 eaf3925da568: Waiting 00:48:21 e2be974225ed: Verifying Checksum 00:48:21 e2be974225ed: Download complete 00:48:21 988bab9f4d93: Verifying Checksum 00:48:21 988bab9f4d93: Download complete 00:48:21 339a4e72a1f5: Verifying Checksum 00:48:21 339a4e72a1f5: Download complete 00:48:21 1469e6f7b9e6: Verifying Checksum 00:48:21 1469e6f7b9e6: Download complete 00:48:21 eaf3925da568: Verifying Checksum 00:48:21 eaf3925da568: Download complete 00:48:21 bde34c3a00c8: Download complete 00:48:21 b352a97aabf1: Verifying Checksum 00:48:21 b352a97aabf1: Download complete 00:48:21 4872d77fe225: Verifying Checksum 00:48:21 4872d77fe225: Download complete 00:48:21 5851b861e8e6: Download complete 00:48:21 b85a868b505f: Download complete 00:48:22 bab4dde63d76: Verifying Checksum 00:48:22 bab4dde63d76: Download complete 00:48:22 b85a868b505f: Pull complete 00:48:22 e2be974225ed: Pull complete 00:48:23 339a4e72a1f5: Pull complete 00:48:23 988bab9f4d93: Pull complete 00:48:24 1469e6f7b9e6: Pull complete 00:48:24 eaf3925da568: Pull complete 00:48:26 bab4dde63d76: Pull complete 00:48:26 bde34c3a00c8: Pull complete 00:48:26 b352a97aabf1: Pull complete 00:48:26 4872d77fe225: Pull complete 00:48:26 5851b861e8e6: Pull complete 00:48:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:48:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:26 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 00:48:26 $ 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:48:27 $ docker top 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 -eo pid,comm 00:48:27 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:48:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:48:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:27 [ssh-agent] Looking for ssh-agent implementation... 00:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:27 $ docker exec 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 ssh-agent 00:48:28 SSH_AUTH_SOCK=/tmp/ssh-c2fK1fss3l53/agent.32 00:48:28 SSH_AGENT_PID=38 00:48:28 Running ssh-add (command line suppressed) 00:48:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6480105910113922122.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6480105910113922122.key) 00:48:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:28 + git tag --points-at HEAD [Pipeline] } 00:48:28 $ docker exec --env ******** --env ******** 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 ssh-agent -k 00:48:28 unset SSH_AUTH_SOCK; 00:48:28 unset SSH_AGENT_PID; 00:48:28 echo Agent pid 38 killed; 00:48:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:48:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:48:28 [ssh-agent] Looking for ssh-agent implementation... 00:48:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:48:28 $ docker exec 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 ssh-agent 00:48:29 SSH_AUTH_SOCK=/tmp/ssh-IK4QUTAYOn9J/agent.71 00:48:29 SSH_AGENT_PID=77 00:48:29 Running ssh-add (command line suppressed) 00:48:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12963334645099747956.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12963334645099747956.key) 00:48:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:48:29 + git semver init 00:48:29 2025-03-04 00:48:29,967 [run_init] DEBUG init version:0.0.0 force:False 00:48:29 2025-03-04 00:48:29,968 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 00:48:29 2025-03-04 00:48:29,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 00:48:29 2025-03-04 00:48:29,968 [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:48:31 2025-03-04 00:48:31,077 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 00:48:31 2025-03-04 00:48:31,077 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 00:48:31 2025-03-04 00:48:31,077 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:48:31 2025-03-04 00:48:31,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:48:31 4.0.0-dev.10 [Pipeline] } 00:48:31 $ docker exec --env ******** --env ******** 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 ssh-agent -k 00:48:31 unset SSH_AUTH_SOCK; 00:48:31 unset SSH_AGENT_PID; 00:48:31 echo Agent pid 77 killed; 00:48:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:48:32 + git semver [Pipeline] } 00:48:32 $ docker stop --time=1 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 00:48:33 $ docker rm -f --volumes 4756854fcab3ee15d6935770127eeb9c130c0811bf1838b910bcfe84c5f9a048 [Pipeline] // withDockerContainer [Pipeline] sh 00:48:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:48:34 Stashed 1 file(s) [Pipeline] echo 00:48:34 [edgeXSemver]: initialized semver on version 4.0.0-dev.10 [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:48:34 provisioning config files... 00:48:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5101653742795486911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:34 ---> ****-login.sh 00:48:34 nexus3.edgexfoundry.org:10001 00:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:34 Configure a credential helper to remove this warning. See 00:48:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:34 00:48:34 Login Succeeded 00:48:34 nexus3.edgexfoundry.org:10002 00:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:34 Configure a credential helper to remove this warning. See 00:48:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:34 00:48:34 Login Succeeded 00:48:34 nexus3.edgexfoundry.org:10003 00:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:34 Configure a credential helper to remove this warning. See 00:48:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:34 00:48:34 Login Succeeded 00:48:34 nexus3.edgexfoundry.org:10004 00:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:34 Configure a credential helper to remove this warning. See 00:48:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:34 00:48:34 Login Succeeded 00:48:34 ****.io 00:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:48:35 Configure a credential helper to remove this warning. See 00:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:48:35 00:48:35 Login Succeeded 00:48:35 ---> ****-login.sh ends [Pipeline] } 00:48:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:48:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:48:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:48:35 ========================================================= 00:48:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:48:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:35 + 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:48:35 Sending build context to Docker daemon 16.68MB 00:48:35 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:48:35 Step 2/12 : FROM ${BASE} AS builder 00:48:35 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:48:35 da9db072f522: Pulling fs layer 00:48:35 6ef4a4ee8ca5: Pulling fs layer 00:48:35 06f05ace1117: Pulling fs layer 00:48:35 5fe327b54edc: Pulling fs layer 00:48:35 4f4fb700ef54: Pulling fs layer 00:48:35 92a5565b7b96: Pulling fs layer 00:48:35 ff9bb7016b71: Pulling fs layer 00:48:35 b67dba6c2c7d: Pulling fs layer 00:48:35 a813b0c90790: Pulling fs layer 00:48:35 4f4fb700ef54: Waiting 00:48:35 92a5565b7b96: Waiting 00:48:35 ff9bb7016b71: Waiting 00:48:35 b67dba6c2c7d: Waiting 00:48:35 5fe327b54edc: Waiting 00:48:35 a813b0c90790: Waiting 00:48:35 6ef4a4ee8ca5: Verifying Checksum 00:48:35 6ef4a4ee8ca5: Download complete 00:48:35 5fe327b54edc: Verifying Checksum 00:48:35 5fe327b54edc: Download complete 00:48:35 4f4fb700ef54: Download complete 00:48:35 92a5565b7b96: Verifying Checksum 00:48:35 92a5565b7b96: Download complete 00:48:35 da9db072f522: Download complete 00:48:35 ff9bb7016b71: Verifying Checksum 00:48:35 ff9bb7016b71: Download complete 00:48:35 da9db072f522: Pull complete 00:48:36 a813b0c90790: Verifying Checksum 00:48:36 a813b0c90790: Download complete 00:48:36 6ef4a4ee8ca5: Pull complete 00:48:36 06f05ace1117: Verifying Checksum 00:48:36 06f05ace1117: Download complete 00:48:36 b67dba6c2c7d: Verifying Checksum 00:48:36 b67dba6c2c7d: Download complete 00:48:40 06f05ace1117: Pull complete 00:48:40 5fe327b54edc: Pull complete 00:48:40 4f4fb700ef54: Pull complete 00:48:40 92a5565b7b96: Pull complete 00:48:40 ff9bb7016b71: Pull complete 00:48:42 b67dba6c2c7d: Pull complete 00:48:42 a813b0c90790: Pull complete 00:48:42 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:48:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:48:42 ---> 3ba60ce46760 00:48:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:48:44 ---> Running in 51c97e54a3a8 00:48:44 Removing intermediate container 51c97e54a3a8 00:48:44 ---> 0b045e7529d3 00:48:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:44 ---> Running in 18f66366d5ad 00:48:44 Removing intermediate container 18f66366d5ad 00:48:44 ---> d1cebee2b7ed 00:48:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:48:44 ---> Running in 085d2bbe9220 00:48:44 Removing intermediate container 085d2bbe9220 00:48:44 ---> f025bc3cba2a 00:48:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:48:44 ---> Running in d778a4a3679e 00:48:44 Removing intermediate container d778a4a3679e 00:48:44 ---> e2e47a0563e5 00:48:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:44 ---> Running in 24abfdd07bca 00:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:48:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:48:45 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:48:45 (2/4) Installing libedit (20240517.3.1-r0) 00:48:45 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:48:45 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:48:45 Executing busybox-1.36.1-r29.trigger 00:48:45 OK: 252 MiB in 62 packages 00:48:46 Removing intermediate container 24abfdd07bca 00:48:46 ---> 668c83cff828 00:48:46 Step 8/12 : WORKDIR /device-rest-go 00:48:46 ---> Running in c978c1137ef9 00:48:46 Removing intermediate container c978c1137ef9 00:48:46 ---> c6ce8d514d3b 00:48:46 Step 9/12 : COPY go.mod vendor* ./ 00:48:46 ---> 254efb39c409 00:48:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:46 ---> Running in fecc107107b7 00:48:49 Still waiting to schedule task 00:48:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:49:18 Removing intermediate container fecc107107b7 00:49:18 ---> 938338a30ce0 00:49:18 Step 11/12 : COPY . . 00:49:18 ---> 2e1738d6417d 00:49:18 Step 12/12 : RUN $MAKE 00:49:18 ---> Running in 846ed52bd517 00:49:18 noop 00:49:18 Removing intermediate container 846ed52bd517 00:49:18 ---> 3156000f6462 00:49:18 Successfully built 3156000f6462 00:49:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:18 + docker inspect -f . ci-base-image-x86_64 00:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:18 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 00:49:18 $ 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:49:19 $ docker top 493c6215aca729267ef06cb7b015a0195f79e4bd5d35126ddbba4e979f752f91 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:20 + go version 00:49:20 go version go1.23.4 linux/amd64 [Pipeline] } 00:49:20 $ docker stop --time=1 493c6215aca729267ef06cb7b015a0195f79e4bd5d35126ddbba4e979f752f91 00:49:22 $ docker rm -f --volumes 493c6215aca729267ef06cb7b015a0195f79e4bd5d35126ddbba4e979f752f91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:22 + docker inspect -f . ci-base-image-x86_64 00:49:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:22 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 00:49:22 $ 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:49:23 $ docker top 561a0324f286b775d78ed2e1cbf74f97b4df0cd6002b8c93124f27db7d240845 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 00:49:23 + make test 00:49:23 go test ./... -coverprofile=coverage.out ./... 00:49:25 ? github.com/edgexfoundry/device-rest-go [no test files] 00:49:43 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:49:43 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 00:49:55 go vet ./... 00:50:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:00 ./bin/test-attribution-txt.sh [Pipeline] echo 00:50:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:50:00 $ docker stop --time=1 561a0324f286b775d78ed2e1cbf74f97b4df0cd6002b8c93124f27db7d240845 00:50:03 $ docker rm -f --volumes 561a0324f286b775d78ed2e1cbf74f97b4df0cd6002b8c93124f27db7d240845 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:50:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:04 + ls -al . 00:50:04 total 244 00:50:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 00:49 . 00:50:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 00:48 .. 00:50:04 -rw-rw-r-- 1 jenkins jenkins 151 Mar 4 00:48 .dockerignore 00:50:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:49 .git 00:50:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:48 .github 00:50:04 -rw-rw-r-- 1 jenkins jenkins 264 Mar 4 00:48 .gitignore 00:50:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 4 00:48 .golangci.yml 00:50:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 00:48 .semver 00:50:04 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 4 00:48 Attribution.txt 00:50:04 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 4 00:48 CHANGELOG.md 00:50:04 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 4 00:48 Dockerfile 00:50:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 00:48 GOVERNANCE.md 00:50:04 -rw-rw-r-- 1 jenkins jenkins 680 Mar 4 00:48 Jenkinsfile 00:50:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 00:48 LICENSE 00:50:04 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 4 00:48 Makefile 00:50:04 -rw-rw-r-- 1 jenkins jenkins 620 Mar 4 00:48 OWNERS.md 00:50:04 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 4 00:48 README.md 00:50:04 -rw-rw-r-- 1 jenkins jenkins 12 Mar 4 00:48 VERSION 00:50:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:48 bin 00:50:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:48 cmd 00:50:04 -rw-r--r-- 1 jenkins jenkins 14565 Mar 4 00:49 coverage.out 00:50:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:48 driver 00:50:04 -rw-rw-r-- 1 jenkins jenkins 6292 Mar 4 00:48 go.mod 00:50:04 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 4 00:48 go.sum 00:50:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:48 openapi 00:50:04 -rw-rw-r-- 1 jenkins jenkins 713 Mar 4 00:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:04 + 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=652475eb7f40601dc51275e4cb2d5155a3ec317c --label arch=amd64 --label version=4.0.0-dev.10 . 00:50:04 Sending build context to Docker daemon 16.69MB 00:50:04 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:50:04 Step 2/26 : FROM ${BASE} AS builder 00:50:04 ---> 3156000f6462 00:50:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:50:04 ---> Running in d85270a8e965 00:50:04 Removing intermediate container d85270a8e965 00:50:04 ---> 1e93b6dc585b 00:50:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:04 ---> Running in b46ae392a8ca 00:50:04 Removing intermediate container b46ae392a8ca 00:50:04 ---> 889b674d0ef4 00:50:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:50:04 ---> Running in 846a0586814d 00:50:05 Removing intermediate container 846a0586814d 00:50:05 ---> 7976c89ff5ea 00:50:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:50:05 ---> Running in 0c1d99fbf543 00:50:05 Removing intermediate container 0c1d99fbf543 00:50:05 ---> 8e82982e2c90 00:50:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:05 ---> Running in b3d6e858aebc 00:50:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:06 OK: 252 MiB in 62 packages 00:50:06 Removing intermediate container b3d6e858aebc 00:50:06 ---> 9f2351e316fb 00:50:06 Step 8/26 : WORKDIR /device-rest-go 00:50:06 ---> Running in ab11f135b4ff 00:50:06 Removing intermediate container ab11f135b4ff 00:50:06 ---> 4dc372cc5ca7 00:50:06 Step 9/26 : COPY go.mod vendor* ./ 00:50:06 ---> 8cc78528edaa 00:50:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:06 ---> Running in 173e5369eacf 00:50:07 Removing intermediate container 173e5369eacf 00:50:07 ---> 849a81fbd1e7 00:50:07 Step 11/26 : COPY . . 00:50:07 ---> 366cb763126a 00:50:07 Step 12/26 : RUN $MAKE 00:50:07 ---> Running in 77200f89c822 00:50:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:50:40 Removing intermediate container 77200f89c822 00:50:40 ---> 81ca9054ec11 00:50:40 Step 13/26 : FROM alpine:3.20 00:50:40 3.20: Pulling from library/alpine 00:50:40 0a9a5dfd008f: Pulling fs layer 00:50:40 0a9a5dfd008f: Verifying Checksum 00:50:40 0a9a5dfd008f: Download complete 00:50:40 0a9a5dfd008f: Pull complete 00:50:40 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 00:50:40 Status: Downloaded newer image for alpine:3.20 00:50:40 ---> ff221270b9fb 00:50:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:50:40 ---> Running in f4c3d304a25e 00:50:40 Removing intermediate container f4c3d304a25e 00:50:40 ---> 8f798c2758cd 00:50:40 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:50:40 ---> Running in 9b66a2b7538c 00:50:40 Removing intermediate container 9b66a2b7538c 00:50:40 ---> 5d1ca74523fa 00:50:40 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:50:40 ---> Running in 696319fe38b6 00:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:40 (1/1) Installing dumb-init (1.2.5-r3) 00:50:40 Executing busybox-1.36.1-r29.trigger 00:50:40 OK: 8 MiB in 15 packages 00:50:40 Removing intermediate container 696319fe38b6 00:50:40 ---> c428f625a473 00:50:40 Step 17/26 : RUN apk --no-cache upgrade 00:50:40 ---> Running in 5fa8eb936208 00:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:40 OK: 8 MiB in 15 packages 00:50:40 Removing intermediate container 5fa8eb936208 00:50:40 ---> c518d0427737 00:50:40 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:50:40 ---> ffc01368cc41 00:50:40 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:50:40 ---> 2ff25b6a2d8e 00:50:40 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:50:40 ---> 4dfe1f3c6e47 00:50:40 Step 21/26 : EXPOSE 59986 00:50:40 ---> Running in a950a8782f01 00:50:40 Removing intermediate container a950a8782f01 00:50:40 ---> b19dc0113d24 00:50:40 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:50:40 ---> Running in c6307ed1f344 00:50:40 Removing intermediate container c6307ed1f344 00:50:40 ---> 19a228cd0647 00:50:40 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:50:40 ---> Running in b5003644fc26 00:50:40 Removing intermediate container b5003644fc26 00:50:40 ---> 0372ece6d071 00:50:40 Step 24/26 : LABEL arch=amd64 00:50:40 ---> Running in 5c5a6109a95e 00:50:40 Removing intermediate container 5c5a6109a95e 00:50:40 ---> 5a0796e0a656 00:50:40 Step 25/26 : LABEL git_sha=652475eb7f40601dc51275e4cb2d5155a3ec317c 00:50:40 ---> Running in 34cfe2d0187b 00:50:40 Removing intermediate container 34cfe2d0187b 00:50:40 ---> ac9c74a1fbf3 00:50:40 Step 26/26 : LABEL version=4.0.0-dev.10 00:50:40 ---> Running in a8cc2536990b 00:50:40 Removing intermediate container a8cc2536990b 00:50:40 ---> 1b1f7a3b3705 00:50:40 [Warning] One or more build-args [ARCH] were not consumed 00:50:40 Successfully built 1b1f7a3b3705 00:50:40 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:50:40 provisioning config files... 00:50:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13844794690928283614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:40 ---> ****-login.sh 00:50:40 nexus3.edgexfoundry.org:10001 00:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:40 Configure a credential helper to remove this warning. See 00:50:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:40 00:50:40 Login Succeeded 00:50:40 nexus3.edgexfoundry.org:10002 00:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:40 Configure a credential helper to remove this warning. See 00:50:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:40 00:50:40 Login Succeeded 00:50:40 nexus3.edgexfoundry.org:10003 00:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:41 Configure a credential helper to remove this warning. See 00:50:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:41 00:50:41 Login Succeeded 00:50:41 nexus3.edgexfoundry.org:10004 00:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:41 Configure a credential helper to remove this warning. See 00:50:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:41 00:50:41 Login Succeeded 00:50:41 ****.io 00:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:50:41 Configure a credential helper to remove this warning. See 00:50:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:50:41 00:50:41 Login Succeeded 00:50:41 ---> ****-login.sh ends [Pipeline] } 00:50:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:50:41 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:50:41 652475eb7f40601dc51275e4cb2d5155a3ec317c 00:50:41 latest 00:50:41 4.0.0-dev.10 00:50:41 652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 00:50:41 main 00:50:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c 00:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:42 3999da0fe028: Preparing 00:50:42 51734735dcbf: Preparing 00:50:42 187cfb0899f4: Preparing 00:50:42 75b305e7af8d: Preparing 00:50:42 39b93ae71b54: Preparing 00:50:42 994456c4fd7b: Preparing 00:50:42 994456c4fd7b: Waiting 00:50:42 51734735dcbf: Pushed 00:50:42 3999da0fe028: Pushed 00:50:42 75b305e7af8d: Pushed 00:50:42 39b93ae71b54: Pushed 00:50:42 994456c4fd7b: Layer already exists 00:50:45 187cfb0899f4: Pushed 00:50:45 652475eb7f40601dc51275e4cb2d5155a3ec317c: digest: sha256:ed24303689ebe9a6a9179ca4df2271a629d225194b926d14a7856bae2aa88a95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 00:50:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:46 3999da0fe028: Preparing 00:50:46 51734735dcbf: Preparing 00:50:46 187cfb0899f4: Preparing 00:50:46 75b305e7af8d: Preparing 00:50:46 39b93ae71b54: Preparing 00:50:46 994456c4fd7b: Preparing 00:50:46 994456c4fd7b: Waiting 00:50:46 75b305e7af8d: Layer already exists 00:50:46 39b93ae71b54: Layer already exists 00:50:46 51734735dcbf: Layer already exists 00:50:46 187cfb0899f4: Layer already exists 00:50:46 3999da0fe028: Layer already exists 00:50:46 994456c4fd7b: Layer already exists 00:50:46 latest: digest: sha256:ed24303689ebe9a6a9179ca4df2271a629d225194b926d14a7856bae2aa88a95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.10 00:50:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:46 3999da0fe028: Preparing 00:50:46 51734735dcbf: Preparing 00:50:46 187cfb0899f4: Preparing 00:50:46 75b305e7af8d: Preparing 00:50:46 39b93ae71b54: Preparing 00:50:46 994456c4fd7b: Preparing 00:50:46 994456c4fd7b: Waiting 00:50:46 51734735dcbf: Layer already exists 00:50:46 187cfb0899f4: Layer already exists 00:50:46 75b305e7af8d: Layer already exists 00:50:46 39b93ae71b54: Layer already exists 00:50:46 3999da0fe028: Layer already exists 00:50:46 994456c4fd7b: Layer already exists 00:50:46 4.0.0-dev.10: digest: sha256:ed24303689ebe9a6a9179ca4df2271a629d225194b926d14a7856bae2aa88a95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 00:50:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:47 3999da0fe028: Preparing 00:50:47 51734735dcbf: Preparing 00:50:47 187cfb0899f4: Preparing 00:50:47 75b305e7af8d: Preparing 00:50:47 39b93ae71b54: Preparing 00:50:47 994456c4fd7b: Preparing 00:50:47 994456c4fd7b: Waiting 00:50:47 3999da0fe028: Layer already exists 00:50:47 51734735dcbf: Layer already exists 00:50:47 75b305e7af8d: Layer already exists 00:50:47 187cfb0899f4: Layer already exists 00:50:47 39b93ae71b54: Layer already exists 00:50:47 994456c4fd7b: Layer already exists 00:50:47 652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10: digest: sha256:ed24303689ebe9a6a9179ca4df2271a629d225194b926d14a7856bae2aa88a95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 00:50:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:50:48 3999da0fe028: Preparing 00:50:48 51734735dcbf: Preparing 00:50:48 187cfb0899f4: Preparing 00:50:48 75b305e7af8d: Preparing 00:50:48 39b93ae71b54: Preparing 00:50:48 994456c4fd7b: Preparing 00:50:48 994456c4fd7b: Waiting 00:50:48 51734735dcbf: Layer already exists 00:50:48 3999da0fe028: Layer already exists 00:50:48 187cfb0899f4: Layer already exists 00:50:48 39b93ae71b54: Layer already exists 00:50:48 75b305e7af8d: Layer already exists 00:50:48 994456c4fd7b: Layer already exists 00:50:48 main: digest: sha256:ed24303689ebe9a6a9179ca4df2271a629d225194b926d14a7856bae2aa88a95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:48 ===================================================== [Pipeline] echo 00:50:48 taggedImages: 00:50:48 - nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c 00:50:48 - nexus3.edgexfoundry.org:10004/device-rest:latest 00:50:48 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.10 00:50:48 - nexus3.edgexfoundry.org:10004/device-rest:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 00:50:48 - 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 00:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:48 00:50:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:48 latest: Pulling from edgex-lftools-log-publisher 00:50:48 5eb5b503b376: Pulling fs layer 00:50:48 5c69ac0246d0: Pulling fs layer 00:50:48 ec43610c2a17: Pulling fs layer 00:50:48 3a2ae6a8a46f: Pulling fs layer 00:50:48 33b1e0a273af: Pulling fs layer 00:50:48 5d3b04190fa2: Pulling fs layer 00:50:48 2f39f015ded8: Pulling fs layer 00:50:48 3a2ae6a8a46f: Waiting 00:50:48 5d3b04190fa2: Waiting 00:50:48 2f39f015ded8: Waiting 00:50:48 33b1e0a273af: Waiting 00:50:48 5c69ac0246d0: Download complete 00:50:48 3a2ae6a8a46f: Download complete 00:50:48 33b1e0a273af: Verifying Checksum 00:50:48 33b1e0a273af: Download complete 00:50:48 5d3b04190fa2: Download complete 00:50:48 ec43610c2a17: Verifying Checksum 00:50:48 ec43610c2a17: Download complete 00:50:49 5eb5b503b376: Verifying Checksum 00:50:49 5eb5b503b376: Download complete 00:50:49 2f39f015ded8: Download complete 00:50:50 5eb5b503b376: Pull complete 00:50:50 5c69ac0246d0: Pull complete 00:50:50 ec43610c2a17: Pull complete 00:50:50 3a2ae6a8a46f: Pull complete 00:50:51 33b1e0a273af: Pull complete 00:50:51 5d3b04190fa2: Pull complete 00:50:56 2f39f015ded8: Pull complete 00:50:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:56 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 00:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:50:57 $ docker top aea4ce5cc81c2babc5ac592e35b21a1c3385674cb52015bcd846b34ccf049d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:58 ---> job-cost.sh 00:50:58 lf-activate-venv: SKIPPING 00:50:58 INFO: No Stack... 00:50:58 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:58 INFO: Archiving Costs [Pipeline] sh 00:50:59 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 00:50:59 + cut -d, -f6 [Pipeline] lock 00:50:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] 00:50:59 Resource [jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] did not exist. Created. 00:50:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:59 + echo total: 0.2199999988079071 [Pipeline] stash 00:50:59 Stashed 1 file(s) [Pipeline] } 00:50:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:59 $ docker stop --time=1 aea4ce5cc81c2babc5ac592e35b21a1c3385674cb52015bcd846b34ccf049d29 00:51:00 $ docker rm -f --volumes aea4ce5cc81c2babc5ac592e35b21a1c3385674cb52015bcd846b34ccf049d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40108 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 00:51:48 Running in /w/workspace/device-rest-go/188 [Pipeline] { [Pipeline] checkout 00:51:51 The recommended git tool is: git 00:51:58 using credential edgex-jenkins-ssh 00:51:58 Cloning the remote Git repository 00:51:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:51:58 > git init /w/workspace/device-rest-go/188 # timeout=10 00:51:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:51:58 > git --version # timeout=10 00:51:58 > git --version # 'git version 2.25.1' 00:51:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:03 Avoid second fetch 00:52:03 Checking out Revision 652475eb7f40601dc51275e4cb2d5155a3ec317c (main) 00:52:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:52:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:52:03 > git config core.sparsecheckout # timeout=10 00:52:04 Commit message: "Merge pull request #453 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" 00:52:03 > git checkout -f 652475eb7f40601dc51275e4cb2d5155a3ec317c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:52:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:52:09 Dload Upload Total Spent Left Speed 00:52:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 00:52:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:52:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:52:10 + sudo tee /etc/docker/daemon.new 00:52:10 { 00:52:10 "registry-mirrors": [ 00:52:10 "https://nexus3.edgexfoundry.org:10001" 00:52:10 ], 00:52:10 "bip": "10.250.0.254/24", 00:52:10 "hosts": [ 00:52:10 "tcp://0.0.0.0:5555", 00:52:10 "unix:///var/run/docker.sock" 00:52:10 ], 00:52:10 "mtu": 1458, 00:52:10 "selinux-enabled": true, 00:52:10 "seccomp-profile": "/etc/docker/seccomp.json" 00:52:10 } [Pipeline] sh 00:52:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:52:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:29 provisioning config files... 00:52:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/188@tmp/config10553496961281933725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:29 ---> ****-login.sh 00:52:29 nexus3.edgexfoundry.org:10001 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 nexus3.edgexfoundry.org:10002 00:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:30 Configure a credential helper to remove this warning. See 00:52:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:30 00:52:30 Login Succeeded 00:52:30 nexus3.edgexfoundry.org:10003 00:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:31 Configure a credential helper to remove this warning. See 00:52:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:31 00:52:31 Login Succeeded 00:52:31 nexus3.edgexfoundry.org:10004 00:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:31 Configure a credential helper to remove this warning. See 00:52:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:31 00:52:31 Login Succeeded 00:52:31 ****.io 00:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:52:32 Configure a credential helper to remove this warning. See 00:52:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:52:32 00:52:32 Login Succeeded 00:52:32 ---> ****-login.sh ends [Pipeline] } 00:52:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:52:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:52:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:52:32 ========================================================= 00:52:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:52:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:33 + 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:52:33 Sending build context to Docker daemon 140.8kB 00:52:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:52:33 Step 2/12 : FROM ${BASE} AS builder 00:52:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:52:33 9986a736f7d3: Pulling fs layer 00:52:33 1f018df60701: Pulling fs layer 00:52:33 39f8f326b044: Pulling fs layer 00:52:33 e6a1e7a6a96a: Pulling fs layer 00:52:33 4f4fb700ef54: Pulling fs layer 00:52:33 d45d956e0dbf: Pulling fs layer 00:52:33 d7702b0d1db1: Pulling fs layer 00:52:33 5c7f0f088c93: Pulling fs layer 00:52:33 e6a1e7a6a96a: Waiting 00:52:33 4f4fb700ef54: Waiting 00:52:33 d45d956e0dbf: Waiting 00:52:33 d7702b0d1db1: Waiting 00:52:33 5c7f0f088c93: Waiting 00:52:33 4fdc064ae6cf: Pulling fs layer 00:52:33 4fdc064ae6cf: Waiting 00:52:33 1f018df60701: Verifying Checksum 00:52:33 1f018df60701: Download complete 00:52:33 e6a1e7a6a96a: Verifying Checksum 00:52:33 e6a1e7a6a96a: Download complete 00:52:33 4f4fb700ef54: Verifying Checksum 00:52:33 4f4fb700ef54: Download complete 00:52:33 d45d956e0dbf: Verifying Checksum 00:52:33 d45d956e0dbf: Download complete 00:52:33 d7702b0d1db1: Verifying Checksum 00:52:33 d7702b0d1db1: Download complete 00:52:33 9986a736f7d3: Verifying Checksum 00:52:33 9986a736f7d3: Download complete 00:52:34 4fdc064ae6cf: Verifying Checksum 00:52:34 4fdc064ae6cf: Download complete 00:52:35 9986a736f7d3: Pull complete 00:52:36 1f018df60701: Pull complete 00:52:36 39f8f326b044: Verifying Checksum 00:52:36 39f8f326b044: Download complete 00:52:37 5c7f0f088c93: Verifying Checksum 00:52:37 5c7f0f088c93: Download complete 00:52:55 39f8f326b044: Pull complete 00:52:55 e6a1e7a6a96a: Pull complete 00:52:55 4f4fb700ef54: Pull complete 00:52:55 d45d956e0dbf: Pull complete 00:52:55 d7702b0d1db1: Pull complete 00:53:03 5c7f0f088c93: Pull complete 00:53:05 4fdc064ae6cf: Pull complete 00:53:05 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 00:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:53:06 ---> 63f30b955cb9 00:53:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:53:08 ---> Running in 5d2589ccc48b 00:53:08 Removing intermediate container 5d2589ccc48b 00:53:08 ---> 5dd9fe4ee1ac 00:53:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:09 ---> Running in 1bb8dfb0d4d5 00:53:09 Removing intermediate container 1bb8dfb0d4d5 00:53:09 ---> a291902b73a0 00:53:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:53:09 ---> Running in a9a5463ea7e4 00:53:09 Removing intermediate container a9a5463ea7e4 00:53:09 ---> ae3501327035 00:53:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:53:10 ---> Running in 8bc61767e1f2 00:53:10 Removing intermediate container 8bc61767e1f2 00:53:10 ---> 87716941b624 00:53:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:53:10 ---> Running in 6f6eee171e81 00:53:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:53:14 (1/4) Installing openssh-keygen (9.7_p1-r5) 00:53:14 (2/4) Installing libedit (20240517.3.1-r0) 00:53:14 (3/4) Installing openssh-client-common (9.7_p1-r5) 00:53:14 (4/4) Installing openssh-client-default (9.7_p1-r5) 00:53:14 Executing busybox-1.36.1-r29.trigger 00:53:14 OK: 244 MiB in 62 packages 00:53:15 Removing intermediate container 6f6eee171e81 00:53:15 ---> f194740aa90b 00:53:15 Step 8/12 : WORKDIR /device-rest-go 00:53:15 ---> Running in 62329b6ad1b9 00:53:15 Removing intermediate container 62329b6ad1b9 00:53:15 ---> 584f7f2657aa 00:53:15 Step 9/12 : COPY go.mod vendor* ./ 00:53:16 ---> 5c2a1cbc630f 00:53:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:16 ---> Running in fb27ce28bd9c 00:55:23 Removing intermediate container fb27ce28bd9c 00:55:23 ---> a15a3fdb587c 00:55:23 Step 11/12 : COPY . . 00:55:23 ---> 90026b57b18f 00:55:23 Step 12/12 : RUN $MAKE 00:55:23 ---> Running in 8b894c591aff 00:55:23 noop 00:55:23 Removing intermediate container 8b894c591aff 00:55:23 ---> 77b8bfd0bae8 00:55:23 Successfully built 77b8bfd0bae8 00:55:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:23 + docker inspect -f . ci-base-image-arm64 00:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:23 prd-ubuntu20.04-docker-arm64-4c-16g-40108 does not seem to be running inside a container 00:55:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/188 -v /w/workspace/device-rest-go/188:/w/workspace/device-rest-go/188:rw,z -v /w/workspace/device-rest-go/188@tmp:/w/workspace/device-rest-go/188@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:55:25 $ docker top c7d17a5cbcd0eafaac2ed7f1c6c400157bf2eec03e804618e618ab2e75cf91fd -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:26 + go version 00:55:26 go version go1.23.4 linux/arm64 [Pipeline] } 00:55:26 $ docker stop --time=1 c7d17a5cbcd0eafaac2ed7f1c6c400157bf2eec03e804618e618ab2e75cf91fd 00:55:28 $ docker rm -f --volumes c7d17a5cbcd0eafaac2ed7f1c6c400157bf2eec03e804618e618ab2e75cf91fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:29 + docker inspect -f . ci-base-image-arm64 00:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:29 prd-ubuntu20.04-docker-arm64-4c-16g-40108 does not seem to be running inside a container 00:55:29 $ 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/188 -v /w/workspace/device-rest-go/188:/w/workspace/device-rest-go/188:rw,z -v /w/workspace/device-rest-go/188@tmp:/w/workspace/device-rest-go/188@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:55:30 $ docker top 1c21c03ae4b713217ddf4a655c5e3a25807e17dfad80b86be70f09f03a9d33fe -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:31 + git config --global --add safe.directory /w/workspace/device-rest-go/188 [Pipeline] fileExists [Pipeline] sh 00:55:32 + make test 00:55:32 go test ./... -coverprofile=coverage.out ./... 00:55:39 ? github.com/edgexfoundry/device-rest-go [no test files] 00:59:46 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:59:51 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 00:59:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:59:53 go vet ./... 01:01:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:01:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:01:01 ./bin/test-attribution-txt.sh [Pipeline] echo 01:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:01:01 $ docker stop --time=1 1c21c03ae4b713217ddf4a655c5e3a25807e17dfad80b86be70f09f03a9d33fe 01:01:03 $ docker rm -f --volumes 1c21c03ae4b713217ddf4a655c5e3a25807e17dfad80b86be70f09f03a9d33fe [Pipeline] // withDockerContainer [Pipeline] sh 01:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:01:05 Warning: overwriting stash ‘coverage-report’ 01:01:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:01:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:01:06 + ls -al . 01:01:06 total 240 01:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:55 . 01:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 00:51 .. 01:01:06 -rw-rw-r-- 1 jenkins jenkins 151 Mar 4 00:52 .dockerignore 01:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 00:52 .git 01:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:52 .github 01:01:06 -rw-rw-r-- 1 jenkins jenkins 264 Mar 4 00:52 .gitignore 01:01:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 4 00:52 .golangci.yml 01:01:06 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 4 00:52 Attribution.txt 01:01:06 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 4 00:52 CHANGELOG.md 01:01:06 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 4 00:52 Dockerfile 01:01:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 00:52 GOVERNANCE.md 01:01:06 -rw-rw-r-- 1 jenkins jenkins 680 Mar 4 00:52 Jenkinsfile 01:01:06 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 00:52 LICENSE 01:01:06 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 4 00:52 Makefile 01:01:06 -rw-rw-r-- 1 jenkins jenkins 620 Mar 4 00:52 OWNERS.md 01:01:06 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 4 00:52 README.md 01:01:06 -rw-rw-r-- 1 jenkins jenkins 12 Mar 4 00:48 VERSION 01:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:52 bin 01:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:52 cmd 01:01:06 -rw-r--r-- 1 jenkins jenkins 14565 Mar 4 00:59 coverage.out 01:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 00:52 driver 01:01:06 -rw-rw-r-- 1 jenkins jenkins 6292 Mar 4 00:52 go.mod 01:01:06 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 4 00:52 go.sum 01:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 00:52 openapi 01:01:06 -rw-rw-r-- 1 jenkins jenkins 713 Mar 4 00:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:07 + 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=652475eb7f40601dc51275e4cb2d5155a3ec317c --label arch=arm64 --label version=4.0.0-dev.10 . 01:01:07 Sending build context to Docker daemon 156.2kB 01:01:07 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:01:07 Step 2/26 : FROM ${BASE} AS builder 01:01:07 ---> 77b8bfd0bae8 01:01:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:01:07 ---> Running in 890c9702093a 01:01:08 Removing intermediate container 890c9702093a 01:01:08 ---> d7834fd1e0ae 01:01:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:01:08 ---> Running in 3a1a38d1be10 01:01:08 Removing intermediate container 3a1a38d1be10 01:01:08 ---> 78e635f5754a 01:01:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:01:08 ---> Running in 5d991b0139dd 01:01:09 Removing intermediate container 5d991b0139dd 01:01:09 ---> 134a9116643f 01:01:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:01:09 ---> Running in a3a7628df5d0 01:01:09 Removing intermediate container a3a7628df5d0 01:01:09 ---> b6354f84c73e 01:01:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:01:09 ---> Running in f4c6a23fe99f 01:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:01:13 OK: 244 MiB in 62 packages 01:01:14 Removing intermediate container f4c6a23fe99f 01:01:14 ---> f0feeb59081e 01:01:14 Step 8/26 : WORKDIR /device-rest-go 01:01:14 ---> Running in db8f6657e123 01:01:14 Removing intermediate container db8f6657e123 01:01:14 ---> 196204e951ee 01:01:14 Step 9/26 : COPY go.mod vendor* ./ 01:01:15 ---> 77a493b5519f 01:01:15 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:01:15 ---> Running in e0dee73dda00 01:01:17 Removing intermediate container e0dee73dda00 01:01:17 ---> 66f81786c9b9 01:01:17 Step 11/26 : COPY . . 01:01:18 ---> 79b1c8e2f400 01:01:18 Step 12/26 : RUN $MAKE 01:01:18 ---> Running in 392662dd2e79 01:01:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:05:41 Removing intermediate container 392662dd2e79 01:05:41 ---> 1fe574cf503b 01:05:41 Step 13/26 : FROM alpine:3.20 01:05:41 3.20: Pulling from library/alpine 01:05:41 94e9d8af2201: Pulling fs layer 01:05:41 94e9d8af2201: Verifying Checksum 01:05:41 94e9d8af2201: Download complete 01:05:41 94e9d8af2201: Pull complete 01:05:41 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:05:41 Status: Downloaded newer image for alpine:3.20 01:05:41 ---> 7aab056cecc6 01:05:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:05:41 ---> Running in 5512a78e4cf0 01:05:41 Removing intermediate container 5512a78e4cf0 01:05:41 ---> 94640c646f83 01:05:41 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:05:41 ---> Running in caf7036961a3 01:05:41 Removing intermediate container caf7036961a3 01:05:41 ---> 2b339e25382a 01:05:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:05:41 ---> Running in cd8be60a8e2c 01:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:05:41 (1/1) Installing dumb-init (1.2.5-r3) 01:05:41 Executing busybox-1.36.1-r29.trigger 01:05:41 OK: 9 MiB in 15 packages 01:05:41 Removing intermediate container cd8be60a8e2c 01:05:41 ---> d9993a162aee 01:05:41 Step 17/26 : RUN apk --no-cache upgrade 01:05:41 ---> Running in dee91e6a462e 01:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:05:41 OK: 9 MiB in 15 packages 01:05:41 Removing intermediate container dee91e6a462e 01:05:41 ---> 94fc08d6bff2 01:05:41 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:05:43 ---> ca913d2afa2a 01:05:43 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:05:43 ---> 160dcee25847 01:05:43 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:05:44 ---> 758cf9d6ed97 01:05:44 Step 21/26 : EXPOSE 59986 01:05:44 ---> Running in fefa3f95fa6d 01:05:45 Removing intermediate container fefa3f95fa6d 01:05:45 ---> 9d9a3322654a 01:05:45 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:05:45 ---> Running in 02a217fa01c7 01:05:45 Removing intermediate container 02a217fa01c7 01:05:45 ---> fecd560c267d 01:05:45 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:05:45 ---> Running in a4768f12b38f 01:05:45 Removing intermediate container a4768f12b38f 01:05:45 ---> b4a2cc427d88 01:05:45 Step 24/26 : LABEL arch=arm64 01:05:45 ---> Running in ec827b0df2f9 01:05:46 Removing intermediate container ec827b0df2f9 01:05:46 ---> 5427a382a144 01:05:46 Step 25/26 : LABEL git_sha=652475eb7f40601dc51275e4cb2d5155a3ec317c 01:05:46 ---> Running in 2f3a8f75cab3 01:05:46 Removing intermediate container 2f3a8f75cab3 01:05:46 ---> 6b11aab8936d 01:05:46 Step 26/26 : LABEL version=4.0.0-dev.10 01:05:46 ---> Running in 864fcd3d9464 01:05:46 Removing intermediate container 864fcd3d9464 01:05:46 ---> cddcace07fdc 01:05:46 [Warning] One or more build-args [ARCH] were not consumed 01:05:46 Successfully built cddcace07fdc 01:05:46 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 01:05:47 provisioning config files... 01:05:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/188@tmp/config2563363640294900137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:47 ---> ****-login.sh 01:05:47 nexus3.edgexfoundry.org:10001 01:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:05:47 Configure a credential helper to remove this warning. See 01:05:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:05:47 01:05:47 Login Succeeded 01:05:47 nexus3.edgexfoundry.org:10002 01:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:05:48 Configure a credential helper to remove this warning. See 01:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:05:48 01:05:48 Login Succeeded 01:05:48 nexus3.edgexfoundry.org:10003 01:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:05:48 Configure a credential helper to remove this warning. See 01:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:05:48 01:05:48 Login Succeeded 01:05:48 nexus3.edgexfoundry.org:10004 01:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:05:49 Configure a credential helper to remove this warning. See 01:05:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:05:49 01:05:49 Login Succeeded 01:05:49 ****.io 01:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:05:49 Configure a credential helper to remove this warning. See 01:05:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:05:49 01:05:49 Login Succeeded 01:05:49 ---> ****-login.sh ends [Pipeline] } 01:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:05:49 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:05:49 652475eb7f40601dc51275e4cb2d5155a3ec317c 01:05:49 latest 01:05:49 4.0.0-dev.10 01:05:49 652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 01:05:49 main 01:05:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c 01:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:05:50 a46381b465b8: Preparing 01:05:50 bbba547e0bf7: Preparing 01:05:50 35bec0bbb48d: Preparing 01:05:50 4ab32abbebc1: Preparing 01:05:50 b0a35075b57f: Preparing 01:05:50 dd9c8f8612c8: Preparing 01:05:50 dd9c8f8612c8: Waiting 01:05:50 a46381b465b8: Pushed 01:05:50 b0a35075b57f: Pushed 01:05:50 4ab32abbebc1: Pushed 01:05:50 bbba547e0bf7: Pushed 01:05:50 dd9c8f8612c8: Layer already exists 01:05:59 35bec0bbb48d: Pushed 01:05:59 652475eb7f40601dc51275e4cb2d5155a3ec317c: digest: sha256:5705bd86bf75f6b8523672d494987d3a43290607a88e2a16168ac4a427396121 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:05:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:05:59 a46381b465b8: Preparing 01:05:59 bbba547e0bf7: Preparing 01:05:59 35bec0bbb48d: Preparing 01:05:59 4ab32abbebc1: Preparing 01:05:59 b0a35075b57f: Preparing 01:05:59 dd9c8f8612c8: Preparing 01:05:59 dd9c8f8612c8: Waiting 01:05:59 4ab32abbebc1: Layer already exists 01:05:59 35bec0bbb48d: Layer already exists 01:05:59 b0a35075b57f: Layer already exists 01:05:59 a46381b465b8: Layer already exists 01:05:59 bbba547e0bf7: Layer already exists 01:05:59 dd9c8f8612c8: Layer already exists 01:06:00 latest: digest: sha256:5705bd86bf75f6b8523672d494987d3a43290607a88e2a16168ac4a427396121 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.10 01:06:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:06:00 a46381b465b8: Preparing 01:06:00 bbba547e0bf7: Preparing 01:06:00 35bec0bbb48d: Preparing 01:06:00 4ab32abbebc1: Preparing 01:06:00 b0a35075b57f: Preparing 01:06:00 dd9c8f8612c8: Preparing 01:06:00 dd9c8f8612c8: Waiting 01:06:00 4ab32abbebc1: Layer already exists 01:06:00 b0a35075b57f: Layer already exists 01:06:00 a46381b465b8: Layer already exists 01:06:00 bbba547e0bf7: Layer already exists 01:06:00 35bec0bbb48d: Layer already exists 01:06:00 dd9c8f8612c8: Layer already exists 01:06:01 4.0.0-dev.10: digest: sha256:5705bd86bf75f6b8523672d494987d3a43290607a88e2a16168ac4a427396121 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 01:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:06:01 a46381b465b8: Preparing 01:06:01 bbba547e0bf7: Preparing 01:06:01 35bec0bbb48d: Preparing 01:06:01 4ab32abbebc1: Preparing 01:06:01 b0a35075b57f: Preparing 01:06:01 dd9c8f8612c8: Preparing 01:06:01 dd9c8f8612c8: Waiting 01:06:01 bbba547e0bf7: Layer already exists 01:06:01 35bec0bbb48d: Layer already exists 01:06:01 a46381b465b8: Layer already exists 01:06:01 4ab32abbebc1: Layer already exists 01:06:01 b0a35075b57f: Layer already exists 01:06:01 dd9c8f8612c8: Layer already exists 01:06:02 652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10: digest: sha256:5705bd86bf75f6b8523672d494987d3a43290607a88e2a16168ac4a427396121 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:06:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:06:02 a46381b465b8: Preparing 01:06:02 bbba547e0bf7: Preparing 01:06:02 35bec0bbb48d: Preparing 01:06:02 4ab32abbebc1: Preparing 01:06:02 b0a35075b57f: Preparing 01:06:02 dd9c8f8612c8: Preparing 01:06:02 dd9c8f8612c8: Waiting 01:06:02 35bec0bbb48d: Layer already exists 01:06:02 b0a35075b57f: Layer already exists 01:06:02 a46381b465b8: Layer already exists 01:06:02 4ab32abbebc1: Layer already exists 01:06:02 bbba547e0bf7: Layer already exists 01:06:02 dd9c8f8612c8: Layer already exists 01:06:03 main: digest: sha256:5705bd86bf75f6b8523672d494987d3a43290607a88e2a16168ac4a427396121 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:06:03 ===================================================== [Pipeline] echo 01:06:03 taggedImages: 01:06:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c 01:06:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:06:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.10 01:06:03 - nexus3.edgexfoundry.org:10004/device-rest-arm64:652475eb7f40601dc51275e4cb2d5155a3ec317c-4.0.0-dev.10 01:06:03 - 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 01:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:03 01:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:04 arm64: Pulling from edgex-lftools-log-publisher 01:06:04 8998bd30e6a1: Pulling fs layer 01:06:04 04944245beec: Pulling fs layer 01:06:04 699f458cf7ca: Pulling fs layer 01:06:04 765212b225bb: Pulling fs layer 01:06:04 f23df028b6ca: Pulling fs layer 01:06:04 d65c8cfc05b1: Pulling fs layer 01:06:04 2437ff75d9bd: Pulling fs layer 01:06:04 f23df028b6ca: Waiting 01:06:04 d65c8cfc05b1: Waiting 01:06:04 2437ff75d9bd: Waiting 01:06:04 765212b225bb: Waiting 01:06:04 04944245beec: Verifying Checksum 01:06:04 04944245beec: Download complete 01:06:04 765212b225bb: Verifying Checksum 01:06:04 765212b225bb: Download complete 01:06:04 f23df028b6ca: Verifying Checksum 01:06:04 f23df028b6ca: Download complete 01:06:04 d65c8cfc05b1: Verifying Checksum 01:06:04 d65c8cfc05b1: Download complete 01:06:04 699f458cf7ca: Verifying Checksum 01:06:04 699f458cf7ca: Download complete 01:06:05 8998bd30e6a1: Verifying Checksum 01:06:05 8998bd30e6a1: Download complete 01:06:07 2437ff75d9bd: Verifying Checksum 01:06:07 2437ff75d9bd: Download complete 01:06:10 8998bd30e6a1: Pull complete 01:06:11 04944245beec: Pull complete 01:06:13 699f458cf7ca: Pull complete 01:06:13 765212b225bb: Pull complete 01:06:13 f23df028b6ca: Pull complete 01:06:14 d65c8cfc05b1: Pull complete 01:06:32 2437ff75d9bd: Pull complete 01:06:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:32 prd-ubuntu20.04-docker-arm64-4c-16g-40108 does not seem to be running inside a container 01:06:32 $ 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/188 -v /w/workspace/device-rest-go/188:/w/workspace/device-rest-go/188:rw,z -v /w/workspace/device-rest-go/188@tmp:/w/workspace/device-rest-go/188@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 01:06:36 $ docker top 71645fc5b4eb66f30e09fb7d14eca50f3ae7ba6c829f7f2d45752a71f26053d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:37 ---> job-cost.sh 01:06:37 lf-activate-venv: SKIPPING 01:06:37 INFO: No Stack... 01:06:38 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:39 INFO: Archiving Costs [Pipeline] sh 01:06:39 + cat /w/workspace/device-rest-go/188/archives/cost.csv 01:06:39 + cut -d, -f6 [Pipeline] lock 01:06:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] 01:06:39 Resource [jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] did not exist. Created. 01:06:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:40 /w/workspace/device-rest-go/188@tmp/durable-708b5f72/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:41 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:41 Warning: overwriting stash ‘stack-cost’ 01:06:41 Stashed 1 file(s) [Pipeline] } 01:06:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:41 $ docker stop --time=1 71645fc5b4eb66f30e09fb7d14eca50f3ae7ba6c829f7f2d45752a71f26053d0 01:06:43 $ docker rm -f --volumes 71645fc5b4eb66f30e09fb7d14eca50f3ae7ba6c829f7f2d45752a71f26053d0 [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 01:06:43 provisioning config files... 01:06:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config105911615405240039tmp [Pipeline] { [Pipeline] sh 01:06:44 + set +x 01:06:44 + curl -s https://codecov.io/bash 01:06:44 + bash -s -- 01:06:44 01:06:44 _____ _ 01:06:44 / ____| | | 01:06:44 | | ___ __| | ___ ___ _____ __ 01:06:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:44 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:44 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:44 Bash-1.0.6 01:06:44 01:06:44 01:06:44 ==> git version 2.25.1 found 01:06:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:06:44 Release-Date: 2020-01-08 01:06:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:06:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:44 ==> Jenkins CI detected. 01:06:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:06:44 project root: . 01:06:44 --> token set from env 01:06:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:44 ==> Running gcov in . (disable via -X gcov) 01:06:44 ==> Python coveragepy not found 01:06:44 ==> Searching for coverage reports in: 01:06:44 + . 01:06:44 -> Found 1 reports 01:06:44 ==> Detecting git/mercurial file structure 01:06:44 ==> Reading reports 01:06:44 + ./coverage.out bytes=14565 01:06:44 ==> Appending adjustments 01:06:44 https://docs.codecov.io/docs/fixing-reports 01:06:44 + Found adjustments 01:06:44 ==> Gzipping contents 01:06:44 4.0K /tmp/codecov.eFVSiP.gz 01:06:44 ==> Uploading reports 01:06:44 url: https://codecov.io 01:06:44 query: branch=main&commit=652475eb7f40601dc51275e4cb2d5155a3ec317c&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:06:44 -> Pinging Codecov 01:06:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=652475eb7f40601dc51275e4cb2d5155a3ec317c&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:06:44 -> Uploading to 01:06:44 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/652475eb7f40601dc51275e4cb2d5155a3ec317c/379c0949-867b-43db-a998-46e20e6ddbe8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250304%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250304T010644Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=3bef612c2bc33cd8c64a27e2e237bb88f5181d1e5a55c60a4a2bcc5e59856f36 01:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:44 Dload Upload Total Spent Left Speed 01:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 13297 --:--:-- --:--:-- --:--:-- 13373 01:06:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] } 01:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:06:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:06:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:06:45 01:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:06:45 latest: Pulling from edgex-devops/edgex-snyk-go 01:06:45 43c4264eed91: Pulling fs layer 01:06:45 4cc291be95ef: Pulling fs layer 01:06:45 2ac1f1163629: Pulling fs layer 01:06:45 5c3c966382ef: Pulling fs layer 01:06:45 4f4fb700ef54: Pulling fs layer 01:06:45 d9c7d2e4e75e: Pulling fs layer 01:06:45 9c3e1370e548: Pulling fs layer 01:06:45 5c3c966382ef: Waiting 01:06:45 4f4fb700ef54: Waiting 01:06:45 4cc291be95ef: Verifying Checksum 01:06:45 4cc291be95ef: Download complete 01:06:45 5c3c966382ef: Verifying Checksum 01:06:45 5c3c966382ef: Download complete 01:06:45 43c4264eed91: Verifying Checksum 01:06:45 43c4264eed91: Download complete 01:06:45 4f4fb700ef54: Verifying Checksum 01:06:45 4f4fb700ef54: Download complete 01:06:45 43c4264eed91: Pull complete 01:06:45 4cc291be95ef: Pull complete 01:06:45 d9c7d2e4e75e: Verifying Checksum 01:06:45 d9c7d2e4e75e: Download complete 01:06:46 2ac1f1163629: Download complete 01:06:46 9c3e1370e548: Verifying Checksum 01:06:46 9c3e1370e548: Download complete 01:06:50 2ac1f1163629: Pull complete 01:06:50 5c3c966382ef: Pull complete 01:06:50 4f4fb700ef54: Pull complete 01:06:50 d9c7d2e4e75e: Pull complete 01:06:53 9c3e1370e548: Pull complete 01:06:53 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 01:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:06:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:53 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:06:53 $ 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 01:06:55 $ docker top b599dce70ec73ed212fa9f38dd915e34f48b1b3e699ecb9ba1c53c6609d37298 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:06:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:06:56 + set -o pipefail 01:06:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:07:03 01:07:03 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:07:03 01:07:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/70c30d07-e594-44d3-a048-3d47dfba7501 01:07:03 01:07:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:07:03 01:07:03 01:07:03 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 01:07:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:07:03 $ docker stop --time=1 b599dce70ec73ed212fa9f38dd915e34f48b1b3e699ecb9ba1c53c6609d37298 01:07:05 $ docker rm -f --volumes b599dce70ec73ed212fa9f38dd915e34f48b1b3e699ecb9ba1c53c6609d37298 [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 01:07:06 + git log --format=format:%s -1 652475eb7f40601dc51275e4cb2d5155a3ec317c [Pipeline] sh 01:07:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:07 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:07:07 $ 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 01:07:07 $ docker top 1e868cd23c83c85c5e1eb238bfd153681a33212ced2d7edf2e5664a599c22716 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:07 [ssh-agent] Looking for ssh-agent implementation... 01:07:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:07 $ docker exec 1e868cd23c83c85c5e1eb238bfd153681a33212ced2d7edf2e5664a599c22716 ssh-agent 01:07:08 SSH_AUTH_SOCK=/tmp/ssh-JaZFxMYAKSKX/agent.32 01:07:08 SSH_AGENT_PID=38 01:07:08 Running ssh-add (command line suppressed) 01:07:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13334021952987409139.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13334021952987409139.key) 01:07:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:08 + git semver tag 01:07:08 2025-03-04 01:07:08,619 [run_tag] DEBUG tag force:False 01:07:08 2025-03-04 01:07:08,620 [check_head_tag] DEBUG check head tag 01:07:08 2025-03-04 01:07:08,621 [execute] INFO git cat-file --batch-check 01:07:08 2025-03-04 01:07:08,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:07:08 2025-03-04 01:07:08,625 [execute] INFO git cat-file --batch 01:07:08 2025-03-04 01:07:08,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:07:08 2025-03-04 01:07:08,653 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:08 2025-03-04 01:07:08,653 [execute] INFO git tag -a v4.0.0-dev.10 -m v4.0.0-dev.10 01:07:08 2025-03-04 01:07:08,653 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.10', '-m', 'v4.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:07:08 2025-03-04 01:07:08,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:08 4.0.0-dev.10 [Pipeline] } 01:07:08 $ docker exec --env ******** --env ******** 1e868cd23c83c85c5e1eb238bfd153681a33212ced2d7edf2e5664a599c22716 ssh-agent -k 01:07:08 unset SSH_AUTH_SOCK; 01:07:08 unset SSH_AGENT_PID; 01:07:08 echo Agent pid 38 killed; 01:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:09 + git semver [Pipeline] } 01:07:09 $ docker stop --time=1 1e868cd23c83c85c5e1eb238bfd153681a33212ced2d7edf2e5664a599c22716 01:07:10 $ docker rm -f --volumes 1e868cd23c83c85c5e1eb238bfd153681a33212ced2d7edf2e5664a599c22716 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:11 01:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:11 0.23.1-centos7: Pulling from edgex-lftools 01:07:11 ab5ef0e58194: Pulling fs layer 01:07:11 9712f1f96733: Pulling fs layer 01:07:11 63f879dbbcfc: Pulling fs layer 01:07:11 0d9ebad4ef96: Pulling fs layer 01:07:11 e9a5061849ea: Pulling fs layer 01:07:11 d747dcd14b5f: Pulling fs layer 01:07:11 2de7ff778b66: Pulling fs layer 01:07:11 0d9ebad4ef96: Waiting 01:07:11 e9a5061849ea: Waiting 01:07:11 d747dcd14b5f: Waiting 01:07:11 2de7ff778b66: Waiting 01:07:11 9712f1f96733: Verifying Checksum 01:07:11 9712f1f96733: Download complete 01:07:11 63f879dbbcfc: Verifying Checksum 01:07:11 63f879dbbcfc: Download complete 01:07:11 e9a5061849ea: Verifying Checksum 01:07:11 e9a5061849ea: Download complete 01:07:11 d747dcd14b5f: Verifying Checksum 01:07:11 d747dcd14b5f: Download complete 01:07:11 ab5ef0e58194: Verifying Checksum 01:07:11 ab5ef0e58194: Download complete 01:07:11 2de7ff778b66: Verifying Checksum 01:07:11 2de7ff778b66: Download complete 01:07:12 0d9ebad4ef96: Verifying Checksum 01:07:12 0d9ebad4ef96: Download complete 01:07:14 ab5ef0e58194: Pull complete 01:07:14 9712f1f96733: Pull complete 01:07:15 63f879dbbcfc: Pull complete 01:07:19 0d9ebad4ef96: Pull complete 01:07:19 e9a5061849ea: Pull complete 01:07:19 d747dcd14b5f: Pull complete 01:07:20 2de7ff778b66: Pull complete 01:07:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:20 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:07:20 $ 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 01:07:22 $ docker top 535d04d429631ac7801a6f15860f5addf8cca88208b1aa968cf1f661933d1e3e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:07:22 provisioning config files... 01:07:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11319363465727145702tmp 01:07:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4057759190221981050tmp 01:07:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8980774756570454856tmp [Pipeline] { [Pipeline] echo 01:07:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:07:23 ---> sigul-configuration.sh 01:07:23 gpg: directory `/root/.gnupg' created 01:07:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:07:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:07:23 gpg: keyring `/root/.gnupg/secring.gpg' created 01:07:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:07:23 gpg: CAST5 encrypted data 01:07:23 gpg: encrypted with 1 passphrase 01:07:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:07:23 + mkdir /home/jenkins 01:07:23 + mkdir /home/jenkins/sigul [Pipeline] sh 01:07:23 + 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 01:07:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:07:23 ---> sigul-install.sh 01:07:23 Sigul already installed; skipping installation. [Pipeline] sh 01:07:24 + git tag --list 01:07:24 v1.0.0 01:07:24 v1.1.0 01:07:24 v1.1.1 01:07:24 v1.1.2 01:07:24 v1.2.0 01:07:24 v1.2.1 01:07:24 v2.0.0 01:07:24 v2.1.0 01:07:24 v2.1.1 01:07:24 v2.2.0 01:07:24 v2.3.0 01:07:24 v3.0 01:07:24 v3.0.0 01:07:24 v3.1 01:07:24 v3.1.0 01:07:24 v3.1.0-dev.1 01:07:24 v3.1.0-dev.10 01:07:24 v3.1.0-dev.11 01:07:24 v3.1.0-dev.12 01:07:24 v3.1.0-dev.13 01:07:24 v3.1.0-dev.14 01:07:24 v3.1.0-dev.15 01:07:24 v3.1.0-dev.16 01:07:24 v3.1.0-dev.17 01:07:24 v3.1.0-dev.18 01:07:24 v3.1.0-dev.19 01:07:24 v3.1.0-dev.2 01:07:24 v3.1.0-dev.20 01:07:24 v3.1.0-dev.21 01:07:24 v3.1.0-dev.22 01:07:24 v3.1.0-dev.23 01:07:24 v3.1.0-dev.24 01:07:24 v3.1.0-dev.25 01:07:24 v3.1.0-dev.26 01:07:24 v3.1.0-dev.27 01:07:24 v3.1.0-dev.28 01:07:24 v3.1.0-dev.29 01:07:24 v3.1.0-dev.3 01:07:24 v3.1.0-dev.30 01:07:24 v3.1.0-dev.31 01:07:24 v3.1.0-dev.32 01:07:24 v3.1.0-dev.4 01:07:24 v3.1.0-dev.5 01:07:24 v3.1.0-dev.6 01:07:24 v3.1.0-dev.7 01:07:24 v3.1.0-dev.8 01:07:24 v3.1.0-dev.9 01:07:24 v3.1.1 01:07:24 v3.2.0-dev.1 01:07:24 v3.2.0-dev.10 01:07:24 v3.2.0-dev.11 01:07:24 v3.2.0-dev.12 01:07:24 v3.2.0-dev.13 01:07:24 v3.2.0-dev.14 01:07:24 v3.2.0-dev.15 01:07:24 v3.2.0-dev.16 01:07:24 v3.2.0-dev.17 01:07:24 v3.2.0-dev.18 01:07:24 v3.2.0-dev.19 01:07:24 v3.2.0-dev.2 01:07:24 v3.2.0-dev.20 01:07:24 v3.2.0-dev.21 01:07:24 v3.2.0-dev.22 01:07:24 v3.2.0-dev.23 01:07:24 v3.2.0-dev.24 01:07:24 v3.2.0-dev.25 01:07:24 v3.2.0-dev.3 01:07:24 v3.2.0-dev.4 01:07:24 v3.2.0-dev.5 01:07:24 v3.2.0-dev.6 01:07:24 v3.2.0-dev.7 01:07:24 v3.2.0-dev.8 01:07:24 v3.2.0-dev.9 01:07:24 v4.0.0-dev.1 01:07:24 v4.0.0-dev.10 01:07:24 v4.0.0-dev.2 01:07:24 v4.0.0-dev.3 01:07:24 v4.0.0-dev.4 01:07:24 v4.0.0-dev.5 01:07:24 v4.0.0-dev.6 01:07:24 v4.0.0-dev.7 01:07:24 v4.0.0-dev.8 01:07:24 v4.0.0-dev.9 [Pipeline] sh 01:07:24 + lftools sign git-tag v4.0.0-dev.10 01:07:25 Signing Git tag with Sigul... 01:07:25 Signing v4.0.0-dev.10 [Pipeline] echo 01:07:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:07:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:07:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:07:25 $ docker stop --time=1 535d04d429631ac7801a6f15860f5addf8cca88208b1aa968cf1f661933d1e3e 01:07:27 $ docker rm -f --volumes 535d04d429631ac7801a6f15860f5addf8cca88208b1aa968cf1f661933d1e3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:07:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:27 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:07:27 $ 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 01:07:28 $ docker top e3f923060d0d1f1756c810d08aa94b7c9d0c0d7dc462c40fdaa307aece9e5add -eo pid,comm 01:07:28 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). 01:07:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:28 [ssh-agent] Looking for ssh-agent implementation... 01:07:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:28 $ docker exec e3f923060d0d1f1756c810d08aa94b7c9d0c0d7dc462c40fdaa307aece9e5add ssh-agent 01:07:28 SSH_AUTH_SOCK=/tmp/ssh-MVkhlFmKRxS4/agent.32 01:07:28 SSH_AGENT_PID=38 01:07:28 Running ssh-add (command line suppressed) 01:07:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1627842483521833754.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1627842483521833754.key) 01:07:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:28 + git semver bump pre 01:07:29 2025-03-04 01:07:29,176 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:29 2025-03-04 01:07:29,176 [bump_version] DEBUG bumping version:4.0.0-dev.10 on axis:pre with prefix:dev 01:07:29 2025-03-04 01:07:29,176 [bump_version] DEBUG bumped version:4.0.0-dev.11 01:07:29 2025-03-04 01:07:29,176 [write_version] DEBUG write version:4.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:07:29 2025-03-04 01:07:29,176 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:29 2025-03-04 01:07:29,176 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:29 2025-03-04 01:07:29,178 [execute] INFO git cat-file --batch-check 01:07:29 2025-03-04 01:07:29,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:29 2025-03-04 01:07:29,183 [execute] INFO git cat-file --batch 01:07:29 2025-03-04 01:07:29,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:29 2025-03-04 01:07:29,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:29 4.0.0-dev.11 [Pipeline] } 01:07:29 $ docker exec --env ******** --env ******** e3f923060d0d1f1756c810d08aa94b7c9d0c0d7dc462c40fdaa307aece9e5add ssh-agent -k 01:07:29 unset SSH_AUTH_SOCK; 01:07:29 unset SSH_AGENT_PID; 01:07:29 echo Agent pid 38 killed; 01:07:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:29 + git semver [Pipeline] } 01:07:29 $ docker stop --time=1 e3f923060d0d1f1756c810d08aa94b7c9d0c0d7dc462c40fdaa307aece9e5add 01:07:31 $ docker rm -f --volumes e3f923060d0d1f1756c810d08aa94b7c9d0c0d7dc462c40fdaa307aece9e5add [Pipeline] // withDockerContainer [Pipeline] sh 01:07:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:32 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:07:32 $ 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 01:07:32 $ docker top 352a3ac75574add603e2adffd765954b7bb4a37a44e2bdaf96d123aa466bf4d1 -eo pid,comm 01:07:32 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). 01:07:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:32 [ssh-agent] Looking for ssh-agent implementation... 01:07:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:32 $ docker exec 352a3ac75574add603e2adffd765954b7bb4a37a44e2bdaf96d123aa466bf4d1 ssh-agent 01:07:32 SSH_AUTH_SOCK=/tmp/ssh-kZQYzyr1GgMF/agent.32 01:07:32 SSH_AGENT_PID=38 01:07:32 Running ssh-add (command line suppressed) 01:07:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14419981998292613056.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14419981998292613056.key) 01:07:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:33 + git semver push 01:07:33 2025-03-04 01:07:33,343 [run_push] DEBUG push 01:07:33 2025-03-04 01:07:33,343 [execute] INFO git cat-file --batch-check 01:07:33 2025-03-04 01:07:33,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:33 2025-03-04 01:07:33,348 [execute] INFO git rev-list a7510b665c7560a533b9a8c7e93ddacdb9e56d6d -- 01:07:33 2025-03-04 01:07:33,348 [execute] DEBUG Popen(['git', 'rev-list', 'a7510b665c7560a533b9a8c7e93ddacdb9e56d6d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:07:33 2025-03-04 01:07:33,359 [execute] INFO git fetch -v origin 01:07:33 2025-03-04 01:07:33,359 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:07:34 2025-03-04 01:07:33,869 [run_push] DEBUG no remote changes detected 01:07:34 2025-03-04 01:07:33,870 [execute] INFO git push origin semver 01:07:34 2025-03-04 01:07:33,870 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:07:34 2025-03-04 01:07:34,781 [run_push] DEBUG push all version tags 01:07:34 2025-03-04 01:07:34,782 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:07:34 2025-03-04 01:07:34,782 [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) 01:07:35 2025-03-04 01:07:35,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:07:35 4.0.0-dev.11 [Pipeline] } 01:07:35 $ docker exec --env ******** --env ******** 352a3ac75574add603e2adffd765954b7bb4a37a44e2bdaf96d123aa466bf4d1 ssh-agent -k 01:07:35 unset SSH_AUTH_SOCK; 01:07:35 unset SSH_AGENT_PID; 01:07:35 echo Agent pid 38 killed; 01:07:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:35 + git semver [Pipeline] } 01:07:36 $ docker stop --time=1 352a3ac75574add603e2adffd765954b7bb4a37a44e2bdaf96d123aa466bf4d1 01:07:37 $ docker rm -f --volumes 352a3ac75574add603e2adffd765954b7bb4a37a44e2bdaf96d123aa466bf4d1 [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 01:07:38 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:07:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:07:38 total 16 01:07:38 drwxr-xr-x 3 root root 4096 Mar 4 00:50 . 01:07:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 01:07 .. 01:07:38 drwxr-xr-x 2 root root 4096 Mar 4 00:50 cost 01:07:38 -rw-r--r-- 1 root root 86 Mar 4 00:50 cost.csv 01:07:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:07:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:07:38 total 16 01:07:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 00:50 . 01:07:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 01:07 .. 01:07:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 00:50 cost 01:07:38 -rw-r--r-- 1 jenkins jenkins 86 Mar 4 00:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:07:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:39 ---> package-listing.sh 01:07:39 ++ tr '[:upper:]' '[:lower:]' 01:07:39 ++ facter osfamily 01:07:39 + OS_FAMILY=debian 01:07:39 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:07:39 + START_PACKAGES=/tmp/packages_start.txt 01:07:39 + END_PACKAGES=/tmp/packages_end.txt 01:07:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:39 + PACKAGES=/tmp/packages_start.txt 01:07:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:07:39 + PACKAGES=/tmp/packages_end.txt 01:07:39 + case "${OS_FAMILY}" in 01:07:39 + dpkg -l 01:07:39 + grep '^ii' 01:07:39 + '[' -f /tmp/packages_start.txt ']' 01:07:39 + '[' -f /tmp/packages_end.txt ']' 01:07:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:07:39 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:07:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:07:39 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 01:07:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:40 prd-ubuntu20.04-docker-8c-8g-40100 does not seem to be running inside a container 01:07:40 $ 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 01:07:40 $ docker top 524840c355f5bdea89b77a3a94768d12c1397f7c7c9fc485e12283d710950027 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:41 + touch /tmp/pre-build-complete [Pipeline] sh 01:07:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:07:41 + ls /var/log/sa-host 01:07:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:41 provisioning config files... 01:07:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1064470400761739938tmp [Pipeline] { [Pipeline] echo 01:07:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:42 ---> create-netrc.sh [Pipeline] } 01:07:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:07:42 ---> python-tools-install.sh [Pipeline] echo 01:07:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:07:42 ---> sudo-logs.sh 01:07:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:07:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:07:43 ---> job-cost.sh 01:07:43 lf-activate-venv: SKIPPING 01:07:43 DEBUG: total: 0.2199999988079071 01:07:43 INFO: Retrieving Stack Cost... 01:07:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:44 INFO: Archiving Costs [Pipeline] echo 01:07:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:44 ---> logs-deploy.sh 01:07:44 lf-activate-venv: SKIPPING 01:07:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/188 01:07:44 INFO: archiving workspace using pattern(s): 01:07:45 Archives upload complete. 01:07:45 INFO: archiving logs to Nexus