Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0a5c5a73132d7079afb502fe425c62ff6deb797 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-ssh968097901117601958.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-ssh10716284113923115006.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-ssh17842570250545385951.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-ssh16408496621096353336.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-ssh4485910955001228679.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 Running on prd-ubuntu20.04-docker-8c-8g-39357 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e0a5c5a73132d7079afb502fe425c62ff6deb797 (main) Commit message: "Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.25" > git config core.sparsecheckout # timeout=10 > git checkout -f e0a5c5a73132d7079afb502fe425c62ff6deb797 # timeout=10 > git rev-list --no-walk 4c8762db10e0facc8234d5cdc2b4007155e2b406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:51:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:51:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:51:06 ========================================================= 21:51:06 EdgeX Global Pipelines Version Info 21:51:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:51:06 ------------------- 21:51:06 stable info: 21:51:06 ------------------- 21:51:06 Commited By: Cherry Wang cherry@iotechsys.com 21:51:06 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 21:51:06 Message: update stable to v1.0.269 21:51:07 ------------------- 21:51:07 experimental info: 21:51:07 ------------------- 21:51:07 Commited By: **** collab-it+edgex@linuxfoundation.org 21:51:07 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 21:51:07 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:51:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a5c5a [Pipeline] echo 21:51:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:08 provisioning config files... 21:51:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config72794628969176215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:08 ---> ****-login.sh 21:51:08 nexus3.edgexfoundry.org:10001 21:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:09 Configure a credential helper to remove this warning. See 21:51:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:09 21:51:09 Login Succeeded 21:51:09 nexus3.edgexfoundry.org:10002 21:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:09 Configure a credential helper to remove this warning. See 21:51:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:09 21:51:09 Login Succeeded 21:51:09 nexus3.edgexfoundry.org:10003 21:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:09 Configure a credential helper to remove this warning. See 21:51:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:09 21:51:09 Login Succeeded 21:51:09 nexus3.edgexfoundry.org:10004 21:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:09 Configure a credential helper to remove this warning. See 21:51:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:09 21:51:09 Login Succeeded 21:51:09 ****.io 21:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:09 Configure a credential helper to remove this warning. See 21:51:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:09 21:51:09 Login Succeeded 21:51:09 ---> ****-login.sh ends [Pipeline] } 21:51:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:51:10 + git rev-list -1 --merges e0a5c5a73132d7079afb502fe425c62ff6deb797~1..e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] echo 21:51:10 -----------> git rev-list -1 --merges e0a5c5a73132d7079afb502fe425c62ff6deb797~1..e0a5c5a73132d7079afb502fe425c62ff6deb797 e0a5c5a73132d7079afb502fe425c62ff6deb797 21:51:10 e0a5c5a73132d7079afb502fe425c62ff6deb797 [false] [Pipeline] sh 21:51:10 + git log --format=format:%s -1 e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] echo 21:51:10 ========================================================= 21:51:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:51:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:10 + git log --format=format:%s -1 e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] echo 21:51:10 [semverPrep] GIT_COMMIT: e0a5c5a73132d7079afb502fe425c62ff6deb797, Commit Message: Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.25 [Pipeline] echo 21:51:10 [semverPrep] This is not a build commit. [Pipeline] sh 21:51:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:11 + grep -v github /etc/ssh/ssh_known_hosts 21:51:11 + [ -e /tmp/ssh_known_hosts ] 21:51:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:51:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:51:11 + sudo tee -a /etc/ssh/ssh_known_hosts 21:51:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:11 21:51:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:12 0.1.4: Pulling from edgex-devops/py-git-semver 21:51:12 b85a868b505f: Pulling fs layer 21:51:12 e2be974225ed: Pulling fs layer 21:51:12 339a4e72a1f5: Pulling fs layer 21:51:12 988bab9f4d93: Pulling fs layer 21:51:12 1469e6f7b9e6: Pulling fs layer 21:51:12 eaf3925da568: Pulling fs layer 21:51:12 bab4dde63d76: Pulling fs layer 21:51:12 bde34c3a00c8: Pulling fs layer 21:51:12 b352a97aabf1: Pulling fs layer 21:51:12 4872d77fe225: Pulling fs layer 21:51:12 988bab9f4d93: Waiting 21:51:12 eaf3925da568: Waiting 21:51:12 1469e6f7b9e6: Waiting 21:51:12 bab4dde63d76: Waiting 21:51:12 b352a97aabf1: Waiting 21:51:12 5851b861e8e6: Pulling fs layer 21:51:12 4872d77fe225: Waiting 21:51:12 5851b861e8e6: Waiting 21:51:12 bde34c3a00c8: Waiting 21:51:12 e2be974225ed: Download complete 21:51:12 988bab9f4d93: Verifying Checksum 21:51:12 988bab9f4d93: Download complete 21:51:12 1469e6f7b9e6: Verifying Checksum 21:51:12 1469e6f7b9e6: Download complete 21:51:12 eaf3925da568: Verifying Checksum 21:51:12 eaf3925da568: Download complete 21:51:12 339a4e72a1f5: Verifying Checksum 21:51:12 339a4e72a1f5: Download complete 21:51:12 bde34c3a00c8: Verifying Checksum 21:51:12 bde34c3a00c8: Download complete 21:51:12 b352a97aabf1: Download complete 21:51:12 4872d77fe225: Download complete 21:51:12 5851b861e8e6: Verifying Checksum 21:51:12 b85a868b505f: Download complete 21:51:12 bab4dde63d76: Verifying Checksum 21:51:12 bab4dde63d76: Download complete 21:51:13 b85a868b505f: Pull complete 21:51:13 e2be974225ed: Pull complete 21:51:14 339a4e72a1f5: Pull complete 21:51:14 988bab9f4d93: Pull complete 21:51:14 1469e6f7b9e6: Pull complete 21:51:14 eaf3925da568: Pull complete 21:51:16 bab4dde63d76: Pull complete 21:51:16 bde34c3a00c8: Pull complete 21:51:16 b352a97aabf1: Pull complete 21:51:16 4872d77fe225: Pull complete 21:51:16 5851b861e8e6: Pull complete 21:51:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:16 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 21:51:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:51:18 $ docker top d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 -eo pid,comm 21:51:18 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). 21:51:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:18 [ssh-agent] Looking for ssh-agent implementation... 21:51:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:18 $ docker exec d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 ssh-agent 21:51:18 SSH_AUTH_SOCK=/tmp/ssh-nVa8hBJtW94Q/agent.33 21:51:18 SSH_AGENT_PID=39 21:51:18 Running ssh-add (command line suppressed) 21:51:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12401881189593532823.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12401881189593532823.key) 21:51:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:19 + git tag --points-at HEAD [Pipeline] } 21:51:19 $ docker exec --env ******** --env ******** d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 ssh-agent -k 21:51:19 unset SSH_AUTH_SOCK; 21:51:19 unset SSH_AGENT_PID; 21:51:19 echo Agent pid 39 killed; 21:51:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:51:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:19 [ssh-agent] Looking for ssh-agent implementation... 21:51:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:19 $ docker exec d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 ssh-agent 21:51:19 SSH_AUTH_SOCK=/tmp/ssh-MF2Tkh4Ozim4/agent.72 21:51:19 SSH_AGENT_PID=78 21:51:19 Running ssh-add (command line suppressed) 21:51:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7408278361588653435.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7408278361588653435.key) 21:51:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:20 + git semver init 21:51:20 2025-02-20 21:51:20,308 [run_init] DEBUG init version:0.0.0 force:False 21:51:20 2025-02-20 21:51:20,309 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:51:20 2025-02-20 21:51:20,309 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:51:20 2025-02-20 21:51:20,310 [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) 21:51:21 2025-02-20 21:51:21,407 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:51:21 2025-02-20 21:51:21,407 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:51:21 2025-02-20 21:51:21,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:51:21 2025-02-20 21:51:21,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:51:21 4.0.0-dev.9 [Pipeline] } 21:51:21 $ docker exec --env ******** --env ******** d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 ssh-agent -k 21:51:21 unset SSH_AUTH_SOCK; 21:51:21 unset SSH_AGENT_PID; 21:51:21 echo Agent pid 78 killed; 21:51:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:22 + git semver [Pipeline] } 21:51:22 $ docker stop --time=1 d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 21:51:23 $ docker rm -f --volumes d41d070659237ded0e96f649eb999d357872e5df8e2b057286d0a08ea2cc3b26 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:51:24 Stashed 1 file(s) [Pipeline] echo 21:51:24 [edgeXSemver]: initialized semver on version 4.0.0-dev.9 [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 21:51:24 provisioning config files... 21:51:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2171489134768461420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:24 ---> ****-login.sh 21:51:24 nexus3.edgexfoundry.org:10001 21:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 nexus3.edgexfoundry.org:10002 21:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 nexus3.edgexfoundry.org:10003 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:25 Configure a credential helper to remove this warning. See 21:51:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:25 21:51:25 Login Succeeded 21:51:25 nexus3.edgexfoundry.org:10004 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:25 Configure a credential helper to remove this warning. See 21:51:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:25 21:51:25 Login Succeeded 21:51:25 ****.io 21:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:51:25 Configure a credential helper to remove this warning. See 21:51:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:51:25 21:51:25 Login Succeeded 21:51:25 ---> ****-login.sh ends [Pipeline] } 21:51:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:25 ========================================================= 21:51:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 21:51:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + 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 . 21:51:25 Sending build context to Docker daemon 16.67MB 21:51:25 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 21:51:25 Step 2/12 : FROM ${BASE} AS builder 21:51:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:25 da9db072f522: Pulling fs layer 21:51:25 6ef4a4ee8ca5: Pulling fs layer 21:51:25 06f05ace1117: Pulling fs layer 21:51:25 5fe327b54edc: Pulling fs layer 21:51:25 4f4fb700ef54: Pulling fs layer 21:51:25 92a5565b7b96: Pulling fs layer 21:51:25 ff9bb7016b71: Pulling fs layer 21:51:25 b67dba6c2c7d: Pulling fs layer 21:51:25 5fe327b54edc: Waiting 21:51:25 92a5565b7b96: Waiting 21:51:25 ff9bb7016b71: Waiting 21:51:25 a813b0c90790: Pulling fs layer 21:51:25 b67dba6c2c7d: Waiting 21:51:25 6ef4a4ee8ca5: Verifying Checksum 21:51:26 5fe327b54edc: Verifying Checksum 21:51:26 5fe327b54edc: Download complete 21:51:26 4f4fb700ef54: Verifying Checksum 21:51:26 da9db072f522: Download complete 21:51:26 92a5565b7b96: Verifying Checksum 21:51:26 92a5565b7b96: Download complete 21:51:26 ff9bb7016b71: Verifying Checksum 21:51:26 ff9bb7016b71: Download complete 21:51:26 da9db072f522: Pull complete 21:51:26 a813b0c90790: Verifying Checksum 21:51:26 a813b0c90790: Download complete 21:51:26 6ef4a4ee8ca5: Pull complete 21:51:26 06f05ace1117: Verifying Checksum 21:51:26 06f05ace1117: Download complete 21:51:27 b67dba6c2c7d: Download complete 21:51:30 06f05ace1117: Pull complete 21:51:30 5fe327b54edc: Pull complete 21:51:30 4f4fb700ef54: Pull complete 21:51:30 92a5565b7b96: Pull complete 21:51:30 ff9bb7016b71: Pull complete 21:51:33 b67dba6c2c7d: Pull complete 21:51:33 a813b0c90790: Pull complete 21:51:33 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 21:51:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 21:51:33 ---> 3ba60ce46760 21:51:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:51:35 ---> Running in cb1d1a04714b 21:51:35 Removing intermediate container cb1d1a04714b 21:51:35 ---> f8442bae9f9c 21:51:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:35 ---> Running in 57ca4400ee3d 21:51:35 Removing intermediate container 57ca4400ee3d 21:51:35 ---> 144cb51eea00 21:51:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:35 ---> Running in bf5664fb794a 21:51:35 Removing intermediate container bf5664fb794a 21:51:35 ---> fa5cb7fa0812 21:51:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:51:35 ---> Running in d610da647dbe 21:51:35 Removing intermediate container d610da647dbe 21:51:35 ---> 8eb024ce0b83 21:51:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:36 ---> Running in 290dde3200ad 21:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:51:36 (1/4) Installing openssh-keygen (9.7_p1-r4) 21:51:36 (2/4) Installing libedit (20240517.3.1-r0) 21:51:36 (3/4) Installing openssh-client-common (9.7_p1-r4) 21:51:36 (4/4) Installing openssh-client-default (9.7_p1-r4) 21:51:36 Executing busybox-1.36.1-r29.trigger 21:51:36 OK: 252 MiB in 62 packages 21:51:37 Removing intermediate container 290dde3200ad 21:51:37 ---> 26dca6b7911a 21:51:37 Step 8/12 : WORKDIR /device-rest-go 21:51:37 ---> Running in a004142c38a2 21:51:37 Removing intermediate container a004142c38a2 21:51:37 ---> 725755ca81b0 21:51:37 Step 9/12 : COPY go.mod vendor* ./ 21:51:37 ---> 26d1dcb1adba 21:51:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:37 ---> Running in 036b8ea4b8be 21:51:39 Still waiting to schedule task 21:51:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:52:16 Removing intermediate container 036b8ea4b8be 21:52:16 ---> 24e79554b1eb 21:52:16 Step 11/12 : COPY . . 21:52:16 ---> 1e913ba48e33 21:52:16 Step 12/12 : RUN $MAKE 21:52:16 ---> Running in 9e13601864c7 21:52:16 noop 21:52:16 Removing intermediate container 9e13601864c7 21:52:16 ---> 75eef6f23429 21:52:16 Successfully built 75eef6f23429 21:52:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:16 + docker inspect -f . ci-base-image-x86_64 21:52:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:16 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 21:52:16 $ 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 ******** ci-base-image-x86_64 cat 21:52:17 $ docker top cabeee47765affd4e72c047ecf3d2efd21501ae6d8048bb49ae82a31b14b4f7c -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:17 + go version 21:52:17 go version go1.23.4 linux/amd64 [Pipeline] } 21:52:17 $ docker stop --time=1 cabeee47765affd4e72c047ecf3d2efd21501ae6d8048bb49ae82a31b14b4f7c 21:52:19 $ docker rm -f --volumes cabeee47765affd4e72c047ecf3d2efd21501ae6d8048bb49ae82a31b14b4f7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:19 + docker inspect -f . ci-base-image-x86_64 21:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:19 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 21:52:19 $ 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 ******** ci-base-image-x86_64 cat 21:52:19 $ docker top 8d214aa9e53a0c7b57d629ba80333ba687da89f0954e551b95d3fa51e13f8c00 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:52:20 + make test 21:52:20 go test ./... -coverprofile=coverage.out ./... 21:52:21 ? github.com/edgexfoundry/device-rest-go [no test files] 21:52:43 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:52:43 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 21:52:52 go vet ./... 21:52:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:52:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:52:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:52:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:52:57 $ docker stop --time=1 8d214aa9e53a0c7b57d629ba80333ba687da89f0954e551b95d3fa51e13f8c00 21:52:59 $ docker rm -f --volumes 8d214aa9e53a0c7b57d629ba80333ba687da89f0954e551b95d3fa51e13f8c00 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:00 + ls -al . 21:53:00 total 244 21:53:00 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 21:52 . 21:53:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:51 .. 21:53:00 -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 21:51 .dockerignore 21:53:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:52 .git 21:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:51 .github 21:53:00 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 21:51 .gitignore 21:53:00 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 21:51 .golangci.yml 21:53:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 21:51 .semver 21:53:00 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 20 21:51 Attribution.txt 21:53:00 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 20 21:51 CHANGELOG.md 21:53:00 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 20 21:51 Dockerfile 21:53:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 21:51 GOVERNANCE.md 21:53:00 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 21:51 Jenkinsfile 21:53:00 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 21:51 LICENSE 21:53:00 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 20 21:51 Makefile 21:53:00 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 21:51 OWNERS.md 21:53:00 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 20 21:51 README.md 21:53:00 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 21:51 VERSION 21:53:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:51 bin 21:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:51 cmd 21:53:00 -rw-r--r-- 1 jenkins jenkins 14565 Feb 20 21:52 coverage.out 21:53:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:51 driver 21:53:00 -rw-rw-r-- 1 jenkins jenkins 6292 Feb 20 21:51 go.mod 21:53:00 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 20 21:51 go.sum 21:53:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:51 openapi 21:53:00 -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:01 + 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=e0a5c5a73132d7079afb502fe425c62ff6deb797 --label arch=amd64 --label version=4.0.0-dev.9 . 21:53:01 Sending build context to Docker daemon 16.69MB 21:53:01 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:53:01 Step 2/26 : FROM ${BASE} AS builder 21:53:01 ---> 75eef6f23429 21:53:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:53:01 ---> Running in d036897cd72b 21:53:01 Removing intermediate container d036897cd72b 21:53:01 ---> dcbbfba8cb98 21:53:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:01 ---> Running in 98e373b4b455 21:53:01 Removing intermediate container 98e373b4b455 21:53:01 ---> 63ea41beec59 21:53:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:53:01 ---> Running in 359b7d7495fc 21:53:01 Removing intermediate container 359b7d7495fc 21:53:01 ---> 99152be266f7 21:53:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:53:01 ---> Running in 6ebe43e4c0b5 21:53:01 Removing intermediate container 6ebe43e4c0b5 21:53:01 ---> 4d33dfa868e1 21:53:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:01 ---> Running in dceac15505d6 21:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:53:02 OK: 252 MiB in 62 packages 21:53:03 Removing intermediate container dceac15505d6 21:53:03 ---> bf82d9e5832d 21:53:03 Step 8/26 : WORKDIR /device-rest-go 21:53:03 ---> Running in d3ae4c085fa8 21:53:03 Removing intermediate container d3ae4c085fa8 21:53:03 ---> f832c4d0deed 21:53:03 Step 9/26 : COPY go.mod vendor* ./ 21:53:03 ---> 9b1c112eb4c5 21:53:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:03 ---> Running in 14467104f03a 21:53:04 Removing intermediate container 14467104f03a 21:53:04 ---> 5eee20b29ad3 21:53:04 Step 11/26 : COPY . . 21:53:04 ---> d87327674145 21:53:04 Step 12/26 : RUN $MAKE 21:53:04 ---> Running in 74290cda949d 21:53:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 21:53:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39358 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:53:18 Running in /w/workspace/device-rest-go/187 [Pipeline] { [Pipeline] checkout 21:53:18 The recommended git tool is: git 21:53:23 using credential edgex-jenkins-ssh 21:53:23 Cloning the remote Git repository 21:53:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:53:23 > git init /w/workspace/device-rest-go/187 # timeout=10 21:53:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:53:23 > git --version # timeout=10 21:53:23 > git --version # 'git version 2.25.1' 21:53:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:27 Avoid second fetch 21:53:27 Checking out Revision e0a5c5a73132d7079afb502fe425c62ff6deb797 (main) 21:53:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:53:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:27 > git config core.sparsecheckout # timeout=10 21:53:27 > git checkout -f e0a5c5a73132d7079afb502fe425c62ff6deb797 # timeout=10 21:53:27 Commit message: "Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.25" 21:53:31 Removing intermediate container 74290cda949d 21:53:31 ---> ad47a61389f1 21:53:31 Step 13/26 : FROM alpine:3.20 21:53:31 3.20: Pulling from library/alpine 21:53:31 0a9a5dfd008f: Pulling fs layer [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:32 0a9a5dfd008f: Verifying Checksum 21:53:32 0a9a5dfd008f: Download complete 21:53:32 0a9a5dfd008f: Pull complete 21:53:32 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 21:53:32 Status: Downloaded newer image for alpine:3.20 21:53:32 ---> ff221270b9fb 21:53:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:53:32 ---> Running in abf34c11c7f4 21:53:32 Removing intermediate container abf34c11c7f4 21:53:32 ---> 061306f74f3b 21:53:32 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:53:32 ---> Running in b261e4f26f14 21:53:32 Removing intermediate container b261e4f26f14 21:53:32 ---> 400e809171a9 21:53:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:53:32 ---> Running in e555eca328e6 21:53:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:53:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:53:32 Dload Upload Total Spent Left Speed 21:53:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 21:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:53:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:53:33 (1/1) Installing dumb-init (1.2.5-r3) 21:53:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:53:33 sudo tee /etc/docker/daemon.new 21:53:33 { 21:53:33 "registry-mirrors": [ 21:53:33 "https://nexus3.edgexfoundry.org:10001" 21:53:33 ], 21:53:33 "bip": "10.250.0.254/24", 21:53:33 "hosts": [ 21:53:33 "tcp://0.0.0.0:5555", 21:53:33 "unix:///var/run/docker.sock" 21:53:33 ], 21:53:33 "mtu": 1458, 21:53:33 "selinux-enabled": true, 21:53:33 "seccomp-profile": "/etc/docker/seccomp.json" 21:53:33 } [Pipeline] sh 21:53:33 Executing busybox-1.36.1-r29.trigger 21:53:33 OK: 8 MiB in 15 packages 21:53:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:53:33 Removing intermediate container e555eca328e6 21:53:33 ---> e60df01c7713 21:53:33 Step 17/26 : RUN apk --no-cache upgrade 21:53:33 ---> Running in 805876d8dc03 21:53:33 + sudo service docker restart 21:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:53:34 OK: 8 MiB in 15 packages 21:53:34 Removing intermediate container 805876d8dc03 21:53:34 ---> 40384fb37235 21:53:34 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:53:35 ---> 369bf177921a 21:53:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:53:35 ---> c809282f26bb 21:53:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:53:35 ---> ddbfcfdd714b 21:53:35 Step 21/26 : EXPOSE 59986 21:53:35 ---> Running in fdf5851b2ba8 21:53:35 Removing intermediate container fdf5851b2ba8 21:53:35 ---> df20d11c225a 21:53:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:53:35 ---> Running in 1cc95b3005a8 21:53:35 Removing intermediate container 1cc95b3005a8 21:53:35 ---> 30aab0583577 21:53:35 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 21:53:35 ---> Running in 41cf9def510e 21:53:35 Removing intermediate container 41cf9def510e 21:53:35 ---> 1f6748e777f1 21:53:35 Step 24/26 : LABEL arch=amd64 21:53:35 ---> Running in 1464b7911c06 21:53:35 Removing intermediate container 1464b7911c06 21:53:35 ---> 79f9ccd814a6 21:53:35 Step 25/26 : LABEL git_sha=e0a5c5a73132d7079afb502fe425c62ff6deb797 21:53:35 ---> Running in 64c8a29a593b 21:53:35 Removing intermediate container 64c8a29a593b 21:53:35 ---> f7a45c32b849 21:53:35 Step 26/26 : LABEL version=4.0.0-dev.9 21:53:35 ---> Running in 240b88ca017a 21:53:36 Removing intermediate container 240b88ca017a 21:53:36 ---> 35f09f4f477a 21:53:36 [Warning] One or more build-args [ARCH] were not consumed 21:53:36 Successfully built 35f09f4f477a 21:53:36 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:36 provisioning config files... 21:53:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3193403006163596470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:36 ---> ****-login.sh 21:53:36 nexus3.edgexfoundry.org:10001 21:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:36 Configure a credential helper to remove this warning. See 21:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:36 21:53:36 Login Succeeded 21:53:36 nexus3.edgexfoundry.org:10002 21:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:36 Configure a credential helper to remove this warning. See 21:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:36 21:53:36 Login Succeeded 21:53:36 nexus3.edgexfoundry.org:10003 21:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:36 Configure a credential helper to remove this warning. See 21:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:36 21:53:36 Login Succeeded 21:53:36 nexus3.edgexfoundry.org:10004 21:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:36 Configure a credential helper to remove this warning. See 21:53:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:36 21:53:36 Login Succeeded 21:53:36 ****.io 21:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:37 Configure a credential helper to remove this warning. See 21:53:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:37 21:53:37 Login Succeeded 21:53:37 ---> ****-login.sh ends [Pipeline] } 21:53:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:53:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:53:37 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:53:37 e0a5c5a73132d7079afb502fe425c62ff6deb797 21:53:37 latest 21:53:37 4.0.0-dev.9 21:53:37 e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 21:53:37 main 21:53:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797 21:53:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:53:37 fb846c418f46: Preparing 21:53:37 43f592cb3853: Preparing 21:53:37 7e126684cb85: Preparing 21:53:37 6f47bda6fd1b: Preparing 21:53:37 94b4a7da0f8f: Preparing 21:53:37 994456c4fd7b: Preparing 21:53:37 994456c4fd7b: Waiting 21:53:37 43f592cb3853: Pushed 21:53:37 6f47bda6fd1b: Pushed 21:53:37 94b4a7da0f8f: Pushed 21:53:37 fb846c418f46: Pushed 21:53:37 994456c4fd7b: Layer already exists 21:53:41 7e126684cb85: Pushed 21:53:41 e0a5c5a73132d7079afb502fe425c62ff6deb797: digest: sha256:fa9a05f528654864849ab9a60e475b2b059ab8da4ec9e1ebf0fc696585d369bd size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:53:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:53:41 fb846c418f46: Preparing 21:53:41 43f592cb3853: Preparing 21:53:41 7e126684cb85: Preparing 21:53:41 6f47bda6fd1b: Preparing 21:53:41 94b4a7da0f8f: Preparing 21:53:41 994456c4fd7b: Preparing 21:53:41 994456c4fd7b: Waiting 21:53:41 7e126684cb85: Layer already exists 21:53:41 94b4a7da0f8f: Layer already exists 21:53:41 fb846c418f46: Layer already exists 21:53:41 6f47bda6fd1b: Layer already exists 21:53:41 43f592cb3853: Layer already exists 21:53:41 994456c4fd7b: Layer already exists 21:53:41 latest: digest: sha256:fa9a05f528654864849ab9a60e475b2b059ab8da4ec9e1ebf0fc696585d369bd size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.9 21:53:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:53:42 fb846c418f46: Preparing 21:53:42 43f592cb3853: Preparing 21:53:42 7e126684cb85: Preparing 21:53:42 6f47bda6fd1b: Preparing 21:53:42 94b4a7da0f8f: Preparing 21:53:42 994456c4fd7b: Preparing 21:53:42 94b4a7da0f8f: Layer already exists 21:53:42 6f47bda6fd1b: Layer already exists 21:53:42 fb846c418f46: Layer already exists 21:53:42 7e126684cb85: Layer already exists 21:53:42 43f592cb3853: Layer already exists 21:53:42 994456c4fd7b: Layer already exists 21:53:42 4.0.0-dev.9: digest: sha256:fa9a05f528654864849ab9a60e475b2b059ab8da4ec9e1ebf0fc696585d369bd size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 21:53:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:53:43 fb846c418f46: Preparing 21:53:43 43f592cb3853: Preparing 21:53:43 7e126684cb85: Preparing 21:53:43 6f47bda6fd1b: Preparing 21:53:43 94b4a7da0f8f: Preparing 21:53:43 994456c4fd7b: Preparing 21:53:43 994456c4fd7b: Waiting 21:53:43 94b4a7da0f8f: Layer already exists 21:53:43 7e126684cb85: Layer already exists 21:53:43 fb846c418f46: Layer already exists 21:53:43 43f592cb3853: Layer already exists 21:53:43 6f47bda6fd1b: Layer already exists 21:53:43 994456c4fd7b: Layer already exists 21:53:43 e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9: digest: sha256:fa9a05f528654864849ab9a60e475b2b059ab8da4ec9e1ebf0fc696585d369bd size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:53:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:53:43 fb846c418f46: Preparing 21:53:43 43f592cb3853: Preparing 21:53:43 7e126684cb85: Preparing 21:53:43 6f47bda6fd1b: Preparing 21:53:43 94b4a7da0f8f: Preparing 21:53:43 994456c4fd7b: Preparing 21:53:43 994456c4fd7b: Waiting 21:53:43 43f592cb3853: Layer already exists 21:53:43 94b4a7da0f8f: Layer already exists 21:53:43 7e126684cb85: Layer already exists 21:53:43 6f47bda6fd1b: Layer already exists 21:53:43 fb846c418f46: Layer already exists 21:53:43 994456c4fd7b: Layer already exists 21:53:43 main: digest: sha256:fa9a05f528654864849ab9a60e475b2b059ab8da4ec9e1ebf0fc696585d369bd size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:53:43 ===================================================== [Pipeline] echo 21:53:43 taggedImages: 21:53:43 - nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797 21:53:43 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:53:43 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.9 21:53:43 - nexus3.edgexfoundry.org:10004/device-rest:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 21:53:43 - 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 21:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:44 21:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:44 latest: Pulling from edgex-lftools-log-publisher 21:53:44 5eb5b503b376: Pulling fs layer 21:53:44 5c69ac0246d0: Pulling fs layer 21:53:44 ec43610c2a17: Pulling fs layer 21:53:44 3a2ae6a8a46f: Pulling fs layer 21:53:44 33b1e0a273af: Pulling fs layer 21:53:44 5d3b04190fa2: Pulling fs layer 21:53:44 2f39f015ded8: Pulling fs layer 21:53:44 33b1e0a273af: Waiting 21:53:44 5d3b04190fa2: Waiting 21:53:44 3a2ae6a8a46f: Waiting 21:53:44 5c69ac0246d0: Download complete 21:53:44 3a2ae6a8a46f: Verifying Checksum 21:53:44 3a2ae6a8a46f: Download complete 21:53:44 33b1e0a273af: Verifying Checksum 21:53:44 33b1e0a273af: Download complete 21:53:44 5d3b04190fa2: Verifying Checksum 21:53:44 5d3b04190fa2: Download complete 21:53:44 ec43610c2a17: Verifying Checksum 21:53:44 ec43610c2a17: Download complete 21:53:44 5eb5b503b376: Verifying Checksum 21:53:44 5eb5b503b376: Download complete 21:53:45 2f39f015ded8: Download complete 21:53:45 5eb5b503b376: Pull complete 21:53:45 5c69ac0246d0: Pull complete 21:53:46 ec43610c2a17: Pull complete 21:53:46 3a2ae6a8a46f: Pull complete 21:53:46 33b1e0a273af: Pull complete 21:53:46 5d3b04190fa2: Pull complete 21:53:50 2f39f015ded8: Pull complete 21:53:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:50 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 21:53:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:53:52 $ docker top 1dc43db2f1560463fb0a7576295654bd045fd23eb39ab5ec557d5b775864b8c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 21:53:53 provisioning config files... 21:53:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/187@tmp/config17540979377852360639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:53 ---> job-cost.sh 21:53:53 lf-activate-venv: SKIPPING 21:53:53 INFO: No Stack... 21:53:53 ---> ****-login.sh 21:53:53 nexus3.edgexfoundry.org:10001 21:53:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:53 INFO: Archiving Costs [Pipeline] sh 21:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:54 Configure a credential helper to remove this warning. See 21:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:54 21:53:54 Login Succeeded 21:53:54 nexus3.edgexfoundry.org:10002 21:53:54 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:53:54 + cut -d, -f6 [Pipeline] lock 21:53:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] 21:53:54 Resource [jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] did not exist. Created. 21:53:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:54 Configure a credential helper to remove this warning. See 21:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:54 21:53:54 Login Succeeded 21:53:54 + echo total: 0.2199999988079071 [Pipeline] stash 21:53:54 Stashed 1 file(s) [Pipeline] } 21:53:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 21:53:54 $ docker stop --time=1 1dc43db2f1560463fb0a7576295654bd045fd23eb39ab5ec557d5b775864b8c8 21:53:54 nexus3.edgexfoundry.org:10003 21:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:54 Configure a credential helper to remove this warning. See 21:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:54 21:53:54 Login Succeeded 21:53:54 nexus3.edgexfoundry.org:10004 21:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:55 Configure a credential helper to remove this warning. See 21:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:55 21:53:55 Login Succeeded 21:53:55 ****.io 21:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:55 $ docker rm -f --volumes 1dc43db2f1560463fb0a7576295654bd045fd23eb39ab5ec557d5b775864b8c8 21:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:53:55 Configure a credential helper to remove this warning. See 21:53:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:53:55 21:53:55 Login Succeeded 21:53:55 ---> ****-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 21:53:55 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 21:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:53:56 ========================================================= 21:53:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 21:53:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:56 + 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 . 21:53:56 Sending build context to Docker daemon 140.8kB 21:53:56 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 21:53:56 Step 2/12 : FROM ${BASE} AS builder 21:53:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:53:56 9986a736f7d3: Pulling fs layer 21:53:56 1f018df60701: Pulling fs layer 21:53:56 39f8f326b044: Pulling fs layer 21:53:56 e6a1e7a6a96a: Pulling fs layer 21:53:56 4f4fb700ef54: Pulling fs layer 21:53:56 d45d956e0dbf: Pulling fs layer 21:53:56 d7702b0d1db1: Pulling fs layer 21:53:56 5c7f0f088c93: Pulling fs layer 21:53:56 4fdc064ae6cf: Pulling fs layer 21:53:56 e6a1e7a6a96a: Waiting 21:53:56 4f4fb700ef54: Waiting 21:53:56 d45d956e0dbf: Waiting 21:53:56 d7702b0d1db1: Waiting 21:53:56 5c7f0f088c93: Waiting 21:53:56 4fdc064ae6cf: Waiting 21:53:56 1f018df60701: Verifying Checksum 21:53:56 1f018df60701: Download complete 21:53:57 e6a1e7a6a96a: Verifying Checksum 21:53:57 e6a1e7a6a96a: Download complete 21:53:57 4f4fb700ef54: Verifying Checksum 21:53:57 4f4fb700ef54: Download complete 21:53:57 d45d956e0dbf: Verifying Checksum 21:53:57 d45d956e0dbf: Download complete 21:53:57 d7702b0d1db1: Verifying Checksum 21:53:57 d7702b0d1db1: Download complete 21:53:57 9986a736f7d3: Verifying Checksum 21:53:57 9986a736f7d3: Download complete 21:53:57 4fdc064ae6cf: Verifying Checksum 21:53:57 4fdc064ae6cf: Download complete 21:53:57 9986a736f7d3: Pull complete 21:53:58 1f018df60701: Pull complete 21:53:58 39f8f326b044: Verifying Checksum 21:53:58 39f8f326b044: Download complete 21:53:59 5c7f0f088c93: Verifying Checksum 21:53:59 5c7f0f088c93: Download complete 21:54:14 39f8f326b044: Pull complete 21:54:14 e6a1e7a6a96a: Pull complete 21:54:14 4f4fb700ef54: Pull complete 21:54:14 d45d956e0dbf: Pull complete 21:54:14 d7702b0d1db1: Pull complete 21:54:22 5c7f0f088c93: Pull complete 21:54:23 4fdc064ae6cf: Pull complete 21:54:23 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 21:54:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 21:54:23 ---> 63f30b955cb9 21:54:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:54:25 ---> Running in 2b3ae52b0a5f 21:54:25 Removing intermediate container 2b3ae52b0a5f 21:54:25 ---> 606f32392247 21:54:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:25 ---> Running in ea0e8201ad1b 21:54:25 Removing intermediate container ea0e8201ad1b 21:54:25 ---> cc146af16ef8 21:54:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:54:25 ---> Running in 26ba79896ed9 21:54:26 Removing intermediate container 26ba79896ed9 21:54:26 ---> 52651f4f9f92 21:54:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:54:26 ---> Running in 2bfba31d546a 21:54:26 Removing intermediate container 2bfba31d546a 21:54:26 ---> d981420b2032 21:54:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:54:26 ---> Running in 8611b5db39e3 21:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:54:29 (1/4) Installing openssh-keygen (9.7_p1-r4) 21:54:29 (2/4) Installing libedit (20240517.3.1-r0) 21:54:29 (3/4) Installing openssh-client-common (9.7_p1-r4) 21:54:29 (4/4) Installing openssh-client-default (9.7_p1-r4) 21:54:29 Executing busybox-1.36.1-r29.trigger 21:54:29 OK: 244 MiB in 62 packages 21:54:30 Removing intermediate container 8611b5db39e3 21:54:30 ---> 9baf22832444 21:54:30 Step 8/12 : WORKDIR /device-rest-go 21:54:30 ---> Running in f40eab6efe53 21:54:30 Removing intermediate container f40eab6efe53 21:54:30 ---> 9418039d6b69 21:54:30 Step 9/12 : COPY go.mod vendor* ./ 21:54:31 ---> 898c5a79eecc 21:54:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:31 ---> Running in 0f5918342f3c 21:56:22 Removing intermediate container 0f5918342f3c 21:56:22 ---> c158132dbf3e 21:56:22 Step 11/12 : COPY . . 21:56:22 ---> 08ced63de5a3 21:56:22 Step 12/12 : RUN $MAKE 21:56:22 ---> Running in 3c84c1cafc80 21:56:22 noop 21:56:22 Removing intermediate container 3c84c1cafc80 21:56:22 ---> ebca0e618b5d 21:56:22 Successfully built ebca0e618b5d 21:56:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:23 + docker inspect -f . ci-base-image-arm64 21:56:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:23 prd-ubuntu20.04-docker-arm64-4c-16g-39358 does not seem to be running inside a container 21:56:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/187 -v /w/workspace/device-rest-go/187:/w/workspace/device-rest-go/187:rw,z -v /w/workspace/device-rest-go/187@tmp:/w/workspace/device-rest-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:24 $ docker top 59835e7e9749e13ee641ddaf581801235df533eda24f6af71e0e56903b030e03 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:25 + go version 21:56:25 go version go1.23.4 linux/arm64 [Pipeline] } 21:56:25 $ docker stop --time=1 59835e7e9749e13ee641ddaf581801235df533eda24f6af71e0e56903b030e03 21:56:27 $ docker rm -f --volumes 59835e7e9749e13ee641ddaf581801235df533eda24f6af71e0e56903b030e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:27 + docker inspect -f . ci-base-image-arm64 21:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:27 prd-ubuntu20.04-docker-arm64-4c-16g-39358 does not seem to be running inside a container 21:56:27 $ 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/187 -v /w/workspace/device-rest-go/187:/w/workspace/device-rest-go/187:rw,z -v /w/workspace/device-rest-go/187@tmp:/w/workspace/device-rest-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:29 $ docker top e285b45cc1c1c5c1f2700053945e21dd40a4dee165331eeec8dc731534de8c09 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:29 + git config --global --add safe.directory /w/workspace/device-rest-go/187 [Pipeline] fileExists [Pipeline] sh 21:56:30 + make test 21:56:30 go test ./... -coverprofile=coverage.out ./... 21:56:35 ? github.com/edgexfoundry/device-rest-go [no test files] 21:59:42 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:59:42 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 33.2% of statements 21:59:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:59:42 go vet ./... 22:00:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:00:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:00:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:00:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:00:29 $ docker stop --time=1 e285b45cc1c1c5c1f2700053945e21dd40a4dee165331eeec8dc731534de8c09 22:00:31 $ docker rm -f --volumes e285b45cc1c1c5c1f2700053945e21dd40a4dee165331eeec8dc731534de8c09 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:33 Warning: overwriting stash ‘coverage-report’ 22:00:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:00:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:34 + ls -al . 22:00:34 total 240 22:00:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:56 . 22:00:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 21:53 .. 22:00:34 -rw-rw-r-- 1 jenkins jenkins 151 Feb 20 21:53 .dockerignore 22:00:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 21:53 .git 22:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:53 .github 22:00:34 -rw-rw-r-- 1 jenkins jenkins 264 Feb 20 21:53 .gitignore 22:00:34 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 21:53 .golangci.yml 22:00:34 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 20 21:53 Attribution.txt 22:00:34 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 20 21:53 CHANGELOG.md 22:00:34 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 20 21:53 Dockerfile 22:00:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 21:53 GOVERNANCE.md 22:00:34 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 21:53 Jenkinsfile 22:00:34 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 21:53 LICENSE 22:00:34 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 20 21:53 Makefile 22:00:34 -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 21:53 OWNERS.md 22:00:34 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 20 21:53 README.md 22:00:34 -rw-rw-r-- 1 jenkins jenkins 11 Feb 20 21:51 VERSION 22:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:53 bin 22:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:53 cmd 22:00:34 -rw-r--r-- 1 jenkins jenkins 14565 Feb 20 21:59 coverage.out 22:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 21:53 driver 22:00:34 -rw-rw-r-- 1 jenkins jenkins 6292 Feb 20 21:53 go.mod 22:00:34 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 20 21:53 go.sum 22:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 21:53 openapi 22:00:34 -rw-rw-r-- 1 jenkins jenkins 713 Feb 20 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:34 + 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=e0a5c5a73132d7079afb502fe425c62ff6deb797 --label arch=arm64 --label version=4.0.0-dev.9 . 22:00:34 Sending build context to Docker daemon 156.2kB 22:00:34 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:00:34 Step 2/26 : FROM ${BASE} AS builder 22:00:34 ---> ebca0e618b5d 22:00:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:00:34 ---> Running in 69abde4bb703 22:00:35 Removing intermediate container 69abde4bb703 22:00:35 ---> 5add913b7d86 22:00:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:35 ---> Running in addfe517dc39 22:00:35 Removing intermediate container addfe517dc39 22:00:35 ---> ecb81fd79d23 22:00:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:00:35 ---> Running in 5dcd51d5bb03 22:00:35 Removing intermediate container 5dcd51d5bb03 22:00:35 ---> c26243fa3500 22:00:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:00:35 ---> Running in eb56baf4ebad 22:00:36 Removing intermediate container eb56baf4ebad 22:00:36 ---> a78936377bb1 22:00:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:36 ---> Running in 94fcd911b971 22:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:00:39 OK: 244 MiB in 62 packages 22:00:39 Removing intermediate container 94fcd911b971 22:00:39 ---> 8606459d6ec7 22:00:39 Step 8/26 : WORKDIR /device-rest-go 22:00:39 ---> Running in c979ff2d35a5 22:00:40 Removing intermediate container c979ff2d35a5 22:00:40 ---> d49c5eae9b2c 22:00:40 Step 9/26 : COPY go.mod vendor* ./ 22:00:40 ---> 680413dd4acd 22:00:40 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:40 ---> Running in e9aa5092f3ed 22:00:42 Removing intermediate container e9aa5092f3ed 22:00:42 ---> c8160f5664f2 22:00:42 Step 11/26 : COPY . . 22:00:43 ---> 560844f9eced 22:00:43 Step 12/26 : RUN $MAKE 22:00:43 ---> Running in 15db511813c8 22:00:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:04:06 Removing intermediate container 15db511813c8 22:04:06 ---> dea9a2e2b088 22:04:06 Step 13/26 : FROM alpine:3.20 22:04:06 3.20: Pulling from library/alpine 22:04:06 94e9d8af2201: Pulling fs layer 22:04:06 94e9d8af2201: Verifying Checksum 22:04:06 94e9d8af2201: Download complete 22:04:06 94e9d8af2201: Pull complete 22:04:06 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 22:04:06 Status: Downloaded newer image for alpine:3.20 22:04:06 ---> 7aab056cecc6 22:04:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:04:06 ---> Running in 153511358bcd 22:04:06 Removing intermediate container 153511358bcd 22:04:06 ---> d8c1251e2aeb 22:04:06 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:04:06 ---> Running in acfea861e219 22:04:06 Removing intermediate container acfea861e219 22:04:06 ---> 92b1c9beca36 22:04:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:04:06 ---> Running in 3958504b70a6 22:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:04:06 (1/1) Installing dumb-init (1.2.5-r3) 22:04:06 Executing busybox-1.36.1-r29.trigger 22:04:06 OK: 9 MiB in 15 packages 22:04:06 Removing intermediate container 3958504b70a6 22:04:06 ---> 0206fd364964 22:04:06 Step 17/26 : RUN apk --no-cache upgrade 22:04:06 ---> Running in 12273b42cace 22:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:04:06 OK: 9 MiB in 15 packages 22:04:06 Removing intermediate container 12273b42cace 22:04:06 ---> 38f72b6bb42b 22:04:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:04:06 ---> 71ea72436f64 22:04:06 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:04:06 ---> 9f91099f2734 22:04:06 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:04:06 ---> 13cb6f4f5ec2 22:04:06 Step 21/26 : EXPOSE 59986 22:04:06 ---> Running in f8d89c8e34e4 22:04:06 Removing intermediate container f8d89c8e34e4 22:04:06 ---> a5e40badaf45 22:04:06 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:04:06 ---> Running in 3ad30b5e982f 22:04:06 Removing intermediate container 3ad30b5e982f 22:04:06 ---> dde753888a45 22:04:06 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 22:04:06 ---> Running in 2229e53e24d5 22:04:06 Removing intermediate container 2229e53e24d5 22:04:06 ---> 0f9bed6e9df6 22:04:06 Step 24/26 : LABEL arch=arm64 22:04:06 ---> Running in 7bd4616bd219 22:04:06 Removing intermediate container 7bd4616bd219 22:04:06 ---> 687e09bfb4ee 22:04:06 Step 25/26 : LABEL git_sha=e0a5c5a73132d7079afb502fe425c62ff6deb797 22:04:06 ---> Running in aeb8940ab748 22:04:06 Removing intermediate container aeb8940ab748 22:04:06 ---> d1025684c4a1 22:04:06 Step 26/26 : LABEL version=4.0.0-dev.9 22:04:06 ---> Running in f81b3ec5263c 22:04:06 Removing intermediate container f81b3ec5263c 22:04:06 ---> 20a2fc843054 22:04:06 [Warning] One or more build-args [ARCH] were not consumed 22:04:06 Successfully built 20a2fc843054 22:04:06 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 22:04:06 provisioning config files... 22:04:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/187@tmp/config8718223372967976482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:06 ---> ****-login.sh 22:04:06 nexus3.edgexfoundry.org:10001 22:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:06 Configure a credential helper to remove this warning. See 22:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:06 22:04:06 Login Succeeded 22:04:06 nexus3.edgexfoundry.org:10002 22:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:07 Configure a credential helper to remove this warning. See 22:04:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:07 22:04:07 Login Succeeded 22:04:07 nexus3.edgexfoundry.org:10003 22:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:07 Configure a credential helper to remove this warning. See 22:04:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:07 22:04:07 Login Succeeded 22:04:07 nexus3.edgexfoundry.org:10004 22:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:07 Configure a credential helper to remove this warning. See 22:04:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:07 22:04:07 Login Succeeded 22:04:07 ****.io 22:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:08 Configure a credential helper to remove this warning. See 22:04:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:08 22:04:08 Login Succeeded 22:04:08 ---> ****-login.sh ends [Pipeline] } 22:04:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:04:08 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:04:08 e0a5c5a73132d7079afb502fe425c62ff6deb797 22:04:08 latest 22:04:08 4.0.0-dev.9 22:04:08 e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 22:04:08 main 22:04:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797 22:04:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:04:09 9085c9f4bc5b: Preparing 22:04:09 bb96e73bd7c8: Preparing 22:04:09 c847bed29e89: Preparing 22:04:09 76791b7abcd7: Preparing 22:04:09 0c5472935ce6: Preparing 22:04:09 dd9c8f8612c8: Preparing 22:04:09 dd9c8f8612c8: Waiting 22:04:09 0c5472935ce6: Pushed 22:04:09 bb96e73bd7c8: Pushed 22:04:09 9085c9f4bc5b: Pushed 22:04:09 76791b7abcd7: Pushed 22:04:09 dd9c8f8612c8: Layer already exists 22:04:17 c847bed29e89: Pushed 22:04:17 e0a5c5a73132d7079afb502fe425c62ff6deb797: digest: sha256:599fd8bd12d6bec294bc2f1d3fa6e48de18e98578a24bd5073a27c05b1e9dc8d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:04:18 9085c9f4bc5b: Preparing 22:04:18 bb96e73bd7c8: Preparing 22:04:18 c847bed29e89: Preparing 22:04:18 76791b7abcd7: Preparing 22:04:18 0c5472935ce6: Preparing 22:04:18 dd9c8f8612c8: Preparing 22:04:18 dd9c8f8612c8: Waiting 22:04:18 76791b7abcd7: Layer already exists 22:04:18 0c5472935ce6: Layer already exists 22:04:18 c847bed29e89: Layer already exists 22:04:18 9085c9f4bc5b: Layer already exists 22:04:18 bb96e73bd7c8: Layer already exists 22:04:18 dd9c8f8612c8: Layer already exists 22:04:18 latest: digest: sha256:599fd8bd12d6bec294bc2f1d3fa6e48de18e98578a24bd5073a27c05b1e9dc8d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.9 22:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:04:19 9085c9f4bc5b: Preparing 22:04:19 bb96e73bd7c8: Preparing 22:04:19 c847bed29e89: Preparing 22:04:19 76791b7abcd7: Preparing 22:04:19 0c5472935ce6: Preparing 22:04:19 dd9c8f8612c8: Preparing 22:04:19 dd9c8f8612c8: Waiting 22:04:19 c847bed29e89: Layer already exists 22:04:19 0c5472935ce6: Layer already exists 22:04:19 9085c9f4bc5b: Layer already exists 22:04:19 76791b7abcd7: Layer already exists 22:04:19 bb96e73bd7c8: Layer already exists 22:04:19 dd9c8f8612c8: Layer already exists 22:04:19 4.0.0-dev.9: digest: sha256:599fd8bd12d6bec294bc2f1d3fa6e48de18e98578a24bd5073a27c05b1e9dc8d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 22:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:04:20 9085c9f4bc5b: Preparing 22:04:20 bb96e73bd7c8: Preparing 22:04:20 c847bed29e89: Preparing 22:04:20 76791b7abcd7: Preparing 22:04:20 0c5472935ce6: Preparing 22:04:20 dd9c8f8612c8: Preparing 22:04:20 dd9c8f8612c8: Waiting 22:04:20 9085c9f4bc5b: Layer already exists 22:04:20 76791b7abcd7: Layer already exists 22:04:20 c847bed29e89: Layer already exists 22:04:20 bb96e73bd7c8: Layer already exists 22:04:20 0c5472935ce6: Layer already exists 22:04:20 dd9c8f8612c8: Layer already exists 22:04:20 e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9: digest: sha256:599fd8bd12d6bec294bc2f1d3fa6e48de18e98578a24bd5073a27c05b1e9dc8d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:04:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:04:21 9085c9f4bc5b: Preparing 22:04:21 bb96e73bd7c8: Preparing 22:04:21 c847bed29e89: Preparing 22:04:21 76791b7abcd7: Preparing 22:04:21 0c5472935ce6: Preparing 22:04:21 dd9c8f8612c8: Preparing 22:04:21 dd9c8f8612c8: Waiting 22:04:21 0c5472935ce6: Layer already exists 22:04:21 9085c9f4bc5b: Layer already exists 22:04:21 bb96e73bd7c8: Layer already exists 22:04:21 c847bed29e89: Layer already exists 22:04:21 76791b7abcd7: Layer already exists 22:04:21 dd9c8f8612c8: Layer already exists 22:04:21 main: digest: sha256:599fd8bd12d6bec294bc2f1d3fa6e48de18e98578a24bd5073a27c05b1e9dc8d size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:04:21 ===================================================== [Pipeline] echo 22:04:21 taggedImages: 22:04:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797 22:04:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:04:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.9 22:04:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:e0a5c5a73132d7079afb502fe425c62ff6deb797-4.0.0-dev.9 22:04:21 - 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 22:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:22 22:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:22 arm64: Pulling from edgex-lftools-log-publisher 22:04:22 8998bd30e6a1: Pulling fs layer 22:04:22 04944245beec: Pulling fs layer 22:04:22 699f458cf7ca: Pulling fs layer 22:04:22 765212b225bb: Pulling fs layer 22:04:22 f23df028b6ca: Pulling fs layer 22:04:22 d65c8cfc05b1: Pulling fs layer 22:04:22 2437ff75d9bd: Pulling fs layer 22:04:22 765212b225bb: Waiting 22:04:22 f23df028b6ca: Waiting 22:04:22 d65c8cfc05b1: Waiting 22:04:22 2437ff75d9bd: Waiting 22:04:22 04944245beec: Verifying Checksum 22:04:22 04944245beec: Download complete 22:04:22 765212b225bb: Verifying Checksum 22:04:22 765212b225bb: Download complete 22:04:22 f23df028b6ca: Verifying Checksum 22:04:22 f23df028b6ca: Download complete 22:04:22 d65c8cfc05b1: Verifying Checksum 22:04:22 d65c8cfc05b1: Download complete 22:04:23 699f458cf7ca: Verifying Checksum 22:04:23 699f458cf7ca: Download complete 22:04:23 8998bd30e6a1: Verifying Checksum 22:04:23 8998bd30e6a1: Download complete 22:04:25 2437ff75d9bd: Verifying Checksum 22:04:25 2437ff75d9bd: Download complete 22:04:27 8998bd30e6a1: Pull complete 22:04:28 04944245beec: Pull complete 22:04:30 699f458cf7ca: Pull complete 22:04:30 765212b225bb: Pull complete 22:04:30 f23df028b6ca: Pull complete 22:04:31 d65c8cfc05b1: Pull complete 22:04:49 2437ff75d9bd: Pull complete 22:04:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:49 prd-ubuntu20.04-docker-arm64-4c-16g-39358 does not seem to be running inside a container 22:04:49 $ 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/187 -v /w/workspace/device-rest-go/187:/w/workspace/device-rest-go/187:rw,z -v /w/workspace/device-rest-go/187@tmp:/w/workspace/device-rest-go/187@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:arm64 cat 22:04:52 $ docker top 3bce7f1a4075efbe4d9867935ddf82eb44e351dd4df0defbc1937ee59ef0eaa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:52 ---> job-cost.sh 22:04:52 lf-activate-venv: SKIPPING 22:04:52 INFO: No Stack... 22:04:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:04:54 INFO: Archiving Costs [Pipeline] sh 22:04:54 + + cat /w/workspace/device-rest-go/187/archives/cost.csv 22:04:54 cut -d, -f6 [Pipeline] lock 22:04:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] 22:04:54 Resource [jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] did not exist. Created. 22:04:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:55 /w/workspace/device-rest-go/187@tmp/durable-914962fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:04:55 + echo total: 0.10999999940395355 [Pipeline] stash 22:04:55 Warning: overwriting stash ‘stack-cost’ 22:04:55 Stashed 1 file(s) [Pipeline] } 22:04:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-187-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:55 $ docker stop --time=1 3bce7f1a4075efbe4d9867935ddf82eb44e351dd4df0defbc1937ee59ef0eaa4 22:04:57 $ docker rm -f --volumes 3bce7f1a4075efbe4d9867935ddf82eb44e351dd4df0defbc1937ee59ef0eaa4 [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 22:04:57 provisioning config files... 22:04:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10182480554300926450tmp [Pipeline] { [Pipeline] sh 22:04:58 + set +x 22:04:58 + bash -s -- 22:04:58 + curl -s https://codecov.io/bash 22:04:58 22:04:58 _____ _ 22:04:58 / ____| | | 22:04:58 | | ___ __| | ___ ___ _____ __ 22:04:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:04:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:04:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:04:58 Bash-1.0.6 22:04:58 22:04:58 22:04:58 ==> git version 2.25.1 found 22:04:58 ==> 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 22:04:58 Release-Date: 2020-01-08 22:04:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:04:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:04:58 ==> Jenkins CI detected. 22:04:58 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:04:58 project root: . 22:04:58 --> token set from env 22:04:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:04:58 ==> Running gcov in . (disable via -X gcov) 22:04:58 ==> Python coveragepy not found 22:04:58 ==> Searching for coverage reports in: 22:04:58 + . 22:04:58 -> Found 1 reports 22:04:58 ==> Detecting git/mercurial file structure 22:04:58 ==> Reading reports 22:04:58 + ./coverage.out bytes=14565 22:04:58 ==> Appending adjustments 22:04:58 https://docs.codecov.io/docs/fixing-reports 22:04:58 + Found adjustments 22:04:58 ==> Gzipping contents 22:04:58 4.0K /tmp/codecov.4Ds0n8.gz 22:04:58 ==> Uploading reports 22:04:58 url: https://codecov.io 22:04:58 query: branch=main&commit=e0a5c5a73132d7079afb502fe425c62ff6deb797&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:58 -> Pinging Codecov 22:04:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e0a5c5a73132d7079afb502fe425c62ff6deb797&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F187%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:58 -> Uploading to 22:04:58 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/e0a5c5a73132d7079afb502fe425c62ff6deb797/c79475e8-28bd-4a21-9e1d-47a115e890db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250220%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250220T220458Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=3139bf4aadd4eb881c4e410783c8b540c8a282e5d0da3301981da19008eec5fc 22:04:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:58 Dload Upload Total Spent Left Speed 22:04:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14727 --:--:-- --:--:-- --:--:-- 14727 22:04:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] } 22:04:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:04:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:04:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:04:59 22:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:04:59 latest: Pulling from edgex-devops/edgex-snyk-go 22:04:59 43c4264eed91: Pulling fs layer 22:04:59 4cc291be95ef: Pulling fs layer 22:04:59 2ac1f1163629: Pulling fs layer 22:04:59 5c3c966382ef: Pulling fs layer 22:04:59 4f4fb700ef54: Pulling fs layer 22:04:59 d9c7d2e4e75e: Pulling fs layer 22:04:59 9c3e1370e548: Pulling fs layer 22:04:59 5c3c966382ef: Waiting 22:04:59 4f4fb700ef54: Waiting 22:04:59 d9c7d2e4e75e: Waiting 22:04:59 9c3e1370e548: Waiting 22:04:59 4cc291be95ef: Download complete 22:04:59 5c3c966382ef: Verifying Checksum 22:04:59 5c3c966382ef: Download complete 22:04:59 4f4fb700ef54: Download complete 22:04:59 43c4264eed91: Download complete 22:04:59 43c4264eed91: Pull complete 22:04:59 d9c7d2e4e75e: Verifying Checksum 22:04:59 d9c7d2e4e75e: Download complete 22:04:59 4cc291be95ef: Pull complete 22:05:00 2ac1f1163629: Verifying Checksum 22:05:00 2ac1f1163629: Download complete 22:05:00 9c3e1370e548: Verifying Checksum 22:05:00 9c3e1370e548: Download complete 22:05:03 2ac1f1163629: Pull complete 22:05:03 5c3c966382ef: Pull complete 22:05:03 4f4fb700ef54: Pull complete 22:05:03 d9c7d2e4e75e: Pull complete 22:05:06 9c3e1370e548: Pull complete 22:05:06 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 22:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:05:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:06 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 22:05:09 $ docker top b8d905e0224baf2f20d671e5ecdcec55e6206928f4d9ea0f792e4bad72b333ac -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 22:05:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:05:10 + set -o pipefail 22:05:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:05:16 22:05:16 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:05:16 22:05:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/707a3bfe-fdd0-435d-8d7b-0f8df32dca94 22:05:16 22:05:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:05:16 22:05:17 22:05:17 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 22:05:17 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:05:17 $ docker stop --time=1 b8d905e0224baf2f20d671e5ecdcec55e6206928f4d9ea0f792e4bad72b333ac 22:05:19 $ docker rm -f --volumes b8d905e0224baf2f20d671e5ecdcec55e6206928f4d9ea0f792e4bad72b333ac [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 22:05:20 + git log --format=format:%s -1 e0a5c5a73132d7079afb502fe425c62ff6deb797 [Pipeline] sh 22:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:21 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:21 $ docker top dcd029c2682df94d521c191debe936bc465530ef723f180db092b6c505b43195 -eo pid,comm 22:05:21 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). 22:05:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:21 [ssh-agent] Looking for ssh-agent implementation... 22:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:21 $ docker exec dcd029c2682df94d521c191debe936bc465530ef723f180db092b6c505b43195 ssh-agent 22:05:21 SSH_AUTH_SOCK=/tmp/ssh-ivBBUC5ZFzGN/agent.31 22:05:21 SSH_AGENT_PID=37 22:05:21 Running ssh-add (command line suppressed) 22:05:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4180849023796707256.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4180849023796707256.key) 22:05:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:22 + git semver tag 22:05:22 2025-02-20 22:05:22,524 [run_tag] DEBUG tag force:False 22:05:22 2025-02-20 22:05:22,524 [check_head_tag] DEBUG check head tag 22:05:22 2025-02-20 22:05:22,526 [execute] INFO git cat-file --batch-check 22:05:22 2025-02-20 22:05:22,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:05:22 2025-02-20 22:05:22,529 [execute] INFO git cat-file --batch 22:05:22 2025-02-20 22:05:22,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:05:22 2025-02-20 22:05:22,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:22 2025-02-20 22:05:22,554 [execute] INFO git tag -a v4.0.0-dev.9 -m v4.0.0-dev.9 22:05:22 2025-02-20 22:05:22,554 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.9', '-m', 'v4.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:05:22 2025-02-20 22:05:22,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:22 4.0.0-dev.9 [Pipeline] } 22:05:22 $ docker exec --env ******** --env ******** dcd029c2682df94d521c191debe936bc465530ef723f180db092b6c505b43195 ssh-agent -k 22:05:22 unset SSH_AUTH_SOCK; 22:05:22 unset SSH_AGENT_PID; 22:05:22 echo Agent pid 37 killed; 22:05:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:23 + git semver [Pipeline] } 22:05:23 $ docker stop --time=1 dcd029c2682df94d521c191debe936bc465530ef723f180db092b6c505b43195 22:05:24 $ docker rm -f --volumes dcd029c2682df94d521c191debe936bc465530ef723f180db092b6c505b43195 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:25 22:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:25 0.23.1-centos7: Pulling from edgex-lftools 22:05:25 ab5ef0e58194: Pulling fs layer 22:05:25 9712f1f96733: Pulling fs layer 22:05:25 63f879dbbcfc: Pulling fs layer 22:05:25 0d9ebad4ef96: Pulling fs layer 22:05:25 e9a5061849ea: Pulling fs layer 22:05:25 d747dcd14b5f: Pulling fs layer 22:05:25 2de7ff778b66: Pulling fs layer 22:05:25 0d9ebad4ef96: Waiting 22:05:25 e9a5061849ea: Waiting 22:05:25 d747dcd14b5f: Waiting 22:05:25 9712f1f96733: Verifying Checksum 22:05:25 9712f1f96733: Download complete 22:05:25 63f879dbbcfc: Verifying Checksum 22:05:25 63f879dbbcfc: Download complete 22:05:25 e9a5061849ea: Verifying Checksum 22:05:25 e9a5061849ea: Download complete 22:05:25 d747dcd14b5f: Verifying Checksum 22:05:25 d747dcd14b5f: Download complete 22:05:25 0d9ebad4ef96: Verifying Checksum 22:05:25 0d9ebad4ef96: Download complete 22:05:25 ab5ef0e58194: Download complete 22:05:25 2de7ff778b66: Verifying Checksum 22:05:25 2de7ff778b66: Download complete 22:05:28 ab5ef0e58194: Pull complete 22:05:28 9712f1f96733: Pull complete 22:05:29 63f879dbbcfc: Pull complete 22:05:32 0d9ebad4ef96: Pull complete 22:05:32 e9a5061849ea: Pull complete 22:05:32 d747dcd14b5f: Pull complete 22:05:33 2de7ff778b66: Pull complete 22:05:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:33 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:05:36 $ docker top f97ecab3e13afc71bc27b5180ad7a730804671ca5b77dbe65d6889188500ef3d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:05:36 provisioning config files... 22:05:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6043598269164447990tmp 22:05:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config283366830463047081tmp 22:05:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2710253418655081516tmp [Pipeline] { [Pipeline] echo 22:05:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:05:36 ---> sigul-configuration.sh 22:05:36 gpg: directory `/root/.gnupg' created 22:05:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:05:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:05:36 gpg: keyring `/root/.gnupg/secring.gpg' created 22:05:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:05:36 gpg: CAST5 encrypted data 22:05:36 gpg: encrypted with 1 passphrase 22:05:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:05:36 + mkdir /home/jenkins 22:05:36 + mkdir /home/jenkins/sigul [Pipeline] sh 22:05:37 + 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 22:05:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:05:37 ---> sigul-install.sh 22:05:37 Sigul already installed; skipping installation. [Pipeline] sh 22:05:37 + git tag --list 22:05:37 v1.0.0 22:05:37 v1.1.0 22:05:37 v1.1.1 22:05:37 v1.1.2 22:05:37 v1.2.0 22:05:37 v1.2.1 22:05:37 v2.0.0 22:05:37 v2.1.0 22:05:37 v2.1.1 22:05:37 v2.2.0 22:05:37 v2.3.0 22:05:37 v3.0 22:05:37 v3.0.0 22:05:37 v3.1 22:05:37 v3.1.0 22:05:37 v3.1.0-dev.1 22:05:37 v3.1.0-dev.10 22:05:37 v3.1.0-dev.11 22:05:37 v3.1.0-dev.12 22:05:37 v3.1.0-dev.13 22:05:37 v3.1.0-dev.14 22:05:37 v3.1.0-dev.15 22:05:37 v3.1.0-dev.16 22:05:37 v3.1.0-dev.17 22:05:37 v3.1.0-dev.18 22:05:37 v3.1.0-dev.19 22:05:37 v3.1.0-dev.2 22:05:37 v3.1.0-dev.20 22:05:37 v3.1.0-dev.21 22:05:37 v3.1.0-dev.22 22:05:37 v3.1.0-dev.23 22:05:37 v3.1.0-dev.24 22:05:37 v3.1.0-dev.25 22:05:37 v3.1.0-dev.26 22:05:37 v3.1.0-dev.27 22:05:37 v3.1.0-dev.28 22:05:37 v3.1.0-dev.29 22:05:37 v3.1.0-dev.3 22:05:37 v3.1.0-dev.30 22:05:37 v3.1.0-dev.31 22:05:37 v3.1.0-dev.32 22:05:37 v3.1.0-dev.4 22:05:37 v3.1.0-dev.5 22:05:37 v3.1.0-dev.6 22:05:37 v3.1.0-dev.7 22:05:37 v3.1.0-dev.8 22:05:37 v3.1.0-dev.9 22:05:37 v3.1.1 22:05:37 v3.2.0-dev.1 22:05:37 v3.2.0-dev.10 22:05:37 v3.2.0-dev.11 22:05:37 v3.2.0-dev.12 22:05:37 v3.2.0-dev.13 22:05:37 v3.2.0-dev.14 22:05:37 v3.2.0-dev.15 22:05:37 v3.2.0-dev.16 22:05:37 v3.2.0-dev.17 22:05:37 v3.2.0-dev.18 22:05:37 v3.2.0-dev.19 22:05:37 v3.2.0-dev.2 22:05:37 v3.2.0-dev.20 22:05:37 v3.2.0-dev.21 22:05:37 v3.2.0-dev.22 22:05:37 v3.2.0-dev.23 22:05:37 v3.2.0-dev.24 22:05:37 v3.2.0-dev.25 22:05:37 v3.2.0-dev.3 22:05:37 v3.2.0-dev.4 22:05:37 v3.2.0-dev.5 22:05:37 v3.2.0-dev.6 22:05:37 v3.2.0-dev.7 22:05:37 v3.2.0-dev.8 22:05:37 v3.2.0-dev.9 22:05:37 v4.0.0-dev.1 22:05:37 v4.0.0-dev.2 22:05:37 v4.0.0-dev.3 22:05:37 v4.0.0-dev.4 22:05:37 v4.0.0-dev.5 22:05:37 v4.0.0-dev.6 22:05:37 v4.0.0-dev.7 22:05:37 v4.0.0-dev.8 22:05:37 v4.0.0-dev.9 [Pipeline] sh 22:05:37 + lftools sign git-tag v4.0.0-dev.9 22:05:38 Signing Git tag with Sigul... 22:05:38 Signing v4.0.0-dev.9 [Pipeline] echo 22:05:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:05:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:05:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:05:39 $ docker stop --time=1 f97ecab3e13afc71bc27b5180ad7a730804671ca5b77dbe65d6889188500ef3d 22:05:40 $ docker rm -f --volumes f97ecab3e13afc71bc27b5180ad7a730804671ca5b77dbe65d6889188500ef3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:05:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:41 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:41 $ docker top 2d776246c3a5cf60e8ee7ac70a27a753b7c9d84f7f8f914eccde664d9692fb8d -eo pid,comm 22:05:41 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). 22:05:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:41 [ssh-agent] Looking for ssh-agent implementation... 22:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:41 $ docker exec 2d776246c3a5cf60e8ee7ac70a27a753b7c9d84f7f8f914eccde664d9692fb8d ssh-agent 22:05:41 SSH_AUTH_SOCK=/tmp/ssh-5DC5fKcNbQYC/agent.33 22:05:41 SSH_AGENT_PID=39 22:05:41 Running ssh-add (command line suppressed) 22:05:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5329640712621514352.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5329640712621514352.key) 22:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:42 + git semver bump pre 22:05:42 2025-02-20 22:05:42,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:42 2025-02-20 22:05:42,530 [bump_version] DEBUG bumping version:4.0.0-dev.9 on axis:pre with prefix:dev 22:05:42 2025-02-20 22:05:42,530 [bump_version] DEBUG bumped version:4.0.0-dev.10 22:05:42 2025-02-20 22:05:42,530 [write_version] DEBUG write version:4.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:05:42 2025-02-20 22:05:42,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:42 2025-02-20 22:05:42,530 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:42 2025-02-20 22:05:42,532 [execute] INFO git cat-file --batch-check 22:05:42 2025-02-20 22:05:42,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:42 2025-02-20 22:05:42,537 [execute] INFO git cat-file --batch 22:05:42 2025-02-20 22:05:42,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:42 2025-02-20 22:05:42,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:42 4.0.0-dev.10 [Pipeline] } 22:05:42 $ docker exec --env ******** --env ******** 2d776246c3a5cf60e8ee7ac70a27a753b7c9d84f7f8f914eccde664d9692fb8d ssh-agent -k 22:05:42 unset SSH_AUTH_SOCK; 22:05:42 unset SSH_AGENT_PID; 22:05:42 echo Agent pid 39 killed; 22:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:43 + git semver [Pipeline] } 22:05:43 $ docker stop --time=1 2d776246c3a5cf60e8ee7ac70a27a753b7c9d84f7f8f914eccde664d9692fb8d 22:05:44 $ docker rm -f --volumes 2d776246c3a5cf60e8ee7ac70a27a753b7c9d84f7f8f914eccde664d9692fb8d [Pipeline] // withDockerContainer [Pipeline] sh 22:05:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:45 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:45 $ docker top 752c99bf82c5e1304d9aedce958a4ff410f13ce792cb4c1bcc737161df77a1ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:45 [ssh-agent] Looking for ssh-agent implementation... 22:05:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:45 $ docker exec 752c99bf82c5e1304d9aedce958a4ff410f13ce792cb4c1bcc737161df77a1ad ssh-agent 22:05:46 SSH_AUTH_SOCK=/tmp/ssh-kC8YaPbI3Oha/agent.31 22:05:46 SSH_AGENT_PID=37 22:05:46 Running ssh-add (command line suppressed) 22:05:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1550272515900425510.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1550272515900425510.key) 22:05:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:46 + git semver push 22:05:46 2025-02-20 22:05:46,618 [run_push] DEBUG push 22:05:46 2025-02-20 22:05:46,619 [execute] INFO git cat-file --batch-check 22:05:46 2025-02-20 22:05:46,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:46 2025-02-20 22:05:46,622 [execute] INFO git rev-list a530a58f78f37c0b92ad84a3b6bba27adf34e48a -- 22:05:46 2025-02-20 22:05:46,622 [execute] DEBUG Popen(['git', 'rev-list', 'a530a58f78f37c0b92ad84a3b6bba27adf34e48a', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:46 2025-02-20 22:05:46,632 [execute] INFO git fetch -v origin 22:05:46 2025-02-20 22:05:46,632 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:05:47 2025-02-20 22:05:47,090 [run_push] DEBUG no remote changes detected 22:05:47 2025-02-20 22:05:47,090 [execute] INFO git push origin semver 22:05:47 2025-02-20 22:05:47,091 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:47 2025-02-20 22:05:47,757 [run_push] DEBUG push all version tags 22:05:47 2025-02-20 22:05:47,757 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:05:47 2025-02-20 22:05:47,757 [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) 22:05:48 2025-02-20 22:05:48,358 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:05:48 4.0.0-dev.10 [Pipeline] } 22:05:48 $ docker exec --env ******** --env ******** 752c99bf82c5e1304d9aedce958a4ff410f13ce792cb4c1bcc737161df77a1ad ssh-agent -k 22:05:48 unset SSH_AUTH_SOCK; 22:05:48 unset SSH_AGENT_PID; 22:05:48 echo Agent pid 37 killed; 22:05:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:48 + git semver [Pipeline] } 22:05:49 $ docker stop --time=1 752c99bf82c5e1304d9aedce958a4ff410f13ce792cb4c1bcc737161df77a1ad 22:05:50 $ docker rm -f --volumes 752c99bf82c5e1304d9aedce958a4ff410f13ce792cb4c1bcc737161df77a1ad [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 22:05:51 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:05:51 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:05:51 total 16 22:05:51 drwxr-xr-x 3 root root 4096 Feb 20 21:53 . 22:05:51 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 22:05 .. 22:05:51 drwxr-xr-x 2 root root 4096 Feb 20 21:53 cost 22:05:51 -rw-r--r-- 1 root root 86 Feb 20 21:53 cost.csv 22:05:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:05:51 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:05:51 total 16 22:05:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 21:53 . 22:05:51 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 22:05 .. 22:05:51 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 21:53 cost 22:05:51 -rw-r--r-- 1 jenkins jenkins 86 Feb 20 21:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:05:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:05:52 ---> package-listing.sh 22:05:52 ++ facter osfamily 22:05:52 ++ tr '[:upper:]' '[:lower:]' 22:05:52 + OS_FAMILY=debian 22:05:52 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:05:52 + START_PACKAGES=/tmp/packages_start.txt 22:05:52 + END_PACKAGES=/tmp/packages_end.txt 22:05:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:05:52 + PACKAGES=/tmp/packages_start.txt 22:05:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:05:52 + PACKAGES=/tmp/packages_end.txt 22:05:52 + case "${OS_FAMILY}" in 22:05:52 + dpkg -l 22:05:52 + grep '^ii' 22:05:52 + '[' -f /tmp/packages_start.txt ']' 22:05:52 + '[' -f /tmp/packages_end.txt ']' 22:05:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:05:52 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:05:52 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:05:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:05:52 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 22:05:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:53 prd-ubuntu20.04-docker-8c-8g-39357 does not seem to be running inside a container 22:05:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:05:53 $ docker top a5de313a311443be9182242523a604668cd284af3fb6f5ba6efe2c5ee6b544d4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:53 + touch /tmp/pre-build-complete [Pipeline] sh 22:05:54 + mkdir -p /var/log/sysstat [Pipeline] sh 22:05:54 + ls /var/log/sa-host 22:05:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:54 provisioning config files... 22:05:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11578568373273344369tmp [Pipeline] { [Pipeline] echo 22:05:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:05:54 ---> create-netrc.sh [Pipeline] } 22:05:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:05:55 ---> python-tools-install.sh [Pipeline] echo 22:05:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:05:55 ---> sudo-logs.sh 22:05:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:05:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:05:55 ---> job-cost.sh 22:05:55 lf-activate-venv: SKIPPING 22:05:55 DEBUG: total: 0.2199999988079071 22:05:55 INFO: Retrieving Stack Cost... 22:05:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:05:56 INFO: Archiving Costs [Pipeline] echo 22:05:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:05:57 ---> logs-deploy.sh 22:05:57 lf-activate-venv: SKIPPING 22:05:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/187 22:05:57 INFO: archiving workspace using pattern(s): 22:05:58 Archives upload complete. 22:05:58 INFO: archiving logs to Nexus