Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 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-ssh15803944413424581804.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-ssh2615958297604318441.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-ssh14244835045242595629.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-ssh16822983337533329653.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-ssh8655460539528918922.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 ‘prd-centos7-blackbox-4c-2g-774948’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-775323’ is offline ‘prd-ubuntu20.04-docker-8c-8g-775327’ is offline Running on prd-ubuntu20.04-docker-8c-8g-775330 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 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#512)" > 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 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 # timeout=10 > git rev-list --no-walk 4f8f0ab49d1c1cc910d9c65db7486b274883ca37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:27:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:27:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:27:19 ========================================================= 03:27:19 EdgeX Global Pipelines Version Info 03:27:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:27:20 ------------------- 03:27:20 stable info: 03:27:20 ------------------- 03:27:20 Commited By: Cherry Wang cherry@iotechsys.com 03:27:20 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 03:27:20 Message: update stable to v1.0.278 03:27:20 ------------------- 03:27:20 experimental info: 03:27:20 ------------------- 03:27:20 Commited By: **** collab-it+edgex@linuxfoundation.org 03:27:20 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 03:27:20 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b2bb1a [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:21 provisioning config files... 03:27:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1461712200721280170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:22 ---> ****-login.sh 03:27:22 nexus3.edgexfoundry.org:10001 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:22 03:27:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:27:22 Configure a credential helper to remove this warning. See 03:27:22 https://docs.****.com/go/credential-store/ 03:27:22 03:27:22 Login Succeeded 03:27:22 nexus3.edgexfoundry.org:10002 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:22 03:27:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:27:22 Configure a credential helper to remove this warning. See 03:27:22 https://docs.****.com/go/credential-store/ 03:27:22 03:27:22 Login Succeeded 03:27:22 nexus3.edgexfoundry.org:10003 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:22 03:27:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:27:22 Configure a credential helper to remove this warning. See 03:27:22 https://docs.****.com/go/credential-store/ 03:27:22 03:27:22 Login Succeeded 03:27:22 nexus3.edgexfoundry.org:10004 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:22 03:27:22 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:27:22 Configure a credential helper to remove this warning. See 03:27:22 https://docs.****.com/go/credential-store/ 03:27:22 03:27:22 Login Succeeded 03:27:22 ****.io 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:23 03:27:23 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:27:23 Configure a credential helper to remove this warning. See 03:27:23 https://docs.****.com/go/credential-store/ 03:27:23 03:27:23 Login Succeeded 03:27:23 ---> ****-login.sh ends [Pipeline] } 03:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:27:23 + git rev-list -1 --merges 0b2bb1a0c2573228c337e6eea45d9ac188f999c3~1..0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] echo 03:27:23 -----------> git rev-list -1 --merges 0b2bb1a0c2573228c337e6eea45d9ac188f999c3~1..0b2bb1a0c2573228c337e6eea45d9ac188f999c3 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [false] [Pipeline] sh 03:27:23 + git log --format=format:%s -1 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] echo 03:27:23 ========================================================= 03:27:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:27:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:24 + git log --format=format:%s -1 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] echo 03:27:24 [semverPrep] GIT_COMMIT: 0b2bb1a0c2573228c337e6eea45d9ac188f999c3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#512) [Pipeline] echo 03:27:24 [semverPrep] This is not a build commit. [Pipeline] sh 03:27:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:27:24 + grep -v github /etc/ssh/ssh_known_hosts 03:27:24 + [ -e /tmp/ssh_known_hosts ] 03:27:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:27:24 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:27:24 sudo tee -a /etc/ssh/ssh_known_hosts 03:27:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:27:24 03:27:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:27:25 0.1.4: Pulling from edgex-devops/py-git-semver 03:27:25 3dae71ba6b94: Pulling fs layer 03:27:25 6bf1a483ea7c: Pulling fs layer 03:27:25 f5dfc541a4d3: Pulling fs layer 03:27:25 461d9e800cba: Pulling fs layer 03:27:25 80192f66455f: Pulling fs layer 03:27:25 2e8e34ca0e6c: Pulling fs layer 03:27:25 a29436f7fd5d: Pulling fs layer 03:27:25 923cac83aea3: Pulling fs layer 03:27:25 25ad8b0a4227: Pulling fs layer 03:27:25 db01528c6b51: Pulling fs layer 03:27:25 28988de357af: Pulling fs layer 03:27:25 461d9e800cba: Waiting 03:27:25 80192f66455f: Waiting 03:27:25 2e8e34ca0e6c: Waiting 03:27:25 a29436f7fd5d: Waiting 03:27:25 923cac83aea3: Waiting 03:27:25 25ad8b0a4227: Waiting 03:27:25 db01528c6b51: Waiting 03:27:25 28988de357af: Waiting 03:27:25 6bf1a483ea7c: Verifying Checksum 03:27:25 6bf1a483ea7c: Download complete 03:27:25 461d9e800cba: Verifying Checksum 03:27:25 461d9e800cba: Download complete 03:27:25 80192f66455f: Download complete 03:27:25 f5dfc541a4d3: Verifying Checksum 03:27:25 f5dfc541a4d3: Download complete 03:27:25 3dae71ba6b94: Verifying Checksum 03:27:25 3dae71ba6b94: Download complete 03:27:25 923cac83aea3: Download complete 03:27:25 25ad8b0a4227: Verifying Checksum 03:27:25 25ad8b0a4227: Download complete 03:27:25 db01528c6b51: Download complete 03:27:25 28988de357af: Verifying Checksum 03:27:25 28988de357af: Download complete 03:27:25 a29436f7fd5d: Verifying Checksum 03:27:25 a29436f7fd5d: Download complete 03:27:26 2e8e34ca0e6c: Verifying Checksum 03:27:26 2e8e34ca0e6c: Download complete 03:27:27 3dae71ba6b94: Pull complete 03:27:27 6bf1a483ea7c: Pull complete 03:27:28 f5dfc541a4d3: Pull complete 03:27:28 461d9e800cba: Pull complete 03:27:28 80192f66455f: Pull complete 03:27:32 2e8e34ca0e6c: Pull complete 03:27:33 a29436f7fd5d: Pull complete 03:27:33 923cac83aea3: Pull complete 03:27:33 25ad8b0a4227: Pull complete 03:27:33 db01528c6b51: Pull complete 03:27:33 28988de357af: Pull complete 03:27:33 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 03:27:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:27:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:33 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:27:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:27:35 $ docker top f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 -eo pid,comm 03:27:35 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). 03:27:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:27:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:27:35 [ssh-agent] Looking for ssh-agent implementation... 03:27:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:27:35 $ docker exec f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 ssh-agent 03:27:36 SSH_AUTH_SOCK=/tmp/ssh-rk8XBKLEkrga/agent.32 03:27:36 SSH_AGENT_PID=38 03:27:36 Running ssh-add (command line suppressed) 03:27:36 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9844125523349775712.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9844125523349775712.key) 03:27:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:27:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 03:27:36 + git tag --points-at HEAD [Pipeline] } 03:27:36 $ docker exec --env ******** --env ******** f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 ssh-agent -k 03:27:36 unset SSH_AUTH_SOCK; 03:27:36 unset SSH_AGENT_PID; 03:27:36 echo Agent pid 38 killed; 03:27:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:27:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:27:36 [ssh-agent] Looking for ssh-agent implementation... 03:27:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:27:37 $ docker exec f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 ssh-agent 03:27:37 SSH_AUTH_SOCK=/tmp/ssh-ps5z3wQSqiMb/agent.85 03:27:37 SSH_AGENT_PID=91 03:27:37 Running ssh-add (command line suppressed) 03:27:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2271287576647427128.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2271287576647427128.key) 03:27:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:27:37 + git semver init 03:27:38 2025-12-18 03:27:37,823 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:27:38 2025-12-18 03:27:37,827 [run_init] DEBUG init version:0.0.0 force:False 03:27:38 2025-12-18 03:27:37,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:27:38 2025-12-18 03:27:37,829 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:27:38 2025-12-18 03:27:37,829 [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) 03:27:39 2025-12-18 03:27:39,535 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:27:39 2025-12-18 03:27:39,536 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:27:39 2025-12-18 03:27:39,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:27:39 2025-12-18 03:27:39,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:27:39 4.1.0-dev.19 [Pipeline] } 03:27:39 $ docker exec --env ******** --env ******** f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 ssh-agent -k 03:27:40 unset SSH_AUTH_SOCK; 03:27:40 unset SSH_AGENT_PID; 03:27:40 echo Agent pid 91 killed; 03:27:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:27:40 + git semver [Pipeline] } 03:27:41 $ docker stop --time=1 f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 03:27:42 $ docker rm -f --volumes f477f54df5d647ec2b534c13b21968bb767bc217264460c342337cf11bb4a9e3 [Pipeline] // withDockerContainer [Pipeline] sh 03:27:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:27:42 Stashed 1 file(s) [Pipeline] echo 03:27:42 [edgeXSemver]: initialized semver on version 4.1.0-dev.19 [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 03:27:43 provisioning config files... 03:27:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13550029350154991996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:43 ---> ****-login.sh 03:27:43 nexus3.edgexfoundry.org:10001 03:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:43 Login Succeeded 03:27:43 nexus3.edgexfoundry.org:10002 03:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:43 Login Succeeded 03:27:43 nexus3.edgexfoundry.org:10003 03:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:43 Login Succeeded 03:27:43 nexus3.edgexfoundry.org:10004 03:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:43 Login Succeeded 03:27:43 ****.io 03:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:43 Login Succeeded 03:27:43 ---> ****-login.sh ends [Pipeline] } 03:27:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:27:44 ========================================================= 03:27:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 03:27:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:44 + 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 . 03:27:45 #0 building with "default" instance using docker driver 03:27:45 03:27:45 #1 [internal] load build definition from Dockerfile 03:27:45 #1 transferring dockerfile: 1.74kB done 03:27:45 #1 DONE 0.0s 03:27:45 03:27:45 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 03:27:45 #2 DONE 0.1s 03:27:45 03:27:45 #3 [internal] load .dockerignore 03:27:45 #3 transferring context: 193B done 03:27:45 #3 DONE 0.0s 03:27:45 03:27:45 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 03:27:45 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 03:27:45 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 03:27:45 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 03:27:45 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 03:27:45 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.0s done 03:27:45 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 3.15MB / 60.15MB 0.1s 03:27:45 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 03:27:45 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0B / 32B 0.1s 03:27:45 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 03:27:45 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 03:27:45 #4 ... 03:27:45 03:27:45 #5 [internal] load build context 03:27:45 #5 transferring context: 22.41MB 0.2s done 03:27:45 #5 DONE 0.2s 03:27:45 03:27:45 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 03:27:45 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 03:27:45 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 29.36MB / 60.15MB 0.3s 03:27:45 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 03:27:45 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 03:27:45 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s 03:27:45 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 8.39MB / 112.58MB 0.3s 03:27:45 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 03:27:45 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 47.19MB / 60.15MB 0.4s 03:27:45 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s done 03:27:45 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 19.92MB / 112.58MB 0.4s 03:27:45 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.1s done 03:27:45 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 2.10MB / 14.72MB 0.4s 03:27:45 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.6s 03:27:45 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 48.23MB / 112.58MB 0.6s 03:27:45 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.6s 03:27:45 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.6s done 03:27:45 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 70.09MB / 112.58MB 0.7s 03:27:45 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.6s done 03:27:45 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 03:27:46 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 93.32MB / 112.58MB 0.8s 03:27:46 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 0.9s 03:27:46 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.0s done 03:27:50 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.5s done 03:27:50 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 03:27:50 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 03:27:50 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 03:27:50 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 03:27:50 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 03:27:51 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.7s done 03:27:51 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 03:27:55 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 3.2s done 03:27:55 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 03:27:55 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.9s done 03:27:55 #4 DONE 10.7s 03:27:56 03:27:56 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 03:27:56 #6 0.245 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:27:56 #6 0.406 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:27:56 #6 0.809 (1/4) Installing openssh-keygen (10.0_p1-r10) 03:27:56 #6 0.819 (2/4) Installing libedit (20250104.3.1-r1) 03:27:56 #6 0.827 (3/4) Installing openssh-client-common (10.0_p1-r10) 03:27:56 #6 0.850 (4/4) Installing openssh-client-default (10.0_p1-r10) 03:27:56 #6 0.863 Executing busybox-1.37.0-r19.trigger 03:27:56 #6 0.874 OK: 269 MiB in 64 packages 03:27:58 Still waiting to schedule task 03:27:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:27:58 #6 DONE 2.5s 03:27:58 03:27:58 #7 [builder 3/7] WORKDIR /device-rest-go 03:27:58 #7 DONE 0.0s 03:27:58 03:27:58 #8 [builder 4/7] COPY go.mod vendor* ./ 03:27:58 #8 DONE 0.0s 03:27:58 03:27:58 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:08 #9 DONE 9.1s 03:28:08 03:28:08 #10 [builder 6/7] COPY . . 03:28:08 #10 DONE 0.1s 03:28:08 03:28:08 #11 [builder 7/7] RUN echo noop 03:28:08 #11 0.201 noop 03:28:08 #11 DONE 0.3s 03:28:08 03:28:08 #12 exporting to image 03:28:08 #12 exporting layers 03:28:17 #12 exporting layers 8.3s done 03:28:17 #12 writing image sha256:69d6e6ac56279c0177225bc798dd6fb4d56b632e45113374e14a9f717eed709f done 03:28:17 #12 naming to docker.io/library/ci-base-image-x86_64 done 03:28:17 #12 DONE 8.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:17 + docker inspect -f . ci-base-image-x86_64 03:28:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:17 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:28:17 $ docker top f80492c08e5ea4a9b85993636d6596354db088a920959b8e981b5efb4c2c35bf -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:18 + go version 03:28:18 go version go1.25.2 linux/amd64 [Pipeline] } 03:28:18 $ docker stop --time=1 f80492c08e5ea4a9b85993636d6596354db088a920959b8e981b5efb4c2c35bf 03:28:19 $ docker rm -f --volumes f80492c08e5ea4a9b85993636d6596354db088a920959b8e981b5efb4c2c35bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:19 + docker inspect -f . ci-base-image-x86_64 03:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:19 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:28:20 $ docker top 4ccabed9d71dae775e316254cd5b4f3d1820c4260126414dae0fd7e7103f9fcb -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:28:20 + make test 03:28:20 go test ./... -coverprofile=coverage.out ./... 03:28:22 ? github.com/edgexfoundry/device-rest-go [no test files] 03:28:44 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 03:28:44 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 03:28:54 0 issues. 03:28:54 go vet ./... 03:29:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:29:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:29:01 ./bin/test-attribution-txt.sh [Pipeline] echo 03:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:29:01 $ docker stop --time=1 4ccabed9d71dae775e316254cd5b4f3d1820c4260126414dae0fd7e7103f9fcb 03:29:03 $ docker rm -f --volumes 4ccabed9d71dae775e316254cd5b4f3d1820c4260126414dae0fd7e7103f9fcb [Pipeline] // withDockerContainer [Pipeline] sh 03:29:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:29:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:29:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:29:04 + ls -al . 03:29:04 total 248 03:29:04 drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 03:28 . 03:29:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 03:27 .. 03:29:04 -rw-rw-r-- 1 jenkins jenkins 151 Dec 18 03:27 .dockerignore 03:29:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 03:28 .git 03:29:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:27 .github 03:29:04 -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 03:27 .gitignore 03:29:04 -rw-rw-r-- 1 jenkins jenkins 359 Dec 18 03:27 .golangci.yml 03:29:04 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 03:27 .semver 03:29:04 -rw-rw-r-- 1 jenkins jenkins 22791 Dec 18 03:27 Attribution.txt 03:29:04 -rw-rw-r-- 1 jenkins jenkins 18492 Dec 18 03:27 CHANGELOG.md 03:29:04 -rw-rw-r-- 1 jenkins jenkins 1697 Dec 18 03:27 Dockerfile 03:29:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 03:27 GOVERNANCE.md 03:29:04 -rw-rw-r-- 1 jenkins jenkins 704 Dec 18 03:27 Jenkinsfile 03:29:04 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 03:27 LICENSE 03:29:04 -rw-rw-r-- 1 jenkins jenkins 2597 Dec 18 03:27 Makefile 03:29:04 -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 03:27 OWNERS.md 03:29:04 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 18 03:27 README.md 03:29:04 -rw-rw-r-- 1 jenkins jenkins 12 Dec 18 03:27 VERSION 03:29:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 03:27 bin 03:29:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:27 cmd 03:29:04 -rw-r--r-- 1 jenkins jenkins 14565 Dec 18 03:28 coverage.out 03:29:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 03:27 driver 03:29:04 -rw-rw-r-- 1 jenkins jenkins 6856 Dec 18 03:27 go.mod 03:29:04 -rw-rw-r-- 1 jenkins jenkins 89079 Dec 18 03:27 go.sum 03:29:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:27 openapi 03:29:04 -rw-rw-r-- 1 jenkins jenkins 713 Dec 18 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:05 + 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=0b2bb1a0c2573228c337e6eea45d9ac188f999c3 --label arch=amd64 --label version=4.1.0-dev.19 . 03:29:05 #0 building with "default" instance using docker driver 03:29:05 03:29:05 #1 [internal] load build definition from Dockerfile 03:29:05 #1 transferring dockerfile: 1.74kB done 03:29:05 #1 WARN: UndefinedVar: Usage of undefined variable '$VERSION' (line 41) 03:29:05 #1 DONE 0.0s 03:29:05 03:29:05 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 03:29:05 #2 DONE 0.0s 03:29:05 03:29:05 #3 [internal] load metadata for docker.io/library/alpine:3.22 03:29:05 #3 DONE 0.1s 03:29:05 03:29:05 #4 [internal] load .dockerignore 03:29:05 #4 transferring context: 193B done 03:29:05 #4 DONE 0.0s 03:29:05 03:29:05 #5 [internal] load build context 03:29:05 #5 transferring context: 18.46kB 0.0s done 03:29:05 #5 DONE 0.0s 03:29:05 03:29:05 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 03:29:05 #6 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 0.0s done 03:29:05 #6 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 03:29:05 #6 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 03:29:05 #6 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 03:29:05 #6 DONE 0.1s 03:29:05 03:29:05 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 03:29:05 #7 DONE 0.1s 03:29:05 03:29:05 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 03:29:05 #8 0.272 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:29:05 #8 0.349 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:29:06 #8 0.695 (1/1) Installing dumb-init (1.2.5-r3) 03:29:06 #8 0.699 Executing busybox-1.37.0-r19.trigger 03:29:06 #8 0.706 OK: 7 MiB in 17 packages 03:29:06 #8 DONE 0.8s 03:29:06 03:29:06 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 03:29:06 #9 0.228 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:29:06 #9 0.313 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:29:06 #9 0.681 OK: 269 MiB in 64 packages 03:29:06 #9 DONE 0.8s 03:29:06 03:29:06 #10 [builder 3/7] WORKDIR /device-rest-go 03:29:06 #10 DONE 0.0s 03:29:06 03:29:06 #11 [builder 4/7] COPY go.mod vendor* ./ 03:29:06 #11 DONE 0.0s 03:29:06 03:29:06 #12 [stage-1 3/6] RUN apk --no-cache upgrade 03:29:06 #12 0.354 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 03:29:06 #12 0.424 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 03:29:06 #12 ... 03:29:06 03:29:06 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:29:06 #13 DONE 0.5s 03:29:06 03:29:06 #14 [builder 6/7] COPY . . 03:29:06 #14 DONE 0.1s 03:29:06 03:29:06 #12 [stage-1 3/6] RUN apk --no-cache upgrade 03:29:06 #12 0.795 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 03:29:06 #12 0.808 Executing busybox-1.37.0-r20.post-upgrade 03:29:06 #12 0.846 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 03:29:07 #12 0.849 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 03:29:07 #12 0.853 Executing busybox-1.37.0-r20.trigger 03:29:07 #12 0.861 OK: 7 MiB in 17 packages 03:29:07 #12 DONE 1.0s 03:29:07 03:29:07 #15 [builder 7/7] RUN make build 03:29:07 #15 0.225 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.49 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:29:33 #15 DONE 25.9s 03:29:33 03:29:33 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 03:29:33 #16 DONE 0.1s 03:29:33 03:29:33 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 03:29:33 #17 DONE 0.0s 03:29:33 03:29:33 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 03:29:33 #18 DONE 0.0s 03:29:33 03:29:33 #19 exporting to image 03:29:33 #19 exporting layers 0.1s done 03:29:33 #19 writing image sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:29:33 #19 naming to docker.io/library/device-rest done 03:29:33 #19 DONE 0.1s 03:29:33 03:29:33 1 warning found (use docker --debug to expand): 03:29:33  - 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 03:29:34 provisioning config files... 03:29:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18146359466204492660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:34 ---> ****-login.sh 03:29:34 nexus3.edgexfoundry.org:10001 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 Login Succeeded 03:29:34 nexus3.edgexfoundry.org:10002 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 Login Succeeded 03:29:34 nexus3.edgexfoundry.org:10003 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 Login Succeeded 03:29:34 nexus3.edgexfoundry.org:10004 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 Login Succeeded 03:29:34 ****.io 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 Login Succeeded 03:29:34 ---> ****-login.sh ends [Pipeline] } 03:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:29:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:29:34 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:29:34 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:29:34 latest 03:29:34 4.1.0-dev.19 03:29:34 0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:29:34 main 03:29:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:29:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:29:35 9b08e159e760: Preparing 03:29:35 32ad61659b9e: Preparing 03:29:35 13dd6cb86113: Preparing 03:29:35 a7026fede20c: Preparing 03:29:35 e961fdbea56f: Preparing 03:29:35 256f393e029f: Preparing 03:29:35 256f393e029f: Waiting 03:29:35 9b08e159e760: Pushed 03:29:35 32ad61659b9e: Pushed 03:29:35 e961fdbea56f: Pushed 03:29:35 256f393e029f: Layer already exists 03:29:35 a7026fede20c: Pushed 03:29:39 13dd6cb86113: Pushed 03:29:39 0b2bb1a0c2573228c337e6eea45d9ac188f999c3: digest: sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:29:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:29:40 9b08e159e760: Preparing 03:29:40 32ad61659b9e: Preparing 03:29:40 13dd6cb86113: Preparing 03:29:40 a7026fede20c: Preparing 03:29:40 e961fdbea56f: Preparing 03:29:40 256f393e029f: Preparing 03:29:40 256f393e029f: Waiting 03:29:40 13dd6cb86113: Layer already exists 03:29:40 32ad61659b9e: Layer already exists 03:29:40 9b08e159e760: Layer already exists 03:29:40 e961fdbea56f: Layer already exists 03:29:40 a7026fede20c: Layer already exists 03:29:40 256f393e029f: Layer already exists 03:29:40 latest: digest: sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 03:29:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:29:41 9b08e159e760: Preparing 03:29:41 32ad61659b9e: Preparing 03:29:41 13dd6cb86113: Preparing 03:29:41 a7026fede20c: Preparing 03:29:41 e961fdbea56f: Preparing 03:29:41 256f393e029f: Preparing 03:29:41 256f393e029f: Waiting 03:29:41 a7026fede20c: Layer already exists 03:29:41 e961fdbea56f: Layer already exists 03:29:41 9b08e159e760: Layer already exists 03:29:41 32ad61659b9e: Layer already exists 03:29:41 13dd6cb86113: Layer already exists 03:29:41 256f393e029f: Layer already exists 03:29:41 4.1.0-dev.19: digest: sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:29:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:29:41 9b08e159e760: Preparing 03:29:41 32ad61659b9e: Preparing 03:29:41 13dd6cb86113: Preparing 03:29:41 a7026fede20c: Preparing 03:29:41 e961fdbea56f: Preparing 03:29:41 256f393e029f: Preparing 03:29:41 e961fdbea56f: Layer already exists 03:29:41 13dd6cb86113: Layer already exists 03:29:41 a7026fede20c: Layer already exists 03:29:41 32ad61659b9e: Layer already exists 03:29:41 9b08e159e760: Layer already exists 03:29:41 256f393e029f: Layer already exists 03:29:41 0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19: digest: sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:29:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:29:42 9b08e159e760: Preparing 03:29:42 32ad61659b9e: Preparing 03:29:42 13dd6cb86113: Preparing 03:29:42 a7026fede20c: Preparing 03:29:42 e961fdbea56f: Preparing 03:29:42 256f393e029f: Preparing 03:29:42 256f393e029f: Waiting 03:29:42 9b08e159e760: Layer already exists 03:29:42 e961fdbea56f: Layer already exists 03:29:42 a7026fede20c: Layer already exists 03:29:42 32ad61659b9e: Layer already exists 03:29:42 13dd6cb86113: Layer already exists 03:29:42 256f393e029f: Layer already exists 03:29:42 main: digest: sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:29:42 ===================================================== [Pipeline] echo 03:29:42 taggedImages: 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 03:29:42 ========================================================= 03:29:42 [edgeXBuildMultiArch] RAW Config: 03:29:42 images: 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:29:42 - nexus3.edgexfoundry.org:10004/device-rest:main 03:29:42 settingsFile: 03:29:42 device-rest-go-settings 03:29:42 ========================================================= [Pipeline] node 03:29:57 Still waiting to schedule task 03:29:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:30:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-775339 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:30:28 Running in /w/workspace/device-rest-go/226 [Pipeline] { [Pipeline] checkout 03:30:28 The recommended git tool is: git 03:30:35 using credential edgex-jenkins-ssh 03:30:35 Cloning the remote Git repository 03:30:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:30:35 > git init /w/workspace/device-rest-go/226 # timeout=10 03:30:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:30:36 > git --version # timeout=10 03:30:36 > git --version # 'git version 2.25.1' 03:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:30:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:42 Avoid second fetch 03:30:42 Checking out Revision 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 (main) 03:30:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#512)" 03:30:42 > git config core.sparsecheckout # timeout=10 03:30:42 > git checkout -f 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:47 provisioning config files... 03:30:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/226@tmp/config14047609236323983294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:48 ---> ****-login.sh 03:30:48 nexus3.edgexfoundry.org:10001 03:30:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:49 Configure a credential helper to remove this warning. See 03:30:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:49 03:30:49 Login Succeeded 03:30:49 nexus3.edgexfoundry.org:10002 03:30:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:49 Configure a credential helper to remove this warning. See 03:30:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:49 03:30:49 Login Succeeded 03:30:49 nexus3.edgexfoundry.org:10003 03:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:50 Configure a credential helper to remove this warning. See 03:30:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:50 03:30:50 Login Succeeded 03:30:50 nexus3.edgexfoundry.org:10004 03:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:50 Configure a credential helper to remove this warning. See 03:30:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:50 03:30:50 Login Succeeded 03:30:50 ****.io 03:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:51 Configure a credential helper to remove this warning. See 03:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:51 03:30:51 Login Succeeded 03:30:51 ---> ****-login.sh ends [Pipeline] } 03:30:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:30:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:30:51 ========================================================= 03:30:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 03:30:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:52 Running on prd-centos7-docker-4c-2g-775346 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) 03:30:52 + 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 . 03:30:52 Sending build context to Docker daemon 144.9kB [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:52 provisioning config files... 03:30:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6609123588849873724tmp [Pipeline] { [Pipeline] libraryResource 03:30:52 Step 1/12 : ARG BASE=golang:1.25-alpine3.22 03:30:52 Step 2/12 : FROM ${BASE} AS builder 03:30:52 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:30:52 6b59a28fa201: Pulling fs layer 03:30:52 d32bb0dddca7: Pulling fs layer 03:30:52 5dab1238d3d9: Pulling fs layer 03:30:52 196fd7d83e7d: Pulling fs layer 03:30:52 4f4fb700ef54: Pulling fs layer 03:30:52 8ba94037c8f0: Pulling fs layer 03:30:52 deaec5988b04: Pulling fs layer 03:30:52 9f65657bb879: Pulling fs layer 03:30:52 196fd7d83e7d: Waiting 03:30:52 4f4fb700ef54: Waiting 03:30:52 8ba94037c8f0: Waiting 03:30:52 deaec5988b04: Waiting 03:30:52 d32bb0dddca7: Verifying Checksum 03:30:52 d32bb0dddca7: Download complete 03:30:52 196fd7d83e7d: Verifying Checksum 03:30:52 196fd7d83e7d: Download complete 03:30:52 4f4fb700ef54: Verifying Checksum 03:30:52 4f4fb700ef54: Download complete 03:30:52 6b59a28fa201: Download complete 03:30:53 8ba94037c8f0: Verifying Checksum 03:30:53 8ba94037c8f0: Download complete 03:30:53 9f65657bb879: Verifying Checksum 03:30:53 9f65657bb879: Download complete 03:30:54 6b59a28fa201: Pull complete 03:30:54 d32bb0dddca7: Pull complete 03:30:54 5dab1238d3d9: Verifying Checksum 03:30:54 5dab1238d3d9: Download complete [Pipeline] sh 03:30:56 ---> ****-login.sh 03:30:56 nexus3.edgexfoundry.org:10001 03:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:56 Configure a credential helper to remove this warning. See 03:30:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:56 03:30:56 Login Succeeded 03:30:56 nexus3.edgexfoundry.org:10002 03:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:56 Configure a credential helper to remove this warning. See 03:30:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:56 03:30:56 Login Succeeded 03:30:56 nexus3.edgexfoundry.org:10003 03:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:56 Configure a credential helper to remove this warning. See 03:30:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:56 03:30:56 Login Succeeded 03:30:56 nexus3.edgexfoundry.org:10004 03:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:56 Configure a credential helper to remove this warning. See 03:30:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:56 03:30:56 Login Succeeded 03:30:56 ****.io 03:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:56 Configure a credential helper to remove this warning. See 03:30:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:56 03:30:56 Login Succeeded 03:30:56 ---> ****-login.sh ends [Pipeline] } 03:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:56 deaec5988b04: Verifying Checksum 03:30:56 deaec5988b04: Download complete 03:30:57 + docker buildx ls 03:30:57 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:30:57 default * docker 03:30:57 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:30:57 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 03:30:57 edgex-builder [Pipeline] sh 03:30:57 + docker buildx inspect --bootstrap 03:30:57 #1 [internal] booting buildkit 03:30:57 #1 pulling image moby/buildkit:buildx-stable-1 03:31:01 #1 pulling image moby/buildkit:buildx-stable-1 3.1s done 03:31:01 #1 creating container buildx_buildkit_edgex-builder0 03:31:03 #1 creating container buildx_buildkit_edgex-builder0 2.4s done 03:31:03 #1 DONE 5.5s 03:31:03 Name: edgex-builder 03:31:03 Driver: docker-container 03:31:03 03:31:03 Nodes: 03:31:03 Name: edgex-builder0 03:31:03 Endpoint: unix:///var/run/docker.sock 03:31:03 Status: running 03:31:03 Buildkit: v0.26.2 03:31:03 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 03:31:03 + docker buildx ls 03:31:03 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:31:03 edgex-builder * docker-container 03:31:03 edgex-builder0 unix:///var/run/docker.sock running v0.26.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 03:31:03 default docker 03:31:03 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:31:03 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 --push - 03:31:03 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3' 03:31:03 #1 [internal] load build definition from Dockerfile 03:31:03 #1 transferring dockerfile: 196B done 03:31:03 #1 DONE 0.0s 03:31:03 03:31:03 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:31:03 #2 DONE 0.1s 03:31:03 03:31:03 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:31:03 #3 DONE 0.1s 03:31:03 03:31:03 #4 [internal] load .dockerignore 03:31:03 #4 transferring context: 2B done 03:31:03 #4 DONE 0.0s 03:31:03 03:31:03 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:03 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:03 #5 DONE 0.0s 03:31:03 03:31:03 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:03 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:04 #6 DONE 0.1s 03:31:04 03:31:04 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 03:31:04 #7 DONE 0.0s 03:31:04 03:31:04 #8 exporting to image 03:31:04 #8 exporting layers done 03:31:04 #8 exporting manifest sha256:d0132ba7cb27d8a896c8808bbaedf79aa4cd712f77e90549f2be14beaa6ccfaa 0.0s done 03:31:04 #8 exporting config sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:31:04 #8 exporting manifest sha256:23c8ee1e2b4aaf15c27522df05c456c2a4da0828ef2f37e41e2937f2a5545f74 0.0s done 03:31:04 #8 exporting config sha256:976ccd8f30aaecbf7c18e87a2b938d9e8add52f51c607b4c869697f07a0821f9 0.0s done 03:31:04 #8 exporting manifest list sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.0s done 03:31:04 #8 pushing layers 03:31:04 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:31:04 #8 pushing layers 0.1s done 03:31:04 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3@sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.1s done 03:31:04 #8 DONE 0.2s 03:31:04 03:31:04 1 warning found (use --debug to expand): 03:31:04  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:31:04 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 03:31:04 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 03:31:04 #1 [internal] load build definition from Dockerfile 03:31:04 #1 transferring dockerfile: 162B done 03:31:04 #1 DONE 0.0s 03:31:04 03:31:04 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 03:31:04 #2 DONE 0.0s 03:31:04 03:31:04 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 03:31:04 #3 DONE 0.0s 03:31:04 03:31:04 #4 [internal] load .dockerignore 03:31:04 #4 transferring context: 2B done 03:31:04 #4 DONE 0.0s 03:31:04 03:31:04 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:04 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:04 #5 CACHED 03:31:04 03:31:04 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:04 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:04 #6 CACHED 03:31:04 03:31:04 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 03:31:04 #7 DONE 0.0s 03:31:04 03:31:04 #8 exporting to image 03:31:04 #8 exporting layers done 03:31:04 #8 exporting manifest sha256:d0132ba7cb27d8a896c8808bbaedf79aa4cd712f77e90549f2be14beaa6ccfaa done 03:31:04 #8 exporting config sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:31:04 #8 exporting manifest sha256:23c8ee1e2b4aaf15c27522df05c456c2a4da0828ef2f37e41e2937f2a5545f74 done 03:31:04 #8 exporting config sha256:976ccd8f30aaecbf7c18e87a2b938d9e8add52f51c607b4c869697f07a0821f9 done 03:31:04 #8 exporting manifest list sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 done 03:31:04 #8 pushing layers 0.0s done 03:31:04 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.1s done 03:31:04 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:31:04 #8 DONE 0.1s 03:31:04 03:31:04 1 warning found (use --debug to expand): 03:31:04  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:31:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19' 03:31:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 --push - 03:31:05 #1 [internal] load build definition from Dockerfile 03:31:05 #1 transferring dockerfile: 168B done 03:31:05 #1 DONE 0.0s 03:31:05 03:31:05 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 03:31:05 #2 DONE 0.0s 03:31:05 03:31:05 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19 03:31:05 #3 DONE 0.0s 03:31:05 03:31:05 #4 [internal] load .dockerignore 03:31:05 #4 transferring context: 2B done 03:31:05 #4 DONE 0.0s 03:31:05 03:31:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:05 #5 DONE 0.0s 03:31:05 03:31:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:05 #6 CACHED 03:31:05 03:31:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #5 CACHED 03:31:05 03:31:05 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 03:31:05 #7 DONE 0.0s 03:31:05 03:31:05 #8 exporting to image 03:31:05 #8 exporting layers done 03:31:05 #8 exporting manifest sha256:d0132ba7cb27d8a896c8808bbaedf79aa4cd712f77e90549f2be14beaa6ccfaa done 03:31:05 #8 exporting config sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:31:05 #8 exporting manifest sha256:23c8ee1e2b4aaf15c27522df05c456c2a4da0828ef2f37e41e2937f2a5545f74 done 03:31:05 #8 exporting config sha256:976ccd8f30aaecbf7c18e87a2b938d9e8add52f51c607b4c869697f07a0821f9 done 03:31:05 #8 exporting manifest list sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 done 03:31:05 #8 pushing layers 0.0s done 03:31:05 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.19@sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.1s done 03:31:05 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:31:05 #8 DONE 0.1s 03:31:05 03:31:05 1 warning found (use --debug to expand): 03:31:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:31:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 --push - 03:31:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19' 03:31:05 #1 [internal] load build definition from Dockerfile 03:31:05 #1 transferring dockerfile: 209B done 03:31:05 #1 DONE 0.0s 03:31:05 03:31:05 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:31:05 #2 DONE 0.0s 03:31:05 03:31:05 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:31:05 #3 DONE 0.0s 03:31:05 03:31:05 #4 [internal] load .dockerignore 03:31:05 #4 transferring context: 2B done 03:31:05 #4 DONE 0.0s 03:31:05 03:31:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:05 #5 CACHED 03:31:05 03:31:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:05 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:05 #6 CACHED 03:31:05 03:31:05 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 03:31:05 #7 DONE 0.0s 03:31:05 03:31:05 #8 exporting to image 03:31:05 #8 exporting layers done 03:31:05 #8 exporting manifest sha256:d0132ba7cb27d8a896c8808bbaedf79aa4cd712f77e90549f2be14beaa6ccfaa done 03:31:05 #8 exporting config sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:31:05 #8 exporting manifest sha256:23c8ee1e2b4aaf15c27522df05c456c2a4da0828ef2f37e41e2937f2a5545f74 done 03:31:05 #8 exporting config sha256:976ccd8f30aaecbf7c18e87a2b938d9e8add52f51c607b4c869697f07a0821f9 done 03:31:05 #8 exporting manifest list sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 done 03:31:05 #8 pushing layers 0.0s done 03:31:05 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19@sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.1s done 03:31:05 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:31:05 #8 DONE 0.1s 03:31:05 03:31:05 1 warning found (use --debug to expand): 03:31:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:31:06 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 03:31:06 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 03:31:06 #1 [internal] load build definition from Dockerfile 03:31:06 #1 transferring dockerfile: 160B done 03:31:06 #1 DONE 0.0s 03:31:06 03:31:06 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 03:31:06 #2 DONE 0.0s 03:31:06 03:31:06 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 03:31:06 #3 DONE 0.0s 03:31:06 03:31:06 #4 [internal] load .dockerignore 03:31:06 #4 transferring context: 2B done 03:31:06 #4 DONE 0.0s 03:31:06 03:31:06 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:06 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:06 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:06 #5 CACHED 03:31:06 03:31:06 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 03:31:06 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:78e77c6308ec86a455fc77a379c1419636f4804e51ab20e73a3c964afcdff6a3 0.0s done 03:31:06 #6 CACHED 03:31:06 03:31:06 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 03:31:06 #7 DONE 0.0s 03:31:06 03:31:06 #8 exporting to image 03:31:06 #8 exporting layers done 03:31:06 #8 exporting manifest sha256:d0132ba7cb27d8a896c8808bbaedf79aa4cd712f77e90549f2be14beaa6ccfaa done 03:31:06 #8 exporting config sha256:6a36bda2a4bb35dbae895b13e4793a977de8df7854f8464804d3978599a09994 done 03:31:06 #8 exporting manifest sha256:23c8ee1e2b4aaf15c27522df05c456c2a4da0828ef2f37e41e2937f2a5545f74 done 03:31:06 #8 exporting config sha256:976ccd8f30aaecbf7c18e87a2b938d9e8add52f51c607b4c869697f07a0821f9 done 03:31:06 #8 exporting manifest list sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 done 03:31:06 #8 pushing layers 0.0s done 03:31:06 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:4153defadedc5fb0834311f89d917b5041d29c6cd4a2ca447d0937140db25f60 0.1s done 03:31:06 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:31:06 #8 DONE 0.1s 03:31:06 03:31:06 1 warning found (use --debug to expand): 03:31:06  - 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 03:31:06 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 03:31:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:31:07 ---> package-listing.sh 03:31:07 ++ facter osfamily 03:31:07 ++ tr '[:upper:]' '[:lower:]' 03:31:07 + OS_FAMILY=redhat 03:31:07 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:31:07 + START_PACKAGES=/tmp/packages_start.txt 03:31:07 + END_PACKAGES=/tmp/packages_end.txt 03:31:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:31:07 + PACKAGES=/tmp/packages_start.txt 03:31:07 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:31:07 + PACKAGES=/tmp/packages_end.txt 03:31:07 + case "${OS_FAMILY}" in 03:31:07 + sort 03:31:07 + rpm -qa 03:31:08 + '[' -f /tmp/packages_start.txt ']' 03:31:08 + '[' -f /tmp/packages_end.txt ']' 03:31:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:31:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:31:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:31:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:31:08 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 03:31:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:09 5dab1238d3d9: Pull complete 03:31:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:09 03:31:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:09 latest: Pulling from edgex-lftools-log-publisher 03:31:09 5eb5b503b376: Pulling fs layer 03:31:09 5c69ac0246d0: Pulling fs layer 03:31:09 ec43610c2a17: Pulling fs layer 03:31:09 3a2ae6a8a46f: Pulling fs layer 03:31:09 33b1e0a273af: Pulling fs layer 03:31:09 5d3b04190fa2: Pulling fs layer 03:31:09 2f39f015ded8: Pulling fs layer 03:31:09 33b1e0a273af: Waiting 03:31:09 5d3b04190fa2: Waiting 03:31:09 2f39f015ded8: Waiting 03:31:09 3a2ae6a8a46f: Waiting 03:31:09 5c69ac0246d0: Verifying Checksum 03:31:09 5c69ac0246d0: Download complete 03:31:09 3a2ae6a8a46f: Verifying Checksum 03:31:09 3a2ae6a8a46f: Download complete 03:31:09 33b1e0a273af: Verifying Checksum 03:31:09 33b1e0a273af: Download complete 03:31:09 ec43610c2a17: Verifying Checksum 03:31:09 ec43610c2a17: Download complete 03:31:09 5d3b04190fa2: Verifying Checksum 03:31:09 5d3b04190fa2: Download complete 03:31:09 196fd7d83e7d: Pull complete 03:31:09 5eb5b503b376: Verifying Checksum 03:31:09 5eb5b503b376: Download complete 03:31:10 4f4fb700ef54: Pull complete 03:31:10 8ba94037c8f0: Pull complete 03:31:10 2f39f015ded8: Verifying Checksum 03:31:10 2f39f015ded8: Download complete 03:31:11 5eb5b503b376: Pull complete 03:31:11 5c69ac0246d0: Pull complete 03:31:11 ec43610c2a17: Pull complete 03:31:11 3a2ae6a8a46f: Pull complete 03:31:12 33b1e0a273af: Pull complete 03:31:12 5d3b04190fa2: Pull complete 03:31:16 2f39f015ded8: Pull complete 03:31:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:16 prd-centos7-docker-4c-2g-775346 does not seem to be running inside a container 03:31:16 $ 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 03:31:20 deaec5988b04: Pull complete 03:31:21 9f65657bb879: Pull complete 03:31:21 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 03:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 03:31:21 ---> 334268110677 03:31:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:31:21 $ docker top a5904052efae224b6dcb0282d583d9b81676183b23a8e2dd25d6c57f2370bbfd -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:22 + touch /tmp/pre-build-complete [Pipeline] sh 03:31:22 + mkdir -p /var/log/sysstat [Pipeline] sh 03:31:22 + ls /var/log/sa-host 03:31:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:31:22 provisioning config files... 03:31:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9698520179091066153tmp [Pipeline] { [Pipeline] echo 03:31:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:31:23 ---> create-netrc.sh [Pipeline] } 03:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:31:23 ---> python-tools-install.sh [Pipeline] echo 03:31:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:31:23 ---> Running in aef2e04d5cc3 03:31:23 ---> sudo-logs.sh 03:31:23 Archiving 'sudo' log.. 03:31:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-775346.novalocal: Name or service not known 03:31:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-775346.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:31:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:31:24 ---> job-cost.sh 03:31:24 lf-activate-venv: SKIPPING 03:31:24 INFO: No Stack... 03:31:24 INFO: Retrieving Pricing Info for: v3-standard-2 03:31:24 Removing intermediate container aef2e04d5cc3 03:31:24 ---> 7b1dee9ba370 03:31:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:24 ---> Running in c49c859f7359 03:31:24 INFO: Archiving Costs [Pipeline] echo 03:31:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:31:24 ---> logs-deploy.sh 03:31:24 lf-activate-venv: SKIPPING 03:31:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/226 03:31:24 INFO: archiving workspace using pattern(s): 03:31:25 Removing intermediate container c49c859f7359 03:31:25 ---> c422c29abd4a 03:31:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:31:25 ---> Running in d9f5a9b7bb74 03:31:25 Removing intermediate container d9f5a9b7bb74 03:31:25 ---> 9f6bc511e0d0 03:31:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:31:25 ---> Running in 74e1b147a314 03:31:25 Removing intermediate container 74e1b147a314 03:31:25 ---> 445ed9d79332 03:31:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:25 Archives upload complete. 03:31:25 INFO: archiving logs to Nexus 03:31:26 ---> Running in ed8d8dc80e0b 03:31:26 ---> uname -a: 03:31:26 Linux prd-centos7-docker-4c-2g-775346.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 03:31:26 03:31:26 03:31:26 ---> lscpu: 03:31:26 Architecture: x86_64 03:31:26 CPU op-mode(s): 32-bit, 64-bit 03:31:26 Byte Order: Little Endian 03:31:26 Address sizes: 40 bits physical, 48 bits virtual 03:31:26 CPU(s): 2 03:31:26 On-line CPU(s) list: 0,1 03:31:26 Thread(s) per core: 1 03:31:26 Core(s) per socket: 1 03:31:26 Socket(s): 2 03:31:26 NUMA node(s): 1 03:31:26 Vendor ID: AuthenticAMD 03:31:26 CPU family: 23 03:31:26 Model: 49 03:31:26 Model name: AMD EPYC-Rome Processor 03:31:26 Stepping: 0 03:31:26 CPU MHz: 2799.998 03:31:26 BogoMIPS: 5599.99 03:31:26 Virtualization: AMD-V 03:31:26 Hypervisor vendor: KVM 03:31:26 Virtualization type: full 03:31:26 L1d cache: 64 KiB 03:31:26 L1i cache: 64 KiB 03:31:26 L2 cache: 1 MiB 03:31:26 L3 cache: 32 MiB 03:31:26 NUMA node0 CPU(s): 0,1 03:31:26 Vulnerability Itlb multihit: Not affected 03:31:26 Vulnerability L1tf: Not affected 03:31:26 Vulnerability Mds: Not affected 03:31:26 Vulnerability Meltdown: Not affected 03:31:26 Vulnerability Mmio stale data: Not affected 03:31:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:31:26 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:31:26 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:31:26 Vulnerability Srbds: Not affected 03:31:26 Vulnerability Tsx async abort: Not affected 03:31:26 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 03:31:26 03:31:26 03:31:26 ---> nproc: 03:31:26 2 03:31:26 03:31:26 03:31:26 ---> df -h: 03:31:26 Filesystem Size Used Avail Use% Mounted on 03:31:26 overlay 40G 7.3G 33G 19% / 03:31:26 tmpfs 64M 0 64M 0% /dev 03:31:26 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 03:31:26 shm 64M 0 64M 0% /dev/shm 03:31:26 /dev/vda1 40G 7.3G 33G 19% /facter-os 03:31:26 03:31:26 03:31:26 Cannot open /var/log/sysstat/sa18: No such file or directory 03:31:26 Please check if data collecting is enabled 03:31:26 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:31:26 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 03:31:26 $ docker stop --time=1 a5904052efae224b6dcb0282d583d9b81676183b23a8e2dd25d6c57f2370bbfd 03:31:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:31:28 $ docker rm -f --volumes a5904052efae224b6dcb0282d583d9b81676183b23a8e2dd25d6c57f2370bbfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 03:31:28 [WS-CLEANUP] Deleting project workspace... 03:31:28 [WS-CLEANUP] Deferred wipeout is used... 03:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:31:28 [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 03:31:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:28 03:31:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:28 latest: Pulling from edgex-lftools-log-publisher 03:31:28 5eb5b503b376: Pulling fs layer 03:31:28 5c69ac0246d0: Pulling fs layer 03:31:28 ec43610c2a17: Pulling fs layer 03:31:28 3a2ae6a8a46f: Pulling fs layer 03:31:28 33b1e0a273af: Pulling fs layer 03:31:28 5d3b04190fa2: Pulling fs layer 03:31:28 2f39f015ded8: Pulling fs layer 03:31:28 5d3b04190fa2: Waiting 03:31:28 33b1e0a273af: Waiting 03:31:28 2f39f015ded8: Waiting 03:31:28 3a2ae6a8a46f: Waiting 03:31:28 5c69ac0246d0: Verifying Checksum 03:31:28 5c69ac0246d0: Download complete 03:31:28 3a2ae6a8a46f: Verifying Checksum 03:31:28 3a2ae6a8a46f: Download complete 03:31:28 ec43610c2a17: Verifying Checksum 03:31:28 ec43610c2a17: Download complete 03:31:28 33b1e0a273af: Verifying Checksum 03:31:28 33b1e0a273af: Download complete 03:31:28 5d3b04190fa2: Download complete 03:31:29 5eb5b503b376: Verifying Checksum 03:31:29 5eb5b503b376: Download complete 03:31:30 2f39f015ded8: Download complete 03:31:30 (1/4) Installing openssh-keygen (10.0_p1-r10) 03:31:30 (2/4) Installing libedit (20250104.3.1-r1) 03:31:30 (3/4) Installing openssh-client-common (10.0_p1-r10) 03:31:30 (4/4) Installing openssh-client-default (10.0_p1-r10) 03:31:31 Executing busybox-1.37.0-r19.trigger 03:31:31 OK: 259 MiB in 64 packages 03:31:31 5eb5b503b376: Pull complete 03:31:31 5c69ac0246d0: Pull complete 03:31:31 ec43610c2a17: Pull complete 03:31:31 3a2ae6a8a46f: Pull complete 03:31:31 33b1e0a273af: Pull complete 03:31:31 5d3b04190fa2: Pull complete 03:31:32 Removing intermediate container ed8d8dc80e0b 03:31:32 ---> ff52aabf27a2 03:31:32 Step 8/12 : WORKDIR /device-rest-go 03:31:32 ---> Running in dfbedc840198 03:31:33 Removing intermediate container dfbedc840198 03:31:33 ---> 6fee74fde4cc 03:31:33 Step 9/12 : COPY go.mod vendor* ./ 03:31:33 ---> ba4b4c1a9d0d 03:31:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:33 ---> Running in 914a54206215 03:31:37 2f39f015ded8: Pull complete 03:31:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:31:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:37 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:31:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:31:38 $ docker top 3de4964eff836d49813d206d15c09a74bd88ab66a5d93fbd4143bc6397b869a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:38 ---> job-cost.sh 03:31:38 lf-activate-venv: SKIPPING 03:31:38 INFO: No Stack... 03:31:39 INFO: Retrieving Pricing Info for: v3-standard-8 03:31:39 INFO: Archiving Costs [Pipeline] sh 03:31:39 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:31:39 + cut -d, -f6 [Pipeline] lock 03:31:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] 03:31:39 Resource [jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] did not exist. Created. 03:31:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:31:40 + echo total: 0.2199999988079071 [Pipeline] stash 03:31:40 Stashed 1 file(s) [Pipeline] } 03:31:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } 03:31:40 $ docker stop --time=1 3de4964eff836d49813d206d15c09a74bd88ab66a5d93fbd4143bc6397b869a0 03:31:41 $ docker rm -f --volumes 3de4964eff836d49813d206d15c09a74bd88ab66a5d93fbd4143bc6397b869a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:33:40 Removing intermediate container 914a54206215 03:33:40 ---> 725c88ca2a69 03:33:40 Step 11/12 : COPY . . 03:33:40 ---> 2684e47e62e6 03:33:40 Step 12/12 : RUN $MAKE 03:33:40 ---> Running in 13caef3c1718 03:33:40 noop 03:33:40 Removing intermediate container 13caef3c1718 03:33:40 ---> b9e251f17ce1 03:33:40 Successfully built b9e251f17ce1 03:33:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:41 + docker inspect -f . ci-base-image-arm64 03:33:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:41 prd-ubuntu20.04-docker-arm64-4c-16g-775339 does not seem to be running inside a container 03:33:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/226 -v /w/workspace/device-rest-go/226:/w/workspace/device-rest-go/226:rw,z -v /w/workspace/device-rest-go/226@tmp:/w/workspace/device-rest-go/226@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 03:33:43 $ docker top 905cc60934da83547a2a00716ef85ecee8fdedaf8d2b0b6aa1bd1703a4b8c757 -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:44 + go version 03:33:44 go version go1.25.3 linux/arm64 [Pipeline] } 03:33:44 $ docker stop --time=1 905cc60934da83547a2a00716ef85ecee8fdedaf8d2b0b6aa1bd1703a4b8c757 03:33:45 $ docker rm -f --volumes 905cc60934da83547a2a00716ef85ecee8fdedaf8d2b0b6aa1bd1703a4b8c757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:46 + docker inspect -f . ci-base-image-arm64 03:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:46 prd-ubuntu20.04-docker-arm64-4c-16g-775339 does not seem to be running inside a container 03:33:46 $ 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/226 -v /w/workspace/device-rest-go/226:/w/workspace/device-rest-go/226:rw,z -v /w/workspace/device-rest-go/226@tmp:/w/workspace/device-rest-go/226@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 03:33:48 $ docker top 8aa3dc78a63baadb23fc829995e5519a8e101efee087eab6a41dbc7bbbec248d -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:49 + git config --global --add safe.directory /w/workspace/device-rest-go/226 [Pipeline] fileExists [Pipeline] sh 03:33:50 + make test 03:33:50 go test ./... -coverprofile=coverage.out ./... 03:33:56 ? github.com/edgexfoundry/device-rest-go [no test files] 03:39:03 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 03:39:03 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 32.2% of statements 03:39:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:39:03 go vet ./... 03:40:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:40:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:40:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:40:11 $ docker stop --time=1 8aa3dc78a63baadb23fc829995e5519a8e101efee087eab6a41dbc7bbbec248d 03:40:14 $ docker rm -f --volumes 8aa3dc78a63baadb23fc829995e5519a8e101efee087eab6a41dbc7bbbec248d [Pipeline] // withDockerContainer [Pipeline] sh 03:40:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:40:16 Warning: overwriting stash ‘coverage-report’ 03:40:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:17 + ls -al . 03:40:17 total 244 03:40:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 03:33 . 03:40:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 03:30 .. 03:40:17 -rw-rw-r-- 1 jenkins jenkins 151 Dec 18 03:30 .dockerignore 03:40:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 03:30 .git 03:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:30 .github 03:40:17 -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 03:30 .gitignore 03:40:17 -rw-rw-r-- 1 jenkins jenkins 359 Dec 18 03:30 .golangci.yml 03:40:17 -rw-rw-r-- 1 jenkins jenkins 22791 Dec 18 03:30 Attribution.txt 03:40:17 -rw-rw-r-- 1 jenkins jenkins 18492 Dec 18 03:30 CHANGELOG.md 03:40:17 -rw-rw-r-- 1 jenkins jenkins 1697 Dec 18 03:30 Dockerfile 03:40:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 03:30 GOVERNANCE.md 03:40:17 -rw-rw-r-- 1 jenkins jenkins 704 Dec 18 03:30 Jenkinsfile 03:40:17 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 03:30 LICENSE 03:40:17 -rw-rw-r-- 1 jenkins jenkins 2597 Dec 18 03:30 Makefile 03:40:17 -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 03:30 OWNERS.md 03:40:17 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 18 03:30 README.md 03:40:17 -rw-rw-r-- 1 jenkins jenkins 12 Dec 18 03:27 VERSION 03:40:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 03:30 bin 03:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:30 cmd 03:40:17 -rw-r--r-- 1 jenkins jenkins 14565 Dec 18 03:38 coverage.out 03:40:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 03:30 driver 03:40:17 -rw-rw-r-- 1 jenkins jenkins 6856 Dec 18 03:30 go.mod 03:40:17 -rw-rw-r-- 1 jenkins jenkins 89079 Dec 18 03:30 go.sum 03:40:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 03:30 openapi 03:40:17 -rw-rw-r-- 1 jenkins jenkins 713 Dec 18 03:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:18 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0b2bb1a0c2573228c337e6eea45d9ac188f999c3 --label arch=arm64 --label version=4.1.0-dev.19 . 03:40:18 Sending build context to Docker daemon 160.3kB 03:40:18 Step 1/26 : ARG BASE=golang:1.25-alpine3.22 03:40:18 Step 2/26 : FROM ${BASE} AS builder 03:40:18 ---> b9e251f17ce1 03:40:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:40:19 ---> Running in 3d54555a66eb 03:40:19 Removing intermediate container 3d54555a66eb 03:40:19 ---> eeeab658726c 03:40:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:20 ---> Running in 30b79496dcd1 03:40:20 Removing intermediate container 30b79496dcd1 03:40:20 ---> 16635bc83855 03:40:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:40:20 ---> Running in 0b919575482b 03:40:20 Removing intermediate container 0b919575482b 03:40:20 ---> 83361b21e670 03:40:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:40:20 ---> Running in bcb2b1a15dfe 03:40:21 Removing intermediate container bcb2b1a15dfe 03:40:21 ---> 8908fbdde0e1 03:40:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:21 ---> Running in 918b4f467fac 03:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:40:25 OK: 259 MiB in 64 packages 03:40:26 Removing intermediate container 918b4f467fac 03:40:26 ---> e7fdc9d44d33 03:40:26 Step 8/26 : WORKDIR /device-rest-go 03:40:26 ---> Running in faca0bf6eb6c 03:40:26 Removing intermediate container faca0bf6eb6c 03:40:26 ---> 8e1d474ed27f 03:40:26 Step 9/26 : COPY go.mod vendor* ./ 03:40:27 ---> 0a7e3f137ac4 03:40:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:27 ---> Running in 462ef40b5726 03:40:30 Removing intermediate container 462ef40b5726 03:40:30 ---> eea4e6e681ae 03:40:30 Step 11/26 : COPY . . 03:40:33 ---> 4742daac8bb3 03:40:33 Step 12/26 : RUN $MAKE 03:40:33 ---> Running in a8ddf40c3dde 03:40:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.49 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:45:26 Removing intermediate container a8ddf40c3dde 03:45:26 ---> 63094f2c9add 03:45:26 Step 13/26 : FROM alpine:3.22 03:45:26 3.22: Pulling from library/alpine 03:45:26 6b59a28fa201: Already exists 03:45:26 Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 03:45:26 Status: Downloaded newer image for alpine:3.22 03:45:26 ---> 171e65262c80 03:45:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:45:26 ---> Running in fac8f5f46fa5 03:45:26 Removing intermediate container fac8f5f46fa5 03:45:26 ---> 56570d22a442 03:45:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:45:26 ---> Running in 9401dc93bd4d 03:45:26 Removing intermediate container 9401dc93bd4d 03:45:26 ---> e1da74c55c86 03:45:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:45:26 ---> Running in db33c2114917 03:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:45:26 (1/1) Installing dumb-init (1.2.5-r3) 03:45:26 Executing busybox-1.37.0-r19.trigger 03:45:26 OK: 8 MiB in 17 packages 03:45:26 Removing intermediate container db33c2114917 03:45:26 ---> ec0dcd1e10fa 03:45:26 Step 17/26 : RUN apk --no-cache upgrade 03:45:26 ---> Running in b45246b0bab4 03:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 03:45:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 03:45:28 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 03:45:28 Executing busybox-1.37.0-r20.post-upgrade 03:45:29 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 03:45:29 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 03:45:29 Executing busybox-1.37.0-r20.trigger 03:45:29 OK: 8 MiB in 17 packages 03:45:30 Removing intermediate container b45246b0bab4 03:45:30 ---> 674801be1645 03:45:30 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:45:32 ---> 364bfa8877bd 03:45:32 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:45:33 ---> bcb82e78ccf4 03:45:33 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:45:33 ---> caf440e9967c 03:45:33 Step 21/26 : EXPOSE 59986 03:45:34 ---> Running in 15d5156a16fc 03:45:34 Removing intermediate container 15d5156a16fc 03:45:34 ---> 5309686250ff 03:45:34 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:45:34 ---> Running in a5c23cf87103 03:45:34 Removing intermediate container a5c23cf87103 03:45:34 ---> 61096a9c0ffc 03:45:34 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:45:34 ---> Running in 3d392580f632 03:45:35 Removing intermediate container 3d392580f632 03:45:35 ---> 33689496e37c 03:45:35 Step 24/26 : LABEL arch=arm64 03:45:35 ---> Running in c07a545b3d5c 03:45:35 Removing intermediate container c07a545b3d5c 03:45:35 ---> c70ca2fcb824 03:45:35 Step 25/26 : LABEL git_sha=0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:45:36 ---> Running in df7a5e26526d 03:45:36 Removing intermediate container df7a5e26526d 03:45:36 ---> 07d749f172b0 03:45:36 Step 26/26 : LABEL version=4.1.0-dev.19 03:45:36 ---> Running in 5c1fa01ba59b 03:45:36 Removing intermediate container 5c1fa01ba59b 03:45:36 ---> 6f6eb32b4b91 03:45:36 [Warning] One or more build-args [ARCH] were not consumed 03:45:36 Successfully built 6f6eb32b4b91 03:45:36 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 03:45:37 provisioning config files... 03:45:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/226@tmp/config7247157821193690680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:37 ---> ****-login.sh 03:45:37 nexus3.edgexfoundry.org:10001 03:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:37 Configure a credential helper to remove this warning. See 03:45:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:37 03:45:37 Login Succeeded 03:45:37 nexus3.edgexfoundry.org:10002 03:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:38 Configure a credential helper to remove this warning. See 03:45:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:38 03:45:38 Login Succeeded 03:45:38 nexus3.edgexfoundry.org:10003 03:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:38 Configure a credential helper to remove this warning. See 03:45:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:38 03:45:38 Login Succeeded 03:45:38 nexus3.edgexfoundry.org:10004 03:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:39 Configure a credential helper to remove this warning. See 03:45:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:39 03:45:39 Login Succeeded 03:45:39 ****.io 03:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:39 Configure a credential helper to remove this warning. See 03:45:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:39 03:45:39 Login Succeeded 03:45:39 ---> ****-login.sh ends [Pipeline] } 03:45:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:45:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:45:39 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:45:39 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:45:39 latest 03:45:39 4.1.0-dev.19 03:45:39 0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:45:39 main 03:45:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:45:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:45:40 0d933647cf71: Preparing 03:45:40 563757b2c541: Preparing 03:45:40 4b1aebb6b539: Preparing 03:45:40 560add71a511: Preparing 03:45:40 e4441330033e: Preparing 03:45:40 0e64f2360a44: Preparing 03:45:40 563757b2c541: Pushed 03:45:40 0d933647cf71: Pushed 03:45:40 e4441330033e: Pushed 03:45:40 0e64f2360a44: Layer already exists 03:45:40 560add71a511: Pushed 03:45:49 4b1aebb6b539: Pushed 03:45:49 0b2bb1a0c2573228c337e6eea45d9ac188f999c3: digest: sha256:c74741e32f482143afea6e4d641455cbc6b1d2040e1d627c397d251850319e56 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:45:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:45:49 0d933647cf71: Preparing 03:45:49 563757b2c541: Preparing 03:45:49 4b1aebb6b539: Preparing 03:45:49 560add71a511: Preparing 03:45:49 e4441330033e: Preparing 03:45:49 0e64f2360a44: Preparing 03:45:49 0e64f2360a44: Waiting 03:45:49 563757b2c541: Layer already exists 03:45:49 560add71a511: Layer already exists 03:45:49 4b1aebb6b539: Layer already exists 03:45:49 0d933647cf71: Layer already exists 03:45:49 e4441330033e: Layer already exists 03:45:49 0e64f2360a44: Layer already exists 03:45:50 latest: digest: sha256:c74741e32f482143afea6e4d641455cbc6b1d2040e1d627c397d251850319e56 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.19 03:45:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:45:50 0d933647cf71: Preparing 03:45:50 563757b2c541: Preparing 03:45:50 4b1aebb6b539: Preparing 03:45:50 560add71a511: Preparing 03:45:50 e4441330033e: Preparing 03:45:50 0e64f2360a44: Preparing 03:45:50 0e64f2360a44: Waiting 03:45:50 e4441330033e: Layer already exists 03:45:50 4b1aebb6b539: Layer already exists 03:45:50 560add71a511: Layer already exists 03:45:50 0d933647cf71: Layer already exists 03:45:50 563757b2c541: Layer already exists 03:45:50 0e64f2360a44: Layer already exists 03:45:51 4.1.0-dev.19: digest: sha256:c74741e32f482143afea6e4d641455cbc6b1d2040e1d627c397d251850319e56 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:45:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:45:52 0d933647cf71: Preparing 03:45:52 563757b2c541: Preparing 03:45:52 4b1aebb6b539: Preparing 03:45:52 560add71a511: Preparing 03:45:52 e4441330033e: Preparing 03:45:52 0e64f2360a44: Preparing 03:45:52 560add71a511: Layer already exists 03:45:52 0d933647cf71: Layer already exists 03:45:52 4b1aebb6b539: Layer already exists 03:45:52 e4441330033e: Layer already exists 03:45:52 563757b2c541: Layer already exists 03:45:52 0e64f2360a44: Layer already exists 03:45:52 0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19: digest: sha256:c74741e32f482143afea6e4d641455cbc6b1d2040e1d627c397d251850319e56 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:53 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:45:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:45:53 0d933647cf71: Preparing 03:45:53 563757b2c541: Preparing 03:45:53 4b1aebb6b539: Preparing 03:45:53 560add71a511: Preparing 03:45:53 e4441330033e: Preparing 03:45:53 0e64f2360a44: Preparing 03:45:53 0e64f2360a44: Waiting 03:45:53 0d933647cf71: Layer already exists 03:45:53 e4441330033e: Layer already exists 03:45:53 4b1aebb6b539: Layer already exists 03:45:53 560add71a511: Layer already exists 03:45:53 563757b2c541: Layer already exists 03:45:53 0e64f2360a44: Layer already exists 03:45:53 main: digest: sha256:c74741e32f482143afea6e4d641455cbc6b1d2040e1d627c397d251850319e56 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:45:53 ===================================================== [Pipeline] echo 03:45:53 taggedImages: 03:45:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 03:45:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:45:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.19 03:45:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 03:45:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 03:45:53 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] echo 03:45:53 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 03:45:53 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.19 [Pipeline] echo 03:45:53 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:0b2bb1a0c2573228c337e6eea45d9ac188f999c3-4.1.0-dev.19 [Pipeline] echo 03:45:53 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 03:45:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:45:53 03:45:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:45:54 arm64: Pulling from edgex-lftools-log-publisher 03:45:54 8998bd30e6a1: Pulling fs layer 03:45:54 04944245beec: Pulling fs layer 03:45:54 699f458cf7ca: Pulling fs layer 03:45:54 765212b225bb: Pulling fs layer 03:45:54 f23df028b6ca: Pulling fs layer 03:45:54 d65c8cfc05b1: Pulling fs layer 03:45:54 2437ff75d9bd: Pulling fs layer 03:45:54 765212b225bb: Waiting 03:45:54 f23df028b6ca: Waiting 03:45:54 d65c8cfc05b1: Waiting 03:45:54 2437ff75d9bd: Waiting 03:45:54 04944245beec: Verifying Checksum 03:45:54 04944245beec: Download complete 03:45:54 765212b225bb: Download complete 03:45:54 f23df028b6ca: Download complete 03:45:54 d65c8cfc05b1: Verifying Checksum 03:45:54 d65c8cfc05b1: Download complete 03:45:54 699f458cf7ca: Verifying Checksum 03:45:54 699f458cf7ca: Download complete 03:45:55 8998bd30e6a1: Download complete 03:45:57 2437ff75d9bd: Verifying Checksum 03:45:57 2437ff75d9bd: Download complete 03:46:00 8998bd30e6a1: Pull complete 03:46:00 04944245beec: Pull complete 03:46:02 699f458cf7ca: Pull complete 03:46:02 765212b225bb: Pull complete 03:46:03 f23df028b6ca: Pull complete 03:46:04 d65c8cfc05b1: Pull complete 03:46:22 2437ff75d9bd: Pull complete 03:46:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:46:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:22 prd-ubuntu20.04-docker-arm64-4c-16g-775339 does not seem to be running inside a container 03:46:22 $ 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/226 -v /w/workspace/device-rest-go/226:/w/workspace/device-rest-go/226:rw,z -v /w/workspace/device-rest-go/226@tmp:/w/workspace/device-rest-go/226@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 03:46:26 $ docker top 921e890136ec11bbb2dc1438c9e2ffaafc03f314f161485528d31b949e78696b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:27 ---> job-cost.sh 03:46:27 lf-activate-venv: SKIPPING 03:46:27 INFO: No Stack... 03:46:27 INFO: Retrieving Pricing Info for: v3-standard-4 03:46:28 INFO: Archiving Costs [Pipeline] sh 03:46:28 + cat /w/workspace/device-rest-go/226/archives/cost.csv 03:46:28 + cut -d, -f6 [Pipeline] lock 03:46:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] 03:46:28 Resource [jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] did not exist. Created. 03:46:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:46:29 /w/workspace/device-rest-go/226@tmp/durable-efd01ea1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:46:30 + echo total: 0.10999999940395355 [Pipeline] stash 03:46:30 Warning: overwriting stash ‘stack-cost’ 03:46:30 Stashed 1 file(s) [Pipeline] } 03:46:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-226-stack-cost] [Pipeline] // lock [Pipeline] } 03:46:30 $ docker stop --time=1 921e890136ec11bbb2dc1438c9e2ffaafc03f314f161485528d31b949e78696b 03:46:32 $ docker rm -f --volumes 921e890136ec11bbb2dc1438c9e2ffaafc03f314f161485528d31b949e78696b [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 03:46:32 provisioning config files... 03:46:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config834403951247494589tmp [Pipeline] { [Pipeline] sh 03:46:32 + set +x 03:46:32 + curl+ -s https://codecov.io/bash 03:46:32 bash -s -- 03:46:32 03:46:32 _____ _ 03:46:32 / ____| | | 03:46:32 | | ___ __| | ___ ___ _____ __ 03:46:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:46:32 | |___| (_) | (_| | __/ (_| (_) \ V / 03:46:32 \_____\___/ \__,_|\___|\___\___/ \_/ 03:46:32 Bash-1.0.6 03:46:32 03:46:32 03:46:32 ==> git version 2.25.1 found 03:46:32 ==> 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 03:46:32 Release-Date: 2020-01-08 03:46:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:46:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:46:32 ==> Jenkins CI detected. 03:46:32 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:46:32 project root: . 03:46:32 --> token set from env 03:46:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:46:32 ==> Running gcov in . (disable via -X gcov) 03:46:32 ==> Python coveragepy not found 03:46:32 ==> Searching for coverage reports in: 03:46:32 + . 03:46:32 -> Found 1 reports 03:46:32 ==> Detecting git/mercurial file structure 03:46:32 ==> Reading reports 03:46:33 + ./coverage.out bytes=14565 03:46:33 ==> Appending adjustments 03:46:33 https://docs.codecov.io/docs/fixing-reports 03:46:33 + Found adjustments 03:46:33 ==> Gzipping contents 03:46:33 4.0K /tmp/codecov.mT3uwy.gz 03:46:33 ==> Uploading reports 03:46:33 url: https://codecov.io 03:46:33 query: branch=main&commit=0b2bb1a0c2573228c337e6eea45d9ac188f999c3&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:46:33 -> Pinging Codecov 03:46:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0b2bb1a0c2573228c337e6eea45d9ac188f999c3&build=226&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F226%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:46:33 -> Uploading to 03:46:33 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/0b2bb1a0c2573228c337e6eea45d9ac188f999c3/8194f2ae-096f-4e8d-aa40-355903c2212a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251218%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251218T034633Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e874db134b607fc950b1d34451946086ec0b23076c639b1a066546a9e8b5573e 03:46:33 % Total % Received % Xferd Average Speed Time Time Time Current 03:46:33 Dload Upload Total Spent Left Speed 03:46:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 19880 --:--:-- --:--:-- --:--:-- 20051 03:46:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] } 03:46:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:46:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:46:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:46:33 03:46:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:46:34 latest: Pulling from edgex-devops/edgex-snyk-go 03:46:34 2d35ebdb57d9: Already exists 03:46:34 85e8836fcdb2: Pulling fs layer 03:46:34 91631faa732a: Pulling fs layer 03:46:34 f3f5ae8826fa: Pulling fs layer 03:46:34 4f4fb700ef54: Pulling fs layer 03:46:34 7861252a18e6: Pulling fs layer 03:46:34 9130f900ef6f: Pulling fs layer 03:46:34 7861252a18e6: Waiting 03:46:34 9130f900ef6f: Waiting 03:46:34 4f4fb700ef54: Waiting 03:46:34 f3f5ae8826fa: Verifying Checksum 03:46:34 f3f5ae8826fa: Download complete 03:46:34 85e8836fcdb2: Verifying Checksum 03:46:34 85e8836fcdb2: Download complete 03:46:34 4f4fb700ef54: Verifying Checksum 03:46:34 4f4fb700ef54: Download complete 03:46:34 85e8836fcdb2: Pull complete 03:46:34 7861252a18e6: Verifying Checksum 03:46:34 7861252a18e6: Download complete 03:46:34 91631faa732a: Verifying Checksum 03:46:34 91631faa732a: Download complete 03:46:35 9130f900ef6f: Verifying Checksum 03:46:35 9130f900ef6f: Download complete 03:46:40 91631faa732a: Pull complete 03:46:40 f3f5ae8826fa: Pull complete 03:46:40 4f4fb700ef54: Pull complete 03:46:40 7861252a18e6: Pull complete 03:46:45 9130f900ef6f: Pull complete 03:46:45 Digest: sha256:56ae2c276304682a5b16c7ecab195a3e707c8b22ba01ba591248577dbd21f89e 03:46:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:46:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:45 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 03:46:46 $ docker top 0e74ce8c2e90f518176c37d9f9311e9c5048ae69d36e177bc6962ecb2a80d5ce -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 03:46:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:46:47 + set -o pipefail 03:46:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:46:53 03:46:53 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:46:53 03:46:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/0cbca02f-e899-40c2-baa7-40be2686e93a 03:46:53 03:46:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:46:53 03:46:53 03:46:53 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:46:53 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:46:53 $ docker stop --time=1 0e74ce8c2e90f518176c37d9f9311e9c5048ae69d36e177bc6962ecb2a80d5ce 03:46:56 $ docker rm -f --volumes 0e74ce8c2e90f518176c37d9f9311e9c5048ae69d36e177bc6962ecb2a80d5ce [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 03:46:57 + git log --format=format:%s -1 0b2bb1a0c2573228c337e6eea45d9ac188f999c3 [Pipeline] sh 03:46:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:46:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:46:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:57 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:46:58 $ docker top e2d61b3914444a506b74d2f825f395fa65a64045c4a575a979f3e9ea413c3d85 -eo pid,comm 03:46:58 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). 03:46:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:46:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:46:58 [ssh-agent] Looking for ssh-agent implementation... 03:46:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:46:58 $ docker exec e2d61b3914444a506b74d2f825f395fa65a64045c4a575a979f3e9ea413c3d85 ssh-agent 03:46:58 SSH_AUTH_SOCK=/tmp/ssh-hYUoZPHXTSXH/agent.33 03:46:58 SSH_AGENT_PID=39 03:46:58 Running ssh-add (command line suppressed) 03:46:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15980514470567569611.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15980514470567569611.key) 03:46:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:46:58 + git semver tag 03:46:59 2025-12-18 03:46:59,171 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:46:59 2025-12-18 03:46:59,177 [run_tag] DEBUG tag force:False 03:46:59 2025-12-18 03:46:59,177 [check_head_tag] DEBUG check head tag 03:46:59 2025-12-18 03:46:59,178 [execute] INFO git cat-file --batch-check 03:46:59 2025-12-18 03:46:59,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 03:46:59 2025-12-18 03:46:59,181 [execute] INFO git cat-file --batch 03:46:59 2025-12-18 03:46:59,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 03:46:59 2025-12-18 03:46:59,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:46:59 2025-12-18 03:46:59,195 [execute] INFO git tag -a v4.1.0-dev.19 -m v4.1.0-dev.19 03:46:59 2025-12-18 03:46:59,195 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.19', '-m', 'v4.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 03:46:59 2025-12-18 03:46:59,198 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:46:59 4.1.0-dev.19 [Pipeline] } 03:46:59 $ docker exec --env ******** --env ******** e2d61b3914444a506b74d2f825f395fa65a64045c4a575a979f3e9ea413c3d85 ssh-agent -k 03:46:59 unset SSH_AUTH_SOCK; 03:46:59 unset SSH_AGENT_PID; 03:46:59 echo Agent pid 39 killed; 03:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:46:59 + git semver [Pipeline] } 03:47:00 $ docker stop --time=1 e2d61b3914444a506b74d2f825f395fa65a64045c4a575a979f3e9ea413c3d85 03:47:01 $ docker rm -f --volumes e2d61b3914444a506b74d2f825f395fa65a64045c4a575a979f3e9ea413c3d85 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:01 03:47:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:02 0.23.1-centos7: Pulling from edgex-lftools 03:47:02 ab5ef0e58194: Pulling fs layer 03:47:02 9712f1f96733: Pulling fs layer 03:47:02 63f879dbbcfc: Pulling fs layer 03:47:02 0d9ebad4ef96: Pulling fs layer 03:47:02 e9a5061849ea: Pulling fs layer 03:47:02 d747dcd14b5f: Pulling fs layer 03:47:02 2de7ff778b66: Pulling fs layer 03:47:02 d747dcd14b5f: Waiting 03:47:02 0d9ebad4ef96: Waiting 03:47:02 e9a5061849ea: Waiting 03:47:02 2de7ff778b66: Waiting 03:47:02 9712f1f96733: Verifying Checksum 03:47:02 9712f1f96733: Download complete 03:47:02 63f879dbbcfc: Verifying Checksum 03:47:02 63f879dbbcfc: Download complete 03:47:02 e9a5061849ea: Verifying Checksum 03:47:02 e9a5061849ea: Download complete 03:47:02 d747dcd14b5f: Verifying Checksum 03:47:02 d747dcd14b5f: Download complete 03:47:02 0d9ebad4ef96: Verifying Checksum 03:47:02 0d9ebad4ef96: Download complete 03:47:02 2de7ff778b66: Verifying Checksum 03:47:02 2de7ff778b66: Download complete 03:47:02 ab5ef0e58194: Verifying Checksum 03:47:02 ab5ef0e58194: Download complete 03:47:07 ab5ef0e58194: Pull complete 03:47:07 9712f1f96733: Pull complete 03:47:07 63f879dbbcfc: Pull complete 03:47:14 0d9ebad4ef96: Pull complete 03:47:14 e9a5061849ea: Pull complete 03:47:14 d747dcd14b5f: Pull complete 03:47:15 2de7ff778b66: Pull complete 03:47:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:47:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:15 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:47:17 $ docker top 626d80d5a0adbbb62d8490ff66f7201730c9fa4e13431b2fff76107a81f067bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:47:17 provisioning config files... 03:47:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4812476523516445274tmp 03:47:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16955770985455822269tmp 03:47:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5756132551149061407tmp [Pipeline] { [Pipeline] echo 03:47:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:47:17 ---> sigul-configuration.sh 03:47:17 gpg: directory `/root/.gnupg' created 03:47:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:47:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:47:17 gpg: keyring `/root/.gnupg/secring.gpg' created 03:47:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:47:17 gpg: CAST5 encrypted data 03:47:17 gpg: encrypted with 1 passphrase 03:47:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:47:17 + mkdir /home/jenkins 03:47:17 + mkdir /home/jenkins/sigul [Pipeline] sh 03:47:18 + 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 03:47:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:47:18 ---> sigul-install.sh 03:47:18 Sigul already installed; skipping installation. [Pipeline] sh 03:47:18 + git tag --list 03:47:18 v1.0.0 03:47:18 v1.1.0 03:47:18 v1.1.1 03:47:18 v1.1.2 03:47:18 v1.2.0 03:47:18 v1.2.1 03:47:18 v2.0.0 03:47:18 v2.1.0 03:47:18 v2.1.1 03:47:18 v2.2.0 03:47:18 v2.3.0 03:47:18 v3.0 03:47:18 v3.0.0 03:47:18 v3.1 03:47:18 v3.1.0 03:47:18 v3.1.1 03:47:18 v4.0 03:47:18 v4.0.0 03:47:18 v4.0.1 03:47:18 v4.0.1-dev.1 03:47:18 v4.1.0-dev.1 03:47:18 v4.1.0-dev.10 03:47:18 v4.1.0-dev.11 03:47:18 v4.1.0-dev.12 03:47:18 v4.1.0-dev.13 03:47:18 v4.1.0-dev.14 03:47:18 v4.1.0-dev.15 03:47:18 v4.1.0-dev.16 03:47:18 v4.1.0-dev.17 03:47:18 v4.1.0-dev.18 03:47:18 v4.1.0-dev.19 03:47:18 v4.1.0-dev.2 03:47:18 v4.1.0-dev.3 03:47:18 v4.1.0-dev.4 03:47:18 v4.1.0-dev.5 03:47:18 v4.1.0-dev.6 03:47:18 v4.1.0-dev.7 03:47:18 v4.1.0-dev.8 03:47:18 v4.1.0-dev.9 [Pipeline] sh 03:47:19 + lftools sign git-tag v4.1.0-dev.19 03:47:19 Signing Git tag with Sigul... 03:47:19 Signing v4.1.0-dev.19 [Pipeline] echo 03:47:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:47:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:47:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:47:20 $ docker stop --time=1 626d80d5a0adbbb62d8490ff66f7201730c9fa4e13431b2fff76107a81f067bb 03:47:21 $ docker rm -f --volumes 626d80d5a0adbbb62d8490ff66f7201730c9fa4e13431b2fff76107a81f067bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:47:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:22 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:47:22 $ docker top cb3dc63423addbdb944294441f6ba5f588751e4b181a29ad88b8971481a5523a -eo pid,comm 03:47:22 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). 03:47:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:23 [ssh-agent] Looking for ssh-agent implementation... 03:47:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:23 $ docker exec cb3dc63423addbdb944294441f6ba5f588751e4b181a29ad88b8971481a5523a ssh-agent 03:47:23 SSH_AUTH_SOCK=/tmp/ssh-yUC3BB7ydFoi/agent.32 03:47:23 SSH_AGENT_PID=38 03:47:23 Running ssh-add (command line suppressed) 03:47:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9990448629313401445.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9990448629313401445.key) 03:47:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:23 + git semver bump pre 03:47:23 2025-12-18 03:47:23,861 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:47:23 2025-12-18 03:47:23,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:23 2025-12-18 03:47:23,865 [bump_version] DEBUG bumping version:4.1.0-dev.19 on axis:pre with prefix:dev 03:47:23 2025-12-18 03:47:23,865 [bump_version] DEBUG bumped version:4.1.0-dev.20 03:47:23 2025-12-18 03:47:23,866 [write_version] DEBUG write version:4.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 03:47:23 2025-12-18 03:47:23,866 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:23 2025-12-18 03:47:23,866 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:23 2025-12-18 03:47:23,868 [execute] INFO git cat-file --batch-check 03:47:23 2025-12-18 03:47:23,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 03:47:23 2025-12-18 03:47:23,872 [execute] INFO git cat-file --batch 03:47:23 2025-12-18 03:47:23,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 03:47:23 2025-12-18 03:47:23,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:23 4.1.0-dev.20 [Pipeline] } 03:47:23 $ docker exec --env ******** --env ******** cb3dc63423addbdb944294441f6ba5f588751e4b181a29ad88b8971481a5523a ssh-agent -k 03:47:24 unset SSH_AUTH_SOCK; 03:47:24 unset SSH_AGENT_PID; 03:47:24 echo Agent pid 38 killed; 03:47:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:24 + git semver [Pipeline] } 03:47:24 $ docker stop --time=1 cb3dc63423addbdb944294441f6ba5f588751e4b181a29ad88b8971481a5523a 03:47:25 $ docker rm -f --volumes cb3dc63423addbdb944294441f6ba5f588751e4b181a29ad88b8971481a5523a [Pipeline] // withDockerContainer [Pipeline] sh 03:47:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:26 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:47:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:47:26 $ docker top ae0f6d87a90e32e15d6ccec27351a96431cb3aa9f1e6bfce8a423fd4512578dc -eo pid,comm 03:47:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:47:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:27 [ssh-agent] Looking for ssh-agent implementation... 03:47:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:27 $ docker exec ae0f6d87a90e32e15d6ccec27351a96431cb3aa9f1e6bfce8a423fd4512578dc ssh-agent 03:47:27 SSH_AUTH_SOCK=/tmp/ssh-NrJZUExkXXFF/agent.33 03:47:27 SSH_AGENT_PID=39 03:47:27 Running ssh-add (command line suppressed) 03:47:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8262161182314627827.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8262161182314627827.key) 03:47:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:27 + git semver push 03:47:27 2025-12-18 03:47:27,957 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:47:27 2025-12-18 03:47:27,962 [run_push] DEBUG push 03:47:27 2025-12-18 03:47:27,963 [execute] INFO git cat-file --batch-check 03:47:27 2025-12-18 03:47:27,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 03:47:27 2025-12-18 03:47:27,966 [execute] INFO git rev-list 167356bc2e099028bfc5ac82b26d3fa259a1dc4c -- 03:47:27 2025-12-18 03:47:27,966 [execute] DEBUG Popen(['git', 'rev-list', '167356bc2e099028bfc5ac82b26d3fa259a1dc4c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 03:47:27 2025-12-18 03:47:27,974 [execute] INFO git fetch -v -- origin 03:47:27 2025-12-18 03:47:27,974 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 03:47:28 2025-12-18 03:47:28,496 [run_push] DEBUG no remote changes detected 03:47:28 2025-12-18 03:47:28,496 [execute] INFO git push origin semver 03:47:28 2025-12-18 03:47:28,496 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 03:47:29 2025-12-18 03:47:29,252 [run_push] DEBUG push all version tags 03:47:29 2025-12-18 03:47:29,252 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:47:29 2025-12-18 03:47:29,252 [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) 03:47:30 2025-12-18 03:47:29,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:30 4.1.0-dev.20 [Pipeline] } 03:47:30 $ docker exec --env ******** --env ******** ae0f6d87a90e32e15d6ccec27351a96431cb3aa9f1e6bfce8a423fd4512578dc ssh-agent -k 03:47:30 unset SSH_AUTH_SOCK; 03:47:30 unset SSH_AGENT_PID; 03:47:30 echo Agent pid 39 killed; 03:47:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:30 + git semver [Pipeline] } 03:47:30 $ docker stop --time=1 ae0f6d87a90e32e15d6ccec27351a96431cb3aa9f1e6bfce8a423fd4512578dc 03:47:32 $ docker rm -f --volumes ae0f6d87a90e32e15d6ccec27351a96431cb3aa9f1e6bfce8a423fd4512578dc [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 03:47:32 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 03:47:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:47:32 total 16 03:47:32 drwxr-xr-x 3 root root 4096 Dec 18 03:31 . 03:47:32 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 03:47 .. 03:47:32 drwxr-xr-x 2 root root 4096 Dec 18 03:31 cost 03:47:32 -rw-r--r-- 1 root root 86 Dec 18 03:31 cost.csv 03:47:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 03:47:32 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:47:32 total 16 03:47:32 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 03:31 . 03:47:32 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 03:47 .. 03:47:32 drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 03:31 cost 03:47:32 -rw-r--r-- 1 jenkins jenkins 86 Dec 18 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:47:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:47:33 ---> package-listing.sh 03:47:33 ++ facter osfamily 03:47:33 ++ tr '[:upper:]' '[:lower:]' 03:47:34 + OS_FAMILY=debian 03:47:34 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:47:34 + START_PACKAGES=/tmp/packages_start.txt 03:47:34 + END_PACKAGES=/tmp/packages_end.txt 03:47:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:47:34 + PACKAGES=/tmp/packages_start.txt 03:47:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:47:34 + PACKAGES=/tmp/packages_end.txt 03:47:34 + case "${OS_FAMILY}" in 03:47:34 + dpkg -l 03:47:34 + grep '^ii' 03:47:34 + '[' -f /tmp/packages_start.txt ']' 03:47:34 + '[' -f /tmp/packages_end.txt ']' 03:47:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:47:34 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:47:34 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:47:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:47:34 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 03:47:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:35 prd-ubuntu20.04-docker-8c-8g-775330 does not seem to be running inside a container 03:47:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:47:35 $ docker top 4c19c9d33add63ed6fc50cfe45dc6e48460564ca636180fda18f858be8503263 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:35 + touch /tmp/pre-build-complete [Pipeline] sh 03:47:35 + mkdir -p /var/log/sysstat [Pipeline] sh 03:47:36 + ls /var/log/sa-host 03:47:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:36 provisioning config files... 03:47:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5584834792700818269tmp [Pipeline] { [Pipeline] echo 03:47:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:47:36 ---> create-netrc.sh [Pipeline] } 03:47:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:47:36 ---> python-tools-install.sh [Pipeline] echo 03:47:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:47:37 ---> sudo-logs.sh 03:47:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:47:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:47:37 ---> job-cost.sh 03:47:37 lf-activate-venv: SKIPPING 03:47:37 DEBUG: total: 0.2199999988079071 03:47:37 INFO: Retrieving Stack Cost... 03:47:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:38 INFO: Archiving Costs [Pipeline] echo 03:47:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:47:38 ---> logs-deploy.sh 03:47:38 lf-activate-venv: SKIPPING 03:47:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/226 03:47:38 INFO: archiving workspace using pattern(s): 03:47:39 Archives upload complete. 03:47:39 INFO: archiving logs to Nexus