Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aee832240825fea584145add9b57acd48331f786 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-ssh4905921746035222283.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh14754017290706328119.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh10821841824226167728.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh11260160376158595534.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-ssh3516503401761121152.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, goVersion:1.25] ========================================================= [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.25 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4963 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 aee832240825fea584145add9b57acd48331f786 (main) Commit message: "Merge pull request #526 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.60" > 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 aee832240825fea584145add9b57acd48331f786 # timeout=10 > git rev-list --no-walk bb0fd8016af00a129c4ff3503c0a197242dc309a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:32:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:32:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:32:12 ========================================================= 01:32:12 EdgeX Global Pipelines Version Info 01:32:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:32:13 ------------------- 01:32:13 stable info: 01:32:13 ------------------- 01:32:13 Commited By: Cherry Wang cherry@iotechsys.com 01:32:13 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 01:32:13 Message: update stable to v1.0.278 01:32:14 ------------------- 01:32:14 experimental info: 01:32:14 ------------------- 01:32:14 Commited By: **** collab-it+edgex@linuxfoundation.org 01:32:14 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 01:32:14 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:32:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:32:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aee832240825fea584145add9b57acd48331f786 [Pipeline] echo 01:32:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aee8322 [Pipeline] echo 01:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:15 provisioning config files... 01:32:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10761564019590536194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:15 ---> ****-login.sh 01:32:15 nexus3.edgexfoundry.org:10001 01:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:15 01:32:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:32:15 Configure a credential helper to remove this warning. See 01:32:15 https://docs.****.com/go/credential-store/ 01:32:15 01:32:15 Login Succeeded 01:32:15 nexus3.edgexfoundry.org:10002 01:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:15 01:32:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:32:15 Configure a credential helper to remove this warning. See 01:32:15 https://docs.****.com/go/credential-store/ 01:32:15 01:32:15 Login Succeeded 01:32:15 nexus3.edgexfoundry.org:10003 01:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:15 01:32:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:32:15 Configure a credential helper to remove this warning. See 01:32:15 https://docs.****.com/go/credential-store/ 01:32:15 01:32:15 Login Succeeded 01:32:15 nexus3.edgexfoundry.org:10004 01:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:15 01:32:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:32:15 Configure a credential helper to remove this warning. See 01:32:15 https://docs.****.com/go/credential-store/ 01:32:15 01:32:15 Login Succeeded 01:32:15 ****.io 01:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:16 01:32:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:32:16 Configure a credential helper to remove this warning. See 01:32:16 https://docs.****.com/go/credential-store/ 01:32:16 01:32:16 Login Succeeded 01:32:16 ---> ****-login.sh ends [Pipeline] } 01:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:32:16 + git rev-list -1 --merges aee832240825fea584145add9b57acd48331f786~1..aee832240825fea584145add9b57acd48331f786 [Pipeline] echo 01:32:16 -----------> git rev-list -1 --merges aee832240825fea584145add9b57acd48331f786~1..aee832240825fea584145add9b57acd48331f786 aee832240825fea584145add9b57acd48331f786 01:32:16 aee832240825fea584145add9b57acd48331f786 [false] [Pipeline] sh 01:32:17 + git log --format=format:%s -1 aee832240825fea584145add9b57acd48331f786 [Pipeline] echo 01:32:17 ========================================================= 01:32:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:32:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:17 + git log --format=format:%s -1 aee832240825fea584145add9b57acd48331f786 [Pipeline] echo 01:32:17 [semverPrep] GIT_COMMIT: aee832240825fea584145add9b57acd48331f786, Commit Message: Merge pull request #526 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.60 [Pipeline] echo 01:32:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:18 + grep -v github /etc/ssh/ssh_known_hosts 01:32:18 + [ -e /tmp/ssh_known_hosts ] 01:32:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:32:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:32:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:18 01:32:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:32:18 3dae71ba6b94: Pulling fs layer 01:32:18 6bf1a483ea7c: Pulling fs layer 01:32:18 f5dfc541a4d3: Pulling fs layer 01:32:18 461d9e800cba: Pulling fs layer 01:32:18 80192f66455f: Pulling fs layer 01:32:18 2e8e34ca0e6c: Pulling fs layer 01:32:18 a29436f7fd5d: Pulling fs layer 01:32:18 923cac83aea3: Pulling fs layer 01:32:18 25ad8b0a4227: Pulling fs layer 01:32:18 db01528c6b51: Pulling fs layer 01:32:18 28988de357af: Pulling fs layer 01:32:18 a29436f7fd5d: Waiting 01:32:18 923cac83aea3: Waiting 01:32:18 25ad8b0a4227: Waiting 01:32:18 db01528c6b51: Waiting 01:32:18 28988de357af: Waiting 01:32:18 461d9e800cba: Waiting 01:32:18 80192f66455f: Waiting 01:32:18 2e8e34ca0e6c: Waiting 01:32:18 6bf1a483ea7c: Verifying Checksum 01:32:18 6bf1a483ea7c: Download complete 01:32:18 461d9e800cba: Download complete 01:32:18 80192f66455f: Download complete 01:32:19 f5dfc541a4d3: Verifying Checksum 01:32:19 f5dfc541a4d3: Download complete 01:32:19 3dae71ba6b94: Download complete 01:32:19 923cac83aea3: Verifying Checksum 01:32:19 923cac83aea3: Download complete 01:32:19 25ad8b0a4227: Verifying Checksum 01:32:19 25ad8b0a4227: Download complete 01:32:19 db01528c6b51: Verifying Checksum 01:32:19 db01528c6b51: Download complete 01:32:19 28988de357af: Verifying Checksum 01:32:19 28988de357af: Download complete 01:32:19 a29436f7fd5d: Verifying Checksum 01:32:19 a29436f7fd5d: Download complete 01:32:19 2e8e34ca0e6c: Verifying Checksum 01:32:20 3dae71ba6b94: Pull complete 01:32:20 6bf1a483ea7c: Pull complete 01:32:21 f5dfc541a4d3: Pull complete 01:32:21 461d9e800cba: Pull complete 01:32:21 80192f66455f: Pull complete 01:32:26 2e8e34ca0e6c: Pull complete 01:32:27 a29436f7fd5d: Pull complete 01:32:27 923cac83aea3: Pull complete 01:32:27 25ad8b0a4227: Pull complete 01:32:27 db01528c6b51: Pull complete 01:32:27 28988de357af: Pull complete 01:32:27 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:27 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:32:29 $ docker top d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 -eo pid,comm 01:32:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:32:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:29 [ssh-agent] Looking for ssh-agent implementation... 01:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:29 $ docker exec d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 ssh-agent 01:32:29 SSH_AUTH_SOCK=/tmp/ssh-ktbSrTyTrSJG/agent.32 01:32:29 SSH_AGENT_PID=39 01:32:29 Running ssh-add (command line suppressed) 01:32:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_170251533243793870.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_170251533243793870.key) 01:32:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 01:32:30 + git tag --points-at HEAD [Pipeline] } 01:32:30 $ docker exec --env ******** --env ******** d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 ssh-agent -k 01:32:30 unset SSH_AUTH_SOCK; 01:32:30 unset SSH_AGENT_PID; 01:32:30 echo Agent pid 39 killed; 01:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:30 [ssh-agent] Looking for ssh-agent implementation... 01:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:30 $ docker exec d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 ssh-agent 01:32:30 SSH_AUTH_SOCK=/tmp/ssh-iJ57iar3bz0B/agent.86 01:32:30 SSH_AGENT_PID=92 01:32:30 Running ssh-add (command line suppressed) 01:32:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3386062319694405508.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3386062319694405508.key) 01:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:31 + git semver init 01:32:31 2026-04-12 01:32:31,362 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:32:31 2026-04-12 01:32:31,368 [run_init] DEBUG init version:0.0.0 force:False 01:32:31 2026-04-12 01:32:31,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:32:31 2026-04-12 01:32:31,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:32:31 2026-04-12 01:32:31,369 [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, stdin=None, shell=False, universal_newlines=False) 01:32:33 2026-04-12 01:32:33,028 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:32:33 2026-04-12 01:32:33,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:32:33 2026-04-12 01:32:33,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:33 2026-04-12 01:32:33,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:32:33 4.1.0-dev.22 [Pipeline] } 01:32:33 $ docker exec --env ******** --env ******** d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 ssh-agent -k 01:32:33 unset SSH_AUTH_SOCK; 01:32:33 unset SSH_AGENT_PID; 01:32:33 echo Agent pid 92 killed; 01:32:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:33 + git semver [Pipeline] } 01:32:34 $ docker stop --time=1 d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 01:32:35 $ docker rm -f --volumes d9ed24f96f68772c9a15ea975d40d5d603c2e30f45df8196e2d7838438b32436 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:32:36 Stashed 1 file(s) [Pipeline] echo 01:32:36 [edgeXSemver]: initialized semver on version 4.1.0-dev.22 [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 01:32:36 provisioning config files... 01:32:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18237911644008420093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:37 ---> ****-login.sh 01:32:37 nexus3.edgexfoundry.org:10001 01:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:37 Login Succeeded 01:32:37 nexus3.edgexfoundry.org:10002 01:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:37 Login Succeeded 01:32:37 nexus3.edgexfoundry.org:10003 01:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:37 Login Succeeded 01:32:37 nexus3.edgexfoundry.org:10004 01:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:37 Login Succeeded 01:32:37 ****.io 01:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:37 Login Succeeded 01:32:37 ---> ****-login.sh ends [Pipeline] } 01:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:32:37 ========================================================= 01:32:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 01:32:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine --build-arg MAKE=echo noop --target=builder . 01:32:38 #0 building with "default" instance using docker driver 01:32:38 01:32:38 #1 [internal] load build definition from Dockerfile 01:32:38 #1 transferring dockerfile: 1.74kB done 01:32:38 #1 DONE 0.0s 01:32:38 01:32:38 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 01:32:38 #2 DONE 0.1s 01:32:38 01:32:38 #3 [internal] load .dockerignore 01:32:38 #3 transferring context: 193B done 01:32:38 #3 DONE 0.0s 01:32:38 01:32:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 01:32:38 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 01:32:38 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 01:32:38 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 01:32:38 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 01:32:38 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.1s done 01:32:38 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 3.15MB / 60.15MB 0.1s 01:32:38 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 0B / 125B 0.1s 01:32:38 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 01:32:38 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 01:32:39 #4 ... 01:32:39 01:32:39 #5 [internal] load build context 01:32:39 #5 transferring context: 22.47MB 0.2s done 01:32:39 #5 DONE 0.2s 01:32:39 01:32:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 01:32:39 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 01:32:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 30.41MB / 60.15MB 0.3s 01:32:39 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 01:32:39 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:32:39 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 01:32:39 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 9.44MB / 11.98MB 0.3s 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 7.34MB / 112.58MB 0.3s 01:32:39 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 01:32:39 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s done 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 14.68MB / 112.58MB 0.4s 01:32:39 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.0s done 01:32:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.5s 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 23.07MB / 112.58MB 0.5s 01:32:39 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 7.34MB / 14.72MB 0.5s 01:32:39 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 01:32:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.5s done 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 37.09MB / 112.58MB 0.6s 01:32:39 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.6s done 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 78.64MB / 112.58MB 0.8s 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 101.71MB / 112.58MB 0.9s 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.0s 01:32:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.1s done 01:32:45 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.8s done 01:32:45 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 01:32:45 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 01:32:45 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:32:45 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 01:32:45 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 01:32:45 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.3s done 01:32:45 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 01:32:48 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 3.5s done 01:32:48 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 01:32:49 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.9s done 01:32:49 #4 DONE 10.6s 01:32:49 01:32:49 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:32:49 #6 0.213 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:32:49 #6 0.373 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:32:49 #6 0.762 (1/4) Installing openssh-keygen (10.0_p1-r10) 01:32:50 #6 0.774 (2/4) Installing libedit (20250104.3.1-r1) 01:32:50 #6 0.785 (3/4) Installing openssh-client-common (10.0_p1-r10) 01:32:50 #6 0.813 (4/4) Installing openssh-client-default (10.0_p1-r10) 01:32:50 #6 0.824 Executing busybox-1.37.0-r19.trigger 01:32:50 #6 0.834 OK: 269 MiB in 64 packages 01:32:51 #6 DONE 2.2s 01:32:51 01:32:51 #7 [builder 3/7] WORKDIR /device-rest-go 01:32:51 #7 DONE 0.0s 01:32:51 01:32:51 #8 [builder 4/7] COPY go.mod vendor* ./ 01:32:51 #8 DONE 0.0s 01:32:51 01:32:51 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:51 Still waiting to schedule task 01:32:51 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:01 #9 DONE 9.1s 01:33:01 01:33:01 #10 [builder 6/7] COPY . . 01:33:01 #10 DONE 0.1s 01:33:01 01:33:01 #11 [builder 7/7] RUN echo noop 01:33:01 #11 0.214 noop 01:33:01 #11 DONE 0.3s 01:33:01 01:33:01 #12 exporting to image 01:33:01 #12 exporting layers 01:33:09 #12 exporting layers 8.2s done 01:33:09 #12 writing image sha256:21489bf89d88cc449f9515219bb34cc51db83be2c154bf948600982575795db2 done 01:33:09 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:33:09 #12 DONE 8.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:10 + docker inspect -f . ci-base-image-x86_64 01:33:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:10 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:33:10 $ 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 01:33:10 $ docker top c50191d997327d239802e8bae12f635e8b1dc17613b39821e52a9d1d533562fe -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:10 + go version 01:33:10 go version go1.25.2 linux/amd64 [Pipeline] } 01:33:10 $ docker stop --time=1 c50191d997327d239802e8bae12f635e8b1dc17613b39821e52a9d1d533562fe 01:33:12 $ docker rm -f --volumes c50191d997327d239802e8bae12f635e8b1dc17613b39821e52a9d1d533562fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:12 + docker inspect -f . ci-base-image-x86_64 01:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:12 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:33:12 $ 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 01:33:12 $ docker top 6a8f306212ff8e0781442917aea43dbd6c67c4c020b1a514e5a0b34c6912a17f -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:33:13 + make test 01:33:13 go test ./... -coverprofile=coverage.out ./... 01:33:14 ? github.com/edgexfoundry/device-rest-go [no test files] 01:33:41 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:33:41 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 01:33:49 0 issues. 01:33:49 go vet ./... 01:33:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:55 ./bin/test-attribution-txt.sh 01:33:55 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add 01:33:55 An attribution for github.com/oklog/ulid/v2 is missing from Attribution.txt, please add [Pipeline] echo 01:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:33:55 $ docker stop --time=1 6a8f306212ff8e0781442917aea43dbd6c67c4c020b1a514e5a0b34c6912a17f 01:33:57 $ docker rm -f --volumes 6a8f306212ff8e0781442917aea43dbd6c67c4c020b1a514e5a0b34c6912a17f [Pipeline] // withDockerContainer [Pipeline] sh 01:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:59 + ls -al . 01:33:59 total 248 01:33:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 01:33 . 01:33:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 01:32 .. 01:33:59 -rw-rw-r-- 1 jenkins jenkins 151 Apr 12 01:32 .dockerignore 01:33:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 01:33 .git 01:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:32 .github 01:33:59 -rw-rw-r-- 1 jenkins jenkins 264 Apr 12 01:32 .gitignore 01:33:59 -rw-rw-r-- 1 jenkins jenkins 359 Apr 12 01:32 .golangci.yml 01:33:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 01:32 .semver 01:33:59 -rw-rw-r-- 1 jenkins jenkins 22791 Apr 12 01:32 Attribution.txt 01:33:59 -rw-rw-r-- 1 jenkins jenkins 18492 Apr 12 01:32 CHANGELOG.md 01:33:59 -rw-rw-r-- 1 jenkins jenkins 1697 Apr 12 01:32 Dockerfile 01:33:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 01:32 GOVERNANCE.md 01:33:59 -rw-rw-r-- 1 jenkins jenkins 704 Apr 12 01:32 Jenkinsfile 01:33:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 01:32 LICENSE 01:33:59 -rw-rw-r-- 1 jenkins jenkins 2597 Apr 12 01:32 Makefile 01:33:59 -rw-rw-r-- 1 jenkins jenkins 620 Apr 12 01:32 OWNERS.md 01:33:59 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 12 01:32 README.md 01:33:59 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 01:32 VERSION 01:33:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:32 bin 01:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:32 cmd 01:33:59 -rw-r--r-- 1 jenkins jenkins 14565 Apr 12 01:33 coverage.out 01:33:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:32 driver 01:33:59 -rw-rw-r-- 1 jenkins jenkins 6776 Apr 12 01:32 go.mod 01:33:59 -rw-rw-r-- 1 jenkins jenkins 89243 Apr 12 01:32 go.sum 01:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:32 openapi 01:33:59 -rw-rw-r-- 1 jenkins jenkins 713 Apr 12 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:59 + 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=aee832240825fea584145add9b57acd48331f786 --label arch=amd64 --label version=4.1.0-dev.22 . 01:33:59 #0 building with "default" instance using docker driver 01:33:59 01:33:59 #1 [internal] load build definition from Dockerfile 01:33:59 #1 transferring dockerfile: 1.74kB done 01:33:59 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 01:33:59 #1 DONE 0.0s 01:33:59 01:33:59 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:33:59 #2 DONE 0.0s 01:33:59 01:33:59 #3 [internal] load metadata for docker.io/library/alpine:3.22 01:33:59 #3 DONE 0.1s 01:33:59 01:33:59 #4 [internal] load .dockerignore 01:33:59 #4 transferring context: 193B done 01:33:59 #4 DONE 0.0s 01:33:59 01:33:59 #5 [internal] load build context 01:33:59 #5 transferring context: 18.46kB 0.0s done 01:33:59 #5 DONE 0.0s 01:33:59 01:33:59 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:33:59 #6 DONE 0.1s 01:33:59 01:33:59 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 01:33:59 #7 resolve docker.io/library/alpine:3.22@sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 0.0s done 01:33:59 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 01:33:59 #7 sha256:e0baf8c394150ac5a14925e179100519f5e37c53547f647acbd9f8eb3e5c4528 1.02kB / 1.02kB done 01:33:59 #7 sha256:f65e6e80f68613c7e9c51c98f879c73373d7a38c0790300e1478ce45894a24aa 611B / 611B done 01:33:59 #7 sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 3.80MB / 3.80MB 0.1s done 01:33:59 #7 sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 9.22kB / 9.22kB done 01:34:00 #7 extracting sha256:d49a2dee86fb12766dd648402d010ca105846a41bd58738454e53780d4bb8e97 0.1s done 01:34:00 #7 DONE 0.3s 01:34:00 01:34:00 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:34:00 #8 0.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:34:00 #8 0.280 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:34:00 #8 ... 01:34:00 01:34:00 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:34:00 #9 0.245 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:34:00 #9 0.315 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:34:00 #9 0.647 OK: 269 MiB in 64 packages 01:34:00 #9 DONE 0.8s 01:34:00 01:34:00 #10 [builder 3/7] WORKDIR /device-rest-go 01:34:00 #10 DONE 0.0s 01:34:00 01:34:00 #11 [builder 4/7] COPY go.mod vendor* ./ 01:34:00 #11 DONE 0.0s 01:34:00 01:34:00 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:34:00 #8 0.635 (1/1) Installing dumb-init (1.2.5-r3) 01:34:00 #8 0.643 Executing busybox-1.37.0-r20.trigger 01:34:00 #8 0.651 OK: 7 MiB in 17 packages 01:34:00 #8 DONE 0.8s 01:34:00 01:34:00 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:01 #12 DONE 0.5s 01:34:01 01:34:01 #13 [builder 6/7] COPY . . 01:34:01 #13 DONE 0.1s 01:34:01 01:34:01 #14 [stage-1 3/6] RUN apk --no-cache upgrade 01:34:01 #14 0.372 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 01:34:01 #14 0.466 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 01:34:01 #14 0.845 (1/4) Upgrading musl (1.2.5-r10 -> 1.2.5-r12) 01:34:02 #14 0.865 (2/4) Upgrading libcrypto3 (3.5.5-r0 -> 3.5.6-r0) 01:34:02 #14 0.915 (3/4) Upgrading libssl3 (3.5.5-r0 -> 3.5.6-r0) 01:34:02 #14 0.930 (4/4) Upgrading musl-utils (1.2.5-r10 -> 1.2.5-r12) 01:34:02 #14 0.937 Executing busybox-1.37.0-r20.trigger 01:34:02 #14 0.944 OK: 7 MiB in 17 packages 01:34:02 #14 DONE 1.1s 01:34:02 01:34:02 #15 [builder 7/7] RUN make build 01:34:02 #15 0.221 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.60 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:34:28 #15 DONE 26.7s 01:34:28 01:34:28 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:34:28 #16 DONE 0.1s 01:34:28 01:34:28 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:34:28 #17 DONE 0.0s 01:34:28 01:34:28 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:34:28 #18 DONE 0.0s 01:34:28 01:34:28 #19 exporting to image 01:34:28 #19 exporting layers 0.1s done 01:34:28 #19 writing image sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:34:28 #19 naming to docker.io/library/device-rest done 01:34:28 #19 DONE 0.2s 01:34:28 01:34:28 1 warning found (use docker --debug to expand): 01:34:28  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:28 provisioning config files... 01:34:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7343313800828125753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:29 ---> ****-login.sh 01:34:29 nexus3.edgexfoundry.org:10001 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10002 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10003 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 Login Succeeded 01:34:29 nexus3.edgexfoundry.org:10004 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:29 Login Succeeded 01:34:29 ****.io 01:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:30 Login Succeeded 01:34:30 ---> ****-login.sh ends [Pipeline] } 01:34:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:34:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:34:30 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:34:30 aee832240825fea584145add9b57acd48331f786 01:34:30 latest 01:34:30 4.1.0-dev.22 01:34:30 aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:34:30 main 01:34:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 01:34:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:34:31 8748ad2d2bac: Preparing 01:34:31 2e1b942bb43f: Preparing 01:34:31 25ab7bbccb45: Preparing 01:34:31 4cc427c4446c: Preparing 01:34:31 e4cfcdd28862: Preparing 01:34:31 cce92674e987: Preparing 01:34:31 cce92674e987: Waiting 01:34:31 8748ad2d2bac: Pushed 01:34:31 2e1b942bb43f: Pushed 01:34:31 e4cfcdd28862: Pushed 01:34:31 cce92674e987: Layer already exists 01:34:32 4cc427c4446c: Pushed 01:34:35 25ab7bbccb45: Pushed 01:34:35 aee832240825fea584145add9b57acd48331f786: digest: sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:34:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:34:36 8748ad2d2bac: Preparing 01:34:36 2e1b942bb43f: Preparing 01:34:36 25ab7bbccb45: Preparing 01:34:36 4cc427c4446c: Preparing 01:34:36 e4cfcdd28862: Preparing 01:34:36 cce92674e987: Preparing 01:34:36 cce92674e987: Waiting 01:34:36 2e1b942bb43f: Layer already exists 01:34:36 25ab7bbccb45: Layer already exists 01:34:36 e4cfcdd28862: Layer already exists 01:34:36 8748ad2d2bac: Layer already exists 01:34:36 4cc427c4446c: Layer already exists 01:34:36 cce92674e987: Layer already exists 01:34:36 latest: digest: sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 01:34:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:34:36 8748ad2d2bac: Preparing 01:34:36 2e1b942bb43f: Preparing 01:34:36 25ab7bbccb45: Preparing 01:34:36 4cc427c4446c: Preparing 01:34:36 e4cfcdd28862: Preparing 01:34:36 cce92674e987: Preparing 01:34:36 cce92674e987: Waiting 01:34:36 e4cfcdd28862: Layer already exists 01:34:36 25ab7bbccb45: Layer already exists 01:34:36 2e1b942bb43f: Layer already exists 01:34:36 4cc427c4446c: Layer already exists 01:34:36 8748ad2d2bac: Layer already exists 01:34:36 cce92674e987: Layer already exists 01:34:36 4.1.0-dev.22: digest: sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:34:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:34:37 8748ad2d2bac: Preparing 01:34:37 2e1b942bb43f: Preparing 01:34:37 25ab7bbccb45: Preparing 01:34:37 4cc427c4446c: Preparing 01:34:37 e4cfcdd28862: Preparing 01:34:37 cce92674e987: Preparing 01:34:37 cce92674e987: Waiting 01:34:37 4cc427c4446c: Layer already exists 01:34:37 25ab7bbccb45: Layer already exists 01:34:37 e4cfcdd28862: Layer already exists 01:34:37 8748ad2d2bac: Layer already exists 01:34:37 2e1b942bb43f: Layer already exists 01:34:37 cce92674e987: Layer already exists 01:34:37 aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22: digest: sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:34:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:34:37 8748ad2d2bac: Preparing 01:34:37 2e1b942bb43f: Preparing 01:34:37 25ab7bbccb45: Preparing 01:34:37 4cc427c4446c: Preparing 01:34:37 e4cfcdd28862: Preparing 01:34:37 cce92674e987: Preparing 01:34:37 cce92674e987: Waiting 01:34:37 4cc427c4446c: Layer already exists 01:34:37 8748ad2d2bac: Layer already exists 01:34:37 25ab7bbccb45: Layer already exists 01:34:37 e4cfcdd28862: Layer already exists 01:34:37 2e1b942bb43f: Layer already exists 01:34:37 cce92674e987: Layer already exists 01:34:37 main: digest: sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:34:38 ===================================================== [Pipeline] echo 01:34:38 taggedImages: 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:34:38 ========================================================= 01:34:38 [edgeXBuildMultiArch] RAW Config: 01:34:38 images: 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:34:38 - nexus3.edgexfoundry.org:10004/device-rest:main 01:34:38 settingsFile: 01:34:38 device-rest-go-settings 01:34:38 ========================================================= [Pipeline] node 01:34:53 Still waiting to schedule task 01:34:53 ‘prd-centos7-docker-4c-2g-4967’ is offline 01:35:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4973 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:35:29 Running in /w/workspace/device-rest-go/231 [Pipeline] { [Pipeline] checkout 01:35:32 The recommended git tool is: git 01:35:41 using credential edgex-jenkins-ssh 01:35:41 Cloning the remote Git repository 01:35:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:35:42 Running on prd-centos7-docker-4c-2g-4977 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:42 provisioning config files... 01:35:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1792404905278246375tmp [Pipeline] { [Pipeline] libraryResource 01:35:41 > git init /w/workspace/device-rest-go/231 # timeout=10 01:35:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:35:41 > git --version # timeout=10 01:35:41 > git --version # 'git version 2.25.1' 01:35:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 01:35:46 ---> ****-login.sh 01:35:46 nexus3.edgexfoundry.org:10001 01:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:46 Configure a credential helper to remove this warning. See 01:35:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:46 01:35:46 Login Succeeded 01:35:46 nexus3.edgexfoundry.org:10002 01:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:46 Configure a credential helper to remove this warning. See 01:35:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:46 01:35:46 Login Succeeded 01:35:46 nexus3.edgexfoundry.org:10003 01:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:46 Configure a credential helper to remove this warning. See 01:35:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:46 01:35:46 Login Succeeded 01:35:46 nexus3.edgexfoundry.org:10004 01:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:46 Configure a credential helper to remove this warning. See 01:35:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:46 01:35:46 Login Succeeded 01:35:46 ****.io 01:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:47 Configure a credential helper to remove this warning. See 01:35:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:47 01:35:47 Login Succeeded 01:35:47 ---> ****-login.sh ends [Pipeline] } 01:35:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:35:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:35:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:47 + docker buildx ls 01:35:47 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:35:47 default * docker 01:35:47 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:35:47 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:35:47 edgex-builder [Pipeline] sh 01:35:48 + docker buildx inspect --bootstrap 01:35:48 #1 [internal] booting buildkit 01:35:48 #1 pulling image moby/buildkit:buildx-stable-1 01:35:48 Avoid second fetch 01:35:48 Checking out Revision aee832240825fea584145add9b57acd48331f786 (main) 01:35:48 > git config core.sparsecheckout # timeout=10 01:35:48 > git checkout -f aee832240825fea584145add9b57acd48331f786 # timeout=10 01:35:49 Commit message: "Merge pull request #526 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.60" 01:35:51 #1 pulling image moby/buildkit:buildx-stable-1 3.3s done 01:35:51 #1 creating container buildx_buildkit_edgex-builder0 01:35:52 #1 creating container buildx_buildkit_edgex-builder0 1.4s done 01:35:52 #1 DONE 4.7s 01:35:52 Name: edgex-builder 01:35:52 Driver: docker-container 01:35:52 01:35:52 Nodes: 01:35:52 Name: edgex-builder0 01:35:52 Endpoint: unix:///var/run/docker.sock 01:35:52 Status: running 01:35:52 Buildkit: v0.29.0 01:35:52 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:35:53 + docker buildx ls 01:35:53 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:35:53 edgex-builder * docker-container 01:35:53 edgex-builder0 unix:///var/run/docker.sock running v0.29.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:35:53 default docker 01:35:53 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:35:53 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786' 01:35:53 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 --push - 01:35:53 #1 [internal] load build definition from Dockerfile 01:35:53 #1 transferring dockerfile: 196B done 01:35:53 #1 DONE 0.0s 01:35:53 01:35:53 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 01:35:53 #2 DONE 0.1s 01:35:53 01:35:53 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786 01:35:53 #3 DONE 0.1s 01:35:53 01:35:53 #4 [internal] load .dockerignore 01:35:53 #4 transferring context: 2B done 01:35:53 #4 DONE 0.0s 01:35:53 01:35:53 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:53 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:53 #5 DONE 0.0s 01:35:53 01:35:53 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:53 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e done 01:35:53 #6 DONE 0.1s 01:35:53 01:35:53 #7 exporting to image 01:35:53 #7 exporting layers done 01:35:53 #7 exporting manifest sha256:45d2b40353b2ca2cfb21e51e6a283219e2d88dfb99d25c0570840950c3af4943 done 01:35:53 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:35:53 #7 exporting manifest sha256:10888127007e8e0580e1c924ec579d76ef5cbb15df3edd178fc2fd9f4723f1e3 done 01:35:53 #7 exporting config sha256:fc2648f64ba3444abeb2b7e56d9076a14f88579f853a8a54e0fbfa7f2ec9aa0c done 01:35:53 #7 exporting manifest list sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 done 01:35:53 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:35:53 #7 DONE 0.0s 01:35:53 01:35:53 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:35:53 #8 DONE 0.0s 01:35:53 01:35:53 #7 exporting to image 01:35:53 #7 pushing layers 0.1s done 01:35:53 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 01:35:54 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 0.1s done 01:35:54 #7 DONE 0.2s 01:35:54 01:35:54 1 warning found (use --debug to expand): 01:35:54  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:54 provisioning config files... 01:35:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/231@tmp/config6845449981753761985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:54 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:35:54 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:35:54 #1 [internal] load build definition from Dockerfile 01:35:54 #1 transferring dockerfile: 162B done 01:35:54 #1 DONE 0.0s 01:35:54 01:35:54 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:35:54 #2 DONE 0.0s 01:35:54 01:35:54 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:35:54 #3 DONE 0.0s 01:35:54 01:35:54 #4 [internal] load .dockerignore 01:35:54 #4 transferring context: 2B done 01:35:54 #4 DONE 0.0s 01:35:54 01:35:54 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:54 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:54 #5 CACHED 01:35:54 01:35:54 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:54 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:54 #6 CACHED 01:35:54 01:35:54 #7 exporting to image 01:35:54 #7 exporting layers done 01:35:54 #7 exporting manifest sha256:45d2b40353b2ca2cfb21e51e6a283219e2d88dfb99d25c0570840950c3af4943 done 01:35:54 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f 01:35:54 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:35:54 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:35:54 #7 exporting manifest sha256:10888127007e8e0580e1c924ec579d76ef5cbb15df3edd178fc2fd9f4723f1e3 done 01:35:54 #7 exporting config sha256:fc2648f64ba3444abeb2b7e56d9076a14f88579f853a8a54e0fbfa7f2ec9aa0c done 01:35:54 #7 exporting manifest list sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 done 01:35:54 #7 pushing layers 0.0s done 01:35:54 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 0.1s done 01:35:54 #7 DONE 0.1s 01:35:54 01:35:54 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:35:54 #8 DONE 0.0s 01:35:54 01:35:54 1 warning found (use --debug to expand): 01:35:54  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:35:55 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22' 01:35:55 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 --push - 01:35:55 #1 [internal] load build definition from Dockerfile 01:35:55 #1 transferring dockerfile: 168B done 01:35:55 #1 DONE 0.0s 01:35:55 01:35:55 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 01:35:55 #2 DONE 0.0s 01:35:55 01:35:55 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22 01:35:55 #3 DONE 0.0s 01:35:55 01:35:55 #4 [internal] load .dockerignore 01:35:55 #4 transferring context: 2B done 01:35:55 #4 DONE 0.0s 01:35:55 01:35:55 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:55 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:55 #5 CACHED 01:35:55 01:35:55 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:55 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:55 #6 CACHED 01:35:55 01:35:55 #7 exporting to image 01:35:55 #7 exporting layers done 01:35:55 #7 exporting manifest sha256:45d2b40353b2ca2cfb21e51e6a283219e2d88dfb99d25c0570840950c3af4943 done 01:35:55 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:35:55 #7 exporting manifest sha256:10888127007e8e0580e1c924ec579d76ef5cbb15df3edd178fc2fd9f4723f1e3 done 01:35:55 #7 exporting config sha256:fc2648f64ba3444abeb2b7e56d9076a14f88579f853a8a54e0fbfa7f2ec9aa0c done 01:35:55 #7 exporting manifest list sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 done 01:35:55 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:35:55 #7 DONE 0.0s 01:35:55 ---> ****-login.sh 01:35:55 nexus3.edgexfoundry.org:10001 01:35:55 01:35:55 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:35:55 #8 DONE 0.0s 01:35:55 01:35:55 #7 exporting to image 01:35:55 #7 pushing layers 0.0s done 01:35:55 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.22@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 0.1s done 01:35:55 #7 DONE 0.1s 01:35:55 01:35:55 1 warning found (use --debug to expand): 01:35:55  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:35:55 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22' 01:35:55 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 --push - 01:35:55 #1 [internal] load build definition from Dockerfile 01:35:55 #1 transferring dockerfile: 209B done 01:35:55 #1 DONE 0.0s 01:35:55 01:35:55 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:35:55 #2 DONE 0.0s 01:35:55 01:35:55 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:35:55 #3 DONE 0.0s 01:35:55 01:35:55 #4 [internal] load .dockerignore 01:35:55 #4 transferring context: 2B done 01:35:55 #4 DONE 0.0s 01:35:55 01:35:55 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:55 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:55 #5 CACHED 01:35:55 01:35:55 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:55 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:55 #6 CACHED 01:35:55 01:35:55 #7 exporting to image 01:35:55 #7 exporting layers done 01:35:55 #7 exporting manifest sha256:45d2b40353b2ca2cfb21e51e6a283219e2d88dfb99d25c0570840950c3af4943 done 01:35:55 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:35:55 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:55 Configure a credential helper to remove this warning. See 01:35:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:55 01:35:55 Login Succeeded 01:35:55 #7 exporting manifest sha256:10888127007e8e0580e1c924ec579d76ef5cbb15df3edd178fc2fd9f4723f1e3 done 01:35:55 #7 exporting config sha256:fc2648f64ba3444abeb2b7e56d9076a14f88579f853a8a54e0fbfa7f2ec9aa0c done 01:35:55 #7 exporting manifest list sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 done 01:35:55 #7 pushing layers 0.0s done 01:35:55 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 0.1s done 01:35:55 #7 DONE 0.1s 01:35:55 01:35:55 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:35:55 #8 DONE 0.0s 01:35:55 01:35:55 1 warning found (use --debug to expand): 01:35:55  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:35:56 nexus3.edgexfoundry.org:10002 01:35:56 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:35:56 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:56 Configure a credential helper to remove this warning. See 01:35:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:56 01:35:56 Login Succeeded 01:35:56 nexus3.edgexfoundry.org:10003 01:35:56 #1 [internal] load build definition from Dockerfile 01:35:56 #1 transferring dockerfile: 160B done 01:35:56 #1 DONE 0.0s 01:35:56 01:35:56 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:35:56 #2 DONE 0.0s 01:35:56 01:35:56 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:35:56 #3 DONE 0.0s 01:35:56 01:35:56 #4 [internal] load .dockerignore 01:35:56 #4 transferring context: 2B done 01:35:56 #4 DONE 0.0s 01:35:56 01:35:56 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:56 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:56 #5 CACHED 01:35:56 01:35:56 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 01:35:56 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:225f0ba9c43fee71e8c51c24478851da476817e9db824fa35f3285f1716e8a9e 0.0s done 01:35:56 #6 CACHED 01:35:56 01:35:56 #7 exporting to image 01:35:56 #7 exporting layers done 01:35:56 #7 exporting manifest sha256:45d2b40353b2ca2cfb21e51e6a283219e2d88dfb99d25c0570840950c3af4943 done 01:35:56 #7 exporting config sha256:dd82f445ddedbeaf3c7581cb55cbde6d8ec6218967bc95cc3f7024d1ddfb7c1f done 01:35:56 #7 exporting manifest sha256:10888127007e8e0580e1c924ec579d76ef5cbb15df3edd178fc2fd9f4723f1e3 done 01:35:56 #7 exporting config sha256:fc2648f64ba3444abeb2b7e56d9076a14f88579f853a8a54e0fbfa7f2ec9aa0c done 01:35:56 #7 exporting manifest list sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 done 01:35:56 #7 pushing layers 0.0s done 01:35:56 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 01:35:56 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:35:56 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:a42a74e440d36255ca06b9019f1b0dd988b57271164e0743c809f3204121a955 0.1s done 01:35:56 #7 DONE 0.1s 01:35:56 01:35:56 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:35:56 #8 DONE 0.0s 01:35:56 01:35:56 1 warning found (use --debug to expand): 01:35:56  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:35:56 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:56 Configure a credential helper to remove this warning. See 01:35:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:56 01:35:56 Login Succeeded 01:35:56 nexus3.edgexfoundry.org:10004 01:35:57 ---> sysstat.sh 01:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] libraryResource [Pipeline] sh 01:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:57 Configure a credential helper to remove this warning. See 01:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:57 01:35:57 Login Succeeded 01:35:57 ****.io 01:35:57 ---> package-listing.sh 01:35:57 ++ facter osfamily 01:35:57 ++ tr '[:upper:]' '[:lower:]' 01:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:57 + OS_FAMILY=redhat 01:35:57 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:35:57 + START_PACKAGES=/tmp/packages_start.txt 01:35:57 + END_PACKAGES=/tmp/packages_end.txt 01:35:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:35:57 + PACKAGES=/tmp/packages_start.txt 01:35:57 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:35:57 + PACKAGES=/tmp/packages_end.txt 01:35:57 + case "${OS_FAMILY}" in 01:35:57 + rpm -qa 01:35:57 + sort 01:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:58 Configure a credential helper to remove this warning. See 01:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:58 01:35:58 Login Succeeded 01:35:58 ---> ****-login.sh ends [Pipeline] } 01:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:35:58 + '[' -f /tmp/packages_start.txt ']' 01:35:58 + '[' -f /tmp/packages_end.txt ']' 01:35:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:35:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:35:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:35:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:35:58 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 [Pipeline] echo 01:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:35:58 ========================================================= 01:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 01:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:58 + facter operatingsystem 01:35:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine --build-arg MAKE=echo noop --target=builder . 01:35:59 Sending build context to Docker daemon 144.9kB [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:59 Step 1/12 : ARG BASE=golang:1.25-alpine3.22 01:35:59 Step 2/12 : FROM ${BASE} AS builder 01:35:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:59 01:35:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:59 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:35:59 6b59a28fa201: Pulling fs layer 01:35:59 d32bb0dddca7: Pulling fs layer 01:35:59 5dab1238d3d9: Pulling fs layer 01:35:59 196fd7d83e7d: Pulling fs layer 01:35:59 4f4fb700ef54: Pulling fs layer 01:35:59 8ba94037c8f0: Pulling fs layer 01:35:59 deaec5988b04: Pulling fs layer 01:35:59 9f65657bb879: Pulling fs layer 01:35:59 8ba94037c8f0: Waiting 01:35:59 196fd7d83e7d: Waiting 01:35:59 4f4fb700ef54: Waiting 01:35:59 9f65657bb879: Waiting 01:35:59 d32bb0dddca7: Verifying Checksum 01:35:59 d32bb0dddca7: Download complete 01:35:59 196fd7d83e7d: Verifying Checksum 01:35:59 196fd7d83e7d: Download complete 01:35:59 4f4fb700ef54: Verifying Checksum 01:35:59 4f4fb700ef54: Download complete 01:35:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:59 latest: Pulling from edgex-lftools-log-publisher 01:35:59 5eb5b503b376: Pulling fs layer 01:35:59 5c69ac0246d0: Pulling fs layer 01:35:59 ec43610c2a17: Pulling fs layer 01:35:59 3a2ae6a8a46f: Pulling fs layer 01:35:59 33b1e0a273af: Pulling fs layer 01:35:59 5d3b04190fa2: Pulling fs layer 01:35:59 2f39f015ded8: Pulling fs layer 01:35:59 3a2ae6a8a46f: Waiting 01:35:59 33b1e0a273af: Waiting 01:35:59 5d3b04190fa2: Waiting 01:35:59 2f39f015ded8: Waiting 01:35:59 5c69ac0246d0: Verifying Checksum 01:35:59 5c69ac0246d0: Download complete 01:35:59 3a2ae6a8a46f: Verifying Checksum 01:35:59 3a2ae6a8a46f: Download complete 01:35:59 8ba94037c8f0: Verifying Checksum 01:35:59 8ba94037c8f0: Download complete 01:35:59 6b59a28fa201: Verifying Checksum 01:35:59 6b59a28fa201: Download complete 01:35:59 33b1e0a273af: Verifying Checksum 01:35:59 33b1e0a273af: Download complete 01:35:59 ec43610c2a17: Verifying Checksum 01:35:59 ec43610c2a17: Download complete 01:35:59 5d3b04190fa2: Verifying Checksum 01:35:59 5d3b04190fa2: Download complete 01:36:00 5eb5b503b376: Verifying Checksum 01:36:00 5eb5b503b376: Download complete 01:36:00 9f65657bb879: Verifying Checksum 01:36:00 9f65657bb879: Download complete 01:36:00 2f39f015ded8: Verifying Checksum 01:36:00 2f39f015ded8: Download complete 01:36:01 6b59a28fa201: Pull complete 01:36:01 5eb5b503b376: Pull complete 01:36:01 5c69ac0246d0: Pull complete 01:36:01 d32bb0dddca7: Pull complete 01:36:01 5dab1238d3d9: Verifying Checksum 01:36:01 5dab1238d3d9: Download complete 01:36:01 ec43610c2a17: Pull complete 01:36:02 3a2ae6a8a46f: Pull complete 01:36:02 33b1e0a273af: Pull complete 01:36:02 5d3b04190fa2: Pull complete 01:36:03 deaec5988b04: Verifying Checksum 01:36:03 deaec5988b04: Download complete 01:36:06 2f39f015ded8: Pull complete 01:36:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:06 prd-centos7-docker-4c-2g-4977 does not seem to be running inside a container 01:36:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:36:10 $ docker top 309730b264db38350bd82ef267da89107cc7f85a63af57a5b36d2d4408b1c505 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:10 + touch /tmp/pre-build-complete [Pipeline] sh 01:36:11 + mkdir -p /var/log/sysstat [Pipeline] sh 01:36:11 + ls /var/log/sa-host 01:36:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:11 provisioning config files... 01:36:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16229536966694434689tmp [Pipeline] { [Pipeline] echo 01:36:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:36:11 ---> create-netrc.sh [Pipeline] } 01:36:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:36:12 ---> python-tools-install.sh [Pipeline] echo 01:36:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:36:12 ---> sudo-logs.sh 01:36:12 Archiving 'sudo' log.. 01:36:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-4977.novalocal: Name or service not known 01:36:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-4977.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:36:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:36:12 ---> job-cost.sh 01:36:12 lf-activate-venv: SKIPPING 01:36:12 INFO: No Stack... 01:36:13 INFO: Retrieving Pricing Info for: v3-standard-2 01:36:13 INFO: Archiving Costs [Pipeline] echo 01:36:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:36:13 ---> logs-deploy.sh 01:36:13 lf-activate-venv: SKIPPING 01:36:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/231 01:36:13 INFO: archiving workspace using pattern(s): 01:36:14 Archives upload complete. 01:36:14 INFO: archiving logs to Nexus 01:36:15 ---> uname -a: 01:36:15 Linux prd-centos7-docker-4c-2g-4977.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:36:15 01:36:15 01:36:15 ---> lscpu: 01:36:15 Architecture: x86_64 01:36:15 CPU op-mode(s): 32-bit, 64-bit 01:36:15 Byte Order: Little Endian 01:36:15 Address sizes: 40 bits physical, 48 bits virtual 01:36:15 CPU(s): 2 01:36:15 On-line CPU(s) list: 0,1 01:36:15 Thread(s) per core: 1 01:36:15 Core(s) per socket: 1 01:36:15 Socket(s): 2 01:36:15 NUMA node(s): 1 01:36:15 Vendor ID: AuthenticAMD 01:36:15 CPU family: 23 01:36:15 Model: 49 01:36:15 Model name: AMD EPYC-Rome Processor 01:36:15 Stepping: 0 01:36:15 CPU MHz: 2799.998 01:36:15 BogoMIPS: 5599.99 01:36:15 Virtualization: AMD-V 01:36:15 Hypervisor vendor: KVM 01:36:15 Virtualization type: full 01:36:15 L1d cache: 64 KiB 01:36:15 L1i cache: 64 KiB 01:36:15 L2 cache: 1 MiB 01:36:15 L3 cache: 32 MiB 01:36:15 NUMA node0 CPU(s): 0,1 01:36:15 Vulnerability Itlb multihit: Not affected 01:36:15 Vulnerability L1tf: Not affected 01:36:15 Vulnerability Mds: Not affected 01:36:15 Vulnerability Meltdown: Not affected 01:36:15 Vulnerability Mmio stale data: Not affected 01:36:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:36:15 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:36:15 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:36:15 Vulnerability Srbds: Not affected 01:36:15 Vulnerability Tsx async abort: Not affected 01:36:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:36:15 01:36:15 01:36:15 ---> nproc: 01:36:15 2 01:36:15 01:36:15 01:36:15 ---> df -h: 01:36:15 Filesystem Size Used Avail Use% Mounted on 01:36:15 overlay 40G 7.4G 33G 19% / 01:36:15 tmpfs 64M 0 64M 0% /dev 01:36:15 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:36:15 shm 64M 0 64M 0% /dev/shm 01:36:15 /dev/vda1 40G 7.4G 33G 19% /facter-os 01:36:15 01:36:15 01:36:15 Cannot open /var/log/sysstat/sa12: No such file or directory 01:36:15 Please check if data collecting is enabled 01:36:15 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:36:15 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:36:15 $ docker stop --time=1 309730b264db38350bd82ef267da89107cc7f85a63af57a5b36d2d4408b1c505 01:36:16 $ docker rm -f --volumes 309730b264db38350bd82ef267da89107cc7f85a63af57a5b36d2d4408b1c505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:36:16 [WS-CLEANUP] Deleting project workspace... 01:36:16 [WS-CLEANUP] Deferred wipeout is used... 01:36:16 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [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 01:36:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:17 01:36:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:17 latest: Pulling from edgex-lftools-log-publisher 01:36:17 5eb5b503b376: Pulling fs layer 01:36:17 5c69ac0246d0: Pulling fs layer 01:36:17 ec43610c2a17: Pulling fs layer 01:36:17 3a2ae6a8a46f: Pulling fs layer 01:36:17 33b1e0a273af: Pulling fs layer 01:36:17 5d3b04190fa2: Pulling fs layer 01:36:17 2f39f015ded8: Pulling fs layer 01:36:17 33b1e0a273af: Waiting 01:36:17 5d3b04190fa2: Waiting 01:36:17 2f39f015ded8: Waiting 01:36:17 3a2ae6a8a46f: Waiting 01:36:17 5c69ac0246d0: Verifying Checksum 01:36:17 5c69ac0246d0: Download complete 01:36:17 3a2ae6a8a46f: Download complete 01:36:17 33b1e0a273af: Verifying Checksum 01:36:17 33b1e0a273af: Download complete 01:36:17 5d3b04190fa2: Verifying Checksum 01:36:17 5d3b04190fa2: Download complete 01:36:17 ec43610c2a17: Verifying Checksum 01:36:17 ec43610c2a17: Download complete 01:36:17 5eb5b503b376: Verifying Checksum 01:36:17 5eb5b503b376: Download complete 01:36:18 2f39f015ded8: Verifying Checksum 01:36:18 2f39f015ded8: Download complete 01:36:18 5dab1238d3d9: Pull complete 01:36:18 196fd7d83e7d: Pull complete 01:36:18 4f4fb700ef54: Pull complete 01:36:18 8ba94037c8f0: Pull complete 01:36:19 5eb5b503b376: Pull complete 01:36:19 5c69ac0246d0: Pull complete 01:36:20 ec43610c2a17: Pull complete 01:36:20 3a2ae6a8a46f: Pull complete 01:36:20 33b1e0a273af: Pull complete 01:36:20 5d3b04190fa2: Pull complete 01:36:27 2f39f015ded8: Pull complete 01:36:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:27 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:36:27 $ 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 01:36:28 $ docker top ec34c27dfe49adc4bc00c9267581c876a85bbf34c192be976fc68f7bbe6c1f12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:28 ---> job-cost.sh 01:36:28 lf-activate-venv: SKIPPING 01:36:28 INFO: No Stack... 01:36:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:36:29 deaec5988b04: Pull complete 01:36:29 INFO: Archiving Costs [Pipeline] sh 01:36:29 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:36:29 + cut -d, -f6 [Pipeline] lock 01:36:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] 01:36:29 Resource [jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] did not exist. Created. 01:36:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:36:29 + echo total: 0.2199999988079071 [Pipeline] stash 01:36:30 Stashed 1 file(s) [Pipeline] } 01:36:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } 01:36:30 $ docker stop --time=1 ec34c27dfe49adc4bc00c9267581c876a85bbf34c192be976fc68f7bbe6c1f12 01:36:30 9f65657bb879: Pull complete 01:36:30 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 01:36:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 01:36:30 ---> 334268110677 01:36:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:31 $ docker rm -f --volumes ec34c27dfe49adc4bc00c9267581c876a85bbf34c192be976fc68f7bbe6c1f12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:36:32 ---> Running in 94c72aaacc6b 01:36:32 Removing intermediate container 94c72aaacc6b 01:36:32 ---> 6ca2be228610 01:36:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:32 ---> Running in 441e0c36914a 01:36:33 Removing intermediate container 441e0c36914a 01:36:33 ---> e78f3159ffd7 01:36:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:36:33 ---> Running in ed9a271448c1 01:36:34 Removing intermediate container ed9a271448c1 01:36:34 ---> a70d016f8ba5 01:36:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:34 ---> Running in 2ecc069ab118 01:36:34 Removing intermediate container 2ecc069ab118 01:36:34 ---> d5006e9de58b 01:36:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:34 ---> Running in 92380550a9d6 01:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 01:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 01:36:39 (1/4) Installing openssh-keygen (10.0_p1-r10) 01:36:39 (2/4) Installing libedit (20250104.3.1-r1) 01:36:39 (3/4) Installing openssh-client-common (10.0_p1-r10) 01:36:39 (4/4) Installing openssh-client-default (10.0_p1-r10) 01:36:39 Executing busybox-1.37.0-r19.trigger 01:36:39 OK: 259 MiB in 64 packages 01:36:41 Removing intermediate container 92380550a9d6 01:36:41 ---> 6910b4b1df2d 01:36:41 Step 8/12 : WORKDIR /device-rest-go 01:36:41 ---> Running in 3292e31888d9 01:36:41 Removing intermediate container 3292e31888d9 01:36:41 ---> ebaf795bdd58 01:36:41 Step 9/12 : COPY go.mod vendor* ./ 01:36:42 ---> 634f885ea658 01:36:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:42 ---> Running in 7a08ee1d570c 01:38:49 Removing intermediate container 7a08ee1d570c 01:38:49 ---> 3d5d2b517ad1 01:38:49 Step 11/12 : COPY . . 01:38:49 ---> 08f6bbbba10b 01:38:49 Step 12/12 : RUN $MAKE 01:38:49 ---> Running in 9c8793d83ab2 01:38:49 noop 01:38:49 Removing intermediate container 9c8793d83ab2 01:38:49 ---> bd762d1d0272 01:38:49 Successfully built bd762d1d0272 01:38:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:49 + docker inspect -f . ci-base-image-arm64 01:38:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:50 prd-ubuntu20.04-docker-arm64-4c-16g-4973 does not seem to be running inside a container 01:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/231 -v /w/workspace/device-rest-go/231:/w/workspace/device-rest-go/231:rw,z -v /w/workspace/device-rest-go/231@tmp:/w/workspace/device-rest-go/231@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 01:38:51 $ docker top f0affb92d23b9446c48bd8aaf7a852a541dba3d006a6738e720c505a598c25fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:52 + go version 01:38:52 go version go1.25.3 linux/arm64 [Pipeline] } 01:38:52 $ docker stop --time=1 f0affb92d23b9446c48bd8aaf7a852a541dba3d006a6738e720c505a598c25fa 01:38:54 $ docker rm -f --volumes f0affb92d23b9446c48bd8aaf7a852a541dba3d006a6738e720c505a598c25fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:55 + docker inspect -f . ci-base-image-arm64 01:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:55 prd-ubuntu20.04-docker-arm64-4c-16g-4973 does not seem to be running inside a container 01:38:55 $ 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/231 -v /w/workspace/device-rest-go/231:/w/workspace/device-rest-go/231:rw,z -v /w/workspace/device-rest-go/231@tmp:/w/workspace/device-rest-go/231@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 01:38:57 $ docker top 6d5dc8b80d104a16ae88866db0067a1aed7cebb94520dafecb13bf50f6ff9429 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:58 + git config --global --add safe.directory /w/workspace/device-rest-go/231 [Pipeline] fileExists [Pipeline] sh 01:38:58 + make test 01:38:58 go test ./... -coverprofile=coverage.out ./... 01:39:05 ? github.com/edgexfoundry/device-rest-go [no test files] 01:45:12 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:45:12 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 32.2% of statements 01:45:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:45:12 go vet ./... 01:46:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:46:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:46:20 ./bin/test-attribution-txt.sh 01:46:20 An attribution for github.com/cespare/xxhash/v2 is missing from Attribution.txt, please add 01:46:20 An attribution for github.com/oklog/ulid/v2 is missing from Attribution.txt, please add [Pipeline] echo 01:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:46:20 $ docker stop --time=1 6d5dc8b80d104a16ae88866db0067a1aed7cebb94520dafecb13bf50f6ff9429 01:46:23 $ docker rm -f --volumes 6d5dc8b80d104a16ae88866db0067a1aed7cebb94520dafecb13bf50f6ff9429 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:46:25 Warning: overwriting stash ‘coverage-report’ 01:46:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:46:26 + ls -al . 01:46:26 total 244 01:46:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 01:39 . 01:46:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 01:35 .. 01:46:26 -rw-rw-r-- 1 jenkins jenkins 151 Apr 12 01:35 .dockerignore 01:46:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 01:35 .git 01:46:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:35 .github 01:46:26 -rw-rw-r-- 1 jenkins jenkins 264 Apr 12 01:35 .gitignore 01:46:26 -rw-rw-r-- 1 jenkins jenkins 359 Apr 12 01:35 .golangci.yml 01:46:26 -rw-rw-r-- 1 jenkins jenkins 22791 Apr 12 01:35 Attribution.txt 01:46:26 -rw-rw-r-- 1 jenkins jenkins 18492 Apr 12 01:35 CHANGELOG.md 01:46:26 -rw-rw-r-- 1 jenkins jenkins 1697 Apr 12 01:35 Dockerfile 01:46:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 01:35 GOVERNANCE.md 01:46:26 -rw-rw-r-- 1 jenkins jenkins 704 Apr 12 01:35 Jenkinsfile 01:46:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 01:35 LICENSE 01:46:26 -rw-rw-r-- 1 jenkins jenkins 2597 Apr 12 01:35 Makefile 01:46:26 -rw-rw-r-- 1 jenkins jenkins 620 Apr 12 01:35 OWNERS.md 01:46:26 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 12 01:35 README.md 01:46:26 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 01:32 VERSION 01:46:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:35 bin 01:46:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:35 cmd 01:46:26 -rw-r--r-- 1 jenkins jenkins 14565 Apr 12 01:45 coverage.out 01:46:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:35 driver 01:46:26 -rw-rw-r-- 1 jenkins jenkins 6776 Apr 12 01:35 go.mod 01:46:26 -rw-rw-r-- 1 jenkins jenkins 89243 Apr 12 01:35 go.sum 01:46:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:35 openapi 01:46:26 -rw-rw-r-- 1 jenkins jenkins 713 Apr 12 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:27 + 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=aee832240825fea584145add9b57acd48331f786 --label arch=arm64 --label version=4.1.0-dev.22 . 01:46:27 Sending build context to Docker daemon 160.3kB 01:46:27 Step 1/26 : ARG BASE=golang:1.25-alpine3.22 01:46:27 Step 2/26 : FROM ${BASE} AS builder 01:46:27 ---> bd762d1d0272 01:46:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:46:29 ---> Running in 98738e44c312 01:46:29 Removing intermediate container 98738e44c312 01:46:29 ---> 9691a71d0c98 01:46:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:46:29 ---> Running in 43885bb3592e 01:46:29 Removing intermediate container 43885bb3592e 01:46:29 ---> 3451b76e52e0 01:46:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:46:30 ---> Running in 67c3d804ce1f 01:46:30 Removing intermediate container 67c3d804ce1f 01:46:30 ---> 7ac5ffda0aad 01:46:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:46:30 ---> Running in 0f3fa3c1cf0d 01:46:30 Removing intermediate container 0f3fa3c1cf0d 01:46:30 ---> 1610a3fcb4f3 01:46:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:30 ---> Running in 3dedc7665260 01:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 01:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 01:46:35 OK: 259 MiB in 64 packages 01:46:36 Removing intermediate container 3dedc7665260 01:46:36 ---> cdd1d69379ba 01:46:36 Step 8/26 : WORKDIR /device-rest-go 01:46:36 ---> Running in d7de0b8dfd55 01:46:36 Removing intermediate container d7de0b8dfd55 01:46:36 ---> 427c2b742a94 01:46:36 Step 9/26 : COPY go.mod vendor* ./ 01:46:37 ---> 553914045a75 01:46:37 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:37 ---> Running in f8cf7f7fe9db 01:46:42 Removing intermediate container f8cf7f7fe9db 01:46:42 ---> 7100bf172cac 01:46:42 Step 11/26 : COPY . . 01:46:42 ---> 4d3916a6e46b 01:46:42 Step 12/26 : RUN $MAKE 01:46:43 ---> Running in a4f66d3401e8 01:46:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.60 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:51:51 Removing intermediate container a4f66d3401e8 01:51:51 ---> 59e2ebd5b419 01:51:51 Step 13/26 : FROM alpine:3.22 01:51:51 3.22: Pulling from library/alpine 01:51:51 d741ee1608f3: Pulling fs layer 01:51:51 d741ee1608f3: Verifying Checksum 01:51:51 d741ee1608f3: Download complete 01:51:51 d741ee1608f3: Pull complete 01:51:51 Digest: sha256:55ae5d250caebc548793f321534bc6a8ef1d116f334f18f4ada1b2daad3251b2 01:51:51 Status: Downloaded newer image for alpine:3.22 01:51:51 ---> 5a766deef0c8 01:51:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:51:51 ---> Running in c3fdeb2a741f 01:51:52 Removing intermediate container c3fdeb2a741f 01:51:52 ---> d193a85992f2 01:51:52 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:51:52 ---> Running in 22c1ebc7f6c6 01:51:52 Removing intermediate container 22c1ebc7f6c6 01:51:52 ---> ff2f32c0e390 01:51:52 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:51:52 ---> Running in e2aa98e88a46 01:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 01:51:56 (1/1) Installing dumb-init (1.2.5-r3) 01:51:56 Executing busybox-1.37.0-r20.trigger 01:51:56 OK: 8 MiB in 17 packages 01:51:57 Removing intermediate container e2aa98e88a46 01:51:57 ---> a2052f9d4c9c 01:51:57 Step 17/26 : RUN apk --no-cache upgrade 01:51:57 ---> Running in 270f9ea269f2 01:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 01:51:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 01:52:01 (1/4) Upgrading musl (1.2.5-r10 -> 1.2.5-r12) 01:52:01 (2/4) Upgrading libcrypto3 (3.5.5-r0 -> 3.5.6-r0) 01:52:01 (3/4) Upgrading libssl3 (3.5.5-r0 -> 3.5.6-r0) 01:52:01 (4/4) Upgrading musl-utils (1.2.5-r10 -> 1.2.5-r12) 01:52:01 Executing busybox-1.37.0-r20.trigger 01:52:01 OK: 8 MiB in 17 packages 01:52:03 Removing intermediate container 270f9ea269f2 01:52:03 ---> e2f22236dad1 01:52:03 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:52:04 ---> 084fb1f67303 01:52:04 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:52:05 ---> cf235f915d26 01:52:05 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:52:06 ---> 569a1dd42ccb 01:52:06 Step 21/26 : EXPOSE 59986 01:52:06 ---> Running in 63bef70d1dbc 01:52:06 Removing intermediate container 63bef70d1dbc 01:52:06 ---> c2c634f0abdd 01:52:06 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:52:06 ---> Running in 871fd4ed8035 01:52:07 Removing intermediate container 871fd4ed8035 01:52:07 ---> 3c3d1b37c3e7 01:52:07 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:52:07 ---> Running in 6e83f897f814 01:52:07 Removing intermediate container 6e83f897f814 01:52:07 ---> b0a245e11316 01:52:07 Step 24/26 : LABEL arch=arm64 01:52:07 ---> Running in 62991b5b17ca 01:52:08 Removing intermediate container 62991b5b17ca 01:52:08 ---> 7cc34cd21cbb 01:52:08 Step 25/26 : LABEL git_sha=aee832240825fea584145add9b57acd48331f786 01:52:08 ---> Running in fafd801f2930 01:52:08 Removing intermediate container fafd801f2930 01:52:08 ---> 372266150b80 01:52:08 Step 26/26 : LABEL version=4.1.0-dev.22 01:52:08 ---> Running in 2b386adaab4e 01:52:09 Removing intermediate container 2b386adaab4e 01:52:09 ---> a370b2eedceb 01:52:09 [Warning] One or more build-args [ARCH] were not consumed 01:52:09 Successfully built a370b2eedceb 01:52:09 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:09 provisioning config files... 01:52:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/231@tmp/config10627148691395176732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:09 ---> ****-login.sh 01:52:09 nexus3.edgexfoundry.org:10001 01:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:09 Configure a credential helper to remove this warning. See 01:52:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:09 01:52:09 Login Succeeded 01:52:09 nexus3.edgexfoundry.org:10002 01:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:10 Configure a credential helper to remove this warning. See 01:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:10 01:52:10 Login Succeeded 01:52:10 nexus3.edgexfoundry.org:10003 01:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:10 Configure a credential helper to remove this warning. See 01:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:10 01:52:10 Login Succeeded 01:52:10 nexus3.edgexfoundry.org:10004 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 ****.io 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 ---> ****-login.sh ends [Pipeline] } 01:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:52:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:52:11 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:52:11 aee832240825fea584145add9b57acd48331f786 01:52:11 latest 01:52:11 4.1.0-dev.22 01:52:11 aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:52:11 main 01:52:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786 01:52:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:52:12 b65593832d8e: Preparing 01:52:12 a2f448003717: Preparing 01:52:12 5d3213e9bb2b: Preparing 01:52:12 ec54f48d7182: Preparing 01:52:12 3b021e075f98: Preparing 01:52:12 c4e71c2a4573: Preparing 01:52:12 c4e71c2a4573: Waiting 01:52:12 b65593832d8e: Pushed 01:52:12 3b021e075f98: Pushed 01:52:12 c4e71c2a4573: Layer already exists 01:52:14 ec54f48d7182: Pushed 01:52:16 a2f448003717: Pushed 01:52:21 5d3213e9bb2b: Pushed 01:52:21 aee832240825fea584145add9b57acd48331f786: digest: sha256:1a7e8be3f5c8da816350c84ee384d395ee53212d63df8abf6f823a644cd6dd24 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:52:22 b65593832d8e: Preparing 01:52:22 a2f448003717: Preparing 01:52:22 5d3213e9bb2b: Preparing 01:52:22 ec54f48d7182: Preparing 01:52:22 3b021e075f98: Preparing 01:52:22 c4e71c2a4573: Preparing 01:52:22 c4e71c2a4573: Waiting 01:52:22 3b021e075f98: Layer already exists 01:52:22 a2f448003717: Layer already exists 01:52:22 5d3213e9bb2b: Layer already exists 01:52:22 b65593832d8e: Layer already exists 01:52:22 ec54f48d7182: Layer already exists 01:52:22 c4e71c2a4573: Layer already exists 01:52:22 latest: digest: sha256:1a7e8be3f5c8da816350c84ee384d395ee53212d63df8abf6f823a644cd6dd24 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 01:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:52:23 b65593832d8e: Preparing 01:52:23 a2f448003717: Preparing 01:52:23 5d3213e9bb2b: Preparing 01:52:23 ec54f48d7182: Preparing 01:52:23 3b021e075f98: Preparing 01:52:23 c4e71c2a4573: Preparing 01:52:23 c4e71c2a4573: Waiting 01:52:23 ec54f48d7182: Layer already exists 01:52:23 a2f448003717: Layer already exists 01:52:23 3b021e075f98: Layer already exists 01:52:23 5d3213e9bb2b: Layer already exists 01:52:23 b65593832d8e: Layer already exists 01:52:23 c4e71c2a4573: Layer already exists 01:52:23 4.1.0-dev.22: digest: sha256:1a7e8be3f5c8da816350c84ee384d395ee53212d63df8abf6f823a644cd6dd24 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:24 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:24 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:52:24 b65593832d8e: Preparing 01:52:24 a2f448003717: Preparing 01:52:24 5d3213e9bb2b: Preparing 01:52:24 ec54f48d7182: Preparing 01:52:24 3b021e075f98: Preparing 01:52:24 c4e71c2a4573: Preparing 01:52:24 c4e71c2a4573: Waiting 01:52:24 3b021e075f98: Layer already exists 01:52:24 a2f448003717: Layer already exists 01:52:24 ec54f48d7182: Layer already exists 01:52:24 b65593832d8e: Layer already exists 01:52:24 5d3213e9bb2b: Layer already exists 01:52:24 c4e71c2a4573: Layer already exists 01:52:24 aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22: digest: sha256:1a7e8be3f5c8da816350c84ee384d395ee53212d63df8abf6f823a644cd6dd24 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:52:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:52:25 b65593832d8e: Preparing 01:52:25 a2f448003717: Preparing 01:52:25 5d3213e9bb2b: Preparing 01:52:25 ec54f48d7182: Preparing 01:52:25 3b021e075f98: Preparing 01:52:25 c4e71c2a4573: Preparing 01:52:25 c4e71c2a4573: Waiting 01:52:25 ec54f48d7182: Layer already exists 01:52:25 5d3213e9bb2b: Layer already exists 01:52:25 3b021e075f98: Layer already exists 01:52:25 b65593832d8e: Layer already exists 01:52:25 a2f448003717: Layer already exists 01:52:25 c4e71c2a4573: Layer already exists 01:52:25 main: digest: sha256:1a7e8be3f5c8da816350c84ee384d395ee53212d63df8abf6f823a644cd6dd24 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:52:25 ===================================================== [Pipeline] echo 01:52:25 taggedImages: 01:52:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786 01:52:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:52:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 01:52:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 01:52:25 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:52:25 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786 [Pipeline] echo 01:52:25 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:52:25 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.22 [Pipeline] echo 01:52:25 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:aee832240825fea584145add9b57acd48331f786-4.1.0-dev.22 [Pipeline] echo 01:52:25 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:26 01:52:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:26 arm64: Pulling from edgex-lftools-log-publisher 01:52:26 8998bd30e6a1: Pulling fs layer 01:52:26 04944245beec: Pulling fs layer 01:52:26 699f458cf7ca: Pulling fs layer 01:52:26 765212b225bb: Pulling fs layer 01:52:26 f23df028b6ca: Pulling fs layer 01:52:26 d65c8cfc05b1: Pulling fs layer 01:52:26 2437ff75d9bd: Pulling fs layer 01:52:26 765212b225bb: Waiting 01:52:26 f23df028b6ca: Waiting 01:52:26 d65c8cfc05b1: Waiting 01:52:26 2437ff75d9bd: Waiting 01:52:26 04944245beec: Verifying Checksum 01:52:26 04944245beec: Download complete 01:52:26 765212b225bb: Verifying Checksum 01:52:26 765212b225bb: Download complete 01:52:26 f23df028b6ca: Verifying Checksum 01:52:26 f23df028b6ca: Download complete 01:52:26 d65c8cfc05b1: Verifying Checksum 01:52:26 d65c8cfc05b1: Download complete 01:52:27 699f458cf7ca: Verifying Checksum 01:52:27 699f458cf7ca: Download complete 01:52:27 8998bd30e6a1: Verifying Checksum 01:52:27 8998bd30e6a1: Download complete 01:52:30 2437ff75d9bd: Download complete 01:52:32 8998bd30e6a1: Pull complete 01:52:33 04944245beec: Pull complete 01:52:35 699f458cf7ca: Pull complete 01:52:35 765212b225bb: Pull complete 01:52:36 f23df028b6ca: Pull complete 01:52:36 d65c8cfc05b1: Pull complete 01:52:54 2437ff75d9bd: Pull complete 01:52:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-4973 does not seem to be running inside a container 01:52:55 $ 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/231 -v /w/workspace/device-rest-go/231:/w/workspace/device-rest-go/231:rw,z -v /w/workspace/device-rest-go/231@tmp:/w/workspace/device-rest-go/231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:52:58 $ docker top 08375421381f90356c1dba484bea5734d287ee656ee0d873b47da8364b99ef7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:59 ---> job-cost.sh 01:52:59 lf-activate-venv: SKIPPING 01:52:59 INFO: No Stack... 01:53:00 INFO: Retrieving Pricing Info for: v3-standard-4 01:53:01 INFO: Archiving Costs [Pipeline] sh 01:53:01 + cat /w/workspace/device-rest-go/231/archives/cost.csv 01:53:01 + cut -d, -f6 [Pipeline] lock 01:53:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] 01:53:01 Resource [jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] did not exist. Created. 01:53:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:02 /w/workspace/device-rest-go/231@tmp/durable-0efd4f84/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:53:03 + echo total: 0.10999999940395355 [Pipeline] stash 01:53:03 Warning: overwriting stash ‘stack-cost’ 01:53:03 Stashed 1 file(s) [Pipeline] } 01:53:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } 01:53:03 $ docker stop --time=1 08375421381f90356c1dba484bea5734d287ee656ee0d873b47da8364b99ef7c 01:53:04 $ docker rm -f --volumes 08375421381f90356c1dba484bea5734d287ee656ee0d873b47da8364b99ef7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:53:05 provisioning config files... 01:53:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3726840449671350156tmp [Pipeline] { [Pipeline] sh 01:53:05 + set +x 01:53:05 + + bashcurl -s -s -- https://codecov.io/bash 01:53:05 01:53:05 01:53:05 _____ _ 01:53:05 / ____| | | 01:53:05 | | ___ __| | ___ ___ _____ __ 01:53:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:05 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:05 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:05 Bash-1.0.6 01:53:05 01:53:05 01:53:05 ==> git version 2.25.1 found 01:53:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:53:05 Release-Date: 2020-01-08 01:53:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:53:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:53:05 ==> Jenkins CI detected. 01:53:05 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:53:05 project root: . 01:53:05 --> token set from env 01:53:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:05 ==> Running gcov in . (disable via -X gcov) 01:53:05 ==> Python coveragepy not found 01:53:05 ==> Searching for coverage reports in: 01:53:05 + . 01:53:05 -> Found 1 reports 01:53:05 ==> Detecting git/mercurial file structure 01:53:05 ==> Reading reports 01:53:05 + ./coverage.out bytes=14565 01:53:05 ==> Appending adjustments 01:53:05 https://docs.codecov.io/docs/fixing-reports 01:53:05 + Found adjustments 01:53:05 ==> Gzipping contents 01:53:05 4.0K /tmp/codecov.ZiHGyp.gz 01:53:05 ==> Uploading reports 01:53:05 url: https://codecov.io 01:53:05 query: branch=main&commit=aee832240825fea584145add9b57acd48331f786&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:53:05 -> Pinging Codecov 01:53:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=aee832240825fea584145add9b57acd48331f786&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:53:06 -> Uploading to 01:53:06 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/aee832240825fea584145add9b57acd48331f786/ebd6e74b-2d00-4da7-9a0d-a9892df0ff29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20260412%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20260412T015305Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=037e53aba8f5967b464b257a2153f084d1103961832919b234637f31ba26355f 01:53:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:06 Dload Upload Total Spent Left Speed 01:53:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 19546 --:--:-- --:--:-- --:--:-- 19711 01:53:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/aee832240825fea584145add9b57acd48331f786 [Pipeline] } 01:53:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:53:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:53:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:53:06 01:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:53:07 latest: Pulling from edgex-devops/edgex-snyk-go 01:53:07 2d35ebdb57d9: Already exists 01:53:07 85e8836fcdb2: Pulling fs layer 01:53:07 91631faa732a: Pulling fs layer 01:53:07 f3f5ae8826fa: Pulling fs layer 01:53:07 4f4fb700ef54: Pulling fs layer 01:53:07 7861252a18e6: Pulling fs layer 01:53:07 9130f900ef6f: Pulling fs layer 01:53:07 4f4fb700ef54: Waiting 01:53:07 9130f900ef6f: Waiting 01:53:07 7861252a18e6: Waiting 01:53:07 f3f5ae8826fa: Verifying Checksum 01:53:07 f3f5ae8826fa: Download complete 01:53:07 85e8836fcdb2: Download complete 01:53:07 4f4fb700ef54: Verifying Checksum 01:53:07 4f4fb700ef54: Download complete 01:53:07 85e8836fcdb2: Pull complete 01:53:07 7861252a18e6: Verifying Checksum 01:53:07 7861252a18e6: Download complete 01:53:07 91631faa732a: Download complete 01:53:08 9130f900ef6f: Verifying Checksum 01:53:08 9130f900ef6f: Download complete 01:53:12 91631faa732a: Pull complete 01:53:12 f3f5ae8826fa: Pull complete 01:53:12 4f4fb700ef54: Pull complete 01:53:12 7861252a18e6: Pull complete 01:53:16 9130f900ef6f: Pull complete 01:53:16 Digest: sha256:56ae2c276304682a5b16c7ecab195a3e707c8b22ba01ba591248577dbd21f89e 01:53:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:53:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:16 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 01:53:18 $ docker top 437103b79bbcb8fc425272482443cec873feac19b987bdb4a4c584f60d234534 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:53:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:53:18 + set -o pipefail 01:53:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:53:24 01:53:24 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:53:24 01:53:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/373d6dcd-89a2-4bb9-9924-a9fe4eff0c33 01:53:24 01:53:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:53:24 01:53:24 01:53:24 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 01:53:24 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:53:24 $ docker stop --time=1 437103b79bbcb8fc425272482443cec873feac19b987bdb4a4c584f60d234534 01:53:27 $ docker rm -f --volumes 437103b79bbcb8fc425272482443cec873feac19b987bdb4a4c584f60d234534 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:27 + git log --format=format:%s -1 aee832240825fea584145add9b57acd48331f786 [Pipeline] sh 01:53:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:53:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:28 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:53: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 01:53:28 $ docker top 6ab0e1857d403e33fa3091564f90a6f96b0389f291ff9c7fe45f5e78ed380ff2 -eo pid,comm 01:53:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:53:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:53:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:28 [ssh-agent] Looking for ssh-agent implementation... 01:53:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:29 $ docker exec 6ab0e1857d403e33fa3091564f90a6f96b0389f291ff9c7fe45f5e78ed380ff2 ssh-agent 01:53:29 SSH_AUTH_SOCK=/tmp/ssh-cOOFCXmIn9gH/agent.31 01:53:29 SSH_AGENT_PID=37 01:53:29 Running ssh-add (command line suppressed) 01:53:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17903241649778414457.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17903241649778414457.key) 01:53:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:29 + git semver tag 01:53:29 2026-04-12 01:53:29,758 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:53:29 2026-04-12 01:53:29,762 [run_tag] DEBUG tag force:False 01:53:29 2026-04-12 01:53:29,762 [check_head_tag] DEBUG check head tag 01:53:29 2026-04-12 01:53:29,762 [execute] INFO git cat-file --batch-check 01:53:29 2026-04-12 01:53:29,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:53:29 2026-04-12 01:53:29,765 [execute] INFO git cat-file --batch 01:53:29 2026-04-12 01:53:29,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 01:53:29 2026-04-12 01:53:29,776 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:29 2026-04-12 01:53:29,776 [execute] INFO git tag -a v4.1.0-dev.22 -m v4.1.0-dev.22 01:53:29 2026-04-12 01:53:29,776 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.22', '-m', 'v4.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:53:29 2026-04-12 01:53:29,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:29 4.1.0-dev.22 [Pipeline] } 01:53:29 $ docker exec --env ******** --env ******** 6ab0e1857d403e33fa3091564f90a6f96b0389f291ff9c7fe45f5e78ed380ff2 ssh-agent -k 01:53:29 unset SSH_AUTH_SOCK; 01:53:29 unset SSH_AGENT_PID; 01:53:29 echo Agent pid 37 killed; 01:53:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:53:30 + git semver [Pipeline] } 01:53:30 $ docker stop --time=1 6ab0e1857d403e33fa3091564f90a6f96b0389f291ff9c7fe45f5e78ed380ff2 01:53:31 $ docker rm -f --volumes 6ab0e1857d403e33fa3091564f90a6f96b0389f291ff9c7fe45f5e78ed380ff2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:53:32 01:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:53:32 0.23.1-centos7: Pulling from edgex-lftools 01:53:32 ab5ef0e58194: Pulling fs layer 01:53:32 9712f1f96733: Pulling fs layer 01:53:32 63f879dbbcfc: Pulling fs layer 01:53:32 0d9ebad4ef96: Pulling fs layer 01:53:32 e9a5061849ea: Pulling fs layer 01:53:32 d747dcd14b5f: Pulling fs layer 01:53:32 2de7ff778b66: Pulling fs layer 01:53:32 d747dcd14b5f: Waiting 01:53:32 2de7ff778b66: Waiting 01:53:32 0d9ebad4ef96: Waiting 01:53:32 e9a5061849ea: Waiting 01:53:32 9712f1f96733: Verifying Checksum 01:53:32 9712f1f96733: Download complete 01:53:32 63f879dbbcfc: Verifying Checksum 01:53:32 63f879dbbcfc: Download complete 01:53:33 e9a5061849ea: Verifying Checksum 01:53:33 e9a5061849ea: Download complete 01:53:33 d747dcd14b5f: Download complete 01:53:33 0d9ebad4ef96: Verifying Checksum 01:53:33 0d9ebad4ef96: Download complete 01:53:33 2de7ff778b66: Verifying Checksum 01:53:33 2de7ff778b66: Download complete 01:53:33 ab5ef0e58194: Verifying Checksum 01:53:33 ab5ef0e58194: Download complete 01:53:37 ab5ef0e58194: Pull complete 01:53:37 9712f1f96733: Pull complete 01:53:37 63f879dbbcfc: Pull complete 01:53:43 0d9ebad4ef96: Pull complete 01:53:43 e9a5061849ea: Pull complete 01:53:43 d747dcd14b5f: Pull complete 01:53:44 2de7ff778b66: Pull complete 01:53:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:53:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:53:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:44 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:53:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:53:45 $ docker top 8b2a8dd733bf9f2a4feb67e816ad0555040017b3c715d19e591df5cd7a5bcf76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:53:45 provisioning config files... 01:53:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2504092860308468256tmp 01:53:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17156669584054097054tmp 01:53:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11566065101784962862tmp [Pipeline] { [Pipeline] echo 01:53:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:53:46 ---> sigul-configuration.sh 01:53:46 gpg: directory `/root/.gnupg' created 01:53:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:53:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:53:46 gpg: keyring `/root/.gnupg/secring.gpg' created 01:53:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:53:46 gpg: CAST5 encrypted data 01:53:46 gpg: encrypted with 1 passphrase 01:53:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:53:46 + mkdir /home/jenkins 01:53:46 + mkdir /home/jenkins/sigul [Pipeline] sh 01:53:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:53:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:53:47 ---> sigul-install.sh 01:53:47 Sigul already installed; skipping installation. [Pipeline] sh 01:53:47 + git tag --list 01:53:47 v1.0.0 01:53:47 v1.1.0 01:53:47 v1.1.1 01:53:47 v1.1.2 01:53:47 v1.2.0 01:53:47 v1.2.1 01:53:47 v2.0.0 01:53:47 v2.1.0 01:53:47 v2.1.1 01:53:47 v2.2.0 01:53:47 v2.3.0 01:53:47 v3.0 01:53:47 v3.0.0 01:53:47 v3.1 01:53:47 v3.1.0 01:53:47 v3.1.1 01:53:47 v4.0 01:53:47 v4.0.0 01:53:47 v4.0.1 01:53:47 v4.0.1-dev.1 01:53:47 v4.1.0-dev.1 01:53:47 v4.1.0-dev.10 01:53:47 v4.1.0-dev.11 01:53:47 v4.1.0-dev.12 01:53:47 v4.1.0-dev.13 01:53:47 v4.1.0-dev.14 01:53:47 v4.1.0-dev.15 01:53:47 v4.1.0-dev.16 01:53:47 v4.1.0-dev.17 01:53:47 v4.1.0-dev.18 01:53:47 v4.1.0-dev.19 01:53:47 v4.1.0-dev.2 01:53:47 v4.1.0-dev.20 01:53:47 v4.1.0-dev.21 01:53:47 v4.1.0-dev.22 01:53:47 v4.1.0-dev.3 01:53:47 v4.1.0-dev.4 01:53:47 v4.1.0-dev.5 01:53:47 v4.1.0-dev.6 01:53:47 v4.1.0-dev.7 01:53:47 v4.1.0-dev.8 01:53:47 v4.1.0-dev.9 [Pipeline] sh 01:53:47 + lftools sign git-tag v4.1.0-dev.22 01:53:48 Signing Git tag with Sigul... 01:53:48 Signing v4.1.0-dev.22 [Pipeline] echo 01:53:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:53:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:53:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:53:49 $ docker stop --time=1 8b2a8dd733bf9f2a4feb67e816ad0555040017b3c715d19e591df5cd7a5bcf76 01:53:50 $ docker rm -f --volumes 8b2a8dd733bf9f2a4feb67e816ad0555040017b3c715d19e591df5cd7a5bcf76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:53:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:53:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:51 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:53:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:53:51 $ docker top 61ed0dfdb89cbdbc2b9b6fe2040b56d30ef91d13e4dc4df72681071e47c6865c -eo pid,comm 01:53:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:53:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:53:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:51 [ssh-agent] Looking for ssh-agent implementation... 01:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:51 $ docker exec 61ed0dfdb89cbdbc2b9b6fe2040b56d30ef91d13e4dc4df72681071e47c6865c ssh-agent 01:53:51 SSH_AUTH_SOCK=/tmp/ssh-OgnlVVPKuV87/agent.33 01:53:51 SSH_AGENT_PID=40 01:53:51 Running ssh-add (command line suppressed) 01:53:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3847213531899934865.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3847213531899934865.key) 01:53:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:52 + git semver bump pre 01:53:52 2026-04-12 01:53:52,368 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:53:52 2026-04-12 01:53:52,373 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:52 2026-04-12 01:53:52,373 [bump_version] DEBUG bumping version:4.1.0-dev.22 on axis:pre with prefix:dev 01:53:52 2026-04-12 01:53:52,373 [bump_version] DEBUG bumped version:4.1.0-dev.23 01:53:52 2026-04-12 01:53:52,373 [write_version] DEBUG write version:4.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:53:52 2026-04-12 01:53:52,373 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:52 2026-04-12 01:53:52,373 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:52 2026-04-12 01:53:52,375 [execute] INFO git cat-file --batch-check 01:53:52 2026-04-12 01:53:52,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:53:52 2026-04-12 01:53:52,379 [execute] INFO git cat-file --batch 01:53:52 2026-04-12 01:53:52,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:53:52 2026-04-12 01:53:52,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:52 4.1.0-dev.23 [Pipeline] } 01:53:52 $ docker exec --env ******** --env ******** 61ed0dfdb89cbdbc2b9b6fe2040b56d30ef91d13e4dc4df72681071e47c6865c ssh-agent -k 01:53:52 unset SSH_AUTH_SOCK; 01:53:52 unset SSH_AGENT_PID; 01:53:52 echo Agent pid 40 killed; 01:53:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:53:52 + git semver [Pipeline] } 01:53:53 $ docker stop --time=1 61ed0dfdb89cbdbc2b9b6fe2040b56d30ef91d13e4dc4df72681071e47c6865c 01:53:54 $ docker rm -f --volumes 61ed0dfdb89cbdbc2b9b6fe2040b56d30ef91d13e4dc4df72681071e47c6865c [Pipeline] // withDockerContainer [Pipeline] sh 01:53:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:53:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:55 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:53:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:53:55 $ docker top 5b25585dcaafe4cdb87cc22f1a80bfc51e6a3ad836109e791254085c9a478ed5 -eo pid,comm 01:53:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:53:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:55 [ssh-agent] Looking for ssh-agent implementation... 01:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:55 $ docker exec 5b25585dcaafe4cdb87cc22f1a80bfc51e6a3ad836109e791254085c9a478ed5 ssh-agent 01:53:55 SSH_AUTH_SOCK=/tmp/ssh-0JdmO4ZxpbIZ/agent.33 01:53:55 SSH_AGENT_PID=39 01:53:55 Running ssh-add (command line suppressed) 01:53:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10652400978379703011.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10652400978379703011.key) 01:53:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:56 + git semver push 01:53:56 2026-04-12 01:53:56,271 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:53:56 2026-04-12 01:53:56,276 [run_push] DEBUG push 01:53:56 2026-04-12 01:53:56,276 [execute] INFO git cat-file --batch-check 01:53:56 2026-04-12 01:53:56,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 01:53:56 2026-04-12 01:53:56,279 [execute] INFO git rev-list a4947e7e7e69ea1f9035f4f3bdbc19aa56d9e031 -- 01:53:56 2026-04-12 01:53:56,279 [execute] DEBUG Popen(['git', 'rev-list', 'a4947e7e7e69ea1f9035f4f3bdbc19aa56d9e031', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:53:56 2026-04-12 01:53:56,288 [execute] INFO git fetch -v -- origin 01:53:56 2026-04-12 01:53:56,288 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 01:53:56 2026-04-12 01:53:56,843 [run_push] DEBUG no remote changes detected 01:53:56 2026-04-12 01:53:56,844 [execute] INFO git push origin semver 01:53:56 2026-04-12 01:53:56,844 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 01:53:57 2026-04-12 01:53:57,625 [run_push] DEBUG push all version tags 01:53:57 2026-04-12 01:53:57,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:53:57 2026-04-12 01:53:57,625 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:53:58 2026-04-12 01:53:58,338 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:53:58 4.1.0-dev.23 [Pipeline] } 01:53:58 $ docker exec --env ******** --env ******** 5b25585dcaafe4cdb87cc22f1a80bfc51e6a3ad836109e791254085c9a478ed5 ssh-agent -k 01:53:58 unset SSH_AUTH_SOCK; 01:53:58 unset SSH_AGENT_PID; 01:53:58 echo Agent pid 39 killed; 01:53:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:53:58 + git semver [Pipeline] } 01:53:59 $ docker stop --time=1 5b25585dcaafe4cdb87cc22f1a80bfc51e6a3ad836109e791254085c9a478ed5 01:54:00 $ docker rm -f --volumes 5b25585dcaafe4cdb87cc22f1a80bfc51e6a3ad836109e791254085c9a478ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:54:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:54:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:54:00 total 16 01:54:00 drwxr-xr-x 3 root root 4096 Apr 12 01:36 . 01:54:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 01:53 .. 01:54:00 drwxr-xr-x 2 root root 4096 Apr 12 01:36 cost 01:54:00 -rw-r--r-- 1 root root 86 Apr 12 01:36 cost.csv 01:54:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:54:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:54:00 total 16 01:54:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 01:36 . 01:54:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 01:53 .. 01:54:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 01:36 cost 01:54:00 -rw-r--r-- 1 jenkins jenkins 86 Apr 12 01:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:54:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:54:02 ---> package-listing.sh 01:54:02 ++ facter osfamily 01:54:02 ++ tr '[:upper:]' '[:lower:]' 01:54:02 + OS_FAMILY=debian 01:54:02 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:54:02 + START_PACKAGES=/tmp/packages_start.txt 01:54:02 + END_PACKAGES=/tmp/packages_end.txt 01:54:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:54:02 + PACKAGES=/tmp/packages_start.txt 01:54:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:54:02 + PACKAGES=/tmp/packages_end.txt 01:54:02 + case "${OS_FAMILY}" in 01:54:02 + dpkg -l 01:54:02 + grep '^ii' 01:54:02 + '[' -f /tmp/packages_start.txt ']' 01:54:02 + '[' -f /tmp/packages_end.txt ']' 01:54:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:54:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:54:02 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:54:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:54:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:54:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:03 prd-ubuntu20.04-docker-8c-8g-4963 does not seem to be running inside a container 01:54:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:54:03 $ docker top 20f304156d6b9e31260abd9e2ceb25e4467f0d56020de6a1df68df688f4344c9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:03 + touch /tmp/pre-build-complete [Pipeline] sh 01:54:04 + mkdir -p /var/log/sysstat [Pipeline] sh 01:54:04 + ls /var/log/sa-host 01:54:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:04 provisioning config files... 01:54:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12248551934973058706tmp [Pipeline] { [Pipeline] echo 01:54:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:54:04 ---> create-netrc.sh [Pipeline] } 01:54:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:54:05 ---> python-tools-install.sh [Pipeline] echo 01:54:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:54:05 ---> sudo-logs.sh 01:54:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:54:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:54:05 ---> job-cost.sh 01:54:05 lf-activate-venv: SKIPPING 01:54:05 DEBUG: total: 0.2199999988079071 01:54:05 INFO: Retrieving Stack Cost... 01:54:06 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:06 INFO: Archiving Costs [Pipeline] echo 01:54:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:54:06 ---> logs-deploy.sh 01:54:06 lf-activate-venv: SKIPPING 01:54:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/231 01:54:06 INFO: archiving workspace using pattern(s): 01:54:07 Archives upload complete. 01:54:07 INFO: archiving logs to Nexus