Push event to branch odessa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 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-ssh7593697853032449771.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-ssh9428973412707853606.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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17478286429521476967.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-ssh8100855712537663162.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11880931946847225055.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.25 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-773677 in /w/workspace/gexfoundry_device-rest-go_odessa [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/gexfoundry_device-rest-go_odessa # 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 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 (odessa) Commit message: "build: Bump device-sdk-go from 4.0.0 to 4.0.1 (#508)" > 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 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 # timeout=10 > git rev-list --no-walk 538c49beec832bb608dadee327750284423bbdd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:50 ========================================================= 01:59:50 EdgeX Global Pipelines Version Info 01:59:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:59:51 ------------------- 01:59:51 stable info: 01:59:51 ------------------- 01:59:51 Commited By: Cherry Wang cherry@iotechsys.com 01:59:51 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 01:59:51 Message: update stable to v1.0.278 01:59:51 ------------------- 01:59:51 experimental info: 01:59:51 ------------------- 01:59:51 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:51 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 01:59:51 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d337ac0 [Pipeline] echo 01:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:52 provisioning config files... 01:59:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config9562132993220870589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:52 ---> ****-login.sh 01:59:52 nexus3.edgexfoundry.org:10001 01:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:53 01:59:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:59:53 Configure a credential helper to remove this warning. See 01:59:53 https://docs.****.com/go/credential-store/ 01:59:53 01:59:53 Login Succeeded 01:59:53 nexus3.edgexfoundry.org:10002 01:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:53 01:59:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:59:53 Configure a credential helper to remove this warning. See 01:59:53 https://docs.****.com/go/credential-store/ 01:59:53 01:59:53 Login Succeeded 01:59:53 nexus3.edgexfoundry.org:10003 01:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:53 01:59:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:59:53 Configure a credential helper to remove this warning. See 01:59:53 https://docs.****.com/go/credential-store/ 01:59:53 01:59:53 Login Succeeded 01:59:53 nexus3.edgexfoundry.org:10004 01:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:53 01:59:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:59:53 Configure a credential helper to remove this warning. See 01:59:53 https://docs.****.com/go/credential-store/ 01:59:53 01:59:53 Login Succeeded 01:59:53 ****.io 01:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:53 01:59:53 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:59:53 Configure a credential helper to remove this warning. See 01:59:53 https://docs.****.com/go/credential-store/ 01:59:53 01:59:53 Login Succeeded 01:59:53 ---> ****-login.sh ends [Pipeline] } 01:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:54 + git rev-list -1 --merges d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8~1..d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] echo 01:59:54 -----------> git rev-list -1 --merges d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8~1..d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [false] [Pipeline] sh 01:59:54 + git log --format=format:%s -1 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] echo 01:59:54 ========================================================= 01:59:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:54 + git log --format=format:%s -1 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] echo 01:59:54 [semverPrep] GIT_COMMIT: d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8, Commit Message: build: Bump device-sdk-go from 4.0.0 to 4.0.1 (#508) [Pipeline] echo 01:59:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:55 + grep -v github /etc/ssh/ssh_known_hosts 01:59:55 + [ -e /tmp/ssh_known_hosts ] 01:59:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:55 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:55 01:59:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:55 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:55 3dae71ba6b94: Pulling fs layer 01:59:55 6bf1a483ea7c: Pulling fs layer 01:59:55 f5dfc541a4d3: Pulling fs layer 01:59:55 461d9e800cba: Pulling fs layer 01:59:55 80192f66455f: Pulling fs layer 01:59:55 461d9e800cba: Waiting 01:59:55 2e8e34ca0e6c: Pulling fs layer 01:59:55 a29436f7fd5d: Pulling fs layer 01:59:55 80192f66455f: Waiting 01:59:55 2e8e34ca0e6c: Waiting 01:59:55 a29436f7fd5d: Waiting 01:59:55 923cac83aea3: Pulling fs layer 01:59:55 25ad8b0a4227: Pulling fs layer 01:59:55 923cac83aea3: Waiting 01:59:55 db01528c6b51: Pulling fs layer 01:59:55 28988de357af: Pulling fs layer 01:59:55 db01528c6b51: Waiting 01:59:55 28988de357af: Waiting 01:59:55 6bf1a483ea7c: Verifying Checksum 01:59:55 6bf1a483ea7c: Download complete 01:59:55 461d9e800cba: Verifying Checksum 01:59:55 461d9e800cba: Download complete 01:59:55 80192f66455f: Verifying Checksum 01:59:55 80192f66455f: Download complete 01:59:56 f5dfc541a4d3: Verifying Checksum 01:59:56 f5dfc541a4d3: Download complete 01:59:56 3dae71ba6b94: Verifying Checksum 01:59:56 3dae71ba6b94: Download complete 01:59:56 923cac83aea3: Verifying Checksum 01:59:56 923cac83aea3: Download complete 01:59:56 25ad8b0a4227: Verifying Checksum 01:59:56 25ad8b0a4227: Download complete 01:59:56 db01528c6b51: Download complete 01:59:56 28988de357af: Download complete 01:59:56 a29436f7fd5d: Verifying Checksum 01:59:56 a29436f7fd5d: Download complete 01:59:56 2e8e34ca0e6c: Verifying Checksum 01:59:56 2e8e34ca0e6c: Download complete 01:59:57 3dae71ba6b94: Pull complete 01:59:57 6bf1a483ea7c: Pull complete 01:59:58 f5dfc541a4d3: Pull complete 01:59:58 461d9e800cba: Pull complete 01:59:58 80192f66455f: Pull complete 02:00:04 2e8e34ca0e6c: Pull complete 02:00:04 a29436f7fd5d: Pull complete 02:00:04 923cac83aea3: Pull complete 02:00:04 25ad8b0a4227: Pull complete 02:00:04 db01528c6b51: Pull complete 02:00:04 28988de357af: Pull complete 02:00:04 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:00:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:04 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:00:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:06 $ docker top ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 -eo pid,comm 02:00:06 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). 02:00:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:06 [ssh-agent] Looking for ssh-agent implementation... 02:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:07 $ docker exec ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 ssh-agent 02:00:07 SSH_AUTH_SOCK=/tmp/ssh-7iYfEHJbcQqE/agent.33 02:00:07 SSH_AGENT_PID=39 02:00:07 Running ssh-add (command line suppressed) 02:00:07 Identity added: /w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_13875793841576338665.key (/w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_13875793841576338665.key) 02:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_odessa [Pipeline] sh 02:00:07 + git tag --points-at HEAD [Pipeline] } 02:00:07 $ docker exec --env ******** --env ******** ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 ssh-agent -k 02:00:08 unset SSH_AUTH_SOCK; 02:00:08 unset SSH_AGENT_PID; 02:00:08 echo Agent pid 39 killed; 02:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:08 [ssh-agent] Looking for ssh-agent implementation... 02:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:08 $ docker exec ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 ssh-agent 02:00:08 SSH_AUTH_SOCK=/tmp/ssh-ZHTXTio0ibcl/agent.87 02:00:08 SSH_AGENT_PID=93 02:00:08 Running ssh-add (command line suppressed) 02:00:08 Identity added: /w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_4885234035114669745.key (/w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_4885234035114669745.key) 02:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:08 + git semver init 02:00:09 2025-11-24 02:00:08,979 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:00:09 2025-11-24 02:00:08,983 [run_init] DEBUG init version:0.0.0 force:False 02:00:09 2025-11-24 02:00:08,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_odessa/.semver 02:00:09 2025-11-24 02:00:08,985 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_odessa/.semver 02:00:09 2025-11-24 02:00:08,985 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_odessa/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa, stdin=None, shell=False, universal_newlines=False) 02:00:10 2025-11-24 02:00:10,587 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_odessa/.git/info/exclude 02:00:10 2025-11-24 02:00:10,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa with force:False 02:00:10 2025-11-24 02:00:10,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:00:10 2025-11-24 02:00:10,588 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:00:10 4.0.1-dev.1 [Pipeline] } 02:00:10 $ docker exec --env ******** --env ******** ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 ssh-agent -k 02:00:11 unset SSH_AUTH_SOCK; 02:00:11 unset SSH_AGENT_PID; 02:00:11 echo Agent pid 93 killed; 02:00:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:11 + git semver [Pipeline] } 02:00:11 $ docker stop --time=1 ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 02:00:12 $ docker rm -f --volumes ad4eadb78bc4a359cc0d607609ebf4020a800b9ac422fc7393e058af2dfd5071 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:00:13 Stashed 1 file(s) [Pipeline] echo 02:00:13 [edgeXSemver]: initialized semver on version 4.0.1-dev.1 [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 02:00:13 provisioning config files... 02:00:13 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config5730878600716256999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:14 ---> ****-login.sh 02:00:14 nexus3.edgexfoundry.org:10001 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 Login Succeeded 02:00:14 nexus3.edgexfoundry.org:10002 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 Login Succeeded 02:00:14 nexus3.edgexfoundry.org:10003 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 Login Succeeded 02:00:14 nexus3.edgexfoundry.org:10004 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 Login Succeeded 02:00:14 ****.io 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 Login Succeeded 02:00:14 ---> ****-login.sh ends [Pipeline] } 02:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 02:00:15 + grep ^go [0-9].[0-9]* go.mod 02:00:15 + + cut -d -f 2cut 02:00:15 -d . -f1-2 [Pipeline] echo 02:00:15 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:00:15 ========================================================= 02:00:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 02:00:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:00:16 #0 building with "default" instance using docker driver 02:00:16 02:00:16 #1 [internal] load build definition from Dockerfile 02:00:16 #1 transferring dockerfile: 1.74kB done 02:00:16 #1 DONE 0.0s 02:00:16 02:00:16 #2 [internal] load metadata for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 02:00:16 #2 DONE 0.1s 02:00:16 02:00:16 #3 [internal] load .dockerignore 02:00:16 #3 transferring context: 193B done 02:00:16 #3 DONE 0.0s 02:00:16 02:00:16 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 02:00:16 #4 resolve nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 0.0s done 02:00:16 #4 sha256:bc3d7bf65e2363f1bcda3738ec6be7c8ddbd609a9cc249afb7684dc2b54dd356 5.43kB / 5.43kB done 02:00:16 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.15MB / 3.63MB 0.1s 02:00:16 #4 sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 294.38kB / 294.38kB 0.0s done 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 5.24MB / 74.06MB 0.1s 02:00:16 #4 sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 126B / 126B 0.1s done 02:00:16 #4 sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 2.21kB / 2.21kB done 02:00:16 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 17.83MB / 74.06MB 0.2s 02:00:16 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 02:00:16 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 02:00:16 #4 sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 439B / 439B 0.1s done 02:00:16 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.2s 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 1.05MB / 100.52MB 0.2s 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 32.51MB / 74.06MB 0.3s 02:00:16 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 02:00:16 #4 sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 2.38MB / 2.38MB 0.2s done 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 8.39MB / 100.52MB 0.3s 02:00:16 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 3.15MB / 13.29MB 0.3s 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 49.28MB / 74.06MB 0.4s 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 19.92MB / 100.52MB 0.4s 02:00:16 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 13.29MB / 13.29MB 0.4s 02:00:16 #4 extracting sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 69.21MB / 74.06MB 0.5s 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 34.60MB / 100.52MB 0.5s 02:00:16 #4 sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 13.29MB / 13.29MB 0.4s done 02:00:16 #4 extracting sha256:8833042f23b55b241bbb6352d36795dec58ceae053fa5e7f68b7da568ede5a71 0.1s done 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 0.6s 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 51.89MB / 100.52MB 0.6s 02:00:16 #4 sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 74.06MB / 74.06MB 0.6s done 02:00:16 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 69.21MB / 100.52MB 0.7s 02:00:16 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 02:00:17 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 89.13MB / 100.52MB 0.8s 02:00:17 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 100.52MB / 100.52MB 1.0s 02:00:17 #4 ... 02:00:17 02:00:17 #5 [internal] load build context 02:00:17 #5 transferring context: 59.62MB 0.9s done 02:00:17 #5 DONE 1.0s 02:00:17 02:00:17 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts@sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 02:00:17 #4 sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 100.52MB / 100.52MB 1.0s done 02:00:22 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 5.1s 02:00:22 #4 extracting sha256:6ca661eb024f09b95cfdf77781effc26400df52d97566fbd0fd4d45a67c3a3e6 5.1s done 02:00:22 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 02:00:22 #4 extracting sha256:b5acb76e968064ef973541dc9568ddcc77a62715cc268ca0282004a1349897d8 done 02:00:22 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 02:00:22 #4 extracting sha256:012bb1f9d321339749de0031ed7c0df5e7017753dd01ba413db26430b180a314 done 02:00:22 #4 extracting sha256:97255f1bc79db2b973305890b2e320f157ca5af50aa836c0a14faf68d42ccadb 0.0s done 02:00:22 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 02:00:25 #4 extracting sha256:454448c9edf9200be9c4129af23c551f6c13d1132e52b951128dcb4885d48833 3.4s done 02:00:25 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 0.1s 02:00:26 #4 extracting sha256:15f87924ceafe7c6d7d59f643af2171e5cf35b5e63c8addbcf3ade6075f018af 0.9s done 02:00:26 #4 DONE 10.6s 02:00:26 02:00:26 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:00:27 #6 0.223 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:00:27 #6 0.296 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:00:27 #6 0.548 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:00:27 #6 0.580 (2/4) Installing libedit (20240517.3.1-r0) 02:00:27 #6 0.597 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:00:27 #6 0.629 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:00:27 #6 0.646 Executing busybox-1.36.1-r29.trigger 02:00:27 #6 0.654 OK: 252 MiB in 62 packages 02:00:28 Still waiting to schedule task 02:00:28 ‘prd-centos7-blackbox-4c-2g-773590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:28 ‘prd-centos7-blackbox-4c-2g-773591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:28 ‘prd-ubuntu20.04-docker-8c-8g-773673’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:28 ‘prd-ubuntu20.04-docker-8c-8g-773678’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:28 ‘prd-ubuntu20.04-docker-arm64-4c-16g-773665’ is offline 02:00:28 ‘prd-ubuntu20.04-docker-arm64-4c-16g-773679’ is offline 02:00:29 #6 DONE 2.4s 02:00:29 02:00:29 #7 [builder 3/7] WORKDIR /device-rest-go 02:00:29 #7 DONE 0.0s 02:00:29 02:00:29 #8 [builder 4/7] COPY go.mod vendor* ./ 02:00:29 #8 DONE 0.5s 02:00:29 02:00:29 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:42 #9 DONE 10.9s 02:00:42 02:00:42 #10 [builder 6/7] COPY . . 02:00:42 #10 DONE 0.6s 02:00:42 02:00:42 #11 [builder 7/7] RUN echo noop 02:00:42 #11 0.202 noop 02:00:42 #11 DONE 0.2s 02:00:42 02:00:42 #12 exporting to image 02:00:42 #12 exporting layers 02:00:48 #12 exporting layers 7.3s done 02:00:48 #12 writing image sha256:e64eb0cb5cf07d83f20909da7dc48ef7f45b441d2579feb019d05fbbacc27d8f done 02:00:48 #12 naming to docker.io/library/ci-base-image-x86_64 done 02:00:48 #12 DONE 7.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:49 + docker inspect -f . ci-base-image-x86_64 02:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:49 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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 ******** ci-base-image-x86_64 cat 02:00:49 $ docker top e84083d9f88cfc0dd1d0dc8ac0db19e1259ad12be5f9e09b5bd04abba3798cef -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:49 + go version 02:00:49 go version go1.23.7 linux/amd64 [Pipeline] } 02:00:50 $ docker stop --time=1 e84083d9f88cfc0dd1d0dc8ac0db19e1259ad12be5f9e09b5bd04abba3798cef 02:00:51 $ docker rm -f --volumes e84083d9f88cfc0dd1d0dc8ac0db19e1259ad12be5f9e09b5bd04abba3798cef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:51 + docker inspect -f . ci-base-image-x86_64 02:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:51 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:00:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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 ******** ci-base-image-x86_64 cat 02:00:52 $ docker top f08922307156725a7454ba5ca45f0d2647376f582525994e1f77af56fb222aa8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_odessa [Pipeline] fileExists [Pipeline] sh 02:00:52 + make test 02:00:52 go test ./... -coverprofile=coverage.out ./... 02:00:53 ? github.com/edgexfoundry/device-rest-go [no test files] 02:01:11 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:01:11 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 02:01:24 go vet ./... 02:01:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:29 ./bin/test-attribution-txt.sh [Pipeline] echo 02:01:29 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:01:29 + go mod tidy [Pipeline] } 02:01:30 $ docker stop --time=1 f08922307156725a7454ba5ca45f0d2647376f582525994e1f77af56fb222aa8 02:01:32 $ docker rm -f --volumes f08922307156725a7454ba5ca45f0d2647376f582525994e1f77af56fb222aa8 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:34 + ls -al . 02:01:34 total 248 02:01:34 drwxrwxr-x 10 jenkins jenkins 4096 Nov 24 02:00 . 02:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 01:59 .. 02:01:34 -rw-rw-r-- 1 jenkins jenkins 151 Nov 24 01:59 .dockerignore 02:01:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 24 02:01 .git 02:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:59 .github 02:01:34 -rw-rw-r-- 1 jenkins jenkins 256 Nov 24 01:59 .gitignore 02:01:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 24 01:59 .golangci.yml 02:01:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 24 02:00 .semver 02:01:34 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 24 01:59 Attribution.txt 02:01:34 -rw-rw-r-- 1 jenkins jenkins 18492 Nov 24 01:59 CHANGELOG.md 02:01:34 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 24 01:59 Dockerfile 02:01:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 24 01:59 GOVERNANCE.md 02:01:34 -rw-rw-r-- 1 jenkins jenkins 680 Nov 24 01:59 Jenkinsfile 02:01:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 24 01:59 LICENSE 02:01:34 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 24 01:59 Makefile 02:01:34 -rw-rw-r-- 1 jenkins jenkins 620 Nov 24 01:59 OWNERS.md 02:01:34 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 24 01:59 README.md 02:01:34 -rw-rw-r-- 1 jenkins jenkins 11 Nov 24 02:00 VERSION 02:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 01:59 bin 02:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:59 cmd 02:01:34 -rw-r--r-- 1 jenkins jenkins 14565 Nov 24 02:01 coverage.out 02:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 01:59 driver 02:01:34 -rw-rw-r-- 1 jenkins jenkins 6246 Nov 24 01:59 go.mod 02:01:34 -rw-rw-r-- 1 jenkins jenkins 86532 Nov 24 01:59 go.sum 02:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 01:59 openapi 02:01:34 drwxrwxr-x 10 jenkins jenkins 4096 Nov 24 01:59 vendor 02:01:34 -rw-rw-r-- 1 jenkins jenkins 713 Nov 24 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:34 + 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=d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 --label arch=amd64 --label version=4.0.1-dev.1 . 02:01:34 #0 building with "default" instance using docker driver 02:01:34 02:01:34 #1 [internal] load build definition from Dockerfile 02:01:34 #1 transferring dockerfile: 1.74kB done 02:01:34 #1 DONE 0.0s 02:01:34 02:01:34 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 02:01:34 #2 DONE 0.0s 02:01:34 02:01:34 #3 [internal] load metadata for docker.io/library/alpine:3.22 02:01:34 #3 DONE 0.1s 02:01:34 02:01:34 #4 [internal] load .dockerignore 02:01:34 #4 transferring context: 193B done 02:01:34 #4 DONE 0.0s 02:01:34 02:01:34 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 02:01:34 #5 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 0.0s done 02:01:34 #5 ... 02:01:34 02:01:34 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 02:01:34 #6 DONE 0.1s 02:01:34 02:01:34 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 02:01:34 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s 02:01:34 #5 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 02:01:34 #5 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 02:01:34 #5 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 02:01:34 #5 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 02:01:34 #5 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.1s done 02:01:34 #5 DONE 0.3s 02:01:34 02:01:34 #7 [internal] load build context 02:01:34 #7 transferring context: 420.25kB 0.2s done 02:01:34 #7 DONE 0.2s 02:01:34 02:01:34 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:01:35 #8 0.201 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:01:35 #8 0.365 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:01:35 #8 0.729 (1/1) Installing dumb-init (1.2.5-r3) 02:01:35 #8 0.756 Executing busybox-1.37.0-r19.trigger 02:01:35 #8 0.762 OK: 7 MiB in 17 packages 02:01:35 #8 DONE 0.9s 02:01:35 02:01:35 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:01:35 #9 0.215 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:01:35 #9 0.622 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:01:35 #9 1.020 OK: 252 MiB in 62 packages 02:01:35 #9 DONE 1.1s 02:01:35 02:01:35 #10 [stage-1 3/6] RUN apk --no-cache upgrade 02:01:36 #10 ... 02:01:36 02:01:36 #11 [builder 3/7] WORKDIR /device-rest-go 02:01:36 #11 DONE 0.0s 02:01:36 02:01:36 #10 [stage-1 3/6] RUN apk --no-cache upgrade 02:01:36 #10 0.363 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 02:01:36 #10 0.447 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 02:01:36 #10 ... 02:01:36 02:01:36 #12 [builder 4/7] COPY go.mod vendor* ./ 02:01:36 #12 DONE 0.6s 02:01:36 02:01:36 #10 [stage-1 3/6] RUN apk --no-cache upgrade 02:01:36 #10 0.775 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 02:01:36 #10 ... 02:01:36 02:01:36 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:36 #13 0.194 skipping... 02:01:36 #13 DONE 0.3s 02:01:36 02:01:36 #10 [stage-1 3/6] RUN apk --no-cache upgrade 02:01:36 #10 0.794 Executing busybox-1.37.0-r20.post-upgrade 02:01:36 #10 0.826 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 02:01:36 #10 0.831 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 02:01:36 #10 0.836 Executing busybox-1.37.0-r20.trigger 02:01:36 #10 0.840 OK: 7 MiB in 17 packages 02:01:36 #10 DONE 1.0s 02:01:36 02:01:36 #14 [builder 6/7] COPY . . 02:01:37 #14 DONE 0.6s 02:01:37 02:01:37 #15 [builder 7/7] RUN make build 02:01:37 #15 0.193 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.1 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:01:59 #15 DONE 21.1s 02:01:59 02:01:59 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 02:01:59 #16 DONE 0.1s 02:01:59 02:01:59 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 02:01:59 #17 DONE 0.0s 02:01:59 02:01:59 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 02:01:59 #18 DONE 0.0s 02:01:59 02:01:59 #19 exporting to image 02:01:59 #19 exporting layers 0.1s done 02:01:59 #19 writing image sha256:2b31ec98c4c25b4da1b2476941066183721bc49c22673e0a5c9c1db21f6a5941 done 02:01:59 #19 naming to docker.io/library/device-rest done 02:01:59 #19 DONE 0.1s 02:01:59 02:01:59 1 warning found (use docker --debug to expand): 02:01:59  - 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 02:01:59 provisioning config files... 02:01:59 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config14724308155339421317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:59 ---> ****-login.sh 02:01:59 nexus3.edgexfoundry.org:10001 02:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:59 Login Succeeded 02:01:59 nexus3.edgexfoundry.org:10002 02:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:59 Login Succeeded 02:01:59 nexus3.edgexfoundry.org:10003 02:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:00 Login Succeeded 02:02:00 nexus3.edgexfoundry.org:10004 02:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:00 Login Succeeded 02:02:00 ****.io 02:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:00 Login Succeeded 02:02:00 ---> ****-login.sh ends [Pipeline] } 02:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:00 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:02:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:02:00 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:02:00 4.0.1-dev.1 02:02:00 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:02:00 odessa 02:02:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:02:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:02:01 2c8d271bbc62: Preparing 02:02:01 16b106f7878a: Preparing 02:02:01 4fc299e5e113: Preparing 02:02:01 aa2fd74cf191: Preparing 02:02:01 040f4cb715c8: Preparing 02:02:01 256f393e029f: Preparing 02:02:01 256f393e029f: Waiting 02:02:01 2c8d271bbc62: Pushed 02:02:01 16b106f7878a: Pushed 02:02:01 040f4cb715c8: Pushed 02:02:01 256f393e029f: Layer already exists 02:02:01 aa2fd74cf191: Pushed 02:02:04 4fc299e5e113: Pushed 02:02:04 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8: digest: sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 02:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:02:05 2c8d271bbc62: Preparing 02:02:05 16b106f7878a: Preparing 02:02:05 4fc299e5e113: Preparing 02:02:05 aa2fd74cf191: Preparing 02:02:05 040f4cb715c8: Preparing 02:02:05 256f393e029f: Preparing 02:02:05 256f393e029f: Waiting 02:02:05 16b106f7878a: Layer already exists 02:02:05 4fc299e5e113: Layer already exists 02:02:05 aa2fd74cf191: Layer already exists 02:02:05 2c8d271bbc62: Layer already exists 02:02:05 040f4cb715c8: Layer already exists 02:02:05 256f393e029f: Layer already exists 02:02:05 4.0.1-dev.1: digest: sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:02:05 2c8d271bbc62: Preparing 02:02:05 16b106f7878a: Preparing 02:02:05 4fc299e5e113: Preparing 02:02:05 aa2fd74cf191: Preparing 02:02:05 040f4cb715c8: Preparing 02:02:05 256f393e029f: Preparing 02:02:05 256f393e029f: Waiting 02:02:05 16b106f7878a: Layer already exists 02:02:05 2c8d271bbc62: Layer already exists 02:02:05 aa2fd74cf191: Layer already exists 02:02:05 4fc299e5e113: Layer already exists 02:02:05 040f4cb715c8: Layer already exists 02:02:05 256f393e029f: Layer already exists 02:02:05 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1: digest: sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:odessa 02:02:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:02:12 2c8d271bbc62: Preparing 02:02:12 16b106f7878a: Preparing 02:02:12 4fc299e5e113: Preparing 02:02:12 aa2fd74cf191: Preparing 02:02:12 040f4cb715c8: Preparing 02:02:12 256f393e029f: Preparing 02:02:12 256f393e029f: Waiting 02:02:12 aa2fd74cf191: Layer already exists 02:02:12 2c8d271bbc62: Layer already exists 02:02:12 040f4cb715c8: Layer already exists 02:02:12 4fc299e5e113: Layer already exists 02:02:12 16b106f7878a: Layer already exists 02:02:12 256f393e029f: Layer already exists 02:02:12 odessa: digest: sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:02:12 ===================================================== [Pipeline] echo 02:02:12 taggedImages: 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:odessa [Pipeline] echo 02:02:12 ========================================================= 02:02:12 [edgeXBuildMultiArch] RAW Config: 02:02:12 images: 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:02:12 - nexus3.edgexfoundry.org:10004/device-rest:odessa 02:02:12 settingsFile: 02:02:12 device-rest-go-settings 02:02:12 ========================================================= [Pipeline] node 02:02:27 Still waiting to schedule task 02:02:27 ‘prd-centos7-docker-4c-2g-773682’ is offline 02:03:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-773683 in /w/workspace/gexfoundry_device-rest-go_odessa [Pipeline] { [Pipeline] ws 02:03:09 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 02:03:12 The recommended git tool is: git 02:03:17 using credential edgex-jenkins-ssh 02:03:17 Cloning the remote Git repository 02:03:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:03:18 > git init /w/workspace/device-rest-go/3 # timeout=10 02:03:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:03:18 > git --version # timeout=10 02:03:18 > git --version # 'git version 2.25.1' 02:03:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:23 Avoid second fetch 02:03:23 Checking out Revision d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 (odessa) 02:03:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:03:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:23 > git config core.sparsecheckout # timeout=10 02:03:23 > git checkout -f d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 # timeout=10 02:03:26 Commit message: "build: Bump device-sdk-go from 4.0.0 to 4.0.1 (#508)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:30 provisioning config files... 02:03:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config16491693764103438321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:31 ---> ****-login.sh 02:03:31 nexus3.edgexfoundry.org:10001 02:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:31 Configure a credential helper to remove this warning. See 02:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:31 02:03:31 Login Succeeded 02:03:31 nexus3.edgexfoundry.org:10002 02:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:32 Configure a credential helper to remove this warning. See 02:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:32 02:03:32 Login Succeeded 02:03:32 nexus3.edgexfoundry.org:10003 02:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:32 Configure a credential helper to remove this warning. See 02:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:32 02:03:32 Login Succeeded 02:03:32 nexus3.edgexfoundry.org:10004 02:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:33 Configure a credential helper to remove this warning. See 02:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:33 02:03:33 Login Succeeded 02:03:33 ****.io 02:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:33 Configure a credential helper to remove this warning. See 02:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:33 02:03:33 Login Succeeded 02:03:33 ---> ****-login.sh ends [Pipeline] } 02:03:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:34 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 02:03:34 + grep ^go [0-9].[0-9]* go.mod 02:03:34 + cut -d -f 2 02:03:34 + cut -d . -f1-2 [Pipeline] echo 02:03:34 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:03:34 ========================================================= 02:03:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 02:03:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:03:39 Sending build context to Docker daemon 40.72MB 02:03:39 Step 1/12 : ARG BASE=golang:1.23-alpine3.22 02:03:39 Step 2/12 : FROM ${BASE} AS builder 02:03:39 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:39 94e9d8af2201: Pulling fs layer 02:03:39 345fe9f21930: Pulling fs layer 02:03:39 b40fc9e46828: Pulling fs layer 02:03:39 c9804373a1e5: Pulling fs layer 02:03:39 4f4fb700ef54: Pulling fs layer 02:03:39 f5a772c54f75: Pulling fs layer 02:03:39 e2dd1b2a9dca: Pulling fs layer 02:03:39 0a0502178392: Pulling fs layer 02:03:39 f5a772c54f75: Waiting 02:03:39 e2dd1b2a9dca: Waiting 02:03:39 c9804373a1e5: Waiting 02:03:39 4f4fb700ef54: Waiting 02:03:39 0a0502178392: Waiting 02:03:39 345fe9f21930: Verifying Checksum 02:03:39 345fe9f21930: Download complete 02:03:39 c9804373a1e5: Verifying Checksum 02:03:39 c9804373a1e5: Download complete 02:03:39 4f4fb700ef54: Verifying Checksum 02:03:39 4f4fb700ef54: Download complete 02:03:39 f5a772c54f75: Verifying Checksum 02:03:39 f5a772c54f75: Download complete 02:03:39 94e9d8af2201: Verifying Checksum 02:03:39 94e9d8af2201: Download complete 02:03:40 0a0502178392: Verifying Checksum 02:03:40 0a0502178392: Download complete 02:03:40 94e9d8af2201: Pull complete 02:03:41 345fe9f21930: Pull complete 02:03:41 b40fc9e46828: Download complete 02:03:42 e2dd1b2a9dca: Verifying Checksum 02:03:42 e2dd1b2a9dca: Download complete 02:03:57 b40fc9e46828: Pull complete 02:03:57 c9804373a1e5: Pull complete 02:03:57 4f4fb700ef54: Pull complete 02:03:57 f5a772c54f75: Pull complete 02:04:01 Running on prd-centos7-docker-4c-2g-773687 in /w/workspace/gexfoundry_device-rest-go_odessa [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:01 provisioning config files... 02:04:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config11938679078426846199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:03 ---> ****-login.sh 02:04:03 nexus3.edgexfoundry.org:10001 02:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:04 Configure a credential helper to remove this warning. See 02:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:04 02:04:04 Login Succeeded 02:04:04 nexus3.edgexfoundry.org:10002 02:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:04 Configure a credential helper to remove this warning. See 02:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:04 02:04:04 Login Succeeded 02:04:04 nexus3.edgexfoundry.org:10003 02:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:04 Configure a credential helper to remove this warning. See 02:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:04 02:04:04 Login Succeeded 02:04:04 nexus3.edgexfoundry.org:10004 02:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:04 Configure a credential helper to remove this warning. See 02:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:04 02:04:04 Login Succeeded 02:04:04 ****.io 02:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:04 Configure a credential helper to remove this warning. See 02:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:04 02:04:04 Login Succeeded 02:04:04 ---> ****-login.sh ends [Pipeline] } 02:04:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:05 + docker buildx ls 02:04:05 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:04:05 default * docker 02:04:05 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:04:05 e2dd1b2a9dca: Pull complete 02:04:05 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 02:04:05 edgex-builder [Pipeline] sh 02:04:06 + docker buildx inspect --bootstrap 02:04:06 #1 [internal] booting buildkit 02:04:06 #1 pulling image moby/buildkit:buildx-stable-1 02:04:08 0a0502178392: Pull complete 02:04:08 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 02:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 02:04:08 ---> 72db82c1953f 02:04:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:04:10 ---> Running in 2ca4f045350c 02:04:10 #1 pulling image moby/buildkit:buildx-stable-1 3.6s done 02:04:10 #1 creating container buildx_buildkit_edgex-builder0 02:04:10 Removing intermediate container 2ca4f045350c 02:04:10 ---> a2e500f18acd 02:04:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:10 ---> Running in a586496e3284 02:04:11 Removing intermediate container a586496e3284 02:04:11 ---> 08e0ab6f3673 02:04:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:04:11 ---> Running in c855a7c41f1e 02:04:11 Removing intermediate container c855a7c41f1e 02:04:11 ---> da7140a427ad 02:04:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:04:11 ---> Running in 6ac3aac07d9d 02:04:11 Removing intermediate container 6ac3aac07d9d 02:04:11 ---> 2701b621782d 02:04:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:12 ---> Running in 4b1284ddba2b 02:04:13 #1 creating container buildx_buildkit_edgex-builder0 3.4s done 02:04:13 #1 DONE 7.0s 02:04:13 Name: edgex-builder 02:04:13 Driver: docker-container 02:04:13 02:04:13 Nodes: 02:04:13 Name: edgex-builder0 02:04:13 Endpoint: unix:///var/run/docker.sock 02:04:13 Status: running 02:04:13 Buildkit: v0.26.2 02:04:13 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 02:04:13 + docker buildx ls 02:04:13 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:04:13 edgex-builder * docker-container 02:04:13 edgex-builder0 unix:///var/run/docker.sock running v0.26.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 02:04:13 default docker 02:04:13 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:04:13 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8' 02:04:13 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 --push - 02:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:04:14 #1 [internal] load build definition from Dockerfile 02:04:14 #1 transferring dockerfile: 196B done 02:04:14 #1 DONE 0.0s 02:04:14 02:04:14 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:04:14 #2 DONE 0.1s 02:04:14 02:04:14 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:04:14 #3 DONE 0.1s 02:04:14 02:04:14 #4 [internal] load .dockerignore 02:04:14 #4 transferring context: 2B done 02:04:14 #4 DONE 0.0s 02:04:14 02:04:14 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:14 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:14 #5 DONE 0.0s 02:04:14 02:04:14 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:14 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:14 #6 DONE 0.1s 02:04:14 02:04:14 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:04:14 #7 DONE 0.0s 02:04:14 02:04:14 #8 exporting to image 02:04:14 #8 exporting layers done 02:04:14 #8 exporting manifest sha256:790af5653ebb24f566185215ad78925fbb69712fabff1b47f4ab58a9b78d4bd2 0.0s done 02:04:14 #8 exporting config sha256:2b31ec98c4c25b4da1b2476941066183721bc49c22673e0a5c9c1db21f6a5941 done 02:04:14 #8 exporting manifest sha256:78a9caab2ffdda59828dcbbe982b24cf9b14c82fc78a40e85142fb06f8c59a24 done 02:04:14 #8 exporting config sha256:ea5267e4aceead3fbf800026a272ffd9b4ffd24c92c9ab549927be2c8f2e2142 done 02:04:14 #8 exporting manifest list sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e done 02:04:14 #8 pushing layers 0.1s done 02:04:14 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e 02:04:14 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:04:14 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8@sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e 0.1s done 02:04:14 #8 DONE 0.2s 02:04:14 02:04:14 1 warning found (use --debug to expand): 02:04:14  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:04:14 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 --push - 02:04:14 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1' 02:04:14 #1 [internal] load build definition from Dockerfile 02:04:14 #1 transferring dockerfile: 167B done 02:04:14 #1 DONE 0.0s 02:04:14 02:04:14 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 02:04:14 #2 DONE 0.0s 02:04:14 02:04:14 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1 02:04:14 #3 DONE 0.0s 02:04:14 02:04:14 #4 [internal] load .dockerignore 02:04:14 #4 transferring context: 2B done 02:04:14 #4 DONE 0.0s 02:04:14 02:04:14 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:14 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:14 #5 DONE 0.0s 02:04:14 02:04:14 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:15 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:15 #6 CACHED 02:04:15 02:04:15 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:15 #5 CACHED 02:04:15 02:04:15 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:04:15 #7 DONE 0.0s 02:04:15 02:04:15 #8 exporting to image 02:04:15 #8 exporting layers done 02:04:15 #8 exporting manifest sha256:790af5653ebb24f566185215ad78925fbb69712fabff1b47f4ab58a9b78d4bd2 done 02:04:15 #8 exporting config sha256:2b31ec98c4c25b4da1b2476941066183721bc49c22673e0a5c9c1db21f6a5941 done 02:04:15 #8 exporting manifest sha256:78a9caab2ffdda59828dcbbe982b24cf9b14c82fc78a40e85142fb06f8c59a24 done 02:04:15 #8 exporting config sha256:ea5267e4aceead3fbf800026a272ffd9b4ffd24c92c9ab549927be2c8f2e2142 done 02:04:15 #8 exporting manifest list sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e done 02:04:15 #8 pushing layers 0.0s done 02:04:15 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.0.1-dev.1@sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e 0.1s done 02:04:15 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:04:15 #8 DONE 0.1s 02:04:15 02:04:15 1 warning found (use --debug to expand): 02:04:15  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:04:15 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1' 02:04:15 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 --push - 02:04:15 #1 [internal] load build definition from Dockerfile 02:04:15 #1 transferring dockerfile: 208B done 02:04:15 #1 DONE 0.0s 02:04:15 02:04:15 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:04:15 #2 DONE 0.0s 02:04:15 02:04:15 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:04:15 #3 DONE 0.0s 02:04:15 02:04:15 #4 [internal] load .dockerignore 02:04:15 #4 transferring context: 2B done 02:04:15 #4 DONE 0.0s 02:04:15 02:04:15 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:15 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:15 #5 CACHED 02:04:15 02:04:15 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:15 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:15 #6 CACHED 02:04:15 02:04:15 #7 exporting to image 02:04:15 #7 exporting layers 02:04:15 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:04:15 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:04:15 (2/4) Installing libedit (20240517.3.1-r0) 02:04:15 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:04:15 #7 exporting layers done 02:04:15 #7 exporting manifest sha256:790af5653ebb24f566185215ad78925fbb69712fabff1b47f4ab58a9b78d4bd2 done 02:04:15 #7 exporting config sha256:2b31ec98c4c25b4da1b2476941066183721bc49c22673e0a5c9c1db21f6a5941 done 02:04:15 #7 exporting manifest sha256:78a9caab2ffdda59828dcbbe982b24cf9b14c82fc78a40e85142fb06f8c59a24 done 02:04:15 #7 exporting config sha256:ea5267e4aceead3fbf800026a272ffd9b4ffd24c92c9ab549927be2c8f2e2142 done 02:04:15 #7 exporting manifest list sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e done 02:04:15 #7 pushing layers 0.0s done 02:04:15 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1@sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e 0.1s done 02:04:15 #7 DONE 0.1s 02:04:15 02:04:15 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:04:15 #8 DONE 0.0s 02:04:15 02:04:15 1 warning found (use --debug to expand): 02:04:15  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:04:15 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:04:15 Executing busybox-1.36.1-r29.trigger 02:04:15 OK: 244 MiB in 62 packages 02:04:15 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:odessa' 02:04:15 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:odessa --push - 02:04:16 #1 [internal] load build definition from Dockerfile 02:04:16 #1 transferring dockerfile: 162B done 02:04:16 #1 DONE 0.0s 02:04:16 02:04:16 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:odessa 02:04:16 #2 DONE 0.0s 02:04:16 02:04:16 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:odessa 02:04:16 #3 DONE 0.0s 02:04:16 02:04:16 #4 [internal] load .dockerignore 02:04:16 #4 transferring context: 2B done 02:04:16 #4 DONE 0.0s 02:04:16 02:04:16 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:odessa@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:16 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:odessa@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:16 #5 CACHED 02:04:16 02:04:16 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:odessa@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 02:04:16 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:odessa@sha256:da67a92f263e12546e829f5af27157d72da702314399f6519080f0c6b1992d93 0.0s done 02:04:16 #6 CACHED 02:04:16 02:04:16 #7 exporting to image 02:04:16 #7 exporting layers done 02:04:16 #7 exporting manifest sha256:790af5653ebb24f566185215ad78925fbb69712fabff1b47f4ab58a9b78d4bd2 done 02:04:16 #7 exporting config sha256:2b31ec98c4c25b4da1b2476941066183721bc49c22673e0a5c9c1db21f6a5941 done 02:04:16 #7 exporting manifest sha256:78a9caab2ffdda59828dcbbe982b24cf9b14c82fc78a40e85142fb06f8c59a24 done 02:04:16 #7 exporting config sha256:ea5267e4aceead3fbf800026a272ffd9b4ffd24c92c9ab549927be2c8f2e2142 done 02:04:16 #7 exporting manifest list sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e done 02:04:16 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:04:16 #7 pushing layers 0.0s done 02:04:16 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:odessa@sha256:0d8b6b4550444358ef1704ecd77df6989f96948e46b493d51e721a779773c31e 0.1s done 02:04:16 #7 DONE 0.1s 02:04:16 02:04:16 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:04:16 #8 DONE 0.0s 02:04:16 02:04:16 1 warning found (use --debug to expand): 02:04:16  - 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 02:04:16 + '[' -d /w/workspace/gexfoundry_device-rest-go_odessa/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:04:16 ---> sysstat.sh 02:04:17 Removing intermediate container 4b1284ddba2b 02:04:17 ---> e6e8961f3938 02:04:17 Step 8/12 : WORKDIR /device-rest-go 02:04:17 ---> Running in abb862bab4ca [Pipeline] libraryResource [Pipeline] sh 02:04:17 Removing intermediate container abb862bab4ca 02:04:17 ---> 211ddea4a8c2 02:04:17 Step 9/12 : COPY go.mod vendor* ./ 02:04:17 ---> package-listing.sh 02:04:17 ++ facter osfamily 02:04:17 ++ tr '[:upper:]' '[:lower:]' 02:04:17 + OS_FAMILY=redhat 02:04:17 + workspace=/w/workspace/gexfoundry_device-rest-go_odessa 02:04:17 + START_PACKAGES=/tmp/packages_start.txt 02:04:17 + END_PACKAGES=/tmp/packages_end.txt 02:04:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:04:17 + PACKAGES=/tmp/packages_start.txt 02:04:17 + '[' /w/workspace/gexfoundry_device-rest-go_odessa ']' 02:04:17 + PACKAGES=/tmp/packages_end.txt 02:04:17 + case "${OS_FAMILY}" in 02:04:17 + sort 02:04:17 + rpm -qa 02:04:18 + '[' -f /tmp/packages_start.txt ']' 02:04:18 + '[' -f /tmp/packages_end.txt ']' 02:04:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:04:18 + '[' /w/workspace/gexfoundry_device-rest-go_odessa ']' 02:04:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_odessa/archives/ 02:04:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_odessa/archives/ [Pipeline] echo 02:04:18 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/gexfoundry_device-rest-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:04:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:19 02:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:19 latest: Pulling from edgex-lftools-log-publisher 02:04:19 5eb5b503b376: Pulling fs layer 02:04:19 5c69ac0246d0: Pulling fs layer 02:04:19 ec43610c2a17: Pulling fs layer 02:04:19 3a2ae6a8a46f: Pulling fs layer 02:04:19 33b1e0a273af: Pulling fs layer 02:04:19 5d3b04190fa2: Pulling fs layer 02:04:19 2f39f015ded8: Pulling fs layer 02:04:19 3a2ae6a8a46f: Waiting 02:04:19 33b1e0a273af: Waiting 02:04:19 5d3b04190fa2: Waiting 02:04:19 2f39f015ded8: Waiting 02:04:19 5c69ac0246d0: Verifying Checksum 02:04:19 5c69ac0246d0: Download complete 02:04:19 3a2ae6a8a46f: Verifying Checksum 02:04:19 3a2ae6a8a46f: Download complete 02:04:19 ec43610c2a17: Verifying Checksum 02:04:19 ec43610c2a17: Download complete 02:04:19 33b1e0a273af: Verifying Checksum 02:04:19 33b1e0a273af: Download complete 02:04:19 5d3b04190fa2: Verifying Checksum 02:04:19 5d3b04190fa2: Download complete 02:04:19 5eb5b503b376: Verifying Checksum 02:04:19 5eb5b503b376: Download complete 02:04:24 2f39f015ded8: Verifying Checksum 02:04:24 2f39f015ded8: Download complete 02:04:24 5eb5b503b376: Pull complete 02:04:24 5c69ac0246d0: Pull complete 02:04:25 ec43610c2a17: Pull complete 02:04:25 3a2ae6a8a46f: Pull complete 02:04:25 33b1e0a273af: Pull complete 02:04:26 5d3b04190fa2: Pull complete 02:04:30 2f39f015ded8: Pull complete 02:04:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:30 prd-centos7-docker-4c-2g-773687 does not seem to be running inside a container 02:04:30 $ 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/gexfoundry_device-rest-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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 02:04:32 ---> 6297cbc32694 02:04:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:32 ---> Running in b95db04c6233 02:04:34 $ docker top 886bf7fce8e5c49779c191b275a1950ec4522729dbb034f5aec773f507786ae1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:35 + touch /tmp/pre-build-complete [Pipeline] sh 02:04:35 + mkdir -p /var/log/sysstat [Pipeline] sh 02:04:35 + ls /var/log/sa-host 02:04:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:35 provisioning config files... 02:04:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config12594830703068721313tmp [Pipeline] { [Pipeline] echo 02:04:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:04:36 ---> create-netrc.sh [Pipeline] } 02:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:04:36 ---> python-tools-install.sh [Pipeline] echo 02:04:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:04:36 ---> sudo-logs.sh 02:04:36 Archiving 'sudo' log.. 02:04:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-773687.novalocal: Name or service not known 02:04:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-773687.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:04:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:04:37 ---> job-cost.sh 02:04:37 lf-activate-venv: SKIPPING 02:04:37 INFO: No Stack... 02:04:37 INFO: Retrieving Pricing Info for: v3-standard-2 02:04:37 INFO: Archiving Costs [Pipeline] echo 02:04:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:04:37 ---> logs-deploy.sh 02:04:37 lf-activate-venv: SKIPPING 02:04:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/odessa/3 02:04:37 INFO: archiving workspace using pattern(s): 02:04:38 Archives upload complete. 02:04:38 INFO: archiving logs to Nexus 02:04:39 ---> uname -a: 02:04:39 Linux prd-centos7-docker-4c-2g-773687.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 02:04:39 02:04:39 02:04:39 ---> lscpu: 02:04:39 Architecture: x86_64 02:04:39 CPU op-mode(s): 32-bit, 64-bit 02:04:39 Byte Order: Little Endian 02:04:39 Address sizes: 40 bits physical, 48 bits virtual 02:04:39 CPU(s): 2 02:04:39 On-line CPU(s) list: 0,1 02:04:39 Thread(s) per core: 1 02:04:39 Core(s) per socket: 1 02:04:39 Socket(s): 2 02:04:39 NUMA node(s): 1 02:04:39 Vendor ID: AuthenticAMD 02:04:39 CPU family: 23 02:04:39 Model: 49 02:04:39 Model name: AMD EPYC-Rome Processor 02:04:39 Stepping: 0 02:04:39 CPU MHz: 2800.000 02:04:39 BogoMIPS: 5600.00 02:04:39 Virtualization: AMD-V 02:04:39 Hypervisor vendor: KVM 02:04:39 Virtualization type: full 02:04:39 L1d cache: 64 KiB 02:04:39 L1i cache: 64 KiB 02:04:39 L2 cache: 1 MiB 02:04:39 L3 cache: 32 MiB 02:04:39 NUMA node0 CPU(s): 0,1 02:04:39 Vulnerability Itlb multihit: Not affected 02:04:39 Vulnerability L1tf: Not affected 02:04:39 Vulnerability Mds: Not affected 02:04:39 Vulnerability Meltdown: Not affected 02:04:39 Vulnerability Mmio stale data: Not affected 02:04:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:04:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:04:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:04:39 Vulnerability Srbds: Not affected 02:04:39 Vulnerability Tsx async abort: Not affected 02:04:39 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 02:04:39 02:04:39 02:04:39 ---> nproc: 02:04:39 2 02:04:39 02:04:39 02:04:39 ---> df -h: 02:04:39 Filesystem Size Used Avail Use% Mounted on 02:04:39 overlay 40G 7.3G 33G 19% / 02:04:39 tmpfs 64M 0 64M 0% /dev 02:04:39 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:04:39 shm 64M 0 64M 0% /dev/shm 02:04:39 /dev/vda1 40G 7.3G 33G 19% /facter-os 02:04:39 02:04:39 02:04:39 Cannot open /var/log/sysstat/sa24: No such file or directory 02:04:39 Please check if data collecting is enabled 02:04:39 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:04:39 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 02:04:39 $ docker stop --time=1 886bf7fce8e5c49779c191b275a1950ec4522729dbb034f5aec773f507786ae1 02:04:40 $ docker rm -f --volumes 886bf7fce8e5c49779c191b275a1950ec4522729dbb034f5aec773f507786ae1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 02:04:40 [WS-CLEANUP] Deleting project workspace... 02:04:40 [WS-CLEANUP] Deferred wipeout is used... 02:04:40 [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 02:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:41 02:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:41 latest: Pulling from edgex-lftools-log-publisher 02:04:41 5eb5b503b376: Pulling fs layer 02:04:41 5c69ac0246d0: Pulling fs layer 02:04:41 ec43610c2a17: Pulling fs layer 02:04:41 3a2ae6a8a46f: Pulling fs layer 02:04:41 33b1e0a273af: Pulling fs layer 02:04:41 5d3b04190fa2: Pulling fs layer 02:04:41 2f39f015ded8: Pulling fs layer 02:04:41 3a2ae6a8a46f: Waiting 02:04:41 33b1e0a273af: Waiting 02:04:41 5d3b04190fa2: Waiting 02:04:41 2f39f015ded8: Waiting 02:04:41 5c69ac0246d0: Download complete 02:04:41 3a2ae6a8a46f: Download complete 02:04:41 33b1e0a273af: Verifying Checksum 02:04:41 33b1e0a273af: Download complete 02:04:41 5d3b04190fa2: Verifying Checksum 02:04:41 5d3b04190fa2: Download complete 02:04:41 ec43610c2a17: Verifying Checksum 02:04:41 ec43610c2a17: Download complete 02:04:41 5eb5b503b376: Download complete 02:04:42 2f39f015ded8: Verifying Checksum 02:04:42 2f39f015ded8: Download complete 02:04:43 5eb5b503b376: Pull complete 02:04:43 5c69ac0246d0: Pull complete 02:04:44 ec43610c2a17: Pull complete 02:04:44 3a2ae6a8a46f: Pull complete 02:04:44 33b1e0a273af: Pull complete 02:04:44 5d3b04190fa2: Pull complete 02:04:51 2f39f015ded8: Pull complete 02:04:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:04:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:51 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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 02:04:53 $ docker top d4ec22ca84fdb938e125de128295fcc49b9ca9dc3bf082d81c5924a433c4818d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:53 ---> job-cost.sh 02:04:53 lf-activate-venv: SKIPPING 02:04:53 INFO: No Stack... 02:04:53 INFO: Retrieving Pricing Info for: v3-standard-8 02:04:53 INFO: Archiving Costs [Pipeline] sh 02:04:54 + cat /w/workspace/gexfoundry_device-rest-go_odessa/archives/cost.csv 02:04:54 + cut -d, -f6 [Pipeline] lock 02:04:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] 02:04:54 Resource [jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] did not exist. Created. 02:04:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:54 + echo total: 0.2199999988079071 [Pipeline] stash 02:04:54 Stashed 1 file(s) [Pipeline] } 02:04:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:04:54 $ docker stop --time=1 d4ec22ca84fdb938e125de128295fcc49b9ca9dc3bf082d81c5924a433c4818d 02:04:55 $ docker rm -f --volumes d4ec22ca84fdb938e125de128295fcc49b9ca9dc3bf082d81c5924a433c4818d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:06:24 Removing intermediate container b95db04c6233 02:06:24 ---> ade2296497fd 02:06:24 Step 11/12 : COPY . . 02:06:25 ---> 2434f5339809 02:06:25 Step 12/12 : RUN $MAKE 02:06:25 ---> Running in 26d723e3dce5 02:06:26 noop 02:06:27 Removing intermediate container 26d723e3dce5 02:06:27 ---> 2cdeb44042da 02:06:27 Successfully built 2cdeb44042da 02:06:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:28 + docker inspect -f . ci-base-image-arm64 02:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:28 prd-ubuntu20.04-docker-arm64-4c-16g-773683 does not seem to be running inside a container 02:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:29 $ docker top 0154e716625ec62f3bc680debfdffdccc4574c30d72c622e04edc71e928ede44 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:30 + go version 02:06:30 go version go1.23.7 linux/arm64 [Pipeline] } 02:06:30 $ docker stop --time=1 0154e716625ec62f3bc680debfdffdccc4574c30d72c622e04edc71e928ede44 02:06:32 $ docker rm -f --volumes 0154e716625ec62f3bc680debfdffdccc4574c30d72c622e04edc71e928ede44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:33 + docker inspect -f . ci-base-image-arm64 02:06:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-773683 does not seem to be running inside a container 02:06:33 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:34 $ docker top c5824ae243ad4764720095bd6bff9b4ddea6fbf0d1c95747234ee268eb572937 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:35 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 02:06:36 + make test 02:06:36 go test ./... -coverprofile=coverage.out ./... 02:06:40 ? github.com/edgexfoundry/device-rest-go [no test files] 02:10:47 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:10:47 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 33.2% of statements 02:10:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:47 go vet ./... 02:11:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:11:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:11:43 ./bin/test-attribution-txt.sh [Pipeline] echo 02:11:43 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:11:44 + go mod tidy [Pipeline] } 02:11:49 $ docker stop --time=1 c5824ae243ad4764720095bd6bff9b4ddea6fbf0d1c95747234ee268eb572937 02:11:52 $ docker rm -f --volumes c5824ae243ad4764720095bd6bff9b4ddea6fbf0d1c95747234ee268eb572937 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:11:53 Warning: overwriting stash ‘coverage-report’ 02:11:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:56 + ls -al . 02:11:56 total 244 02:11:56 drwxrwxr-x 9 jenkins jenkins 4096 Nov 24 02:06 . 02:11:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 02:03 .. 02:11:56 -rw-rw-r-- 1 jenkins jenkins 151 Nov 24 02:03 .dockerignore 02:11:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 24 02:03 .git 02:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 02:03 .github 02:11:56 -rw-rw-r-- 1 jenkins jenkins 256 Nov 24 02:03 .gitignore 02:11:56 -rw-rw-r-- 1 jenkins jenkins 41 Nov 24 02:03 .golangci.yml 02:11:56 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 24 02:03 Attribution.txt 02:11:56 -rw-rw-r-- 1 jenkins jenkins 18492 Nov 24 02:03 CHANGELOG.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 24 02:03 Dockerfile 02:11:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 24 02:03 GOVERNANCE.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 680 Nov 24 02:03 Jenkinsfile 02:11:56 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 24 02:03 LICENSE 02:11:56 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 24 02:03 Makefile 02:11:56 -rw-rw-r-- 1 jenkins jenkins 620 Nov 24 02:03 OWNERS.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 24 02:03 README.md 02:11:56 -rw-rw-r-- 1 jenkins jenkins 11 Nov 24 02:00 VERSION 02:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 02:03 bin 02:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 02:03 cmd 02:11:56 -rw-r--r-- 1 jenkins jenkins 14565 Nov 24 02:10 coverage.out 02:11:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 02:03 driver 02:11:56 -rw-rw-r-- 1 jenkins jenkins 6246 Nov 24 02:03 go.mod 02:11:56 -rw-rw-r-- 1 jenkins jenkins 86532 Nov 24 02:03 go.sum 02:11:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 02:03 openapi 02:11:56 drwxrwxr-x 10 jenkins jenkins 4096 Nov 24 02:03 vendor 02:11:56 -rw-rw-r-- 1 jenkins jenkins 713 Nov 24 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:56 + 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=d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 --label arch=arm64 --label version=4.0.1-dev.1 . 02:12:00 Sending build context to Docker daemon 40.74MB 02:12:00 Step 1/26 : ARG BASE=golang:1.23-alpine3.22 02:12:00 Step 2/26 : FROM ${BASE} AS builder 02:12:00 ---> 2cdeb44042da 02:12:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:12:01 ---> Running in 7c7abaa8181c 02:12:01 Removing intermediate container 7c7abaa8181c 02:12:01 ---> 9e9cb68830f0 02:12:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:01 ---> Running in 98dbfe8cd59b 02:12:01 Removing intermediate container 98dbfe8cd59b 02:12:01 ---> 08c385bef364 02:12:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:12:01 ---> Running in d8bb7ab66546 02:12:02 Removing intermediate container d8bb7ab66546 02:12:02 ---> 4afa5c1cf19d 02:12:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:12:02 ---> Running in 4f1b1578cd4e 02:12:02 Removing intermediate container 4f1b1578cd4e 02:12:02 ---> 01746fde01f5 02:12:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:02 ---> Running in 2d53caf5b8dc 02:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:12:05 OK: 244 MiB in 62 packages 02:12:06 Removing intermediate container 2d53caf5b8dc 02:12:06 ---> b06f46ff7476 02:12:06 Step 8/26 : WORKDIR /device-rest-go 02:12:06 ---> Running in 668bb9818793 02:12:07 Removing intermediate container 668bb9818793 02:12:07 ---> d620513e677a 02:12:07 Step 9/26 : COPY go.mod vendor* ./ 02:12:22 ---> 259363c123b2 02:12:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:22 ---> Running in ec45d91eba51 02:12:22 skipping... 02:12:23 Removing intermediate container ec45d91eba51 02:12:23 ---> ba5a1d4fe4f2 02:12:23 Step 11/26 : COPY . . 02:12:38 ---> 493cdbc56501 02:12:38 Step 12/26 : RUN $MAKE 02:12:38 ---> Running in 0718c1ca3d9f 02:12:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.1 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:16:30 Removing intermediate container 0718c1ca3d9f 02:16:30 ---> db3d49899dd9 02:16:30 Step 13/26 : FROM alpine:3.22 02:16:30 3.22: Pulling from library/alpine 02:16:30 6b59a28fa201: Pulling fs layer 02:16:30 6b59a28fa201: Verifying Checksum 02:16:30 6b59a28fa201: Download complete 02:16:30 6b59a28fa201: Pull complete 02:16:30 Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 02:16:30 Status: Downloaded newer image for alpine:3.22 02:16:30 ---> 171e65262c80 02:16:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:16:30 ---> Running in 2ac9a9ce5a9f 02:16:31 Removing intermediate container 2ac9a9ce5a9f 02:16:31 ---> 90a301358878 02:16:31 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:16:31 ---> Running in a8769efc8b8a 02:16:31 Removing intermediate container a8769efc8b8a 02:16:31 ---> a7a87e3ffbeb 02:16:31 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:16:31 ---> Running in 78fd04c8b2cc 02:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:16:34 (1/1) Installing dumb-init (1.2.5-r3) 02:16:34 Executing busybox-1.37.0-r19.trigger 02:16:34 OK: 8 MiB in 17 packages 02:16:35 Removing intermediate container 78fd04c8b2cc 02:16:35 ---> 529f6dbc7d25 02:16:35 Step 17/26 : RUN apk --no-cache upgrade 02:16:36 ---> Running in ce18231f2ce0 02:16:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 02:16:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 02:16:39 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 02:16:39 Executing busybox-1.37.0-r20.post-upgrade 02:16:39 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 02:16:39 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 02:16:39 Executing busybox-1.37.0-r20.trigger 02:16:39 OK: 8 MiB in 17 packages 02:16:41 Removing intermediate container ce18231f2ce0 02:16:41 ---> 0724fee62861 02:16:41 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:16:43 ---> b303fbeebc7c 02:16:43 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:16:43 ---> 1ace3e31c1f6 02:16:43 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:16:44 ---> 2ca825332db5 02:16:44 Step 21/26 : EXPOSE 59986 02:16:44 ---> Running in 9e451b9de6ed 02:16:44 Removing intermediate container 9e451b9de6ed 02:16:44 ---> 60a3126ecb44 02:16:44 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:16:44 ---> Running in c075fdb37280 02:16:44 Removing intermediate container c075fdb37280 02:16:44 ---> 3f34e454f2bc 02:16:44 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:16:44 ---> Running in a947530cd369 02:16:45 Removing intermediate container a947530cd369 02:16:45 ---> f76672297562 02:16:45 Step 24/26 : LABEL arch=arm64 02:16:45 ---> Running in 8b45c8037ae1 02:16:45 Removing intermediate container 8b45c8037ae1 02:16:45 ---> 95fefd2d4688 02:16:45 Step 25/26 : LABEL git_sha=d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:16:45 ---> Running in c5c03d72b615 02:16:45 Removing intermediate container c5c03d72b615 02:16:45 ---> a528de792921 02:16:45 Step 26/26 : LABEL version=4.0.1-dev.1 02:16:46 ---> Running in b99199805a84 02:16:46 Removing intermediate container b99199805a84 02:16:46 ---> 31add4b3fc0e 02:16:46 [Warning] One or more build-args [ARCH] were not consumed 02:16:47 Successfully built 31add4b3fc0e 02:16:47 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 02:16:47 provisioning config files... 02:16:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config9620150984828875432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:47 ---> ****-login.sh 02:16:47 nexus3.edgexfoundry.org:10001 02:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:48 Configure a credential helper to remove this warning. See 02:16:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:48 02:16:48 Login Succeeded 02:16:48 nexus3.edgexfoundry.org:10002 02:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:48 Configure a credential helper to remove this warning. See 02:16:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:48 02:16:48 Login Succeeded 02:16:48 nexus3.edgexfoundry.org:10003 02:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:49 Configure a credential helper to remove this warning. See 02:16:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:49 02:16:49 Login Succeeded 02:16:49 nexus3.edgexfoundry.org:10004 02:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:49 Configure a credential helper to remove this warning. See 02:16:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:49 02:16:49 Login Succeeded 02:16:49 ****.io 02:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:49 Configure a credential helper to remove this warning. See 02:16:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:49 02:16:49 Login Succeeded 02:16:49 ---> ****-login.sh ends [Pipeline] } 02:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:16:49 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:16:49 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:16:49 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:16:49 4.0.1-dev.1 02:16:49 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:16:49 odessa 02:16:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:16:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:16:50 f43ae226078d: Preparing 02:16:50 927703822469: Preparing 02:16:50 e23acf5fdef2: Preparing 02:16:50 4b6bcfdddb4a: Preparing 02:16:50 52ec1ddbeb47: Preparing 02:16:50 0e64f2360a44: Preparing 02:16:50 0e64f2360a44: Waiting 02:16:50 927703822469: Pushed 02:16:50 f43ae226078d: Pushed 02:16:50 52ec1ddbeb47: Pushed 02:16:50 0e64f2360a44: Layer already exists 02:16:51 4b6bcfdddb4a: Pushed 02:16:59 e23acf5fdef2: Pushed 02:16:59 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8: digest: sha256:90674e8e02a3c40bdfbb896f5632e89558c614560690dbe5338ea0bb7fe6b6b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.1-dev.1 02:17:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:17:00 f43ae226078d: Preparing 02:17:00 927703822469: Preparing 02:17:00 e23acf5fdef2: Preparing 02:17:00 4b6bcfdddb4a: Preparing 02:17:00 52ec1ddbeb47: Preparing 02:17:00 0e64f2360a44: Preparing 02:17:00 0e64f2360a44: Waiting 02:17:00 927703822469: Layer already exists 02:17:00 4b6bcfdddb4a: Layer already exists 02:17:00 e23acf5fdef2: Layer already exists 02:17:00 f43ae226078d: Layer already exists 02:17:00 52ec1ddbeb47: Layer already exists 02:17:00 0e64f2360a44: Layer already exists 02:17:00 4.0.1-dev.1: digest: sha256:90674e8e02a3c40bdfbb896f5632e89558c614560690dbe5338ea0bb7fe6b6b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:17:01 f43ae226078d: Preparing 02:17:01 927703822469: Preparing 02:17:01 e23acf5fdef2: Preparing 02:17:01 4b6bcfdddb4a: Preparing 02:17:01 52ec1ddbeb47: Preparing 02:17:01 0e64f2360a44: Preparing 02:17:01 0e64f2360a44: Waiting 02:17:01 4b6bcfdddb4a: Layer already exists 02:17:01 f43ae226078d: Layer already exists 02:17:01 e23acf5fdef2: Layer already exists 02:17:01 52ec1ddbeb47: Layer already exists 02:17:01 927703822469: Layer already exists 02:17:01 0e64f2360a44: Layer already exists 02:17:01 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1: digest: sha256:90674e8e02a3c40bdfbb896f5632e89558c614560690dbe5338ea0bb7fe6b6b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:odessa 02:17:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:17:02 f43ae226078d: Preparing 02:17:02 927703822469: Preparing 02:17:02 e23acf5fdef2: Preparing 02:17:02 4b6bcfdddb4a: Preparing 02:17:02 52ec1ddbeb47: Preparing 02:17:02 0e64f2360a44: Preparing 02:17:02 0e64f2360a44: Waiting 02:17:02 e23acf5fdef2: Layer already exists 02:17:02 f43ae226078d: Layer already exists 02:17:02 52ec1ddbeb47: Layer already exists 02:17:02 4b6bcfdddb4a: Layer already exists 02:17:02 927703822469: Layer already exists 02:17:02 0e64f2360a44: Layer already exists 02:17:02 odessa: digest: sha256:90674e8e02a3c40bdfbb896f5632e89558c614560690dbe5338ea0bb7fe6b6b0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:17:02 ===================================================== [Pipeline] echo 02:17:02 taggedImages: 02:17:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 02:17:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.1-dev.1 02:17:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 02:17:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:odessa [Pipeline] echo 02:17:02 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] echo 02:17:02 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.1-dev.1 [Pipeline] echo 02:17:02 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8-4.0.1-dev.1 [Pipeline] echo 02:17:02 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:03 02:17:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:03 arm64: Pulling from edgex-lftools-log-publisher 02:17:03 8998bd30e6a1: Pulling fs layer 02:17:03 04944245beec: Pulling fs layer 02:17:03 699f458cf7ca: Pulling fs layer 02:17:03 765212b225bb: Pulling fs layer 02:17:03 f23df028b6ca: Pulling fs layer 02:17:03 d65c8cfc05b1: Pulling fs layer 02:17:03 2437ff75d9bd: Pulling fs layer 02:17:03 765212b225bb: Waiting 02:17:03 f23df028b6ca: Waiting 02:17:03 d65c8cfc05b1: Waiting 02:17:03 2437ff75d9bd: Waiting 02:17:03 04944245beec: Verifying Checksum 02:17:03 04944245beec: Download complete 02:17:03 765212b225bb: Verifying Checksum 02:17:03 765212b225bb: Download complete 02:17:03 f23df028b6ca: Verifying Checksum 02:17:03 f23df028b6ca: Download complete 02:17:03 d65c8cfc05b1: Verifying Checksum 02:17:03 d65c8cfc05b1: Download complete 02:17:04 699f458cf7ca: Verifying Checksum 02:17:04 699f458cf7ca: Download complete 02:17:04 8998bd30e6a1: Verifying Checksum 02:17:04 8998bd30e6a1: Download complete 02:17:06 2437ff75d9bd: Verifying Checksum 02:17:06 2437ff75d9bd: Download complete 02:17:09 8998bd30e6a1: Pull complete 02:17:09 04944245beec: Pull complete 02:17:11 699f458cf7ca: Pull complete 02:17:11 765212b225bb: Pull complete 02:17:12 f23df028b6ca: Pull complete 02:17:12 d65c8cfc05b1: Pull complete 02:17:30 2437ff75d9bd: Pull complete 02:17:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:30 prd-ubuntu20.04-docker-arm64-4c-16g-773683 does not seem to be running inside a container 02:17:30 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:17:33 $ docker top b9ba9f9a0061cef3623bec5be68b5fc02eebcb223bf96695ef7d8cad27de923f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:34 ---> job-cost.sh 02:17:34 lf-activate-venv: SKIPPING 02:17:34 INFO: No Stack... 02:17:35 INFO: Retrieving Pricing Info for: v3-standard-4 02:17:36 INFO: Archiving Costs [Pipeline] sh 02:17:37 + cut -d, -f6 02:17:37 + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 02:17:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] 02:17:37 Resource [jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] did not exist. Created. 02:17:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:17:37 /w/workspace/device-rest-go/3@tmp/durable-251304b0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:17:38 + echo total: 0.10999999940395355 [Pipeline] stash 02:17:38 Warning: overwriting stash ‘stack-cost’ 02:17:39 Stashed 1 file(s) [Pipeline] } 02:17:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-odessa-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:17:39 $ docker stop --time=1 b9ba9f9a0061cef3623bec5be68b5fc02eebcb223bf96695ef7d8cad27de923f 02:17:40 $ docker rm -f --volumes b9ba9f9a0061cef3623bec5be68b5fc02eebcb223bf96695ef7d8cad27de923f [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 02:17:41 provisioning config files... 02:17:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config1049470165993463402tmp [Pipeline] { [Pipeline] sh 02:17:41 + set +x 02:17:41 + curl -s https://codecov.io/bash 02:17:41 + bash -s -- 02:17:41 02:17:41 _____ _ 02:17:41 / ____| | | 02:17:41 | | ___ __| | ___ ___ _____ __ 02:17:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:17:41 | |___| (_) | (_| | __/ (_| (_) \ V / 02:17:41 \_____\___/ \__,_|\___|\___\___/ \_/ 02:17:41 Bash-1.0.6 02:17:41 02:17:41 02:17:41 ==> git version 2.25.1 found 02:17:41 ==> 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 02:17:41 Release-Date: 2020-01-08 02:17:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:17:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:17:41 ==> Jenkins CI detected. 02:17:41 current dir:  /w/workspace/gexfoundry_device-rest-go_odessa 02:17:41 project root: . 02:17:41 --> token set from env 02:17:41 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 02:17:41 ==> Running gcov in . (disable via -X gcov) 02:17:41 ==> Python coveragepy not found 02:17:41 ==> Searching for coverage reports in: 02:17:41 + . 02:17:41 -> Found 1 reports 02:17:41 ==> Detecting git/mercurial file structure 02:17:41 ==> Reading reports 02:17:41 + ./coverage.out bytes=14565 02:17:41 ==> Appending adjustments 02:17:41 https://docs.codecov.io/docs/fixing-reports 02:17:42 + Found adjustments 02:17:42 ==> Gzipping contents 02:17:42 28K /tmp/codecov.fh14DD.gz 02:17:42 ==> Uploading reports 02:17:42 url: https://codecov.io 02:17:42 query: branch=odessa&commit=d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fodessa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:17:42 -> Pinging Codecov 02:17:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fodessa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:17:42 -> Uploading to 02:17:42 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8/585120bb-b47f-40b6-bbeb-08bad28417b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251124%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251124T021742Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=14110099cb61f19453d26855b38f7b3c410614b19a52ed8985edd7c80d2a0bad 02:17:42 % Total % Received % Xferd Average Speed Time Time Time Current 02:17:42 Dload Upload Total Spent Left Speed 02:17:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 27364 0 0 100 27364 0 183k --:--:-- --:--:-- --:--:-- 183k 02:17:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] } 02:17:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:17:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:17:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:17:42 02:17:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:17:43 latest: Pulling from edgex-devops/edgex-snyk-go 02:17:43 2d35ebdb57d9: Already exists 02:17:43 85e8836fcdb2: Pulling fs layer 02:17:43 91631faa732a: Pulling fs layer 02:17:43 f3f5ae8826fa: Pulling fs layer 02:17:43 4f4fb700ef54: Pulling fs layer 02:17:43 7861252a18e6: Pulling fs layer 02:17:43 4f4fb700ef54: Waiting 02:17:43 9130f900ef6f: Pulling fs layer 02:17:43 9130f900ef6f: Waiting 02:17:43 7861252a18e6: Waiting 02:17:43 f3f5ae8826fa: Verifying Checksum 02:17:43 f3f5ae8826fa: Download complete 02:17:43 85e8836fcdb2: Verifying Checksum 02:17:43 4f4fb700ef54: Verifying Checksum 02:17:43 4f4fb700ef54: Download complete 02:17:43 85e8836fcdb2: Pull complete 02:17:43 7861252a18e6: Verifying Checksum 02:17:43 7861252a18e6: Download complete 02:17:43 91631faa732a: Verifying Checksum 02:17:43 91631faa732a: Download complete 02:17:44 9130f900ef6f: Verifying Checksum 02:17:44 9130f900ef6f: Download complete 02:17:48 91631faa732a: Pull complete 02:17:48 f3f5ae8826fa: Pull complete 02:17:49 4f4fb700ef54: Pull complete 02:17:49 7861252a18e6: Pull complete 02:17:53 9130f900ef6f: Pull complete 02:17:53 Digest: sha256:56ae2c276304682a5b16c7ecab195a3e707c8b22ba01ba591248577dbd21f89e 02:17:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:17:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:53 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@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/edgex-snyk-go:latest cat 02:17:56 $ docker top d4110351e0e5be9333ca22a58969d108ff06f4367366e43c70e61d26e3a30e95 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_odessa [Pipeline] echo 02:17:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:odessa' [Pipeline] sh 02:17:57 + set -o pipefail 02:17:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:odessa' 02:18:53 02:18:53 Monitoring /w/workspace/gexfoundry_device-rest-go_odessa (github.com/edgexfoundry/device-rest-go)... 02:18:53 02:18:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12e1a9f3-dd6d-4f88-b9d0-0690318de23a/history/96a432b5-bd7b-4647-9247-479b6fb92169 02:18:53 02:18:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:18:53 02:18:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:18:53 [Pipeline] } 02:18:53 $ docker stop --time=1 d4110351e0e5be9333ca22a58969d108ff06f4367366e43c70e61d26e3a30e95 02:18:54 $ docker rm -f --volumes d4110351e0e5be9333ca22a58969d108ff06f4367366e43c70e61d26e3a30e95 [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 02:18:55 + git log --format=format:%s -1 d337ac0c8f65f3cb32c919afd5a6ba2f56e4a6a8 [Pipeline] sh 02:18:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:18:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:56 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:18:56 $ docker top c8a2da6f1f39c16acbd839f152c5f62bee6d0883a1e1fcc06a7d1457f72646e6 -eo pid,comm 02:18:56 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). 02:18:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:18:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:18:56 [ssh-agent] Looking for ssh-agent implementation... 02:18:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:18:56 $ docker exec c8a2da6f1f39c16acbd839f152c5f62bee6d0883a1e1fcc06a7d1457f72646e6 ssh-agent 02:18:56 SSH_AUTH_SOCK=/tmp/ssh-tCc1yJrvacJs/agent.33 02:18:56 SSH_AGENT_PID=39 02:18:56 Running ssh-add (command line suppressed) 02:18:56 Identity added: /w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_10494353814952923768.key (/w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_10494353814952923768.key) 02:18:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:18:57 + git semver tag 02:18:57 2025-11-24 02:18:57,203 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:18:57 2025-11-24 02:18:57,207 [run_tag] DEBUG tag force:False 02:18:57 2025-11-24 02:18:57,207 [check_head_tag] DEBUG check head tag 02:18:57 2025-11-24 02:18:57,208 [execute] INFO git cat-file --batch-check 02:18:57 2025-11-24 02:18:57,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa, stdin=, shell=False, universal_newlines=False) 02:18:57 2025-11-24 02:18:57,210 [execute] INFO git cat-file --batch 02:18:57 2025-11-24 02:18:57,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa, stdin=, shell=False, universal_newlines=False) 02:18:57 2025-11-24 02:18:57,219 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:18:57 2025-11-24 02:18:57,219 [execute] INFO git tag -a v4.0.1-dev.1 -m v4.0.1-dev.1 02:18:57 2025-11-24 02:18:57,219 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.1-dev.1', '-m', 'v4.0.1-dev.1'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa, stdin=None, shell=False, universal_newlines=False) 02:18:57 2025-11-24 02:18:57,223 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:18:57 4.0.1-dev.1 [Pipeline] } 02:18:57 $ docker exec --env ******** --env ******** c8a2da6f1f39c16acbd839f152c5f62bee6d0883a1e1fcc06a7d1457f72646e6 ssh-agent -k 02:18:57 unset SSH_AUTH_SOCK; 02:18:57 unset SSH_AGENT_PID; 02:18:57 echo Agent pid 39 killed; 02:18:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:18:57 + git semver [Pipeline] } 02:18:57 $ docker stop --time=1 c8a2da6f1f39c16acbd839f152c5f62bee6d0883a1e1fcc06a7d1457f72646e6 02:18:59 $ docker rm -f --volumes c8a2da6f1f39c16acbd839f152c5f62bee6d0883a1e1fcc06a7d1457f72646e6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:18:59 02:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:18:59 0.23.1-centos7: Pulling from edgex-lftools 02:18:59 ab5ef0e58194: Pulling fs layer 02:18:59 9712f1f96733: Pulling fs layer 02:18:59 63f879dbbcfc: Pulling fs layer 02:18:59 0d9ebad4ef96: Pulling fs layer 02:18:59 e9a5061849ea: Pulling fs layer 02:18:59 d747dcd14b5f: Pulling fs layer 02:18:59 2de7ff778b66: Pulling fs layer 02:18:59 2de7ff778b66: Waiting 02:18:59 d747dcd14b5f: Waiting 02:18:59 e9a5061849ea: Waiting 02:18:59 0d9ebad4ef96: Waiting 02:18:59 9712f1f96733: Verifying Checksum 02:18:59 9712f1f96733: Download complete 02:19:00 63f879dbbcfc: Verifying Checksum 02:19:00 e9a5061849ea: Verifying Checksum 02:19:00 e9a5061849ea: Download complete 02:19:00 d747dcd14b5f: Verifying Checksum 02:19:00 d747dcd14b5f: Download complete 02:19:00 0d9ebad4ef96: Verifying Checksum 02:19:00 0d9ebad4ef96: Download complete 02:19:00 2de7ff778b66: Verifying Checksum 02:19:00 2de7ff778b66: Download complete 02:19:00 ab5ef0e58194: Verifying Checksum 02:19:00 ab5ef0e58194: Download complete 02:19:04 ab5ef0e58194: Pull complete 02:19:04 9712f1f96733: Pull complete 02:19:05 63f879dbbcfc: Pull complete 02:19:11 0d9ebad4ef96: Pull complete 02:19:11 e9a5061849ea: Pull complete 02:19:11 d747dcd14b5f: Pull complete 02:19:12 2de7ff778b66: Pull complete 02:19:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:12 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:19:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:19:15 $ docker top 0c387b6078f9df9d88b2ddaf9cbf933bf74a1008829a0e4ed89e55fbd8129c34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:19:15 provisioning config files... 02:19:15 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config14086482805075938693tmp 02:19:15 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config13227378417744945435tmp 02:19:15 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config8858550950707182785tmp [Pipeline] { [Pipeline] echo 02:19:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:19:16 ---> sigul-configuration.sh 02:19:16 gpg: directory `/root/.gnupg' created 02:19:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:19:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:19:16 gpg: keyring `/root/.gnupg/secring.gpg' created 02:19:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:19:16 gpg: CAST5 encrypted data 02:19:16 gpg: encrypted with 1 passphrase 02:19:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:19:16 + mkdir /home/jenkins 02:19:16 + mkdir /home/jenkins/sigul [Pipeline] sh 02:19:16 + 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 02:19:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:19:17 ---> sigul-install.sh 02:19:17 Sigul already installed; skipping installation. [Pipeline] sh 02:19:17 + git tag --list 02:19:17 v1.0.0 02:19:17 v1.1.0 02:19:17 v1.1.1 02:19:17 v1.1.2 02:19:17 v1.2.0 02:19:17 v1.2.1 02:19:17 v2.0.0 02:19:17 v2.1.0 02:19:17 v2.1.1 02:19:17 v2.2.0 02:19:17 v2.3.0 02:19:17 v3.0 02:19:17 v3.0.0 02:19:17 v3.1 02:19:17 v3.1.0 02:19:17 v3.1.1 02:19:17 v4.0 02:19:17 v4.0.0 02:19:17 v4.0.1-dev.1 02:19:17 v4.1.0-dev.1 02:19:17 v4.1.0-dev.10 02:19:17 v4.1.0-dev.11 02:19:17 v4.1.0-dev.12 02:19:17 v4.1.0-dev.13 02:19:17 v4.1.0-dev.14 02:19:17 v4.1.0-dev.15 02:19:17 v4.1.0-dev.16 02:19:17 v4.1.0-dev.2 02:19:17 v4.1.0-dev.3 02:19:17 v4.1.0-dev.4 02:19:17 v4.1.0-dev.5 02:19:17 v4.1.0-dev.6 02:19:17 v4.1.0-dev.7 02:19:17 v4.1.0-dev.8 02:19:17 v4.1.0-dev.9 [Pipeline] sh 02:19:17 + lftools sign git-tag v4.0.1-dev.1 02:19:18 Signing Git tag with Sigul... 02:19:18 Signing v4.0.1-dev.1 [Pipeline] echo 02:19:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:19:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:19:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:19:18 $ docker stop --time=1 0c387b6078f9df9d88b2ddaf9cbf933bf74a1008829a0e4ed89e55fbd8129c34 02:19:20 $ docker rm -f --volumes 0c387b6078f9df9d88b2ddaf9cbf933bf74a1008829a0e4ed89e55fbd8129c34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:19:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:19:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:21 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:19:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:19:21 $ docker top 2260ba1d741198d99ff8dfc836f8a0d9178a2bfab75bc724d485ac7cd85a15ca -eo pid,comm 02:19:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:19:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:19:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:21 [ssh-agent] Looking for ssh-agent implementation... 02:19:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:21 $ docker exec 2260ba1d741198d99ff8dfc836f8a0d9178a2bfab75bc724d485ac7cd85a15ca ssh-agent 02:19:21 SSH_AUTH_SOCK=/tmp/ssh-sEJ6HrUulgY2/agent.32 02:19:21 SSH_AGENT_PID=39 02:19:21 Running ssh-add (command line suppressed) 02:19:21 Identity added: /w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_163315805174337223.key (/w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_163315805174337223.key) 02:19:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:19:22 + git semver bump pre 02:19:22 2025-11-24 02:19:22,197 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:19:22 2025-11-24 02:19:22,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:19:22 2025-11-24 02:19:22,200 [bump_version] DEBUG bumping version:4.0.1-dev.1 on axis:pre with prefix:dev 02:19:22 2025-11-24 02:19:22,200 [bump_version] DEBUG bumped version:4.0.1-dev.2 02:19:22 2025-11-24 02:19:22,200 [write_version] DEBUG write version:4.0.1-dev.2 to path:/w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa with force:True 02:19:22 2025-11-24 02:19:22,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:19:22 2025-11-24 02:19:22,201 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:19:22 2025-11-24 02:19:22,202 [execute] INFO git cat-file --batch-check 02:19:22 2025-11-24 02:19:22,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=, shell=False, universal_newlines=False) 02:19:22 2025-11-24 02:19:22,205 [execute] INFO git cat-file --batch 02:19:22 2025-11-24 02:19:22,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=, shell=False, universal_newlines=False) 02:19:22 2025-11-24 02:19:22,208 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:19:22 4.0.1-dev.2 [Pipeline] } 02:19:22 $ docker exec --env ******** --env ******** 2260ba1d741198d99ff8dfc836f8a0d9178a2bfab75bc724d485ac7cd85a15ca ssh-agent -k 02:19:22 unset SSH_AUTH_SOCK; 02:19:22 unset SSH_AGENT_PID; 02:19:22 echo Agent pid 39 killed; 02:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:19:22 + git semver [Pipeline] } 02:19:22 $ docker stop --time=1 2260ba1d741198d99ff8dfc836f8a0d9178a2bfab75bc724d485ac7cd85a15ca 02:19:24 $ docker rm -f --volumes 2260ba1d741198d99ff8dfc836f8a0d9178a2bfab75bc724d485ac7cd85a15ca [Pipeline] // withDockerContainer [Pipeline] sh 02:19:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:19:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:24 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:19:25 $ docker top d3505210409d54509f36cbb924c75c9cea501df66f2466e988dfab47e40622ad -eo pid,comm 02:19:25 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). 02:19:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:19:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:19:25 [ssh-agent] Looking for ssh-agent implementation... 02:19:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:19:25 $ docker exec d3505210409d54509f36cbb924c75c9cea501df66f2466e988dfab47e40622ad ssh-agent 02:19:25 SSH_AUTH_SOCK=/tmp/ssh-iqsrl3N31U2C/agent.31 02:19:25 SSH_AGENT_PID=37 02:19:25 Running ssh-add (command line suppressed) 02:19:25 Identity added: /w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_4844296932349323428.key (/w/workspace/gexfoundry_device-rest-go_odessa@tmp/private_key_4844296932349323428.key) 02:19:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:19:25 + git semver push 02:19:26 2025-11-24 02:19:26,148 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:19:26 2025-11-24 02:19:26,151 [run_push] DEBUG push 02:19:26 2025-11-24 02:19:26,152 [execute] INFO git cat-file --batch-check 02:19:26 2025-11-24 02:19:26,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=, shell=False, universal_newlines=False) 02:19:26 2025-11-24 02:19:26,154 [execute] INFO git rev-list 5be43ffadc10d6f9aa57a4730e35cdad2d10d9cd -- 02:19:26 2025-11-24 02:19:26,154 [execute] DEBUG Popen(['git', 'rev-list', '5be43ffadc10d6f9aa57a4730e35cdad2d10d9cd', '--'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=None, shell=False, universal_newlines=False) 02:19:26 2025-11-24 02:19:26,163 [execute] INFO git fetch -v -- origin 02:19:26 2025-11-24 02:19:26,163 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=None, shell=False, universal_newlines=True) 02:19:26 2025-11-24 02:19:26,719 [run_push] DEBUG no remote changes detected 02:19:26 2025-11-24 02:19:26,719 [execute] INFO git push origin semver 02:19:26 2025-11-24 02:19:26,719 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa/.semver, stdin=None, shell=False, universal_newlines=False) 02:19:27 2025-11-24 02:19:27,513 [run_push] DEBUG push all version tags 02:19:27 2025-11-24 02:19:27,513 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:19:27 2025-11-24 02:19:27,513 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-rest-go_odessa, stdin=None, shell=False, universal_newlines=False) 02:19:28 2025-11-24 02:19:28,240 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_odessa/.semver/odessa 02:19:28 4.0.1-dev.2 [Pipeline] } 02:19:28 $ docker exec --env ******** --env ******** d3505210409d54509f36cbb924c75c9cea501df66f2466e988dfab47e40622ad ssh-agent -k 02:19:28 unset SSH_AUTH_SOCK; 02:19:28 unset SSH_AGENT_PID; 02:19:28 echo Agent pid 37 killed; 02:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:19:28 + git semver [Pipeline] } 02:19:29 $ docker stop --time=1 d3505210409d54509f36cbb924c75c9cea501df66f2466e988dfab47e40622ad 02:19:30 $ docker rm -f --volumes d3505210409d54509f36cbb924c75c9cea501df66f2466e988dfab47e40622ad [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 02:19:30 + [ -d /w/workspace/gexfoundry_device-rest-go_odessa/archives ] 02:19:30 + ls -al /w/workspace/gexfoundry_device-rest-go_odessa/archives 02:19:30 total 16 02:19:30 drwxr-xr-x 3 root root 4096 Nov 24 02:04 . 02:19:30 drwxrwxr-x 11 jenkins jenkins 4096 Nov 24 02:19 .. 02:19:30 drwxr-xr-x 2 root root 4096 Nov 24 02:04 cost 02:19:30 -rw-r--r-- 1 root root 86 Nov 24 02:04 cost.csv 02:19:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_odessa/archives 02:19:30 + ls -al /w/workspace/gexfoundry_device-rest-go_odessa/archives 02:19:30 total 16 02:19:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 24 02:04 . 02:19:30 drwxrwxr-x 11 jenkins jenkins 4096 Nov 24 02:19 .. 02:19:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 24 02:04 cost 02:19:30 -rw-r--r-- 1 jenkins jenkins 86 Nov 24 02:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:19:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:19:32 ---> package-listing.sh 02:19:32 ++ facter osfamily 02:19:32 ++ tr '[:upper:]' '[:lower:]' 02:19:32 + OS_FAMILY=debian 02:19:32 + workspace=/w/workspace/gexfoundry_device-rest-go_odessa 02:19:32 + START_PACKAGES=/tmp/packages_start.txt 02:19:32 + END_PACKAGES=/tmp/packages_end.txt 02:19:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:19:32 + PACKAGES=/tmp/packages_start.txt 02:19:32 + '[' /w/workspace/gexfoundry_device-rest-go_odessa ']' 02:19:32 + PACKAGES=/tmp/packages_end.txt 02:19:32 + case "${OS_FAMILY}" in 02:19:32 + dpkg -l 02:19:32 + grep '^ii' 02:19:32 + '[' -f /tmp/packages_start.txt ']' 02:19:32 + '[' -f /tmp/packages_end.txt ']' 02:19:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:19:32 + '[' /w/workspace/gexfoundry_device-rest-go_odessa ']' 02:19:32 + mkdir -p /w/workspace/gexfoundry_device-rest-go_odessa/archives/ 02:19:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_odessa/archives/ [Pipeline] echo 02:19:32 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/gexfoundry_device-rest-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:19:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:19:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:33 prd-ubuntu20.04-docker-8c-8g-773677 does not seem to be running inside a container 02:19:33 $ 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/gexfoundry_device-rest-go_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_odessa -v /w/workspace/gexfoundry_device-rest-go_odessa:/w/workspace/gexfoundry_device-rest-go_odessa:rw,z -v /w/workspace/gexfoundry_device-rest-go_odessa@tmp:/w/workspace/gexfoundry_device-rest-go_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:19:33 $ docker top 566f928c5eb56a045ebdb290459d8b12fc6b0220ba00fb5033af6f33ca40bc5b -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:33 + touch /tmp/pre-build-complete [Pipeline] sh 02:19:34 + mkdir -p /var/log/sysstat [Pipeline] sh 02:19:34 + ls /var/log/sa-host 02:19:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:19:34 provisioning config files... 02:19:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_odessa@tmp/config16959348453405580723tmp [Pipeline] { [Pipeline] echo 02:19:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:19:34 ---> create-netrc.sh [Pipeline] } 02:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:19:35 ---> python-tools-install.sh [Pipeline] echo 02:19:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:19:35 ---> sudo-logs.sh 02:19:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:19:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:19:35 ---> job-cost.sh 02:19:35 lf-activate-venv: SKIPPING 02:19:35 DEBUG: total: 0.2199999988079071 02:19:35 INFO: Retrieving Stack Cost... 02:19:35 INFO: Retrieving Pricing Info for: v3-standard-8 02:19:36 INFO: Archiving Costs [Pipeline] echo 02:19:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:19:36 ---> logs-deploy.sh 02:19:36 lf-activate-venv: SKIPPING 02:19:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/odessa/3 02:19:36 INFO: archiving workspace using pattern(s): 02:19:37 Archives upload complete. 02:19:37 INFO: archiving logs to Nexus