Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c8762db10e0facc8234d5cdc2b4007155e2b406 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-ssh4256873504661112411.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-ssh7835850062809303532.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-ssh6471635519435875714.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-ssh1978618897764181194.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-ssh658388940457440130.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-39157 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4c8762db10e0facc8234d5cdc2b4007155e2b406 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c8762db10e0facc8234d5cdc2b4007155e2b406 # timeout=10 Commit message: "Merge pull request #449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24" > git rev-list --no-walk 4c8762db10e0facc8234d5cdc2b4007155e2b406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:32 ========================================================= 06:33:32 EdgeX Global Pipelines Version Info 06:33:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:33 ------------------- 06:33:33 stable info: 06:33:33 ------------------- 06:33:33 Commited By: Cherry Wang cherry@iotechsys.com 06:33:33 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:33:33 Message: update stable to v1.0.269 06:33:34 ------------------- 06:33:34 experimental info: 06:33:34 ------------------- 06:33:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:33:34 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:33:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:33:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:33:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] echo 06:33:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c8762d [Pipeline] echo 06:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:35 provisioning config files... 06:33:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3572231651696416292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:35 ---> ****-login.sh 06:33:35 nexus3.edgexfoundry.org:10001 06:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:35 Configure a credential helper to remove this warning. See 06:33:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:35 06:33:35 Login Succeeded 06:33:35 nexus3.edgexfoundry.org:10002 06:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:36 Configure a credential helper to remove this warning. See 06:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:36 06:33:36 Login Succeeded 06:33:36 nexus3.edgexfoundry.org:10003 06:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:36 Configure a credential helper to remove this warning. See 06:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:36 06:33:36 Login Succeeded 06:33:36 nexus3.edgexfoundry.org:10004 06:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:36 Configure a credential helper to remove this warning. See 06:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:36 06:33:36 Login Succeeded 06:33:36 ****.io 06:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:36 Configure a credential helper to remove this warning. See 06:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:36 06:33:36 Login Succeeded 06:33:36 ---> ****-login.sh ends [Pipeline] } 06:33:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:33:36 + git rev-list -1 --merges 4c8762db10e0facc8234d5cdc2b4007155e2b406~1..4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] echo 06:33:37 -----------> git rev-list -1 --merges 4c8762db10e0facc8234d5cdc2b4007155e2b406~1..4c8762db10e0facc8234d5cdc2b4007155e2b406 4c8762db10e0facc8234d5cdc2b4007155e2b406 06:33:37 4c8762db10e0facc8234d5cdc2b4007155e2b406 [false] [Pipeline] sh 06:33:37 + git log --format=format:%s -1 4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] echo 06:33:37 ========================================================= 06:33:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:33:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:37 + git log --format=format:%s -1 4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] echo 06:33:37 [semverPrep] GIT_COMMIT: 4c8762db10e0facc8234d5cdc2b4007155e2b406, Commit Message: Merge pull request #449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24 [Pipeline] echo 06:33:37 [semverPrep] This is not a build commit. [Pipeline] sh 06:33:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:38 + grep -v github /etc/ssh/ssh_known_hosts 06:33:38 + [ -e /tmp/ssh_known_hosts ] 06:33:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:33:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:33:38 + sudo tee -a /etc/ssh/ssh_known_hosts 06:33:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:38 06:33:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:38 0.1.4: Pulling from edgex-devops/py-git-semver 06:33:38 b85a868b505f: Pulling fs layer 06:33:38 e2be974225ed: Pulling fs layer 06:33:38 339a4e72a1f5: Pulling fs layer 06:33:38 988bab9f4d93: Pulling fs layer 06:33:38 1469e6f7b9e6: Pulling fs layer 06:33:38 eaf3925da568: Pulling fs layer 06:33:38 bab4dde63d76: Pulling fs layer 06:33:38 bde34c3a00c8: Pulling fs layer 06:33:38 b352a97aabf1: Pulling fs layer 06:33:38 4872d77fe225: Pulling fs layer 06:33:38 5851b861e8e6: Pulling fs layer 06:33:38 eaf3925da568: Waiting 06:33:38 bab4dde63d76: Waiting 06:33:38 4872d77fe225: Waiting 06:33:38 5851b861e8e6: Waiting 06:33:38 1469e6f7b9e6: Waiting 06:33:38 988bab9f4d93: Waiting 06:33:38 bde34c3a00c8: Waiting 06:33:38 b352a97aabf1: Waiting 06:33:38 e2be974225ed: Verifying Checksum 06:33:38 e2be974225ed: Download complete 06:33:38 988bab9f4d93: Download complete 06:33:38 1469e6f7b9e6: Download complete 06:33:38 eaf3925da568: Verifying Checksum 06:33:38 eaf3925da568: Download complete 06:33:38 339a4e72a1f5: Verifying Checksum 06:33:38 339a4e72a1f5: Download complete 06:33:39 bde34c3a00c8: Verifying Checksum 06:33:39 bde34c3a00c8: Download complete 06:33:39 b352a97aabf1: Download complete 06:33:39 4872d77fe225: Verifying Checksum 06:33:39 4872d77fe225: Download complete 06:33:39 5851b861e8e6: Download complete 06:33:39 b85a868b505f: Verifying Checksum 06:33:39 b85a868b505f: Download complete 06:33:39 bab4dde63d76: Verifying Checksum 06:33:39 bab4dde63d76: Download complete 06:33:40 b85a868b505f: Pull complete 06:33:40 e2be974225ed: Pull complete 06:33:40 339a4e72a1f5: Pull complete 06:33:40 988bab9f4d93: Pull complete 06:33:41 1469e6f7b9e6: Pull complete 06:33:41 eaf3925da568: Pull complete 06:33:43 bab4dde63d76: Pull complete 06:33:43 bde34c3a00c8: Pull complete 06:33:43 b352a97aabf1: Pull complete 06:33:43 4872d77fe225: Pull complete 06:33:43 5851b861e8e6: Pull complete 06:33:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:33:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:43 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:33:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:33:44 $ docker top 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 -eo pid,comm 06:33:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:33:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:44 [ssh-agent] Looking for ssh-agent implementation... 06:33:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:45 $ docker exec 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 ssh-agent 06:33:45 SSH_AUTH_SOCK=/tmp/ssh-ZEDYdvdNirFC/agent.32 06:33:45 SSH_AGENT_PID=38 06:33:45 Running ssh-add (command line suppressed) 06:33:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_433591817088460470.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_433591817088460470.key) 06:33:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:45 + git tag --points-at HEAD [Pipeline] } 06:33:45 $ docker exec --env ******** --env ******** 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 ssh-agent -k 06:33:45 unset SSH_AUTH_SOCK; 06:33:45 unset SSH_AGENT_PID; 06:33:45 echo Agent pid 38 killed; 06:33:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:33:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:45 [ssh-agent] Looking for ssh-agent implementation... 06:33:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:45 $ docker exec 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 ssh-agent 06:33:46 SSH_AUTH_SOCK=/tmp/ssh-cCtzDxd1rUnP/agent.71 06:33:46 SSH_AGENT_PID=77 06:33:46 Running ssh-add (command line suppressed) 06:33:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8148168285373509261.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8148168285373509261.key) 06:33:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:46 + git semver init 06:33:46 2025-02-18 06:33:46,656 [run_init] DEBUG init version:0.0.0 force:False 06:33:46 2025-02-18 06:33:46,657 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 06:33:46 2025-02-18 06:33:46,658 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:33:46 2025-02-18 06:33:46,658 [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) 06:33:48 2025-02-18 06:33:47,846 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 06:33:48 2025-02-18 06:33:47,847 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 06:33:48 2025-02-18 06:33:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:33:48 2025-02-18 06:33:47,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:33:48 4.0.0-dev.8 [Pipeline] } 06:33:48 $ docker exec --env ******** --env ******** 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 ssh-agent -k 06:33:48 unset SSH_AUTH_SOCK; 06:33:48 unset SSH_AGENT_PID; 06:33:48 echo Agent pid 77 killed; 06:33:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:48 + git semver [Pipeline] } 06:33:48 $ docker stop --time=1 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 06:33:50 $ docker rm -f --volumes 48fc8ba2bb576fbbc2e66296e865d45c369a58523beeb9ad01836be16e3fb268 [Pipeline] // withDockerContainer [Pipeline] sh 06:33:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:33:50 Stashed 1 file(s) [Pipeline] echo 06:33:50 [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [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 06:33:50 provisioning config files... 06:33:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5467281661408904821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:51 ---> ****-login.sh 06:33:51 nexus3.edgexfoundry.org:10001 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 nexus3.edgexfoundry.org:10002 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 nexus3.edgexfoundry.org:10003 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 nexus3.edgexfoundry.org:10004 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 ****.io 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 ---> ****-login.sh ends [Pipeline] } 06:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:33:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:33:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:33:51 ========================================================= 06:33:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:33:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:52 + 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 . 06:33:52 Sending build context to Docker daemon 16.67MB 06:33:52 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:33:52 Step 2/12 : FROM ${BASE} AS builder 06:33:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:52 da9db072f522: Pulling fs layer 06:33:52 6ef4a4ee8ca5: Pulling fs layer 06:33:52 06f05ace1117: Pulling fs layer 06:33:52 5fe327b54edc: Pulling fs layer 06:33:52 4f4fb700ef54: Pulling fs layer 06:33:52 92a5565b7b96: Pulling fs layer 06:33:52 ff9bb7016b71: Pulling fs layer 06:33:52 b67dba6c2c7d: Pulling fs layer 06:33:52 a813b0c90790: Pulling fs layer 06:33:52 5fe327b54edc: Waiting 06:33:52 a813b0c90790: Waiting 06:33:52 92a5565b7b96: Waiting 06:33:52 b67dba6c2c7d: Waiting 06:33:52 ff9bb7016b71: Waiting 06:33:52 4f4fb700ef54: Waiting 06:33:52 6ef4a4ee8ca5: Download complete 06:33:52 5fe327b54edc: Verifying Checksum 06:33:52 5fe327b54edc: Download complete 06:33:52 4f4fb700ef54: Verifying Checksum 06:33:52 4f4fb700ef54: Download complete 06:33:52 92a5565b7b96: Verifying Checksum 06:33:52 92a5565b7b96: Download complete 06:33:52 da9db072f522: Verifying Checksum 06:33:52 da9db072f522: Download complete 06:33:52 ff9bb7016b71: Verifying Checksum 06:33:52 ff9bb7016b71: Download complete 06:33:52 da9db072f522: Pull complete 06:33:52 a813b0c90790: Download complete 06:33:52 6ef4a4ee8ca5: Pull complete 06:33:52 06f05ace1117: Verifying Checksum 06:33:52 06f05ace1117: Download complete 06:33:53 b67dba6c2c7d: Verifying Checksum 06:33:53 b67dba6c2c7d: Download complete 06:33:56 06f05ace1117: Pull complete 06:33:56 5fe327b54edc: Pull complete 06:33:56 4f4fb700ef54: Pull complete 06:33:56 92a5565b7b96: Pull complete 06:33:56 ff9bb7016b71: Pull complete 06:33:59 b67dba6c2c7d: Pull complete 06:33:59 a813b0c90790: Pull complete 06:33:59 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:33:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:33:59 ---> 3ba60ce46760 06:33:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:34:01 ---> Running in eab619176d9a 06:34:01 Removing intermediate container eab619176d9a 06:34:01 ---> d96b6d7673b6 06:34:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:34:01 ---> Running in d1029b7b9c8b 06:34:01 Removing intermediate container d1029b7b9c8b 06:34:01 ---> 77b1ceada421 06:34:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:34:01 ---> Running in 43a112c6331e 06:34:01 Removing intermediate container 43a112c6331e 06:34:01 ---> 5ece4d73afed 06:34:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:34:01 ---> Running in 2fa7ad633b29 06:34:01 Removing intermediate container 2fa7ad633b29 06:34:01 ---> 657ac69624e2 06:34:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:01 ---> Running in 8cd4b9431fc8 06:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:34:02 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:34:02 (2/4) Installing libedit (20240517.3.1-r0) 06:34:02 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:34:02 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:34:02 Executing busybox-1.36.1-r29.trigger 06:34:02 OK: 252 MiB in 62 packages 06:34:03 Removing intermediate container 8cd4b9431fc8 06:34:03 ---> 44540cce4ddf 06:34:03 Step 8/12 : WORKDIR /device-rest-go 06:34:03 ---> Running in 380c6589751b 06:34:03 Removing intermediate container 380c6589751b 06:34:03 ---> c4ddb104c027 06:34:03 Step 9/12 : COPY go.mod vendor* ./ 06:34:03 ---> f59bc4c9fc4d 06:34:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:03 ---> Running in f72edf4a07f2 06:34:05 Still waiting to schedule task 06:34:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:34:49 Removing intermediate container f72edf4a07f2 06:34:49 ---> 25848da6cb58 06:34:49 Step 11/12 : COPY . . 06:34:49 ---> 8a67319b3a1d 06:34:49 Step 12/12 : RUN $MAKE 06:34:49 ---> Running in 893237c435a7 06:34:49 noop 06:34:49 Removing intermediate container 893237c435a7 06:34:49 ---> 20e6cdfcf997 06:34:49 Successfully built 20e6cdfcf997 06:34:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:50 + docker inspect -f . ci-base-image-x86_64 06:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:50 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:50 $ docker top 2a185d42c6bcfb0711213b1025e8eb8f245f3d7d8a5007f93439f695654da118 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:51 + go version 06:34:51 go version go1.23.4 linux/amd64 [Pipeline] } 06:34:51 $ docker stop --time=1 2a185d42c6bcfb0711213b1025e8eb8f245f3d7d8a5007f93439f695654da118 06:34:52 $ docker rm -f --volumes 2a185d42c6bcfb0711213b1025e8eb8f245f3d7d8a5007f93439f695654da118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:52 + docker inspect -f . ci-base-image-x86_64 06:34:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:52 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:53 $ docker top 96b3cb467b94d95f892e26e278fa52fa984a0c41d3f61a627b757b6115068ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 06:34:53 + make test 06:34:53 go test ./... -coverprofile=coverage.out ./... 06:34:55 ? github.com/edgexfoundry/device-rest-go [no test files] 06:35:13 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 06:35:13 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 06:35:21 go vet ./... 06:35:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:25 ./bin/test-attribution-txt.sh [Pipeline] echo 06:35:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:35:25 $ docker stop --time=1 96b3cb467b94d95f892e26e278fa52fa984a0c41d3f61a627b757b6115068ba4 06:35:28 $ docker rm -f --volumes 96b3cb467b94d95f892e26e278fa52fa984a0c41d3f61a627b757b6115068ba4 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:29 + ls -al . 06:35:29 total 244 06:35:29 drwxrwxr-x 9 jenkins jenkins 4096 Feb 18 06:34 . 06:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 06:33 .. 06:35:29 -rw-rw-r-- 1 jenkins jenkins 151 Feb 18 06:33 .dockerignore 06:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 06:35 .git 06:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:33 .github 06:35:29 -rw-rw-r-- 1 jenkins jenkins 264 Feb 18 06:33 .gitignore 06:35:29 -rw-rw-r-- 1 jenkins jenkins 41 Feb 18 06:33 .golangci.yml 06:35:29 drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 06:33 .semver 06:35:29 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 18 06:33 Attribution.txt 06:35:29 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 18 06:33 CHANGELOG.md 06:35:29 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 18 06:33 Dockerfile 06:35:29 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 06:33 GOVERNANCE.md 06:35:29 -rw-rw-r-- 1 jenkins jenkins 680 Feb 18 06:33 Jenkinsfile 06:35:29 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 18 06:33 LICENSE 06:35:29 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 18 06:33 Makefile 06:35:29 -rw-rw-r-- 1 jenkins jenkins 620 Feb 18 06:33 OWNERS.md 06:35:29 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 18 06:33 README.md 06:35:29 -rw-rw-r-- 1 jenkins jenkins 11 Feb 18 06:33 VERSION 06:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 06:33 bin 06:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:33 cmd 06:35:29 -rw-r--r-- 1 jenkins jenkins 14565 Feb 18 06:35 coverage.out 06:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 06:33 driver 06:35:29 -rw-rw-r-- 1 jenkins jenkins 6291 Feb 18 06:33 go.mod 06:35:29 -rw-rw-r-- 1 jenkins jenkins 86626 Feb 18 06:33 go.sum 06:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:33 openapi 06:35:29 -rw-rw-r-- 1 jenkins jenkins 713 Feb 18 06:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:29 + 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=4c8762db10e0facc8234d5cdc2b4007155e2b406 --label arch=amd64 --label version=4.0.0-dev.8 . 06:35:29 Sending build context to Docker daemon 16.68MB 06:35:29 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:35:29 Step 2/26 : FROM ${BASE} AS builder 06:35:29 ---> 20e6cdfcf997 06:35:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:35:29 ---> Running in 4f0058f6f2cf 06:35:30 Removing intermediate container 4f0058f6f2cf 06:35:30 ---> 7adbbb9d6734 06:35:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:30 ---> Running in f0721454b47a 06:35:30 Removing intermediate container f0721454b47a 06:35:30 ---> 04262cff07c0 06:35:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:35:30 ---> Running in 17fd203252b0 06:35:30 Removing intermediate container 17fd203252b0 06:35:30 ---> d10f3a385eaa 06:35:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:35:30 ---> Running in 1157cffdb83b 06:35:30 Removing intermediate container 1157cffdb83b 06:35:30 ---> c4bb146028e5 06:35:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:30 ---> Running in f165249232f7 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:35:31 OK: 252 MiB in 62 packages 06:35:31 Removing intermediate container f165249232f7 06:35:31 ---> 556e5509e95f 06:35:31 Step 8/26 : WORKDIR /device-rest-go 06:35:31 ---> Running in 6a0c03efce04 06:35:31 Removing intermediate container 6a0c03efce04 06:35:31 ---> 4a1af5c259a3 06:35:31 Step 9/26 : COPY go.mod vendor* ./ 06:35:31 ---> 3d8262bcec2f 06:35:31 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:31 ---> Running in f69f14ebdd68 06:35:32 Removing intermediate container f69f14ebdd68 06:35:32 ---> 0f099f2bf8e0 06:35:32 Step 11/26 : COPY . . 06:35:32 ---> 07f7c7557780 06:35:32 Step 12/26 : RUN $MAKE 06:35:32 ---> Running in d7e917017dfa 06:35:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.24 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:35:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39158 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:35:33 Running in /w/workspace/device-rest-go/186 [Pipeline] { [Pipeline] checkout 06:35:36 The recommended git tool is: git 06:35:41 using credential edgex-jenkins-ssh 06:35:41 Cloning the remote Git repository 06:35:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:35:41 > git init /w/workspace/device-rest-go/186 # timeout=10 06:35:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:35:41 > git --version # timeout=10 06:35:41 > git --version # 'git version 2.25.1' 06:35:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:45 Avoid second fetch 06:35:45 Checking out Revision 4c8762db10e0facc8234d5cdc2b4007155e2b406 (main) 06:35:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:35:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:45 > git config core.sparsecheckout # timeout=10 06:35:45 > git checkout -f 4c8762db10e0facc8234d5cdc2b4007155e2b406 # timeout=10 06:35:45 Commit message: "Merge pull request #449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.24" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:35:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:35:50 Dload Upload Total Spent Left Speed 06:35:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 06:35:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:35:51 + sudo tee /etc/docker/daemon.new 06:35:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:35:51 { 06:35:51 "registry-mirrors": [ 06:35:51 "https://nexus3.edgexfoundry.org:10001" 06:35:51 ], 06:35:51 "bip": "10.250.0.254/24", 06:35:51 "hosts": [ 06:35:51 "tcp://0.0.0.0:5555", 06:35:51 "unix:///var/run/docker.sock" 06:35:51 ], 06:35:51 "mtu": 1458, 06:35:51 "selinux-enabled": true, 06:35:51 "seccomp-profile": "/etc/docker/seccomp.json" 06:35:51 } [Pipeline] sh 06:35:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:35:52 + sudo service docker restart 06:35:59 Removing intermediate container d7e917017dfa 06:35:59 ---> 291b6c9deb0f 06:35:59 Step 13/26 : FROM alpine:3.20 06:35:59 3.20: Pulling from library/alpine 06:35:59 0a9a5dfd008f: Pulling fs layer 06:35:59 0a9a5dfd008f: Verifying Checksum 06:35:59 0a9a5dfd008f: Download complete 06:35:59 0a9a5dfd008f: Pull complete 06:35:59 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:35:59 Status: Downloaded newer image for alpine:3.20 06:35:59 ---> ff221270b9fb 06:35:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:35:59 ---> Running in 01a554f8a4f9 06:35:59 Removing intermediate container 01a554f8a4f9 06:35:59 ---> 30038445481b 06:35:59 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 06:35:59 ---> Running in 25707f3ffce1 06:35:59 Removing intermediate container 25707f3ffce1 06:35:59 ---> a6d28d18f428 06:35:59 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:35:59 ---> Running in cf259d5849fd 06:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:35:59 (1/1) Installing dumb-init (1.2.5-r3) 06:35:59 Executing busybox-1.36.1-r29.trigger 06:35:59 OK: 8 MiB in 15 packages 06:35:59 Removing intermediate container cf259d5849fd 06:35:59 ---> 94713b0a494f 06:35:59 Step 17/26 : RUN apk --no-cache upgrade 06:35:59 ---> Running in b5ebf54ca485 06:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:35:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:35:59 OK: 8 MiB in 15 packages 06:35:59 Removing intermediate container b5ebf54ca485 06:35:59 ---> 9d9dd45e2524 06:35:59 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 06:36:00 ---> 4a9402ba7ba3 06:36:00 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 06:36:00 ---> dd052fd758ed 06:36:00 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 06:36:00 ---> 73fc35eff239 06:36:00 Step 21/26 : EXPOSE 59986 06:36:00 ---> Running in b5ab6033ee46 06:36:00 Removing intermediate container b5ab6033ee46 06:36:00 ---> f4a1c1f29676 06:36:00 Step 22/26 : ENTRYPOINT ["/device-rest"] 06:36:00 ---> Running in acc7ec5b5154 06:36:00 Removing intermediate container acc7ec5b5154 06:36:00 ---> 4f8b8beb4b91 06:36:00 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:36:00 ---> Running in 7e1915261f2e 06:36:00 Removing intermediate container 7e1915261f2e 06:36:00 ---> a5bd4cd08797 06:36:00 Step 24/26 : LABEL arch=amd64 06:36:00 ---> Running in 4ba25ef49cb0 06:36:00 Removing intermediate container 4ba25ef49cb0 06:36:00 ---> 62096830344f 06:36:00 Step 25/26 : LABEL git_sha=4c8762db10e0facc8234d5cdc2b4007155e2b406 06:36:00 ---> Running in d8c8bd620e8a 06:36:00 Removing intermediate container d8c8bd620e8a 06:36:00 ---> 67142334ff3e 06:36:00 Step 26/26 : LABEL version=4.0.0-dev.8 06:36:00 ---> Running in 9c07adfa55d7 06:36:00 Removing intermediate container 9c07adfa55d7 06:36:00 ---> 910306a711c6 06:36:00 [Warning] One or more build-args [ARCH] were not consumed 06:36:01 Successfully built 910306a711c6 06:36:01 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:01 provisioning config files... 06:36:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2310970418204321415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:01 ---> ****-login.sh 06:36:01 nexus3.edgexfoundry.org:10001 06:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:01 Configure a credential helper to remove this warning. See 06:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:01 06:36:01 Login Succeeded 06:36:01 nexus3.edgexfoundry.org:10002 06:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:01 Configure a credential helper to remove this warning. See 06:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:01 06:36:01 Login Succeeded 06:36:01 nexus3.edgexfoundry.org:10003 06:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:01 Configure a credential helper to remove this warning. See 06:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:01 06:36:01 Login Succeeded 06:36:01 nexus3.edgexfoundry.org:10004 06:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:01 Configure a credential helper to remove this warning. See 06:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:01 06:36:01 Login Succeeded 06:36:01 ****.io 06:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:02 Configure a credential helper to remove this warning. See 06:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:02 06:36:02 Login Succeeded 06:36:02 ---> ****-login.sh ends [Pipeline] } 06:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:36:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:36:02 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:36:02 4c8762db10e0facc8234d5cdc2b4007155e2b406 06:36:02 latest 06:36:02 4.0.0-dev.8 06:36:02 4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:36:02 main 06:36:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406 06:36:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:36:02 f8099af6fa66: Preparing 06:36:02 8770897a6387: Preparing 06:36:02 6b10451153ab: Preparing 06:36:02 218f301a7cfd: Preparing 06:36:02 94d6aee45a75: Preparing 06:36:02 994456c4fd7b: Preparing 06:36:02 994456c4fd7b: Waiting 06:36:02 f8099af6fa66: Pushed 06:36:02 8770897a6387: Pushed 06:36:02 94d6aee45a75: Pushed 06:36:02 218f301a7cfd: Pushed 06:36:02 994456c4fd7b: Layer already exists 06:36:06 6b10451153ab: Pushed 06:36:06 4c8762db10e0facc8234d5cdc2b4007155e2b406: digest: sha256:a3c6b013340f1b09e27144eebf643a7a1dcd398d30240177c14fb1b368d47286 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:36:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:36:06 f8099af6fa66: Preparing 06:36:06 8770897a6387: Preparing 06:36:06 6b10451153ab: Preparing 06:36:06 218f301a7cfd: Preparing 06:36:06 94d6aee45a75: Preparing 06:36:06 994456c4fd7b: Preparing 06:36:06 994456c4fd7b: Waiting 06:36:06 8770897a6387: Layer already exists 06:36:06 f8099af6fa66: Layer already exists 06:36:06 6b10451153ab: Layer already exists 06:36:06 218f301a7cfd: Layer already exists 06:36:06 94d6aee45a75: Layer already exists 06:36:06 994456c4fd7b: Layer already exists 06:36:06 latest: digest: sha256:a3c6b013340f1b09e27144eebf643a7a1dcd398d30240177c14fb1b368d47286 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.8 06:36:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:36:07 f8099af6fa66: Preparing 06:36:07 8770897a6387: Preparing 06:36:07 6b10451153ab: Preparing 06:36:07 218f301a7cfd: Preparing 06:36:07 94d6aee45a75: Preparing 06:36:07 994456c4fd7b: Preparing 06:36:07 994456c4fd7b: Waiting 06:36:07 f8099af6fa66: Layer already exists 06:36:07 94d6aee45a75: Layer already exists 06:36:07 6b10451153ab: Layer already exists 06:36:07 8770897a6387: Layer already exists 06:36:07 218f301a7cfd: Layer already exists 06:36:07 994456c4fd7b: Layer already exists 06:36:07 4.0.0-dev.8: digest: sha256:a3c6b013340f1b09e27144eebf643a7a1dcd398d30240177c14fb1b368d47286 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:36:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:36:08 f8099af6fa66: Preparing 06:36:08 8770897a6387: Preparing 06:36:08 6b10451153ab: Preparing 06:36:08 218f301a7cfd: Preparing 06:36:08 94d6aee45a75: Preparing 06:36:08 994456c4fd7b: Preparing 06:36:08 994456c4fd7b: Waiting 06:36:08 8770897a6387: Layer already exists 06:36:08 6b10451153ab: Layer already exists 06:36:08 f8099af6fa66: Layer already exists 06:36:08 218f301a7cfd: Layer already exists 06:36:08 94d6aee45a75: Layer already exists 06:36:08 994456c4fd7b: Layer already exists 06:36:08 4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8: digest: sha256:a3c6b013340f1b09e27144eebf643a7a1dcd398d30240177c14fb1b368d47286 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:36:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:36:08 f8099af6fa66: Preparing 06:36:08 8770897a6387: Preparing 06:36:08 6b10451153ab: Preparing 06:36:08 218f301a7cfd: Preparing 06:36:08 94d6aee45a75: Preparing 06:36:08 994456c4fd7b: Preparing 06:36:08 994456c4fd7b: Waiting 06:36:08 218f301a7cfd: Layer already exists 06:36:08 6b10451153ab: Layer already exists 06:36:08 94d6aee45a75: Layer already exists 06:36:08 f8099af6fa66: Layer already exists 06:36:08 8770897a6387: Layer already exists 06:36:08 994456c4fd7b: Layer already exists 06:36:08 main: digest: sha256:a3c6b013340f1b09e27144eebf643a7a1dcd398d30240177c14fb1b368d47286 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:36:08 ===================================================== [Pipeline] echo 06:36:08 taggedImages: 06:36:08 - nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406 06:36:08 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:36:08 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.8 06:36:08 - nexus3.edgexfoundry.org:10004/device-rest:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:36:08 - 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 06:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:09 06:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:09 latest: Pulling from edgex-lftools-log-publisher 06:36:09 5eb5b503b376: Pulling fs layer 06:36:09 5c69ac0246d0: Pulling fs layer 06:36:09 ec43610c2a17: Pulling fs layer 06:36:09 3a2ae6a8a46f: Pulling fs layer 06:36:09 33b1e0a273af: Pulling fs layer 06:36:09 5d3b04190fa2: Pulling fs layer 06:36:09 2f39f015ded8: Pulling fs layer 06:36:09 3a2ae6a8a46f: Waiting 06:36:09 33b1e0a273af: Waiting 06:36:09 5d3b04190fa2: Waiting 06:36:09 2f39f015ded8: Waiting 06:36:09 5c69ac0246d0: Download complete 06:36:09 3a2ae6a8a46f: Download complete 06:36:09 33b1e0a273af: Verifying Checksum 06:36:09 33b1e0a273af: Download complete 06:36:09 5d3b04190fa2: Download complete 06:36:09 ec43610c2a17: Verifying Checksum 06:36:09 ec43610c2a17: Download complete 06:36:09 5eb5b503b376: Verifying Checksum 06:36:09 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:10 provisioning config files... 06:36:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/186@tmp/config2471021321315872562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:10 2f39f015ded8: Download complete 06:36:10 ---> ****-login.sh 06:36:10 nexus3.edgexfoundry.org:10001 06:36:10 5eb5b503b376: Pull complete 06:36:10 5c69ac0246d0: Pull complete 06:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:11 Configure a credential helper to remove this warning. See 06:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:11 06:36:11 Login Succeeded 06:36:11 nexus3.edgexfoundry.org:10002 06:36:11 ec43610c2a17: Pull complete 06:36:11 3a2ae6a8a46f: Pull complete 06:36:11 33b1e0a273af: Pull complete 06:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:11 Configure a credential helper to remove this warning. See 06:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:11 06:36:11 Login Succeeded 06:36:11 nexus3.edgexfoundry.org:10003 06:36:11 5d3b04190fa2: Pull complete 06:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:12 Configure a credential helper to remove this warning. See 06:36:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:12 06:36:12 Login Succeeded 06:36:12 nexus3.edgexfoundry.org:10004 06:36:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:12 Configure a credential helper to remove this warning. See 06:36:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:12 06:36:12 Login Succeeded 06:36:12 ****.io 06:36:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:36:12 Configure a credential helper to remove this warning. See 06:36:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:36:12 06:36:12 Login Succeeded 06:36:12 ---> ****-login.sh ends [Pipeline] } 06:36:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:36:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:36:13 ========================================================= 06:36:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:36:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:13 + 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 . 06:36:13 Sending build context to Docker daemon 140.8kB 06:36:13 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:36:13 Step 2/12 : FROM ${BASE} AS builder 06:36:13 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:36:13 9986a736f7d3: Pulling fs layer 06:36:13 1f018df60701: Pulling fs layer 06:36:13 39f8f326b044: Pulling fs layer 06:36:13 e6a1e7a6a96a: Pulling fs layer 06:36:13 4f4fb700ef54: Pulling fs layer 06:36:13 d45d956e0dbf: Pulling fs layer 06:36:13 d7702b0d1db1: Pulling fs layer 06:36:13 5c7f0f088c93: Pulling fs layer 06:36:13 4fdc064ae6cf: Pulling fs layer 06:36:13 e6a1e7a6a96a: Waiting 06:36:13 4f4fb700ef54: Waiting 06:36:13 d45d956e0dbf: Waiting 06:36:13 5c7f0f088c93: Waiting 06:36:13 d7702b0d1db1: Waiting 06:36:13 4fdc064ae6cf: Waiting 06:36:13 1f018df60701: Verifying Checksum 06:36:13 1f018df60701: Download complete 06:36:14 e6a1e7a6a96a: Verifying Checksum 06:36:14 e6a1e7a6a96a: Download complete 06:36:14 4f4fb700ef54: Verifying Checksum 06:36:14 4f4fb700ef54: Download complete 06:36:14 d45d956e0dbf: Verifying Checksum 06:36:14 d45d956e0dbf: Download complete 06:36:14 d7702b0d1db1: Verifying Checksum 06:36:14 d7702b0d1db1: Download complete 06:36:14 9986a736f7d3: Verifying Checksum 06:36:14 9986a736f7d3: Download complete 06:36:14 4fdc064ae6cf: Verifying Checksum 06:36:14 4fdc064ae6cf: Download complete 06:36:15 9986a736f7d3: Pull complete 06:36:15 1f018df60701: Pull complete 06:36:15 2f39f015ded8: Pull complete 06:36:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:16 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:36:16 39f8f326b044: Download complete 06:36:17 5c7f0f088c93: Verifying Checksum 06:36:17 5c7f0f088c93: Download complete 06:36:17 $ docker top 84e7b99d7c90abb47f14ab1a6821156247647a7051a49f8e5f5fe5d27beebd1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:18 ---> job-cost.sh 06:36:18 lf-activate-venv: SKIPPING 06:36:18 INFO: No Stack... 06:36:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:18 INFO: Archiving Costs [Pipeline] sh 06:36:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 06:36:18 + cut -d, -f6 [Pipeline] lock 06:36:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] 06:36:19 Resource [jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] did not exist. Created. 06:36:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:19 + echo total: 0.2199999988079071 [Pipeline] stash 06:36:19 Stashed 1 file(s) [Pipeline] } 06:36:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:19 $ docker stop --time=1 84e7b99d7c90abb47f14ab1a6821156247647a7051a49f8e5f5fe5d27beebd1c 06:36:20 $ docker rm -f --volumes 84e7b99d7c90abb47f14ab1a6821156247647a7051a49f8e5f5fe5d27beebd1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:32 39f8f326b044: Pull complete 06:36:32 e6a1e7a6a96a: Pull complete 06:36:32 4f4fb700ef54: Pull complete 06:36:32 d45d956e0dbf: Pull complete 06:36:32 d7702b0d1db1: Pull complete 06:36:38 5c7f0f088c93: Pull complete 06:36:40 4fdc064ae6cf: Pull complete 06:36:40 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:36:40 ---> 63f30b955cb9 06:36:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:36:41 ---> Running in 9bd8006c130d 06:36:41 Removing intermediate container 9bd8006c130d 06:36:41 ---> df48a8452d2f 06:36:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:36:42 ---> Running in 58c19c9ff419 06:36:42 Removing intermediate container 58c19c9ff419 06:36:42 ---> 37319fd3ae79 06:36:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:36:42 ---> Running in 648e3c21003d 06:36:42 Removing intermediate container 648e3c21003d 06:36:42 ---> 1cdf4391135d 06:36:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:36:42 ---> Running in 97423a37cf8e 06:36:42 Removing intermediate container 97423a37cf8e 06:36:42 ---> e2485c26c59d 06:36:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:36:43 ---> Running in 1af371743c0d 06:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:36:45 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:36:45 (2/4) Installing libedit (20240517.3.1-r0) 06:36:45 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:36:45 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:36:45 Executing busybox-1.36.1-r29.trigger 06:36:46 OK: 244 MiB in 62 packages 06:36:47 Removing intermediate container 1af371743c0d 06:36:47 ---> d940f6e2a4cf 06:36:47 Step 8/12 : WORKDIR /device-rest-go 06:36:47 ---> Running in bddee1f2f5e9 06:36:47 Removing intermediate container bddee1f2f5e9 06:36:47 ---> 4750952d634b 06:36:47 Step 9/12 : COPY go.mod vendor* ./ 06:36:47 ---> e45f46d05fbf 06:36:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:47 ---> Running in b9dfd4c52c76 06:38:39 Removing intermediate container b9dfd4c52c76 06:38:39 ---> 3f152f32c888 06:38:39 Step 11/12 : COPY . . 06:38:39 ---> c623065e5edd 06:38:39 Step 12/12 : RUN $MAKE 06:38:39 ---> Running in 2074d6001455 06:38:39 noop 06:38:39 Removing intermediate container 2074d6001455 06:38:39 ---> 123fbaeb8cd0 06:38:39 Successfully built 123fbaeb8cd0 06:38:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:40 + docker inspect -f . ci-base-image-arm64 06:38:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:40 prd-ubuntu20.04-docker-arm64-4c-16g-39158 does not seem to be running inside a container 06:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/186 -v /w/workspace/device-rest-go/186:/w/workspace/device-rest-go/186:rw,z -v /w/workspace/device-rest-go/186@tmp:/w/workspace/device-rest-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:38:41 $ docker top 770927f53045cf577f04ca44c0a40efca699b10d0e82eeab4869bbaeb7b2d6c4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:42 + go version 06:38:42 go version go1.23.4 linux/arm64 [Pipeline] } 06:38:42 $ docker stop --time=1 770927f53045cf577f04ca44c0a40efca699b10d0e82eeab4869bbaeb7b2d6c4 06:38:43 $ docker rm -f --volumes 770927f53045cf577f04ca44c0a40efca699b10d0e82eeab4869bbaeb7b2d6c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:44 + docker inspect -f . ci-base-image-arm64 06:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:44 prd-ubuntu20.04-docker-arm64-4c-16g-39158 does not seem to be running inside a container 06:38:44 $ 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/186 -v /w/workspace/device-rest-go/186:/w/workspace/device-rest-go/186:rw,z -v /w/workspace/device-rest-go/186@tmp:/w/workspace/device-rest-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:38:46 $ docker top 1d8afb96cae9533f207bad28701851f0a2185cdd79c5bf1fe4c33059bf6ce7ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:47 + git config --global --add safe.directory /w/workspace/device-rest-go/186 [Pipeline] fileExists [Pipeline] sh 06:38:48 + make test 06:38:48 go test ./... -coverprofile=coverage.out ./... 06:38:53 ? github.com/edgexfoundry/device-rest-go [no test files] 06:42:15 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 06:42:22 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 06:42:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:42:22 go vet ./... 06:43:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:43:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:43:11 ./bin/test-attribution-txt.sh [Pipeline] echo 06:43:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:43:11 $ docker stop --time=1 1d8afb96cae9533f207bad28701851f0a2185cdd79c5bf1fe4c33059bf6ce7ec 06:43:13 $ docker rm -f --volumes 1d8afb96cae9533f207bad28701851f0a2185cdd79c5bf1fe4c33059bf6ce7ec [Pipeline] // withDockerContainer [Pipeline] sh 06:43:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:14 Warning: overwriting stash ‘coverage-report’ 06:43:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:15 + ls -al . 06:43:15 total 240 06:43:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 06:38 . 06:43:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 06:35 .. 06:43:15 -rw-rw-r-- 1 jenkins jenkins 151 Feb 18 06:35 .dockerignore 06:43:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 06:35 .git 06:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:35 .github 06:43:15 -rw-rw-r-- 1 jenkins jenkins 264 Feb 18 06:35 .gitignore 06:43:15 -rw-rw-r-- 1 jenkins jenkins 41 Feb 18 06:35 .golangci.yml 06:43:15 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 18 06:35 Attribution.txt 06:43:15 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 18 06:35 CHANGELOG.md 06:43:15 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 18 06:35 Dockerfile 06:43:15 -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 06:35 GOVERNANCE.md 06:43:15 -rw-rw-r-- 1 jenkins jenkins 680 Feb 18 06:35 Jenkinsfile 06:43:15 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 18 06:35 LICENSE 06:43:15 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 18 06:35 Makefile 06:43:15 -rw-rw-r-- 1 jenkins jenkins 620 Feb 18 06:35 OWNERS.md 06:43:15 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 18 06:35 README.md 06:43:15 -rw-rw-r-- 1 jenkins jenkins 11 Feb 18 06:33 VERSION 06:43:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 06:35 bin 06:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:35 cmd 06:43:15 -rw-r--r-- 1 jenkins jenkins 14565 Feb 18 06:42 coverage.out 06:43:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 06:35 driver 06:43:15 -rw-rw-r-- 1 jenkins jenkins 6291 Feb 18 06:35 go.mod 06:43:15 -rw-rw-r-- 1 jenkins jenkins 86626 Feb 18 06:35 go.sum 06:43:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 06:35 openapi 06:43:15 -rw-rw-r-- 1 jenkins jenkins 713 Feb 18 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:16 + 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=4c8762db10e0facc8234d5cdc2b4007155e2b406 --label arch=arm64 --label version=4.0.0-dev.8 . 06:43:16 Sending build context to Docker daemon 156.2kB 06:43:16 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:43:16 Step 2/26 : FROM ${BASE} AS builder 06:43:16 ---> 123fbaeb8cd0 06:43:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:43:16 ---> Running in 1815181139c6 06:43:16 Removing intermediate container 1815181139c6 06:43:16 ---> eaa34b3a2bb4 06:43:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:43:17 ---> Running in f3bb9c8bb26d 06:43:17 Removing intermediate container f3bb9c8bb26d 06:43:17 ---> b4c559519f78 06:43:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:43:17 ---> Running in 56e8692ce10b 06:43:17 Removing intermediate container 56e8692ce10b 06:43:17 ---> dd7bfd06ca42 06:43:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:43:17 ---> Running in f3d75de61432 06:43:17 Removing intermediate container f3d75de61432 06:43:17 ---> bc71ac458e78 06:43:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:43:18 ---> Running in ad5e97d21da8 06:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:43:20 OK: 244 MiB in 62 packages 06:43:21 Removing intermediate container ad5e97d21da8 06:43:21 ---> f89764632f61 06:43:21 Step 8/26 : WORKDIR /device-rest-go 06:43:21 ---> Running in 294ac768b384 06:43:21 Removing intermediate container 294ac768b384 06:43:21 ---> 43e5355d0907 06:43:21 Step 9/26 : COPY go.mod vendor* ./ 06:43:22 ---> 61631e58a9e4 06:43:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:22 ---> Running in f86e0cee2c0b 06:43:25 Removing intermediate container f86e0cee2c0b 06:43:25 ---> a85cf4f651cf 06:43:25 Step 11/26 : COPY . . 06:43:25 ---> 3653cc4d5840 06:43:25 Step 12/26 : RUN $MAKE 06:43:25 ---> Running in 2bb483e17028 06:43:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.24 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:46:48 Removing intermediate container 2bb483e17028 06:46:48 ---> 8c54920c9214 06:46:48 Step 13/26 : FROM alpine:3.20 06:46:48 3.20: Pulling from library/alpine 06:46:48 94e9d8af2201: Pulling fs layer 06:46:48 94e9d8af2201: Verifying Checksum 06:46:48 94e9d8af2201: Download complete 06:46:48 94e9d8af2201: Pull complete 06:46:48 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:46:48 Status: Downloaded newer image for alpine:3.20 06:46:48 ---> 7aab056cecc6 06:46:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:46:48 ---> Running in 6e55b9c3c821 06:46:48 Removing intermediate container 6e55b9c3c821 06:46:48 ---> c726b75bf537 06:46:48 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 06:46:48 ---> Running in bc503c18ae45 06:46:48 Removing intermediate container bc503c18ae45 06:46:48 ---> 62f9bf70767b 06:46:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:46:48 ---> Running in a348ae07ba91 06:46:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:46:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:46:48 (1/1) Installing dumb-init (1.2.5-r3) 06:46:48 Executing busybox-1.36.1-r29.trigger 06:46:48 OK: 9 MiB in 15 packages 06:46:48 Removing intermediate container a348ae07ba91 06:46:48 ---> 70cb24405efd 06:46:48 Step 17/26 : RUN apk --no-cache upgrade 06:46:48 ---> Running in 844f4c39274d 06:46:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:46:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:46:48 OK: 9 MiB in 15 packages 06:46:48 Removing intermediate container 844f4c39274d 06:46:48 ---> ee84fe4be74f 06:46:48 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 06:46:48 ---> 2c041004a1c6 06:46:48 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 06:46:49 ---> 43894e76971e 06:46:49 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 06:46:50 ---> da798519413b 06:46:50 Step 21/26 : EXPOSE 59986 06:46:50 ---> Running in 28e1b69ac794 06:46:50 Removing intermediate container 28e1b69ac794 06:46:50 ---> 311fe296d32a 06:46:50 Step 22/26 : ENTRYPOINT ["/device-rest"] 06:46:50 ---> Running in 2eeff8153d64 06:46:51 Removing intermediate container 2eeff8153d64 06:46:51 ---> 0fbaadd79199 06:46:51 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:46:51 ---> Running in ad20bc9eed1e 06:46:51 Removing intermediate container ad20bc9eed1e 06:46:51 ---> 5f2ecb5f3751 06:46:51 Step 24/26 : LABEL arch=arm64 06:46:51 ---> Running in 561b7460deb8 06:46:51 Removing intermediate container 561b7460deb8 06:46:51 ---> 46bba20dbc55 06:46:51 Step 25/26 : LABEL git_sha=4c8762db10e0facc8234d5cdc2b4007155e2b406 06:46:51 ---> Running in 9af0a7f2092d 06:46:52 Removing intermediate container 9af0a7f2092d 06:46:52 ---> c8711bd35790 06:46:52 Step 26/26 : LABEL version=4.0.0-dev.8 06:46:52 ---> Running in 00e9b6f2ebf7 06:46:52 Removing intermediate container 00e9b6f2ebf7 06:46:52 ---> 2aa6ea8bbb12 06:46:52 [Warning] One or more build-args [ARCH] were not consumed 06:46:52 Successfully built 2aa6ea8bbb12 06:46:52 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 06:46:52 provisioning config files... 06:46:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/186@tmp/config3342830198594858858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:53 ---> ****-login.sh 06:46:53 nexus3.edgexfoundry.org:10001 06:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:53 Configure a credential helper to remove this warning. See 06:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:53 06:46:53 Login Succeeded 06:46:53 nexus3.edgexfoundry.org:10002 06:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:53 Configure a credential helper to remove this warning. See 06:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:53 06:46:53 Login Succeeded 06:46:53 nexus3.edgexfoundry.org:10003 06:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:54 Configure a credential helper to remove this warning. See 06:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:54 06:46:54 Login Succeeded 06:46:54 nexus3.edgexfoundry.org:10004 06:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:54 Configure a credential helper to remove this warning. See 06:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:54 06:46:54 Login Succeeded 06:46:54 ****.io 06:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:46:55 Configure a credential helper to remove this warning. See 06:46:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:46:55 06:46:55 Login Succeeded 06:46:55 ---> ****-login.sh ends [Pipeline] } 06:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:46:55 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 06:46:55 4c8762db10e0facc8234d5cdc2b4007155e2b406 06:46:55 latest 06:46:55 4.0.0-dev.8 06:46:55 4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:46:55 main 06:46:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406 06:46:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:46:55 40318051021b: Preparing 06:46:55 5059fb4beb75: Preparing 06:46:55 bcda23b8f076: Preparing 06:46:55 b35c7bd86c55: Preparing 06:46:55 9a1ba1f7f4bb: Preparing 06:46:55 dd9c8f8612c8: Preparing 06:46:55 dd9c8f8612c8: Waiting 06:46:56 b35c7bd86c55: Pushed 06:46:56 5059fb4beb75: Pushed 06:46:56 9a1ba1f7f4bb: Pushed 06:46:56 40318051021b: Pushed 06:46:56 dd9c8f8612c8: Layer already exists 06:47:04 bcda23b8f076: Pushed 06:47:04 4c8762db10e0facc8234d5cdc2b4007155e2b406: digest: sha256:4aa365af7e8bc6ded573faa4aeef7af217b08bd3f9b096a5cf6b90596923eff5 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:47:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:47:05 40318051021b: Preparing 06:47:05 5059fb4beb75: Preparing 06:47:05 bcda23b8f076: Preparing 06:47:05 b35c7bd86c55: Preparing 06:47:05 9a1ba1f7f4bb: Preparing 06:47:05 dd9c8f8612c8: Preparing 06:47:05 dd9c8f8612c8: Waiting 06:47:05 b35c7bd86c55: Layer already exists 06:47:05 40318051021b: Layer already exists 06:47:05 bcda23b8f076: Layer already exists 06:47:05 9a1ba1f7f4bb: Layer already exists 06:47:05 5059fb4beb75: Layer already exists 06:47:05 dd9c8f8612c8: Layer already exists 06:47:05 latest: digest: sha256:4aa365af7e8bc6ded573faa4aeef7af217b08bd3f9b096a5cf6b90596923eff5 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.8 06:47:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:47:05 40318051021b: Preparing 06:47:05 5059fb4beb75: Preparing 06:47:05 bcda23b8f076: Preparing 06:47:05 b35c7bd86c55: Preparing 06:47:05 9a1ba1f7f4bb: Preparing 06:47:05 dd9c8f8612c8: Preparing 06:47:05 dd9c8f8612c8: Waiting 06:47:05 9a1ba1f7f4bb: Layer already exists 06:47:05 40318051021b: Layer already exists 06:47:05 bcda23b8f076: Layer already exists 06:47:05 b35c7bd86c55: Layer already exists 06:47:05 5059fb4beb75: Layer already exists 06:47:05 dd9c8f8612c8: Layer already exists 06:47:05 4.0.0-dev.8: digest: sha256:4aa365af7e8bc6ded573faa4aeef7af217b08bd3f9b096a5cf6b90596923eff5 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:47:06 40318051021b: Preparing 06:47:06 5059fb4beb75: Preparing 06:47:06 bcda23b8f076: Preparing 06:47:06 b35c7bd86c55: Preparing 06:47:06 9a1ba1f7f4bb: Preparing 06:47:06 dd9c8f8612c8: Preparing 06:47:06 dd9c8f8612c8: Waiting 06:47:06 b35c7bd86c55: Layer already exists 06:47:06 40318051021b: Layer already exists 06:47:06 bcda23b8f076: Layer already exists 06:47:06 5059fb4beb75: Layer already exists 06:47:06 9a1ba1f7f4bb: Layer already exists 06:47:06 dd9c8f8612c8: Layer already exists 06:47:06 4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8: digest: sha256:4aa365af7e8bc6ded573faa4aeef7af217b08bd3f9b096a5cf6b90596923eff5 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 06:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:47:07 40318051021b: Preparing 06:47:07 5059fb4beb75: Preparing 06:47:07 bcda23b8f076: Preparing 06:47:07 b35c7bd86c55: Preparing 06:47:07 9a1ba1f7f4bb: Preparing 06:47:07 dd9c8f8612c8: Preparing 06:47:07 dd9c8f8612c8: Waiting 06:47:07 9a1ba1f7f4bb: Layer already exists 06:47:07 b35c7bd86c55: Layer already exists 06:47:07 bcda23b8f076: Layer already exists 06:47:07 40318051021b: Layer already exists 06:47:07 5059fb4beb75: Layer already exists 06:47:07 dd9c8f8612c8: Layer already exists 06:47:07 main: digest: sha256:4aa365af7e8bc6ded573faa4aeef7af217b08bd3f9b096a5cf6b90596923eff5 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:47:07 ===================================================== [Pipeline] echo 06:47:07 taggedImages: 06:47:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406 06:47:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:47:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.8 06:47:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4c8762db10e0facc8234d5cdc2b4007155e2b406-4.0.0-dev.8 06:47:07 - 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 06:47:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:47:07 06:47:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:47:08 arm64: Pulling from edgex-lftools-log-publisher 06:47:08 8998bd30e6a1: Pulling fs layer 06:47:08 04944245beec: Pulling fs layer 06:47:08 699f458cf7ca: Pulling fs layer 06:47:08 765212b225bb: Pulling fs layer 06:47:08 f23df028b6ca: Pulling fs layer 06:47:08 d65c8cfc05b1: Pulling fs layer 06:47:08 2437ff75d9bd: Pulling fs layer 06:47:08 f23df028b6ca: Waiting 06:47:08 d65c8cfc05b1: Waiting 06:47:08 2437ff75d9bd: Waiting 06:47:08 04944245beec: Verifying Checksum 06:47:08 04944245beec: Download complete 06:47:08 765212b225bb: Verifying Checksum 06:47:08 765212b225bb: Download complete 06:47:08 f23df028b6ca: Verifying Checksum 06:47:08 f23df028b6ca: Download complete 06:47:08 d65c8cfc05b1: Verifying Checksum 06:47:08 d65c8cfc05b1: Download complete 06:47:08 699f458cf7ca: Verifying Checksum 06:47:08 699f458cf7ca: Download complete 06:47:09 8998bd30e6a1: Download complete 06:47:11 2437ff75d9bd: Verifying Checksum 06:47:11 2437ff75d9bd: Download complete 06:47:13 8998bd30e6a1: Pull complete 06:47:14 04944245beec: Pull complete 06:47:16 699f458cf7ca: Pull complete 06:47:16 765212b225bb: Pull complete 06:47:17 f23df028b6ca: Pull complete 06:47:17 d65c8cfc05b1: Pull complete 06:47:35 2437ff75d9bd: Pull complete 06:47:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:47:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:35 prd-ubuntu20.04-docker-arm64-4c-16g-39158 does not seem to be running inside a container 06:47:36 $ 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/186 -v /w/workspace/device-rest-go/186:/w/workspace/device-rest-go/186:rw,z -v /w/workspace/device-rest-go/186@tmp:/w/workspace/device-rest-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:47:38 $ docker top 96870852edad551a197edc593708fbd6ff213f5d5dbf28a617728f9a267f9b2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:39 ---> job-cost.sh 06:47:39 lf-activate-venv: SKIPPING 06:47:39 INFO: No Stack... 06:47:39 INFO: Retrieving Pricing Info for: v3-standard-4 06:47:40 INFO: Archiving Costs [Pipeline] sh 06:47:40 + cat /w/workspace/device-rest-go/186/archives/cost.csv 06:47:40 + cut -d, -f6 [Pipeline] lock 06:47:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] 06:47:40 Resource [jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] did not exist. Created. 06:47:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:47:41 /w/workspace/device-rest-go/186@tmp/durable-6a176f8c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:47:41 + echo total: 0.10999999940395355 [Pipeline] stash 06:47:41 Warning: overwriting stash ‘stack-cost’ 06:47:41 Stashed 1 file(s) [Pipeline] } 06:47:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 06:47:41 $ docker stop --time=1 96870852edad551a197edc593708fbd6ff213f5d5dbf28a617728f9a267f9b2e 06:47:43 $ docker rm -f --volumes 96870852edad551a197edc593708fbd6ff213f5d5dbf28a617728f9a267f9b2e [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 06:47:43 provisioning config files... 06:47:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2379343374472753399tmp [Pipeline] { [Pipeline] sh 06:47:44 + set +x 06:47:44 + bash -s -- 06:47:44 + curl -s https://codecov.io/bash 06:47:44 06:47:44 _____ _ 06:47:44 / ____| | | 06:47:44 | | ___ __| | ___ ___ _____ __ 06:47:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:47:44 | |___| (_) | (_| | __/ (_| (_) \ V / 06:47:44 \_____\___/ \__,_|\___|\___\___/ \_/ 06:47:44 Bash-1.0.6 06:47:44 06:47:44 06:47:44 ==> git version 2.25.1 found 06:47:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:47:44 Release-Date: 2020-01-08 06:47:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:47:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:47:44 ==> Jenkins CI detected. 06:47:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 06:47:44 project root: . 06:47:44 --> token set from env 06:47:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:47:44 ==> Running gcov in . (disable via -X gcov) 06:47:44 ==> Python coveragepy not found 06:47:44 ==> Searching for coverage reports in: 06:47:44 + . 06:47:44 -> Found 1 reports 06:47:44 ==> Detecting git/mercurial file structure 06:47:44 ==> Reading reports 06:47:44 + ./coverage.out bytes=14565 06:47:44 ==> Appending adjustments 06:47:44 https://docs.codecov.io/docs/fixing-reports 06:47:44 + Found adjustments 06:47:44 ==> Gzipping contents 06:47:44 4.0K /tmp/codecov.yLhtF4.gz 06:47:44 ==> Uploading reports 06:47:44 url: https://codecov.io 06:47:44 query: branch=main&commit=4c8762db10e0facc8234d5cdc2b4007155e2b406&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:44 -> Pinging Codecov 06:47:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4c8762db10e0facc8234d5cdc2b4007155e2b406&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:46 -> Uploading to 06:47:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/4c8762db10e0facc8234d5cdc2b4007155e2b406/e657f2d9-1f0b-4e91-9a40-167de97cfd71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250218%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250218T064746Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=51de77da6086f38062974db4f506c2bdfb1e01140604dad5310214e47c74f9c6 06:47:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:46 Dload Upload Total Spent Left Speed 06:47:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14276 --:--:-- --:--:-- --:--:-- 14276 06:47:46 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection terminationhttps://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] } 06:47:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:47:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:47:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:47 06:47:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:47 latest: Pulling from edgex-devops/edgex-snyk-go 06:47:47 43c4264eed91: Pulling fs layer 06:47:47 4cc291be95ef: Pulling fs layer 06:47:47 2ac1f1163629: Pulling fs layer 06:47:47 5c3c966382ef: Pulling fs layer 06:47:47 4f4fb700ef54: Pulling fs layer 06:47:47 d9c7d2e4e75e: Pulling fs layer 06:47:47 9c3e1370e548: Pulling fs layer 06:47:47 4f4fb700ef54: Waiting 06:47:47 d9c7d2e4e75e: Waiting 06:47:47 9c3e1370e548: Waiting 06:47:47 5c3c966382ef: Waiting 06:47:47 4cc291be95ef: Verifying Checksum 06:47:47 4cc291be95ef: Download complete 06:47:47 5c3c966382ef: Verifying Checksum 06:47:47 5c3c966382ef: Download complete 06:47:47 4f4fb700ef54: Verifying Checksum 06:47:47 4f4fb700ef54: Download complete 06:47:47 43c4264eed91: Download complete 06:47:48 43c4264eed91: Pull complete 06:47:48 d9c7d2e4e75e: Verifying Checksum 06:47:48 d9c7d2e4e75e: Download complete 06:47:48 4cc291be95ef: Pull complete 06:47:48 2ac1f1163629: Download complete 06:47:48 9c3e1370e548: Verifying Checksum 06:47:48 9c3e1370e548: Download complete 06:47:52 2ac1f1163629: Pull complete 06:47:52 5c3c966382ef: Pull complete 06:47:52 4f4fb700ef54: Pull complete 06:47:52 d9c7d2e4e75e: Pull complete 06:47:55 9c3e1370e548: Pull complete 06:47:55 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:47:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:47:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:55 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:47:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:47:57 $ docker top c825256e8edd78ce2fdbaf0e30a25502721b3532587d4bca5d37b515178a885e -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 06:47:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 06:47:58 + set -o pipefail 06:47:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 06:48:04 06:48:04 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 06:48:04 06:48:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/2e2c80ae-9a7a-41de-bb4b-541dd9493610 06:48:04 06:48:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:48:04 06:48:05 06:48:05 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:48:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:48:05 $ docker stop --time=1 c825256e8edd78ce2fdbaf0e30a25502721b3532587d4bca5d37b515178a885e 06:48:07 $ docker rm -f --volumes c825256e8edd78ce2fdbaf0e30a25502721b3532587d4bca5d37b515178a885e [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 06:48:08 + git log --format=format:%s -1 4c8762db10e0facc8234d5cdc2b4007155e2b406 [Pipeline] sh 06:48:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:09 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:48:09 $ docker top 25265a307e775b5f56438d47b8e28e1c50c59dbdc2456754f33c8e2f55994813 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:09 [ssh-agent] Looking for ssh-agent implementation... 06:48:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:09 $ docker exec 25265a307e775b5f56438d47b8e28e1c50c59dbdc2456754f33c8e2f55994813 ssh-agent 06:48:09 SSH_AUTH_SOCK=/tmp/ssh-ERdOO14kz8ex/agent.33 06:48:09 SSH_AGENT_PID=39 06:48:09 Running ssh-add (command line suppressed) 06:48:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16031886587225925404.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16031886587225925404.key) 06:48:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:10 + git semver tag 06:48:10 2025-02-18 06:48:10,400 [run_tag] DEBUG tag force:False 06:48:10 2025-02-18 06:48:10,400 [check_head_tag] DEBUG check head tag 06:48:10 2025-02-18 06:48:10,402 [execute] INFO git cat-file --batch-check 06:48:10 2025-02-18 06:48:10,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:48:10 2025-02-18 06:48:10,406 [execute] INFO git cat-file --batch 06:48:10 2025-02-18 06:48:10,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:48:10 2025-02-18 06:48:10,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:10 2025-02-18 06:48:10,429 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 06:48:10 2025-02-18 06:48:10,430 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 06:48:10 2025-02-18 06:48:10,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:10 4.0.0-dev.8 [Pipeline] } 06:48:10 $ docker exec --env ******** --env ******** 25265a307e775b5f56438d47b8e28e1c50c59dbdc2456754f33c8e2f55994813 ssh-agent -k 06:48:10 unset SSH_AUTH_SOCK; 06:48:10 unset SSH_AGENT_PID; 06:48:10 echo Agent pid 39 killed; 06:48:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:10 + git semver [Pipeline] } 06:48:11 $ docker stop --time=1 25265a307e775b5f56438d47b8e28e1c50c59dbdc2456754f33c8e2f55994813 06:48:12 $ docker rm -f --volumes 25265a307e775b5f56438d47b8e28e1c50c59dbdc2456754f33c8e2f55994813 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:48:12 06:48:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:48:13 0.23.1-centos7: Pulling from edgex-lftools 06:48:13 ab5ef0e58194: Pulling fs layer 06:48:13 9712f1f96733: Pulling fs layer 06:48:13 63f879dbbcfc: Pulling fs layer 06:48:13 0d9ebad4ef96: Pulling fs layer 06:48:13 e9a5061849ea: Pulling fs layer 06:48:13 0d9ebad4ef96: Waiting 06:48:13 d747dcd14b5f: Pulling fs layer 06:48:13 2de7ff778b66: Pulling fs layer 06:48:13 e9a5061849ea: Waiting 06:48:13 d747dcd14b5f: Waiting 06:48:13 2de7ff778b66: Waiting 06:48:13 9712f1f96733: Verifying Checksum 06:48:13 9712f1f96733: Download complete 06:48:13 63f879dbbcfc: Verifying Checksum 06:48:13 63f879dbbcfc: Download complete 06:48:13 e9a5061849ea: Verifying Checksum 06:48:13 e9a5061849ea: Download complete 06:48:13 d747dcd14b5f: Download complete 06:48:13 ab5ef0e58194: Verifying Checksum 06:48:13 ab5ef0e58194: Download complete 06:48:13 0d9ebad4ef96: Verifying Checksum 06:48:13 0d9ebad4ef96: Download complete 06:48:13 2de7ff778b66: Verifying Checksum 06:48:13 2de7ff778b66: Download complete 06:48:16 ab5ef0e58194: Pull complete 06:48:16 9712f1f96733: Pull complete 06:48:16 63f879dbbcfc: Pull complete 06:48:20 0d9ebad4ef96: Pull complete 06:48:20 e9a5061849ea: Pull complete 06:48:20 d747dcd14b5f: Pull complete 06:48:21 2de7ff778b66: Pull complete 06:48:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:48:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:48:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:21 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:48:23 $ docker top 869e1ea577ba0388670ffc114ee7e2c8f8263cf52d537bfadd8ea212e9bdb8c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:48:23 provisioning config files... 06:48:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12353216775820638374tmp 06:48:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5749079424033179584tmp 06:48:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11792631483203828431tmp [Pipeline] { [Pipeline] echo 06:48:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:48:24 ---> sigul-configuration.sh 06:48:24 gpg: directory `/root/.gnupg' created 06:48:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:48:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:48:24 gpg: keyring `/root/.gnupg/secring.gpg' created 06:48:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:48:24 gpg: CAST5 encrypted data 06:48:24 gpg: encrypted with 1 passphrase 06:48:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:48:24 + mkdir /home/jenkins 06:48:24 + mkdir /home/jenkins/sigul [Pipeline] sh 06:48:24 + 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 06:48:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:48:25 ---> sigul-install.sh 06:48:25 Sigul already installed; skipping installation. [Pipeline] sh 06:48:25 + git tag --list 06:48:25 v1.0.0 06:48:25 v1.1.0 06:48:25 v1.1.1 06:48:25 v1.1.2 06:48:25 v1.2.0 06:48:25 v1.2.1 06:48:25 v2.0.0 06:48:25 v2.1.0 06:48:25 v2.1.1 06:48:25 v2.2.0 06:48:25 v2.3.0 06:48:25 v3.0 06:48:25 v3.0.0 06:48:25 v3.1 06:48:25 v3.1.0 06:48:25 v3.1.0-dev.1 06:48:25 v3.1.0-dev.10 06:48:25 v3.1.0-dev.11 06:48:25 v3.1.0-dev.12 06:48:25 v3.1.0-dev.13 06:48:25 v3.1.0-dev.14 06:48:25 v3.1.0-dev.15 06:48:25 v3.1.0-dev.16 06:48:25 v3.1.0-dev.17 06:48:25 v3.1.0-dev.18 06:48:25 v3.1.0-dev.19 06:48:25 v3.1.0-dev.2 06:48:25 v3.1.0-dev.20 06:48:25 v3.1.0-dev.21 06:48:25 v3.1.0-dev.22 06:48:25 v3.1.0-dev.23 06:48:25 v3.1.0-dev.24 06:48:25 v3.1.0-dev.25 06:48:25 v3.1.0-dev.26 06:48:25 v3.1.0-dev.27 06:48:25 v3.1.0-dev.28 06:48:25 v3.1.0-dev.29 06:48:25 v3.1.0-dev.3 06:48:25 v3.1.0-dev.30 06:48:25 v3.1.0-dev.31 06:48:25 v3.1.0-dev.32 06:48:25 v3.1.0-dev.4 06:48:25 v3.1.0-dev.5 06:48:25 v3.1.0-dev.6 06:48:25 v3.1.0-dev.7 06:48:25 v3.1.0-dev.8 06:48:25 v3.1.0-dev.9 06:48:25 v3.1.1 06:48:25 v3.2.0-dev.1 06:48:25 v3.2.0-dev.10 06:48:25 v3.2.0-dev.11 06:48:25 v3.2.0-dev.12 06:48:25 v3.2.0-dev.13 06:48:25 v3.2.0-dev.14 06:48:25 v3.2.0-dev.15 06:48:25 v3.2.0-dev.16 06:48:25 v3.2.0-dev.17 06:48:25 v3.2.0-dev.18 06:48:25 v3.2.0-dev.19 06:48:25 v3.2.0-dev.2 06:48:25 v3.2.0-dev.20 06:48:25 v3.2.0-dev.21 06:48:25 v3.2.0-dev.22 06:48:25 v3.2.0-dev.23 06:48:25 v3.2.0-dev.24 06:48:25 v3.2.0-dev.25 06:48:25 v3.2.0-dev.3 06:48:25 v3.2.0-dev.4 06:48:25 v3.2.0-dev.5 06:48:25 v3.2.0-dev.6 06:48:25 v3.2.0-dev.7 06:48:25 v3.2.0-dev.8 06:48:25 v3.2.0-dev.9 06:48:25 v4.0.0-dev.1 06:48:25 v4.0.0-dev.2 06:48:25 v4.0.0-dev.3 06:48:25 v4.0.0-dev.4 06:48:25 v4.0.0-dev.5 06:48:25 v4.0.0-dev.6 06:48:25 v4.0.0-dev.7 06:48:25 v4.0.0-dev.8 [Pipeline] sh 06:48:25 + lftools sign git-tag v4.0.0-dev.8 06:48:26 Signing Git tag with Sigul... 06:48:26 Signing v4.0.0-dev.8 [Pipeline] echo 06:48:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:48:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:48:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:48:26 $ docker stop --time=1 869e1ea577ba0388670ffc114ee7e2c8f8263cf52d537bfadd8ea212e9bdb8c9 06:48:28 $ docker rm -f --volumes 869e1ea577ba0388670ffc114ee7e2c8f8263cf52d537bfadd8ea212e9bdb8c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:48:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:28 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:48:29 $ docker top 0cbdfd454b080ba4516f93314b3348b524f3bfe8bd8e72036b5ee7ce758ad78a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:29 [ssh-agent] Looking for ssh-agent implementation... 06:48:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:29 $ docker exec 0cbdfd454b080ba4516f93314b3348b524f3bfe8bd8e72036b5ee7ce758ad78a ssh-agent 06:48:29 SSH_AUTH_SOCK=/tmp/ssh-xaOiuqS7nblX/agent.31 06:48:29 SSH_AGENT_PID=37 06:48:29 Running ssh-add (command line suppressed) 06:48:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10694571737310818393.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10694571737310818393.key) 06:48:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:30 + git semver bump pre 06:48:30 2025-02-18 06:48:30,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:30 2025-02-18 06:48:30,246 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev 06:48:30 2025-02-18 06:48:30,246 [bump_version] DEBUG bumped version:4.0.0-dev.9 06:48:30 2025-02-18 06:48:30,246 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 06:48:30 2025-02-18 06:48:30,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:30 2025-02-18 06:48:30,246 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:30 2025-02-18 06:48:30,248 [execute] INFO git cat-file --batch-check 06:48:30 2025-02-18 06:48:30,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:30 2025-02-18 06:48:30,253 [execute] INFO git cat-file --batch 06:48:30 2025-02-18 06:48:30,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:30 2025-02-18 06:48:30,257 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:30 4.0.0-dev.9 [Pipeline] } 06:48:30 $ docker exec --env ******** --env ******** 0cbdfd454b080ba4516f93314b3348b524f3bfe8bd8e72036b5ee7ce758ad78a ssh-agent -k 06:48:30 unset SSH_AUTH_SOCK; 06:48:30 unset SSH_AGENT_PID; 06:48:30 echo Agent pid 37 killed; 06:48:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:30 + git semver [Pipeline] } 06:48:31 $ docker stop --time=1 0cbdfd454b080ba4516f93314b3348b524f3bfe8bd8e72036b5ee7ce758ad78a 06:48:32 $ docker rm -f --volumes 0cbdfd454b080ba4516f93314b3348b524f3bfe8bd8e72036b5ee7ce758ad78a [Pipeline] // withDockerContainer [Pipeline] sh 06:48:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:33 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:48:33 $ docker top b94e0c871794531341ccf0d10503cd75a5c6a87c85fb7d57ff555924990a7554 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:33 [ssh-agent] Looking for ssh-agent implementation... 06:48:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:33 $ docker exec b94e0c871794531341ccf0d10503cd75a5c6a87c85fb7d57ff555924990a7554 ssh-agent 06:48:33 SSH_AUTH_SOCK=/tmp/ssh-7c0UEasqnCE3/agent.32 06:48:33 SSH_AGENT_PID=38 06:48:33 Running ssh-add (command line suppressed) 06:48:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5458641574045215954.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5458641574045215954.key) 06:48:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:34 + git semver push 06:48:34 2025-02-18 06:48:34,249 [run_push] DEBUG push 06:48:34 2025-02-18 06:48:34,250 [execute] INFO git cat-file --batch-check 06:48:34 2025-02-18 06:48:34,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:34 2025-02-18 06:48:34,253 [execute] INFO git rev-list fe7a8f3c9721a956dcc6e0331ce6a47918ea12cf -- 06:48:34 2025-02-18 06:48:34,253 [execute] DEBUG Popen(['git', 'rev-list', 'fe7a8f3c9721a956dcc6e0331ce6a47918ea12cf', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:34 2025-02-18 06:48:34,261 [execute] INFO git fetch -v origin 06:48:34 2025-02-18 06:48:34,262 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:48:34 2025-02-18 06:48:34,707 [run_push] DEBUG no remote changes detected 06:48:34 2025-02-18 06:48:34,707 [execute] INFO git push origin semver 06:48:34 2025-02-18 06:48:34,707 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:37 2025-02-18 06:48:37,340 [run_push] DEBUG push all version tags 06:48:37 2025-02-18 06:48:37,341 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:48:37 2025-02-18 06:48:37,341 [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) 06:48:38 2025-02-18 06:48:37,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:48:38 4.0.0-dev.9 [Pipeline] } 06:48:38 $ docker exec --env ******** --env ******** b94e0c871794531341ccf0d10503cd75a5c6a87c85fb7d57ff555924990a7554 ssh-agent -k 06:48:38 unset SSH_AUTH_SOCK; 06:48:38 unset SSH_AGENT_PID; 06:48:38 echo Agent pid 38 killed; 06:48:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:38 + git semver [Pipeline] } 06:48:38 $ docker stop --time=1 b94e0c871794531341ccf0d10503cd75a5c6a87c85fb7d57ff555924990a7554 06:48:40 $ docker rm -f --volumes b94e0c871794531341ccf0d10503cd75a5c6a87c85fb7d57ff555924990a7554 [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 06:48:40 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 06:48:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:48:40 total 16 06:48:40 drwxr-xr-x 3 root root 4096 Feb 18 06:36 . 06:48:40 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 06:48 .. 06:48:40 drwxr-xr-x 2 root root 4096 Feb 18 06:36 cost 06:48:40 -rw-r--r-- 1 root root 86 Feb 18 06:36 cost.csv 06:48:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 06:48:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:48:40 total 16 06:48:40 drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 06:36 . 06:48:40 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 06:48 .. 06:48:40 drwxr-xr-x 2 jenkins jenkins 4096 Feb 18 06:36 cost 06:48:40 -rw-r--r-- 1 jenkins jenkins 86 Feb 18 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:48:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:48:41 ---> package-listing.sh 06:48:41 ++ facter osfamily 06:48:41 ++ tr '[:upper:]' '[:lower:]' 06:48:42 + OS_FAMILY=debian 06:48:42 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:48:42 + START_PACKAGES=/tmp/packages_start.txt 06:48:42 + END_PACKAGES=/tmp/packages_end.txt 06:48:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:48:42 + PACKAGES=/tmp/packages_start.txt 06:48:42 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:48:42 + PACKAGES=/tmp/packages_end.txt 06:48:42 + case "${OS_FAMILY}" in 06:48:42 + dpkg -l 06:48:42 + grep '^ii' 06:48:42 + '[' -f /tmp/packages_start.txt ']' 06:48:42 + '[' -f /tmp/packages_end.txt ']' 06:48:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:48:42 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:48:42 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:48:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:48:42 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 06:48:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:43 prd-ubuntu20.04-docker-8c-8g-39157 does not seem to be running inside a container 06:48:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:48:43 $ docker top e0748843039faa7eca0d109606e9764c5dc2b238d5ae4718dc9bab34fa3f6b00 -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:48:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:48:44 + ls /var/log/sa-host 06:48:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:48:44 provisioning config files... 06:48:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12238444381420367413tmp [Pipeline] { [Pipeline] echo 06:48:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:48:44 ---> create-netrc.sh [Pipeline] } 06:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:48:45 ---> python-tools-install.sh [Pipeline] echo 06:48:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:48:45 ---> sudo-logs.sh 06:48:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:48:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:48:45 ---> job-cost.sh 06:48:45 lf-activate-venv: SKIPPING 06:48:45 DEBUG: total: 0.2199999988079071 06:48:45 INFO: Retrieving Stack Cost... 06:48:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:48:46 INFO: Archiving Costs [Pipeline] echo 06:48:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:48:46 ---> logs-deploy.sh 06:48:46 lf-activate-venv: SKIPPING 06:48:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/186 06:48:46 INFO: archiving workspace using pattern(s): 06:48:47 Archives upload complete. 06:48:47 INFO: archiving logs to Nexus