Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a73ca0e3347ce9e377441e48af4acf8ad4954baa 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-ssh11920644004779178741.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 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-ssh3900390724183370824.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 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3202236990383568200.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > 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-ssh463903026578786130.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5106834130296546224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7814 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a73ca0e3347ce9e377441e48af4acf8ad4954baa (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (#492)" > git config core.sparsecheckout # timeout=10 > git checkout -f a73ca0e3347ce9e377441e48af4acf8ad4954baa # timeout=10 > git rev-list --no-walk bd4b122dfb0a4010481292c64dce67798bdd73bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:47:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:47:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:47:10 ========================================================= 01:47:10 EdgeX Global Pipelines Version Info 01:47:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:47:12 ------------------- 01:47:12 stable info: 01:47:12 ------------------- 01:47:12 Commited By: Cherry Wang cherry@iotechsys.com 01:47:12 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:47:12 Message: update stable to v1.0.276 01:47:12 ------------------- 01:47:12 experimental info: 01:47:12 ------------------- 01:47:12 Commited By: **** collab-it+edgex@linuxfoundation.org 01:47:12 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:47:12 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a73ca0e [Pipeline] echo 01:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:13 provisioning config files... 01:47:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10513743045700868891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:13 ---> ****-login.sh 01:47:13 nexus3.edgexfoundry.org:10001 01:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 01:47:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/go/credential-store/ 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10002 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 01:47:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/go/credential-store/ 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10003 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 01:47:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/go/credential-store/ 01:47:14 01:47:14 Login Succeeded 01:47:14 nexus3.edgexfoundry.org:10004 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 01:47:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/go/credential-store/ 01:47:14 01:47:14 Login Succeeded 01:47:14 ****.io 01:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:14 01:47:14 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:47:14 Configure a credential helper to remove this warning. See 01:47:14 https://docs.****.com/go/credential-store/ 01:47:14 01:47:14 Login Succeeded 01:47:14 ---> ****-login.sh ends [Pipeline] } 01:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:47:15 + git rev-list -1 --merges a73ca0e3347ce9e377441e48af4acf8ad4954baa~1..a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] echo 01:47:15 -----------> git rev-list -1 --merges a73ca0e3347ce9e377441e48af4acf8ad4954baa~1..a73ca0e3347ce9e377441e48af4acf8ad4954baa a73ca0e3347ce9e377441e48af4acf8ad4954baa [false] [Pipeline] sh 01:47:15 + git log --format=format:%s -1 a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] echo 01:47:15 ========================================================= 01:47:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:47:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:15 + git log --format=format:%s -1 a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] echo 01:47:15 [semverPrep] GIT_COMMIT: a73ca0e3347ce9e377441e48af4acf8ad4954baa, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (#492) [Pipeline] echo 01:47:15 [semverPrep] This is not a build commit. [Pipeline] sh 01:47:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:16 + grep -v github /etc/ssh/ssh_known_hosts 01:47:16 + [ -e /tmp/ssh_known_hosts ] 01:47:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:47:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:47:16 + sudo tee -a /etc/ssh/ssh_known_hosts 01:47:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:16 01:47:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:16 0.1.4: Pulling from edgex-devops/py-git-semver 01:47:16 3dae71ba6b94: Pulling fs layer 01:47:16 6bf1a483ea7c: Pulling fs layer 01:47:16 f5dfc541a4d3: Pulling fs layer 01:47:16 461d9e800cba: Pulling fs layer 01:47:16 80192f66455f: Pulling fs layer 01:47:16 2e8e34ca0e6c: Pulling fs layer 01:47:16 a29436f7fd5d: Pulling fs layer 01:47:16 923cac83aea3: Pulling fs layer 01:47:16 25ad8b0a4227: Pulling fs layer 01:47:16 db01528c6b51: Pulling fs layer 01:47:16 28988de357af: Pulling fs layer 01:47:16 a29436f7fd5d: Waiting 01:47:16 923cac83aea3: Waiting 01:47:16 25ad8b0a4227: Waiting 01:47:16 db01528c6b51: Waiting 01:47:16 28988de357af: Waiting 01:47:16 80192f66455f: Waiting 01:47:16 461d9e800cba: Waiting 01:47:16 2e8e34ca0e6c: Waiting 01:47:16 6bf1a483ea7c: Verifying Checksum 01:47:16 6bf1a483ea7c: Download complete 01:47:16 461d9e800cba: Verifying Checksum 01:47:16 461d9e800cba: Download complete 01:47:16 80192f66455f: Verifying Checksum 01:47:16 80192f66455f: Download complete 01:47:17 f5dfc541a4d3: Verifying Checksum 01:47:17 f5dfc541a4d3: Download complete 01:47:17 3dae71ba6b94: Download complete 01:47:17 923cac83aea3: Download complete 01:47:17 25ad8b0a4227: Verifying Checksum 01:47:17 25ad8b0a4227: Download complete 01:47:17 db01528c6b51: Verifying Checksum 01:47:17 db01528c6b51: Download complete 01:47:17 28988de357af: Verifying Checksum 01:47:17 28988de357af: Download complete 01:47:17 a29436f7fd5d: Verifying Checksum 01:47:17 a29436f7fd5d: Download complete 01:47:17 2e8e34ca0e6c: Verifying Checksum 01:47:17 2e8e34ca0e6c: Download complete 01:47:18 3dae71ba6b94: Pull complete 01:47:18 6bf1a483ea7c: Pull complete 01:47:19 f5dfc541a4d3: Pull complete 01:47:19 461d9e800cba: Pull complete 01:47:19 80192f66455f: Pull complete 01:47:24 2e8e34ca0e6c: Pull complete 01:47:25 a29436f7fd5d: Pull complete 01:47:25 923cac83aea3: Pull complete 01:47:25 25ad8b0a4227: Pull complete 01:47:25 db01528c6b51: Pull complete 01:47:25 28988de357af: Pull complete 01:47:25 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:47:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:26 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 01:47:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:29 $ docker top f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf -eo pid,comm 01:47:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:47:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:29 [ssh-agent] Looking for ssh-agent implementation... 01:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:29 $ docker exec f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf ssh-agent 01:47:29 SSH_AUTH_SOCK=/tmp/ssh-z8YdPP9Nlz8U/agent.33 01:47:29 SSH_AGENT_PID=39 01:47:29 Running ssh-add (command line suppressed) 01:47:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2569106721358093319.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2569106721358093319.key) 01:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] sh 01:47:30 + git tag --points-at HEAD [Pipeline] } 01:47:30 $ docker exec --env ******** --env ******** f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf ssh-agent -k 01:47:30 unset SSH_AUTH_SOCK; 01:47:30 unset SSH_AGENT_PID; 01:47:30 echo Agent pid 39 killed; 01:47:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:47:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:30 [ssh-agent] Looking for ssh-agent implementation... 01:47:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:30 $ docker exec f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf ssh-agent 01:47:31 SSH_AUTH_SOCK=/tmp/ssh-1omuCC7sp11l/agent.86 01:47:31 SSH_AGENT_PID=92 01:47:31 Running ssh-add (command line suppressed) 01:47:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7508958484910107761.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7508958484910107761.key) 01:47:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:31 + git semver init 01:47:31 2025-08-29 01:47:31,655 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:47:31 2025-08-29 01:47:31,660 [run_init] DEBUG init version:0.0.0 force:False 01:47:31 2025-08-29 01:47:31,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:47:31 2025-08-29 01:47:31,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:47:31 2025-08-29 01:47:31,661 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 01:47:33 2025-08-29 01:47:33,288 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:47:33 2025-08-29 01:47:33,288 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:47:33 2025-08-29 01:47:33,288 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:33 2025-08-29 01:47:33,288 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:47:33 4.1.0-dev.13 [Pipeline] } 01:47:33 $ docker exec --env ******** --env ******** f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf ssh-agent -k 01:47:33 unset SSH_AUTH_SOCK; 01:47:33 unset SSH_AGENT_PID; 01:47:33 echo Agent pid 92 killed; 01:47:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:34 + git semver [Pipeline] } 01:47:34 $ docker stop --time=1 f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf 01:47:35 $ docker rm -f --volumes f6272ed0ccda1a002d38b9ab738ba180c5d3d199bfc16d7ab2b2dc7afadde8bf [Pipeline] // withDockerContainer [Pipeline] sh 01:47:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:47:36 Stashed 1 file(s) [Pipeline] echo 01:47:36 [edgeXSemver]: initialized semver on version 4.1.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:36 provisioning config files... 01:47:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6603448082078662514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:36 ---> ****-login.sh 01:47:36 nexus3.edgexfoundry.org:10001 01:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:36 Login Succeeded 01:47:36 nexus3.edgexfoundry.org:10002 01:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:36 Login Succeeded 01:47:36 nexus3.edgexfoundry.org:10003 01:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:36 Login Succeeded 01:47:36 nexus3.edgexfoundry.org:10004 01:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:36 Login Succeeded 01:47:36 ****.io 01:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:37 Login Succeeded 01:47:37 ---> ****-login.sh ends [Pipeline] } 01:47:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:47:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:47:37 ========================================================= 01:47:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:47:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:47:38 #0 building with "default" instance using docker driver 01:47:38 01:47:38 #1 [internal] load build definition from Dockerfile 01:47:38 #1 transferring dockerfile: 1.74kB done 01:47:38 #1 DONE 0.0s 01:47:38 01:47:38 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:47:38 #2 DONE 0.1s 01:47:38 01:47:38 #3 [internal] load .dockerignore 01:47:38 #3 transferring context: 193B done 01:47:38 #3 DONE 0.0s 01:47:38 01:47:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:47:38 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 01:47:38 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 01:47:38 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 01:47:38 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:47:38 #4 ... 01:47:38 01:47:38 #5 [internal] load build context 01:47:38 #5 transferring context: 21.64MB 0.2s done 01:47:38 #5 DONE 0.2s 01:47:38 01:47:38 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:47:38 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 01:47:38 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:47:38 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.0s done 01:47:38 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 14.68MB / 74.06MB 0.2s 01:47:38 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:47:38 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 01:47:38 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.2s done 01:47:38 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0B / 2.38MB 0.2s 01:47:38 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0B / 103.05MB 0.2s 01:47:38 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 30.41MB / 74.06MB 0.3s 01:47:38 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:47:38 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.3s done 01:47:38 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 1.05MB / 13.29MB 0.3s 01:47:38 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 01:47:38 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 60.03MB / 74.06MB 0.5s 01:47:38 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 22.02MB / 103.05MB 0.5s 01:47:38 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 11.53MB / 13.29MB 0.5s 01:47:38 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 01:47:39 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s 01:47:39 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 51.38MB / 103.05MB 0.7s 01:47:39 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.7s 01:47:39 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.9s done 01:47:39 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 66.06MB / 103.05MB 0.9s 01:47:39 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.9s done 01:47:39 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 89.13MB / 103.05MB 1.0s 01:47:39 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 0.1s 01:47:39 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.1s 01:47:39 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.4s done 01:47:45 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.8s done 01:47:45 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:47:45 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:47:45 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:47:45 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 01:47:45 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 01:47:45 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 01:47:45 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 01:47:47 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.9s done 01:47:47 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 01:47:48 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.5s done 01:47:48 #4 DONE 9.9s 01:47:48 01:47:48 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:47:48 #6 0.213 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:47:51 Still waiting to schedule task 01:47:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7812’ 01:47:51 #6 3.595 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:47:52 #6 3.915 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:47:52 #6 3.925 (2/4) Installing libedit (20240517.3.1-r0) 01:47:52 #6 3.932 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:47:52 #6 3.959 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:47:52 #6 3.971 Executing busybox-1.36.1-r29.trigger 01:47:52 #6 3.978 OK: 252 MiB in 62 packages 01:47:55 #6 DONE 7.4s 01:47:56 01:47:56 #7 [builder 3/7] WORKDIR /device-rest-go 01:47:56 #7 DONE 0.0s 01:47:56 01:47:56 #8 [builder 4/7] COPY go.mod vendor* ./ 01:47:56 #8 DONE 0.0s 01:47:56 01:47:56 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:28 #9 DONE 27.5s 01:48:28 01:48:28 #10 [builder 6/7] COPY . . 01:48:28 #10 DONE 0.2s 01:48:28 01:48:28 #11 [builder 7/7] RUN echo noop 01:48:28 #11 0.204 noop 01:48:28 #11 DONE 0.2s 01:48:28 01:48:28 #12 exporting to image 01:48:28 #12 exporting layers 01:48:30 #12 exporting layers 7.0s done 01:48:30 #12 writing image sha256:8c1a5f909be9723284ae0271c95a42007f0192feca26a87e18756acdbc6a4155 done 01:48:30 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:48:30 #12 DONE 7.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:31 + docker inspect -f . ci-base-image-x86_64 01:48:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:31 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 01:48:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:31 $ docker top 2f6fde03ffcb471fdc1827a02624df5ad8b1481a5971a5976828690895c07907 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:31 + go version 01:48:31 go version go1.23.9 linux/amd64 [Pipeline] } 01:48:31 $ docker stop --time=1 2f6fde03ffcb471fdc1827a02624df5ad8b1481a5971a5976828690895c07907 01:48:33 $ docker rm -f --volumes 2f6fde03ffcb471fdc1827a02624df5ad8b1481a5971a5976828690895c07907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:33 + docker inspect -f . ci-base-image-x86_64 01:48:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:33 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 01:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:33 $ docker top 39e84b0cc37ac7066e31beb41002996076dfb1270725c3640d9524c75bd89ff1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:48:34 + make test 01:48:34 go test ./... -coverprofile=coverage.out ./... 01:48:36 ? github.com/edgexfoundry/device-rest-go [no test files] 01:48:54 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:48:54 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 01:49:02 go vet ./... 01:49:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:49:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:49:07 ./bin/test-attribution-txt.sh 01:49:07 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:49:07 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:49:07 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:49:07 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:49:07 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 01:49:07 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:49:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:49:07 $ docker stop --time=1 39e84b0cc37ac7066e31beb41002996076dfb1270725c3640d9524c75bd89ff1 01:49:11 $ docker rm -f --volumes 39e84b0cc37ac7066e31beb41002996076dfb1270725c3640d9524c75bd89ff1 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:13 + ls -al . 01:49:13 total 244 01:49:13 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 01:48 . 01:49:13 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 01:47 .. 01:49:13 -rw-rw-r-- 1 jenkins jenkins 151 Aug 29 01:47 .dockerignore 01:49:13 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 01:48 .git 01:49:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:47 .github 01:49:13 -rw-rw-r-- 1 jenkins jenkins 264 Aug 29 01:47 .gitignore 01:49:13 -rw-rw-r-- 1 jenkins jenkins 41 Aug 29 01:47 .golangci.yml 01:49:13 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 01:47 .semver 01:49:13 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 29 01:47 Attribution.txt 01:49:13 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 29 01:47 CHANGELOG.md 01:49:13 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 29 01:47 Dockerfile 01:49:13 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 01:47 GOVERNANCE.md 01:49:13 -rw-rw-r-- 1 jenkins jenkins 680 Aug 29 01:47 Jenkinsfile 01:49:13 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 29 01:47 LICENSE 01:49:13 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 29 01:47 Makefile 01:49:13 -rw-rw-r-- 1 jenkins jenkins 620 Aug 29 01:47 OWNERS.md 01:49:13 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 29 01:47 README.md 01:49:13 -rw-rw-r-- 1 jenkins jenkins 12 Aug 29 01:47 VERSION 01:49:13 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 01:47 bin 01:49:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:47 cmd 01:49:13 -rw-r--r-- 1 jenkins jenkins 14565 Aug 29 01:48 coverage.out 01:49:13 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 01:47 driver 01:49:13 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 29 01:47 go.mod 01:49:13 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 29 01:47 go.sum 01:49:13 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:47 openapi 01:49:13 -rw-rw-r-- 1 jenkins jenkins 713 Aug 29 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:13 + 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=a73ca0e3347ce9e377441e48af4acf8ad4954baa --label arch=amd64 --label version=4.1.0-dev.13 . 01:49:13 #0 building with "default" instance using docker driver 01:49:13 01:49:13 #1 [internal] load build definition from Dockerfile 01:49:13 #1 transferring dockerfile: 1.74kB done 01:49:13 #1 DONE 0.0s 01:49:13 01:49:13 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:49:13 #2 DONE 0.0s 01:49:13 01:49:13 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:49:13 #3 DONE 0.1s 01:49:13 01:49:13 #4 [internal] load .dockerignore 01:49:13 #4 transferring context: 193B done 01:49:13 #4 DONE 0.0s 01:49:13 01:49:13 #5 [internal] load build context 01:49:13 #5 transferring context: 18.46kB done 01:49:13 #5 DONE 0.0s 01:49:13 01:49:13 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:49:13 #6 DONE 0.1s 01:49:13 01:49:13 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:49:13 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 01:49:13 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 01:49:13 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 01:49:13 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 01:49:13 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s 01:49:13 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.2s done 01:49:13 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 01:49:14 #7 DONE 0.4s 01:49:14 01:49:14 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:49:14 #8 0.221 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:49:14 #8 0.295 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:49:14 #8 ... 01:49:14 01:49:14 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:49:14 #9 0.290 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:49:14 #9 0.458 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:49:14 #9 0.788 OK: 252 MiB in 62 packages 01:49:14 #9 DONE 0.9s 01:49:14 01:49:14 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:49:14 #8 0.537 (1/1) Installing dumb-init (1.2.5-r3) 01:49:14 #8 0.544 Executing busybox-1.36.1-r29.trigger 01:49:14 #8 0.550 OK: 8 MiB in 15 packages 01:49:14 #8 DONE 0.6s 01:49:14 01:49:14 #10 [builder 3/7] WORKDIR /device-rest-go 01:49:14 #10 DONE 0.0s 01:49:14 01:49:14 #11 [builder 4/7] COPY go.mod vendor* ./ 01:49:14 #11 DONE 0.0s 01:49:14 01:49:14 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:15 #12 DONE 0.6s 01:49:15 01:49:15 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:49:15 #13 0.435 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:49:15 #13 0.504 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:49:15 #13 0.765 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 01:49:15 #13 0.780 Executing busybox-1.36.1-r30.post-upgrade 01:49:15 #13 0.828 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 01:49:15 #13 0.831 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 01:49:15 #13 0.835 Executing busybox-1.36.1-r30.trigger 01:49:15 #13 0.842 OK: 8 MiB in 15 packages 01:49:15 #13 DONE 1.0s 01:49:15 01:49:15 #14 [builder 6/7] COPY . . 01:49:15 #14 DONE 0.2s 01:49:15 01:49:15 #15 [builder 7/7] RUN make build 01:49:15 #15 0.274 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.32 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:49:37 #15 DONE 21.6s 01:49:37 01:49:37 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 01:49:37 #16 DONE 0.3s 01:49:37 01:49:37 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 01:49:37 #17 DONE 0.0s 01:49:37 01:49:37 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 01:49:37 #18 DONE 0.0s 01:49:37 01:49:37 #19 exporting to image 01:49:37 #19 exporting layers 01:49:37 #19 exporting layers 0.2s done 01:49:37 #19 writing image sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:49:37 #19 naming to docker.io/library/device-rest done 01:49:37 #19 DONE 0.2s 01:49:37 01:49:37 1 warning found (use docker --debug to expand): 01:49:37  - UndefinedVar: Usage of undefined variable '$VERSION' (line 41) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:37 provisioning config files... 01:49:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14063578388124572367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:38 ---> ****-login.sh 01:49:38 nexus3.edgexfoundry.org:10001 01:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 Login Succeeded 01:49:38 nexus3.edgexfoundry.org:10002 01:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 Login Succeeded 01:49:38 nexus3.edgexfoundry.org:10003 01:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 Login Succeeded 01:49:38 nexus3.edgexfoundry.org:10004 01:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 Login Succeeded 01:49:38 ****.io 01:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 Login Succeeded 01:49:38 ---> ****-login.sh ends [Pipeline] } 01:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:49:38 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:49:38 a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:49:38 latest 01:49:38 4.1.0-dev.13 01:49:38 a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:49:38 main 01:49:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:49:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:49:39 47dd5377b3e0: Preparing 01:49:39 f08c83887b5b: Preparing 01:49:39 6eaf44ffd637: Preparing 01:49:39 09f58e445f46: Preparing 01:49:39 c5377a72066e: Preparing 01:49:39 097100c76c15: Preparing 01:49:39 097100c76c15: Waiting 01:49:39 f08c83887b5b: Pushed 01:49:39 c5377a72066e: Pushed 01:49:39 47dd5377b3e0: Pushed 01:49:39 097100c76c15: Layer already exists 01:49:39 09f58e445f46: Pushed 01:49:42 6eaf44ffd637: Pushed 01:49:42 a73ca0e3347ce9e377441e48af4acf8ad4954baa: digest: sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:49:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:49:43 47dd5377b3e0: Preparing 01:49:43 f08c83887b5b: Preparing 01:49:43 6eaf44ffd637: Preparing 01:49:43 09f58e445f46: Preparing 01:49:43 c5377a72066e: Preparing 01:49:43 097100c76c15: Preparing 01:49:43 097100c76c15: Waiting 01:49:43 c5377a72066e: Layer already exists 01:49:43 09f58e445f46: Layer already exists 01:49:43 47dd5377b3e0: Layer already exists 01:49:43 f08c83887b5b: Layer already exists 01:49:43 6eaf44ffd637: Layer already exists 01:49:43 097100c76c15: Layer already exists 01:49:43 latest: digest: sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 01:49:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:49:44 47dd5377b3e0: Preparing 01:49:44 f08c83887b5b: Preparing 01:49:44 6eaf44ffd637: Preparing 01:49:44 09f58e445f46: Preparing 01:49:44 c5377a72066e: Preparing 01:49:44 097100c76c15: Preparing 01:49:44 097100c76c15: Waiting 01:49:44 09f58e445f46: Layer already exists 01:49:44 f08c83887b5b: Layer already exists 01:49:44 c5377a72066e: Layer already exists 01:49:44 47dd5377b3e0: Layer already exists 01:49:44 6eaf44ffd637: Layer already exists 01:49:44 097100c76c15: Layer already exists 01:49:44 4.1.0-dev.13: digest: sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:49:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:49:44 47dd5377b3e0: Preparing 01:49:44 f08c83887b5b: Preparing 01:49:44 6eaf44ffd637: Preparing 01:49:44 09f58e445f46: Preparing 01:49:44 c5377a72066e: Preparing 01:49:44 097100c76c15: Preparing 01:49:44 097100c76c15: Waiting 01:49:44 47dd5377b3e0: Layer already exists 01:49:44 09f58e445f46: Layer already exists 01:49:44 6eaf44ffd637: Layer already exists 01:49:44 c5377a72066e: Layer already exists 01:49:44 f08c83887b5b: Layer already exists 01:49:44 097100c76c15: Layer already exists 01:49:44 a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13: digest: sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:49:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:49:45 47dd5377b3e0: Preparing 01:49:45 f08c83887b5b: Preparing 01:49:45 6eaf44ffd637: Preparing 01:49:45 09f58e445f46: Preparing 01:49:45 c5377a72066e: Preparing 01:49:45 097100c76c15: Preparing 01:49:45 097100c76c15: Waiting 01:49:45 6eaf44ffd637: Layer already exists 01:49:45 47dd5377b3e0: Layer already exists 01:49:45 09f58e445f46: Layer already exists 01:49:45 f08c83887b5b: Layer already exists 01:49:45 c5377a72066e: Layer already exists 01:49:45 097100c76c15: Layer already exists 01:49:45 main: digest: sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:49:45 ===================================================== [Pipeline] echo 01:49:45 taggedImages: 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:49:45 ========================================================= 01:49:45 [edgeXBuildMultiArch] RAW Config: 01:49:45 images: 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:49:45 - nexus3.edgexfoundry.org:10004/device-rest:main 01:49:45 settingsFile: 01:49:45 device-rest-go-settings 01:49:45 ========================================================= [Pipeline] node 01:50:00 Still waiting to schedule task 01:50:00 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:51:03 Running on prd-centos7-docker-4c-2g-7818 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:03 provisioning config files... 01:51:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17799618032757583370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:04 ---> ****-login.sh 01:51:04 nexus3.edgexfoundry.org:10001 01:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:04 Configure a credential helper to remove this warning. See 01:51:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:04 01:51:04 Login Succeeded 01:51:04 nexus3.edgexfoundry.org:10002 01:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:04 Configure a credential helper to remove this warning. See 01:51:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:04 01:51:04 Login Succeeded 01:51:04 nexus3.edgexfoundry.org:10003 01:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:04 Configure a credential helper to remove this warning. See 01:51:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:04 01:51:04 Login Succeeded 01:51:04 nexus3.edgexfoundry.org:10004 01:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:04 Configure a credential helper to remove this warning. See 01:51:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:04 01:51:04 Login Succeeded 01:51:04 ****.io 01:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:04 Configure a credential helper to remove this warning. See 01:51:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:04 01:51:04 Login Succeeded 01:51:04 ---> ****-login.sh ends [Pipeline] } 01:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:51:05 + docker buildx ls 01:51:05 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:51:05 default * docker 01:51:05 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:51:05 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:51:05 edgex-builder [Pipeline] sh 01:51:06 + docker buildx inspect --bootstrap 01:51:06 #1 [internal] booting buildkit 01:51:06 #1 pulling image moby/buildkit:buildx-stable-1 01:51:09 #1 pulling image moby/buildkit:buildx-stable-1 3.2s done 01:51:09 #1 creating container buildx_buildkit_edgex-builder0 01:51:11 #1 creating container buildx_buildkit_edgex-builder0 2.2s done 01:51:11 #1 DONE 5.4s 01:51:11 Name: edgex-builder 01:51:11 Driver: docker-container 01:51:11 01:51:11 Nodes: 01:51:11 Name: edgex-builder0 01:51:11 Endpoint: unix:///var/run/docker.sock 01:51:11 Status: running 01:51:11 Buildkit: v0.23.2 01:51:11 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:51:12 + docker buildx ls 01:51:12 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:51:12 edgex-builder * docker-container 01:51:12 edgex-builder0 unix:///var/run/docker.sock running v0.23.2 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:51:12 default docker 01:51:12 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:51:12 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa' 01:51:12 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa --push - 01:51:12 #1 [internal] load build definition from Dockerfile 01:51:12 #1 transferring dockerfile: 196B done 01:51:12 #1 DONE 0.1s 01:51:12 01:51:12 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:51:12 #2 DONE 0.1s 01:51:12 01:51:12 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa 01:51:12 #3 DONE 0.1s 01:51:12 01:51:12 #4 [internal] load .dockerignore 01:51:12 #4 transferring context: 2B done 01:51:12 #4 DONE 0.0s 01:51:12 01:51:12 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:12 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.0s done 01:51:12 #5 DONE 0.0s 01:51:12 01:51:12 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:12 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.0s done 01:51:12 #6 DONE 0.1s 01:51:13 01:51:13 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:51:13 #7 DONE 0.0s 01:51:13 01:51:13 #8 exporting to image 01:51:13 #8 exporting layers done 01:51:13 #8 exporting manifest sha256:a4586e285a2f0b2bc6b547540e82cf10572c4e2c9b3cc11b00513d1ffc119abe 0.0s done 01:51:13 #8 exporting config sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:51:13 #8 exporting manifest sha256:0cabaa95ad3246dc92e5cf3d70abf1420113b5d8f5e1f6bb540d3b931e8837a1 done 01:51:13 #8 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 done 01:51:13 #8 exporting manifest list sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 done 01:51:13 #8 pushing layers 0.1s done 01:51:13 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 01:51:13 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:51:13 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.1s done 01:51:13 #8 DONE 0.2s 01:51:13 01:51:13 1 warning found (use --debug to expand): 01:51:13  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:51:13 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:51:13 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:51:13 #1 [internal] load build definition from Dockerfile 01:51:13 #1 transferring dockerfile: 162B done 01:51:13 #1 DONE 0.0s 01:51:13 01:51:13 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:51:13 #2 DONE 0.0s 01:51:13 01:51:13 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:51:13 #3 DONE 0.0s 01:51:13 01:51:13 #4 [internal] load .dockerignore 01:51:13 #4 transferring context: 2B done 01:51:13 #4 DONE 0.0s 01:51:13 01:51:13 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:13 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a done 01:51:13 #5 DONE 0.0s 01:51:13 01:51:13 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:13 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.0s done 01:51:13 #6 CACHED 01:51:13 01:51:13 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:13 #5 CACHED 01:51:13 01:51:13 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:51:13 #7 DONE 0.0s 01:51:13 01:51:13 #8 exporting to image 01:51:13 #8 exporting layers done 01:51:13 #8 exporting manifest sha256:a4586e285a2f0b2bc6b547540e82cf10572c4e2c9b3cc11b00513d1ffc119abe done 01:51:13 #8 exporting config sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:51:13 #8 exporting manifest sha256:0cabaa95ad3246dc92e5cf3d70abf1420113b5d8f5e1f6bb540d3b931e8837a1 done 01:51:13 #8 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 done 01:51:13 #8 exporting manifest list sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 done 01:51:13 #8 pushing layers 0.0s done 01:51:13 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.1s done 01:51:13 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:51:13 #8 DONE 0.1s 01:51:13 01:51:13 1 warning found (use --debug to expand): 01:51:13  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:51:14 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13' 01:51:14 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 --push - 01:51:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7817 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:51:14 Running in /w/workspace/device-rest-go/217 [Pipeline] { [Pipeline] checkout 01:51:14 #1 [internal] load build definition from Dockerfile 01:51:14 #1 transferring dockerfile: 168B done 01:51:14 #1 DONE 0.1s 01:51:14 01:51:14 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 01:51:14 #2 DONE 0.0s 01:51:14 01:51:14 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13 01:51:14 #3 DONE 0.1s 01:51:14 01:51:14 #4 [internal] load .dockerignore 01:51:14 #4 transferring context: 2B done 01:51:14 #4 DONE 0.1s 01:51:14 01:51:14 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:14 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:14 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.2s done 01:51:14 #5 CACHED 01:51:14 01:51:14 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:14 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.2s done 01:51:14 #6 CACHED 01:51:14 01:51:14 #7 exporting to image 01:51:14 #7 exporting layers done 01:51:14 #7 exporting manifest sha256:a4586e285a2f0b2bc6b547540e82cf10572c4e2c9b3cc11b00513d1ffc119abe done 01:51:14 #7 exporting config sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:51:14 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:51:14 #7 exporting manifest sha256:0cabaa95ad3246dc92e5cf3d70abf1420113b5d8f5e1f6bb540d3b931e8837a1 0.1s done 01:51:14 #7 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 0.0s done 01:51:14 #7 exporting manifest list sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.0s done 01:51:14 #7 pushing layers 0.0s done 01:51:14 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.13@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.1s done 01:51:14 #7 DONE 0.2s 01:51:14 01:51:14 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:51:14 #8 DONE 0.0s 01:51:15 01:51:15 1 warning found (use --debug to expand): 01:51:15  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:51:17 The recommended git tool is: git 01:51:17 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13' 01:51:17 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 --push - 01:51:17 #1 [internal] load build definition from Dockerfile 01:51:17 #1 transferring dockerfile: 209B done 01:51:17 #1 DONE 0.0s 01:51:17 01:51:17 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:51:17 #2 DONE 0.0s 01:51:17 01:51:17 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 01:51:17 #3 DONE 0.0s 01:51:17 01:51:17 #4 [internal] load .dockerignore 01:51:17 #4 transferring context: 2B done 01:51:17 #4 DONE 0.0s 01:51:17 01:51:17 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:17 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 0.0s done 01:51:17 #5 CACHED 01:51:17 01:51:17 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:17 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a done 01:51:17 #6 CACHED 01:51:17 01:51:17 #7 exporting to image 01:51:17 #7 exporting layers done 01:51:17 #7 exporting manifest sha256:a4586e285a2f0b2bc6b547540e82cf10572c4e2c9b3cc11b00513d1ffc119abe done 01:51:17 #7 exporting config sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:51:17 #7 exporting manifest sha256:0cabaa95ad3246dc92e5cf3d70abf1420113b5d8f5e1f6bb540d3b931e8837a1 done 01:51:17 #7 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 01:51:17 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:51:17 #7 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 done 01:51:17 #7 exporting manifest list sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 done 01:51:17 #7 pushing layers 0.0s done 01:51:17 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.1s done 01:51:17 #7 DONE 0.1s 01:51:17 01:51:17 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:51:17 #8 DONE 0.0s 01:51:17 01:51:17 1 warning found (use --debug to expand): 01:51:17  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:51:18 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:51:18 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:51:18 #1 [internal] load build definition from Dockerfile 01:51:18 #1 transferring dockerfile: 160B done 01:51:18 #1 DONE 0.0s 01:51:18 01:51:18 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:51:18 #2 DONE 0.0s 01:51:18 01:51:18 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:51:18 #3 DONE 0.0s 01:51:18 01:51:18 #4 [internal] load .dockerignore 01:51:18 #4 transferring context: 2B done 01:51:18 #4 DONE 0.0s 01:51:18 01:51:18 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:18 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a done 01:51:18 #5 CACHED 01:51:18 01:51:18 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a 01:51:18 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:243982c982aec8cdb5009d6870b4f9e7fcbf21c720a843ec6a9ec683b505ae2a done 01:51:18 #6 CACHED 01:51:18 01:51:18 #7 exporting to image 01:51:18 #7 exporting layers done 01:51:18 #7 exporting manifest sha256:a4586e285a2f0b2bc6b547540e82cf10572c4e2c9b3cc11b00513d1ffc119abe done 01:51:18 #7 exporting config sha256:d6999391fc6a37d478152e043ebf35cbac291f8843d943f200adc3d22089a57c done 01:51:18 #7 exporting manifest sha256:0cabaa95ad3246dc92e5cf3d70abf1420113b5d8f5e1f6bb540d3b931e8837a1 done 01:51:18 #7 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 01:51:18 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:51:18 #7 exporting config sha256:cc959cfc3af18f1f214857456d644015390519e38caba449d8297312a8b32366 done 01:51:18 #7 exporting manifest list sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 done 01:51:18 #7 pushing layers 0.0s done 01:51:18 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:ad0e2df06fffb107b57519aaeea6cb75679668866d0aa6acb8a218d1ea85d1d5 0.1s done 01:51:18 #7 DONE 0.1s 01:51:18 01:51:18 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:51:18 #8 DONE 0.0s 01:51:18 01:51:18 1 warning found (use --debug to expand): 01:51:18  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:51:18 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:51:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:51:19 ---> package-listing.sh 01:51:19 ++ facter osfamily 01:51:19 ++ tr '[:upper:]' '[:lower:]' 01:51:19 + OS_FAMILY=redhat 01:51:19 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:51:19 + START_PACKAGES=/tmp/packages_start.txt 01:51:19 + END_PACKAGES=/tmp/packages_end.txt 01:51:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:51:19 + PACKAGES=/tmp/packages_start.txt 01:51:19 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:51:19 + PACKAGES=/tmp/packages_end.txt 01:51:19 + case "${OS_FAMILY}" in 01:51:19 + sort 01:51:19 + rpm -qa 01:51:20 + '[' -f /tmp/packages_start.txt ']' 01:51:20 + '[' -f /tmp/packages_end.txt ']' 01:51:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:51:20 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:51:20 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:51:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:51:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:51:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:21 01:51:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:21 using credential edgex-jenkins-ssh 01:51:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:21 latest: Pulling from edgex-lftools-log-publisher 01:51:21 5eb5b503b376: Pulling fs layer 01:51:21 5c69ac0246d0: Pulling fs layer 01:51:21 ec43610c2a17: Pulling fs layer 01:51:21 3a2ae6a8a46f: Pulling fs layer 01:51:21 33b1e0a273af: Pulling fs layer 01:51:21 5d3b04190fa2: Pulling fs layer 01:51:21 2f39f015ded8: Pulling fs layer 01:51:21 33b1e0a273af: Waiting 01:51:21 5d3b04190fa2: Waiting 01:51:21 2f39f015ded8: Waiting 01:51:21 3a2ae6a8a46f: Waiting 01:51:21 5c69ac0246d0: Verifying Checksum 01:51:21 5c69ac0246d0: Download complete 01:51:21 3a2ae6a8a46f: Verifying Checksum 01:51:21 3a2ae6a8a46f: Download complete 01:51:21 33b1e0a273af: Verifying Checksum 01:51:21 33b1e0a273af: Download complete 01:51:21 5d3b04190fa2: Verifying Checksum 01:51:21 5d3b04190fa2: Download complete 01:51:21 ec43610c2a17: Verifying Checksum 01:51:21 ec43610c2a17: Download complete 01:51:21 Cloning the remote Git repository 01:51:21 5eb5b503b376: Verifying Checksum 01:51:21 5eb5b503b376: Download complete 01:51:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:51:21 > git init /w/workspace/device-rest-go/217 # timeout=10 01:51:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:51:21 > git --version # timeout=10 01:51:21 > git --version # 'git version 2.25.1' 01:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:22 2f39f015ded8: Verifying Checksum 01:51:22 2f39f015ded8: Download complete 01:51:23 5eb5b503b376: Pull complete 01:51:23 5c69ac0246d0: Pull complete 01:51:23 ec43610c2a17: Pull complete 01:51:23 3a2ae6a8a46f: Pull complete 01:51:23 33b1e0a273af: Pull complete 01:51:24 5d3b04190fa2: Pull complete 01:51:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:51:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:26 Avoid second fetch 01:51:26 Checking out Revision a73ca0e3347ce9e377441e48af4acf8ad4954baa (main) 01:51:26 > git config core.sparsecheckout # timeout=10 01:51:26 > git checkout -f a73ca0e3347ce9e377441e48af4acf8ad4954baa # timeout=10 01:51:27 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (#492)" 01:51:28 2f39f015ded8: Pull complete 01:51:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:28 prd-centos7-docker-4c-2g-7818 does not seem to be running inside a container 01:51:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:32 $ docker top 38dced54ee1d75022f5e43c605a6ff8d5a01368628758c0a71541c21eb764586 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:32 provisioning config files... 01:51:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/217@tmp/config5472698536694156865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:51:33 + mkdir -p /var/log/sysstat [Pipeline] sh 01:51:33 ---> ****-login.sh 01:51:33 nexus3.edgexfoundry.org:10001 01:51:33 + ls /var/log/sa-host 01:51:33 ls: cannot access '/var/log/sa-host': No such file or directory 01:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:51:33 provisioning config files... 01:51:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11404975454989684419tmp [Pipeline] { [Pipeline] echo 01:51:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:33 Configure a credential helper to remove this warning. See 01:51:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:33 01:51:33 Login Succeeded 01:51:33 nexus3.edgexfoundry.org:10002 01:51:34 ---> create-netrc.sh [Pipeline] } 01:51:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:34 Configure a credential helper to remove this warning. See 01:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:34 01:51:34 Login Succeeded 01:51:34 nexus3.edgexfoundry.org:10003 01:51:34 ---> python-tools-install.sh [Pipeline] echo 01:51:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:34 ---> sudo-logs.sh 01:51:34 Archiving 'sudo' log.. 01:51:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-7818.novalocal: Name or service not known 01:51:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-7818.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:51:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:34 Configure a credential helper to remove this warning. See 01:51:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:34 01:51:34 Login Succeeded 01:51:34 nexus3.edgexfoundry.org:10004 01:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:35 ---> job-cost.sh 01:51:35 lf-activate-venv: SKIPPING 01:51:35 INFO: No Stack... 01:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:35 Configure a credential helper to remove this warning. See 01:51:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:35 01:51:35 Login Succeeded 01:51:35 ****.io 01:51:35 INFO: Retrieving Pricing Info for: v3-standard-2 01:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:35 INFO: Archiving Costs [Pipeline] echo 01:51:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:51:35 Configure a credential helper to remove this warning. See 01:51:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:51:35 01:51:35 Login Succeeded 01:51:35 ---> ****-login.sh ends [Pipeline] } 01:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:51:35 ---> logs-deploy.sh 01:51:35 lf-activate-venv: SKIPPING 01:51:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/217 01:51:35 INFO: archiving workspace using pattern(s): [Pipeline] echo 01:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:51:35 ========================================================= 01:51:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:51:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:51:36 Sending build context to Docker daemon 141.8kB 01:51:36 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:51:36 Step 2/12 : FROM ${BASE} AS builder 01:51:36 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:51:36 94e9d8af2201: Pulling fs layer 01:51:36 a6c56e8762df: Pulling fs layer 01:51:36 f0f3c8884826: Pulling fs layer 01:51:36 c7e7622c144d: Pulling fs layer 01:51:36 4f4fb700ef54: Pulling fs layer 01:51:36 b4c3b6d88c5a: Pulling fs layer 01:51:36 ba8bce9d2590: Pulling fs layer 01:51:36 ca778ea9c289: Pulling fs layer 01:51:36 4f4fb700ef54: Waiting 01:51:36 b4c3b6d88c5a: Waiting 01:51:36 ba8bce9d2590: Waiting 01:51:36 ca778ea9c289: Waiting 01:51:36 c7e7622c144d: Waiting 01:51:36 a6c56e8762df: Download complete 01:51:36 c7e7622c144d: Verifying Checksum 01:51:36 c7e7622c144d: Download complete 01:51:36 4f4fb700ef54: Verifying Checksum 01:51:36 4f4fb700ef54: Download complete 01:51:36 b4c3b6d88c5a: Verifying Checksum 01:51:36 b4c3b6d88c5a: Download complete 01:51:36 94e9d8af2201: Download complete 01:51:37 Archives upload complete. 01:51:37 INFO: archiving logs to Nexus 01:51:37 ca778ea9c289: Verifying Checksum 01:51:37 ca778ea9c289: Download complete 01:51:37 ---> uname -a: 01:51:37 Linux prd-centos7-docker-4c-2g-7818.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:51:37 01:51:37 01:51:37 ---> lscpu: 01:51:37 Architecture: x86_64 01:51:37 CPU op-mode(s): 32-bit, 64-bit 01:51:37 Byte Order: Little Endian 01:51:37 Address sizes: 40 bits physical, 48 bits virtual 01:51:37 CPU(s): 2 01:51:37 On-line CPU(s) list: 0,1 01:51:37 Thread(s) per core: 1 01:51:37 Core(s) per socket: 1 01:51:37 Socket(s): 2 01:51:37 NUMA node(s): 1 01:51:37 Vendor ID: AuthenticAMD 01:51:37 CPU family: 23 01:51:37 Model: 49 01:51:37 Model name: AMD EPYC-Rome Processor 01:51:37 Stepping: 0 01:51:37 CPU MHz: 2800.000 01:51:37 BogoMIPS: 5600.00 01:51:37 Virtualization: AMD-V 01:51:37 Hypervisor vendor: KVM 01:51:37 Virtualization type: full 01:51:37 L1d cache: 64 KiB 01:51:37 L1i cache: 64 KiB 01:51:37 L2 cache: 1 MiB 01:51:37 L3 cache: 32 MiB 01:51:37 NUMA node0 CPU(s): 0,1 01:51:37 Vulnerability Itlb multihit: Not affected 01:51:37 Vulnerability L1tf: Not affected 01:51:37 Vulnerability Mds: Not affected 01:51:37 Vulnerability Meltdown: Not affected 01:51:37 Vulnerability Mmio stale data: Not affected 01:51:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:51:37 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:51:37 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:51:37 Vulnerability Srbds: Not affected 01:51:37 Vulnerability Tsx async abort: Not affected 01:51:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:51:37 01:51:37 01:51:37 ---> nproc: 01:51:37 2 01:51:37 01:51:37 01:51:38 94e9d8af2201: Pull complete 01:51:38 ---> df -h: 01:51:38 Filesystem Size Used Avail Use% Mounted on 01:51:38 overlay 40G 7.3G 33G 19% / 01:51:38 tmpfs 64M 0 64M 0% /dev 01:51:38 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:51:38 shm 64M 0 64M 0% /dev/shm 01:51:38 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:51:38 01:51:38 01:51:38 Cannot open /var/log/sysstat/sa29: No such file or directory 01:51:38 Please check if data collecting is enabled 01:51:38 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:51:38 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:51:38 $ docker stop --time=1 38dced54ee1d75022f5e43c605a6ff8d5a01368628758c0a71541c21eb764586 01:51:38 a6c56e8762df: Pull complete 01:51:38 f0f3c8884826: Verifying Checksum 01:51:38 f0f3c8884826: Download complete 01:51:39 $ docker rm -f --volumes 38dced54ee1d75022f5e43c605a6ff8d5a01368628758c0a71541c21eb764586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:51:39 [WS-CLEANUP] Deleting project workspace... 01:51:39 [WS-CLEANUP] Deferred wipeout is used... 01:51:39 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:39 01:51:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:39 ba8bce9d2590: Verifying Checksum 01:51:39 ba8bce9d2590: Download complete 01:51:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:40 latest: Pulling from edgex-lftools-log-publisher 01:51:40 5eb5b503b376: Pulling fs layer 01:51:40 5c69ac0246d0: Pulling fs layer 01:51:40 ec43610c2a17: Pulling fs layer 01:51:40 3a2ae6a8a46f: Pulling fs layer 01:51:40 33b1e0a273af: Pulling fs layer 01:51:40 5d3b04190fa2: Pulling fs layer 01:51:40 2f39f015ded8: Pulling fs layer 01:51:40 3a2ae6a8a46f: Waiting 01:51:40 33b1e0a273af: Waiting 01:51:40 5d3b04190fa2: Waiting 01:51:40 2f39f015ded8: Waiting 01:51:40 3a2ae6a8a46f: Download complete 01:51:40 33b1e0a273af: Verifying Checksum 01:51:40 33b1e0a273af: Download complete 01:51:40 5d3b04190fa2: Verifying Checksum 01:51:40 5d3b04190fa2: Download complete 01:51:40 ec43610c2a17: Verifying Checksum 01:51:40 ec43610c2a17: Download complete 01:51:40 5eb5b503b376: Download complete 01:51:40 2f39f015ded8: Download complete 01:51:41 5eb5b503b376: Pull complete 01:51:41 5c69ac0246d0: Pull complete 01:51:42 ec43610c2a17: Pull complete 01:51:42 3a2ae6a8a46f: Pull complete 01:51:42 33b1e0a273af: Pull complete 01:51:42 5d3b04190fa2: Pull complete 01:51:49 2f39f015ded8: Pull complete 01:51:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:49 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 01:51:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:50 $ docker top a8b2a62d75c8f3a0f47a894c429e1945ada44de16642602bd10e19cf7a83f1c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:50 ---> job-cost.sh 01:51:50 lf-activate-venv: SKIPPING 01:51:50 INFO: No Stack... 01:51:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:51 INFO: Archiving Costs [Pipeline] sh 01:51:51 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:51:51 + cut -d, -f6 [Pipeline] lock 01:51:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] 01:51:51 Resource [jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] did not exist. Created. 01:51:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:51:51 Stashed 1 file(s) [Pipeline] } 01:51:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:51 $ docker stop --time=1 a8b2a62d75c8f3a0f47a894c429e1945ada44de16642602bd10e19cf7a83f1c2 01:51:52 $ docker rm -f --volumes a8b2a62d75c8f3a0f47a894c429e1945ada44de16642602bd10e19cf7a83f1c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:51:54 f0f3c8884826: Pull complete 01:51:54 c7e7622c144d: Pull complete 01:51:54 4f4fb700ef54: Pull complete 01:51:54 b4c3b6d88c5a: Pull complete 01:52:01 ba8bce9d2590: Pull complete 01:52:03 ca778ea9c289: Pull complete 01:52:03 Digest: sha256:c70c257f76c0e97c87bd0187f74242a809c0afac30c2d5f44320df1de5715b93 01:52:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:52:03 ---> 47b25d7523d1 01:52:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:52:05 ---> Running in ea3e05fa3815 01:52:05 Removing intermediate container ea3e05fa3815 01:52:05 ---> c70231b29ae4 01:52:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:52:05 ---> Running in 95d858c7c19d 01:52:06 Removing intermediate container 95d858c7c19d 01:52:06 ---> 9a3b67b43dae 01:52:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:52:06 ---> Running in a175dbb02c1d 01:52:06 Removing intermediate container a175dbb02c1d 01:52:06 ---> fed51c4e69fd 01:52:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:52:06 ---> Running in 3b5330560783 01:52:06 Removing intermediate container 3b5330560783 01:52:06 ---> 9761214f615a 01:52:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:06 ---> Running in 5d640b68e1a2 01:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:52:09 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:52:09 (2/4) Installing libedit (20240517.3.1-r0) 01:52:09 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:52:09 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:52:09 Executing busybox-1.36.1-r29.trigger 01:52:09 OK: 244 MiB in 62 packages 01:52:11 Removing intermediate container 5d640b68e1a2 01:52:11 ---> 9690ab25cfd8 01:52:11 Step 8/12 : WORKDIR /device-rest-go 01:52:11 ---> Running in a173aa2c97ab 01:52:11 Removing intermediate container a173aa2c97ab 01:52:11 ---> 617e058ae780 01:52:11 Step 9/12 : COPY go.mod vendor* ./ 01:52:11 ---> f237be4e9d1a 01:52:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:11 ---> Running in 7e7626b8840f 01:54:03 Removing intermediate container 7e7626b8840f 01:54:03 ---> 4eacba02dbf2 01:54:03 Step 11/12 : COPY . . 01:54:03 ---> d398b5909426 01:54:03 Step 12/12 : RUN $MAKE 01:54:03 ---> Running in ddc46da56db3 01:54:03 noop 01:54:03 Removing intermediate container ddc46da56db3 01:54:03 ---> e8721e6e3313 01:54:03 Successfully built e8721e6e3313 01:54:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:04 + docker inspect -f . ci-base-image-arm64 01:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:04 prd-ubuntu20.04-docker-arm64-4c-16g-7817 does not seem to be running inside a container 01:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/217 -v /w/workspace/device-rest-go/217:/w/workspace/device-rest-go/217:rw,z -v /w/workspace/device-rest-go/217@tmp:/w/workspace/device-rest-go/217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:54:05 $ docker top 99dc55df07dcff37ac4b06cf09966a70e510007b45f9bd440d0ec67283289e71 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:06 + go version 01:54:06 go version go1.23.9 linux/arm64 [Pipeline] } 01:54:06 $ docker stop --time=1 99dc55df07dcff37ac4b06cf09966a70e510007b45f9bd440d0ec67283289e71 01:54:08 $ docker rm -f --volumes 99dc55df07dcff37ac4b06cf09966a70e510007b45f9bd440d0ec67283289e71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:08 + docker inspect -f . ci-base-image-arm64 01:54:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:09 prd-ubuntu20.04-docker-arm64-4c-16g-7817 does not seem to be running inside a container 01:54:09 $ 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/217 -v /w/workspace/device-rest-go/217:/w/workspace/device-rest-go/217:rw,z -v /w/workspace/device-rest-go/217@tmp:/w/workspace/device-rest-go/217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:54:10 $ docker top d63c23ff607372c7bc5afacc379121fb8ddea1bfc4516484c87d5bd8f750a11c -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:11 + git config --global --add safe.directory /w/workspace/device-rest-go/217 [Pipeline] fileExists [Pipeline] sh 01:54:11 + make test 01:54:11 go test ./... -coverprofile=coverage.out ./... 01:54:18 ? github.com/edgexfoundry/device-rest-go [no test files] 01:57:55 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:57:55 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 32.2% of statements 01:57:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:57:55 go vet ./... 01:58:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:51 ./bin/test-attribution-txt.sh 01:58:51 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:58:51 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add 01:58:51 An attribution for github.com/zitadel/logging is missing from Attribution.txt, please add 01:58:51 An attribution for github.com/zitadel/oidc/v3 is missing from Attribution.txt, please add 01:58:51 An attribution for github.com/zitadel/schema is missing from Attribution.txt, please add 01:58:51 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:58:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:58:51 $ docker stop --time=1 d63c23ff607372c7bc5afacc379121fb8ddea1bfc4516484c87d5bd8f750a11c 01:58:53 $ docker rm -f --volumes d63c23ff607372c7bc5afacc379121fb8ddea1bfc4516484c87d5bd8f750a11c [Pipeline] // withDockerContainer [Pipeline] sh 01:58:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:55 Warning: overwriting stash ‘coverage-report’ 01:58:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:56 + ls -al . 01:58:56 total 240 01:58:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 01:54 . 01:58:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 01:51 .. 01:58:56 -rw-rw-r-- 1 jenkins jenkins 151 Aug 29 01:51 .dockerignore 01:58:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 01:51 .git 01:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:51 .github 01:58:56 -rw-rw-r-- 1 jenkins jenkins 264 Aug 29 01:51 .gitignore 01:58:56 -rw-rw-r-- 1 jenkins jenkins 41 Aug 29 01:51 .golangci.yml 01:58:56 -rw-rw-r-- 1 jenkins jenkins 20138 Aug 29 01:51 Attribution.txt 01:58:56 -rw-rw-r-- 1 jenkins jenkins 18492 Aug 29 01:51 CHANGELOG.md 01:58:56 -rw-rw-r-- 1 jenkins jenkins 1697 Aug 29 01:51 Dockerfile 01:58:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 01:51 GOVERNANCE.md 01:58:56 -rw-rw-r-- 1 jenkins jenkins 680 Aug 29 01:51 Jenkinsfile 01:58:56 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 29 01:51 LICENSE 01:58:56 -rw-rw-r-- 1 jenkins jenkins 2598 Aug 29 01:51 Makefile 01:58:56 -rw-rw-r-- 1 jenkins jenkins 620 Aug 29 01:51 OWNERS.md 01:58:56 -rw-rw-r-- 1 jenkins jenkins 3989 Aug 29 01:51 README.md 01:58:56 -rw-rw-r-- 1 jenkins jenkins 12 Aug 29 01:47 VERSION 01:58:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 01:51 bin 01:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:51 cmd 01:58:56 -rw-r--r-- 1 jenkins jenkins 14565 Aug 29 01:57 coverage.out 01:58:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 01:51 driver 01:58:56 -rw-rw-r-- 1 jenkins jenkins 6324 Aug 29 01:51 go.mod 01:58:56 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 29 01:51 go.sum 01:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 01:51 openapi 01:58:56 -rw-rw-r-- 1 jenkins jenkins 713 Aug 29 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:57 + 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=a73ca0e3347ce9e377441e48af4acf8ad4954baa --label arch=arm64 --label version=4.1.0-dev.13 . 01:58:57 Sending build context to Docker daemon 157.2kB 01:58:57 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:58:57 Step 2/26 : FROM ${BASE} AS builder 01:58:57 ---> e8721e6e3313 01:58:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:58:57 ---> Running in 520e7d77cc50 01:58:58 Removing intermediate container 520e7d77cc50 01:58:58 ---> ac903d6349e6 01:58:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:58:58 ---> Running in 3131b3bdade6 01:58:58 Removing intermediate container 3131b3bdade6 01:58:58 ---> 2db79e86669b 01:58:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:58:58 ---> Running in c3939cb337ad 01:58:58 Removing intermediate container c3939cb337ad 01:58:58 ---> c8c201f4f1be 01:58:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:58:58 ---> Running in 85659adf104b 01:58:59 Removing intermediate container 85659adf104b 01:58:59 ---> fa68afa2bb18 01:58:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:58:59 ---> Running in 2a12146d71d8 01:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:59:02 OK: 244 MiB in 62 packages 01:59:03 Removing intermediate container 2a12146d71d8 01:59:03 ---> 6c6d508dbdfb 01:59:03 Step 8/26 : WORKDIR /device-rest-go 01:59:03 ---> Running in 044ed92bb33d 01:59:03 Removing intermediate container 044ed92bb33d 01:59:03 ---> 1223efcd0a85 01:59:03 Step 9/26 : COPY go.mod vendor* ./ 01:59:04 ---> 4b4f735b4263 01:59:04 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:04 ---> Running in 1021d98a1b5c 01:59:07 Removing intermediate container 1021d98a1b5c 01:59:07 ---> e20e148661cf 01:59:07 Step 11/26 : COPY . . 01:59:07 ---> b143f9797d2e 01:59:07 Step 12/26 : RUN $MAKE 01:59:07 ---> Running in a80196f555e5 01:59:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.32 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:03:01 Removing intermediate container a80196f555e5 02:03:01 ---> 4b24c6ce86a2 02:03:01 Step 13/26 : FROM alpine:3.20 02:03:01 3.20: Pulling from library/alpine 02:03:01 13e713f82565: Pulling fs layer 02:03:02 13e713f82565: Verifying Checksum 02:03:02 13e713f82565: Download complete 02:03:02 13e713f82565: Pull complete 02:03:02 Digest: sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 02:03:02 Status: Downloaded newer image for alpine:3.20 02:03:02 ---> c88e9dceb6cb 02:03:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:03:03 ---> Running in 6c309cd9ced6 02:03:03 Removing intermediate container 6c309cd9ced6 02:03:03 ---> d093ba717a14 02:03:03 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:03:03 ---> Running in 0aba1bbe11ae 02:03:03 Removing intermediate container 0aba1bbe11ae 02:03:03 ---> 14ff843f3f8a 02:03:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:03:03 ---> Running in 516325059b0d 02:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:03:06 (1/1) Installing dumb-init (1.2.5-r3) 02:03:06 Executing busybox-1.36.1-r29.trigger 02:03:06 OK: 9 MiB in 15 packages 02:03:07 Removing intermediate container 516325059b0d 02:03:07 ---> 2382b4e6c606 02:03:07 Step 17/26 : RUN apk --no-cache upgrade 02:03:07 ---> Running in c6b936fad805 02:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:03:09 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 02:03:09 Executing busybox-1.36.1-r30.post-upgrade 02:03:09 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 02:03:09 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 02:03:09 Executing busybox-1.36.1-r30.trigger 02:03:09 OK: 9 MiB in 15 packages 02:03:10 Removing intermediate container c6b936fad805 02:03:10 ---> 0b560304939d 02:03:10 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:03:12 ---> ca233fb91951 02:03:12 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:03:12 ---> 792cde56345f 02:03:12 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:03:13 ---> cb020ea8c835 02:03:13 Step 21/26 : EXPOSE 59986 02:03:13 ---> Running in f3006ec7e5cb 02:03:13 Removing intermediate container f3006ec7e5cb 02:03:13 ---> 399105185c87 02:03:13 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:03:13 ---> Running in 269ce520e935 02:03:13 Removing intermediate container 269ce520e935 02:03:13 ---> 96f3fc72d574 02:03:13 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:03:13 ---> Running in 836060fa715b 02:03:14 Removing intermediate container 836060fa715b 02:03:14 ---> ca9381433ab6 02:03:14 Step 24/26 : LABEL arch=arm64 02:03:14 ---> Running in bbd81ed50a8d 02:03:14 Removing intermediate container bbd81ed50a8d 02:03:14 ---> ae6884b68697 02:03:14 Step 25/26 : LABEL git_sha=a73ca0e3347ce9e377441e48af4acf8ad4954baa 02:03:14 ---> Running in 4b3eeeecc9d3 02:03:14 Removing intermediate container 4b3eeeecc9d3 02:03:14 ---> 9b3b953f1d21 02:03:14 Step 26/26 : LABEL version=4.1.0-dev.13 02:03:14 ---> Running in a067f6d18cb1 02:03:14 Removing intermediate container a067f6d18cb1 02:03:14 ---> 68833dcc4d9a 02:03:14 [Warning] One or more build-args [ARCH] were not consumed 02:03:14 Successfully built 68833dcc4d9a 02:03:14 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:03:15 provisioning config files... 02:03:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/217@tmp/config12685907091457919891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:15 ---> ****-login.sh 02:03:15 nexus3.edgexfoundry.org:10001 02:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:16 Configure a credential helper to remove this warning. See 02:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:16 02:03:16 Login Succeeded 02:03:16 nexus3.edgexfoundry.org:10002 02:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:16 Configure a credential helper to remove this warning. See 02:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:16 02:03:16 Login Succeeded 02:03:16 nexus3.edgexfoundry.org:10003 02:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:16 Configure a credential helper to remove this warning. See 02:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:16 02:03:16 Login Succeeded 02:03:16 nexus3.edgexfoundry.org:10004 02:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:17 Configure a credential helper to remove this warning. See 02:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:17 02:03:17 Login Succeeded 02:03:17 ****.io 02:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:17 Configure a credential helper to remove this warning. See 02:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:17 02:03:17 Login Succeeded 02:03:17 ---> ****-login.sh ends [Pipeline] } 02:03:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:03:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:03:17 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:03:17 a73ca0e3347ce9e377441e48af4acf8ad4954baa 02:03:17 latest 02:03:17 4.1.0-dev.13 02:03:17 a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 02:03:17 main 02:03:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa 02:03:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:03:18 2afc086cd5b4: Preparing 02:03:18 4e9a1e575338: Preparing 02:03:18 e66904e48644: Preparing 02:03:18 72a901a2f327: Preparing 02:03:18 47d04b9d0e7f: Preparing 02:03:18 1e890da81ec9: Preparing 02:03:18 1e890da81ec9: Waiting 02:03:18 2afc086cd5b4: Pushed 02:03:18 4e9a1e575338: Pushed 02:03:18 47d04b9d0e7f: Pushed 02:03:18 1e890da81ec9: Layer already exists 02:03:19 72a901a2f327: Pushed 02:03:25 e66904e48644: Pushed 02:03:25 a73ca0e3347ce9e377441e48af4acf8ad4954baa: digest: sha256:8d9e6ffbc602b8d7e7221afddd2397820fdfb237242667d6c8d12d6b3a6fb8c5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:03:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:03:26 2afc086cd5b4: Preparing 02:03:26 4e9a1e575338: Preparing 02:03:26 e66904e48644: Preparing 02:03:26 72a901a2f327: Preparing 02:03:26 47d04b9d0e7f: Preparing 02:03:26 1e890da81ec9: Preparing 02:03:26 1e890da81ec9: Waiting 02:03:26 e66904e48644: Layer already exists 02:03:26 2afc086cd5b4: Layer already exists 02:03:26 4e9a1e575338: Layer already exists 02:03:26 47d04b9d0e7f: Layer already exists 02:03:26 72a901a2f327: Layer already exists 02:03:26 1e890da81ec9: Layer already exists 02:03:26 latest: digest: sha256:8d9e6ffbc602b8d7e7221afddd2397820fdfb237242667d6c8d12d6b3a6fb8c5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:27 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.13 02:03:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:03:27 2afc086cd5b4: Preparing 02:03:27 4e9a1e575338: Preparing 02:03:27 e66904e48644: Preparing 02:03:27 72a901a2f327: Preparing 02:03:27 47d04b9d0e7f: Preparing 02:03:27 1e890da81ec9: Preparing 02:03:27 1e890da81ec9: Waiting 02:03:27 4e9a1e575338: Layer already exists 02:03:27 72a901a2f327: Layer already exists 02:03:27 e66904e48644: Layer already exists 02:03:27 47d04b9d0e7f: Layer already exists 02:03:27 2afc086cd5b4: Layer already exists 02:03:27 1e890da81ec9: Layer already exists 02:03:27 4.1.0-dev.13: digest: sha256:8d9e6ffbc602b8d7e7221afddd2397820fdfb237242667d6c8d12d6b3a6fb8c5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 02:03:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:03:28 2afc086cd5b4: Preparing 02:03:28 4e9a1e575338: Preparing 02:03:28 e66904e48644: Preparing 02:03:28 72a901a2f327: Preparing 02:03:28 47d04b9d0e7f: Preparing 02:03:28 1e890da81ec9: Preparing 02:03:28 1e890da81ec9: Waiting 02:03:28 72a901a2f327: Layer already exists 02:03:28 4e9a1e575338: Layer already exists 02:03:28 47d04b9d0e7f: Layer already exists 02:03:28 2afc086cd5b4: Layer already exists 02:03:28 e66904e48644: Layer already exists 02:03:28 1e890da81ec9: Layer already exists 02:03:28 a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13: digest: sha256:8d9e6ffbc602b8d7e7221afddd2397820fdfb237242667d6c8d12d6b3a6fb8c5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:03:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:03:29 2afc086cd5b4: Preparing 02:03:29 4e9a1e575338: Preparing 02:03:29 e66904e48644: Preparing 02:03:29 72a901a2f327: Preparing 02:03:29 47d04b9d0e7f: Preparing 02:03:29 1e890da81ec9: Preparing 02:03:29 1e890da81ec9: Waiting 02:03:29 47d04b9d0e7f: Layer already exists 02:03:29 e66904e48644: Layer already exists 02:03:29 2afc086cd5b4: Layer already exists 02:03:29 72a901a2f327: Layer already exists 02:03:29 4e9a1e575338: Layer already exists 02:03:29 1e890da81ec9: Layer already exists 02:03:29 main: digest: sha256:8d9e6ffbc602b8d7e7221afddd2397820fdfb237242667d6c8d12d6b3a6fb8c5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:03:29 ===================================================== [Pipeline] echo 02:03:29 taggedImages: 02:03:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa 02:03:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:03:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.13 02:03:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 02:03:29 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 02:03:29 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] echo 02:03:29 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 02:03:29 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.13 [Pipeline] echo 02:03:29 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:a73ca0e3347ce9e377441e48af4acf8ad4954baa-4.1.0-dev.13 [Pipeline] echo 02:03:29 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:30 02:03:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:30 arm64: Pulling from edgex-lftools-log-publisher 02:03:30 8998bd30e6a1: Pulling fs layer 02:03:30 04944245beec: Pulling fs layer 02:03:30 699f458cf7ca: Pulling fs layer 02:03:30 765212b225bb: Pulling fs layer 02:03:30 f23df028b6ca: Pulling fs layer 02:03:30 d65c8cfc05b1: Pulling fs layer 02:03:30 2437ff75d9bd: Pulling fs layer 02:03:30 d65c8cfc05b1: Waiting 02:03:30 f23df028b6ca: Waiting 02:03:30 765212b225bb: Waiting 02:03:30 2437ff75d9bd: Waiting 02:03:30 04944245beec: Verifying Checksum 02:03:30 04944245beec: Download complete 02:03:30 765212b225bb: Verifying Checksum 02:03:30 765212b225bb: Download complete 02:03:30 f23df028b6ca: Download complete 02:03:30 d65c8cfc05b1: Verifying Checksum 02:03:30 d65c8cfc05b1: Download complete 02:03:31 699f458cf7ca: Verifying Checksum 02:03:31 699f458cf7ca: Download complete 02:03:31 8998bd30e6a1: Verifying Checksum 02:03:31 8998bd30e6a1: Download complete 02:03:33 2437ff75d9bd: Verifying Checksum 02:03:33 2437ff75d9bd: Download complete 02:03:36 8998bd30e6a1: Pull complete 02:03:37 04944245beec: Pull complete 02:03:38 699f458cf7ca: Pull complete 02:03:38 765212b225bb: Pull complete 02:03:39 f23df028b6ca: Pull complete 02:03:40 d65c8cfc05b1: Pull complete 02:03:58 2437ff75d9bd: Pull complete 02:03:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:03:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:58 prd-ubuntu20.04-docker-arm64-4c-16g-7817 does not seem to be running inside a container 02:03:58 $ 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/217 -v /w/workspace/device-rest-go/217:/w/workspace/device-rest-go/217:rw,z -v /w/workspace/device-rest-go/217@tmp:/w/workspace/device-rest-go/217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:04:01 $ docker top 9abd7246a05c2229ed56eec89b5171979ee0e6e39d3d9cdbc44edc69a60d45e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:02 ---> job-cost.sh 02:04:02 lf-activate-venv: SKIPPING 02:04:02 INFO: No Stack... 02:04:02 INFO: Retrieving Pricing Info for: v3-standard-4 02:04:03 INFO: Archiving Costs [Pipeline] sh 02:04:04 + cat /w/workspace/device-rest-go/217/archives/cost.csv 02:04:04 + cut -d, -f6 [Pipeline] lock 02:04:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] 02:04:04 Resource [jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] did not exist. Created. 02:04:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:05 /w/workspace/device-rest-go/217@tmp/durable-1292d393/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:04:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:04:06 Warning: overwriting stash ‘stack-cost’ 02:04:06 Stashed 1 file(s) [Pipeline] } 02:04:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-217-stack-cost] [Pipeline] // lock [Pipeline] } 02:04:06 $ docker stop --time=1 9abd7246a05c2229ed56eec89b5171979ee0e6e39d3d9cdbc44edc69a60d45e8 02:04:07 $ docker rm -f --volumes 9abd7246a05c2229ed56eec89b5171979ee0e6e39d3d9cdbc44edc69a60d45e8 [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:04:08 provisioning config files... 02:04:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12533152104985923482tmp [Pipeline] { [Pipeline] sh 02:04:08 + set +x 02:04:08 + bash -s -- 02:04:08 + curl -s https://codecov.io/bash 02:04:08 02:04:08 _____ _ 02:04:08 / ____| | | 02:04:08 | | ___ __| | ___ ___ _____ __ 02:04:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:04:08 | |___| (_) | (_| | __/ (_| (_) \ V / 02:04:08 \_____\___/ \__,_|\___|\___\___/ \_/ 02:04:08 Bash-1.0.6 02:04:08 02:04:08 02:04:08 ==> git version 2.25.1 found 02:04:08 ==> 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:04:08 Release-Date: 2020-01-08 02:04:08 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:04:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:04:08 ==> Jenkins CI detected. 02:04:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:04:08 project root: . 02:04:08 --> token set from env 02:04:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:04:08 ==> Running gcov in . (disable via -X gcov) 02:04:08 ==> Python coveragepy not found 02:04:08 ==> Searching for coverage reports in: 02:04:08 + . 02:04:08 -> Found 1 reports 02:04:08 ==> Detecting git/mercurial file structure 02:04:08 ==> Reading reports 02:04:08 + ./coverage.out bytes=14565 02:04:08 ==> Appending adjustments 02:04:08 https://docs.codecov.io/docs/fixing-reports 02:04:08 + Found adjustments 02:04:08 ==> Gzipping contents 02:04:08 4.0K /tmp/codecov.AeUGlP.gz 02:04:08 ==> Uploading reports 02:04:08 url: https://codecov.io 02:04:08 query: branch=main&commit=a73ca0e3347ce9e377441e48af4acf8ad4954baa&build=217&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F217%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:04:08 -> Pinging Codecov 02:04:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a73ca0e3347ce9e377441e48af4acf8ad4954baa&build=217&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F217%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:04:08 -> Uploading to 02:04:08 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/a73ca0e3347ce9e377441e48af4acf8ad4954baa/371c9b1a-7fda-4351-a8af-cc24bfc522ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250829%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250829T020408Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=8c7fec52622c30ee3db9d7105984f88d53db79f92753c37217f14ba6712de69d 02:04:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:09 Dload Upload Total Spent Left Speed 02:04:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 16614 --:--:-- --:--:-- --:--:-- 16614 02:04:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] } 02:04:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:04:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:04:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:04:09 02:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:04:09 latest: Pulling from edgex-devops/edgex-snyk-go 02:04:09 0a9a5dfd008f: Already exists 02:04:09 36466aa92d05: Already exists 02:04:09 e10405b45d13: Already exists 02:04:09 096b7ceb2af7: Already exists 02:04:09 4f4fb700ef54: Already exists 02:04:09 e50aa161e22a: Pulling fs layer 02:04:09 d3c8db5fb9df: Pulling fs layer 02:04:10 e50aa161e22a: Verifying Checksum 02:04:10 e50aa161e22a: Download complete 02:04:10 e50aa161e22a: Pull complete 02:04:11 d3c8db5fb9df: Download complete 02:04:14 d3c8db5fb9df: Pull complete 02:04:14 Digest: sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 02:04:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:04:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:14 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:04:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:04:16 $ docker top 779a4085f4a4e234c4e52726c25e9a91df8dabcdcc8517ffe7eb3353345e5ef0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 02:04:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:04:16 + set -o pipefail 02:04:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:04:28 02:04:28 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:04:28 02:04:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/e8f55030-dd75-412e-a834-8729bbb4e505 02:04:28 02:04:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:04:28 [Pipeline] } 02:04:28 $ docker stop --time=1 779a4085f4a4e234c4e52726c25e9a91df8dabcdcc8517ffe7eb3353345e5ef0 02:04:32 $ docker rm -f --volumes 779a4085f4a4e234c4e52726c25e9a91df8dabcdcc8517ffe7eb3353345e5ef0 [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:04:33 + git log --format=format:%s -1 a73ca0e3347ce9e377441e48af4acf8ad4954baa [Pipeline] sh 02:04:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:04:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:04:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:34 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:04:34 $ docker top dcb78dc78a2e5043e82d46f99349852b4fbd328ce6cb143b5b0eb48840c47129 -eo pid,comm 02:04:34 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:04:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:34 [ssh-agent] Looking for ssh-agent implementation... 02:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:34 $ docker exec dcb78dc78a2e5043e82d46f99349852b4fbd328ce6cb143b5b0eb48840c47129 ssh-agent 02:04:34 SSH_AUTH_SOCK=/tmp/ssh-cyVcdQTPRDAI/agent.33 02:04:34 SSH_AGENT_PID=39 02:04:34 Running ssh-add (command line suppressed) 02:04:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4674801071159317455.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4674801071159317455.key) 02:04:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:35 + git semver tag 02:04:35 2025-08-29 02:04:35,343 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:04:35 2025-08-29 02:04:35,348 [run_tag] DEBUG tag force:False 02:04:35 2025-08-29 02:04:35,348 [check_head_tag] DEBUG check head tag 02:04:35 2025-08-29 02:04:35,349 [execute] INFO git cat-file --batch-check 02:04:35 2025-08-29 02:04:35,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 02:04:35 2025-08-29 02:04:35,351 [execute] INFO git cat-file --batch 02:04:35 2025-08-29 02:04:35,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=, shell=False, universal_newlines=False) 02:04:35 2025-08-29 02:04:35,361 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:35 2025-08-29 02:04:35,361 [execute] INFO git tag -a v4.1.0-dev.13 -m v4.1.0-dev.13 02:04:35 2025-08-29 02:04:35,361 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.13', '-m', 'v4.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 02:04:35 2025-08-29 02:04:35,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:35 4.1.0-dev.13 [Pipeline] } 02:04:35 $ docker exec --env ******** --env ******** dcb78dc78a2e5043e82d46f99349852b4fbd328ce6cb143b5b0eb48840c47129 ssh-agent -k 02:04:35 unset SSH_AUTH_SOCK; 02:04:35 unset SSH_AGENT_PID; 02:04:35 echo Agent pid 39 killed; 02:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:35 + git semver [Pipeline] } 02:04:36 $ docker stop --time=1 dcb78dc78a2e5043e82d46f99349852b4fbd328ce6cb143b5b0eb48840c47129 02:04:37 $ docker rm -f --volumes dcb78dc78a2e5043e82d46f99349852b4fbd328ce6cb143b5b0eb48840c47129 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:37 02:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:38 0.23.1-centos7: Pulling from edgex-lftools 02:04:38 ab5ef0e58194: Pulling fs layer 02:04:38 9712f1f96733: Pulling fs layer 02:04:38 63f879dbbcfc: Pulling fs layer 02:04:38 0d9ebad4ef96: Pulling fs layer 02:04:38 e9a5061849ea: Pulling fs layer 02:04:38 d747dcd14b5f: Pulling fs layer 02:04:38 2de7ff778b66: Pulling fs layer 02:04:38 0d9ebad4ef96: Waiting 02:04:38 e9a5061849ea: Waiting 02:04:38 d747dcd14b5f: Waiting 02:04:38 2de7ff778b66: Waiting 02:04:38 9712f1f96733: Verifying Checksum 02:04:38 9712f1f96733: Download complete 02:04:38 63f879dbbcfc: Verifying Checksum 02:04:38 63f879dbbcfc: Download complete 02:04:38 e9a5061849ea: Verifying Checksum 02:04:38 e9a5061849ea: Download complete 02:04:38 d747dcd14b5f: Verifying Checksum 02:04:38 d747dcd14b5f: Download complete 02:04:38 ab5ef0e58194: Download complete 02:04:38 2de7ff778b66: Verifying Checksum 02:04:38 2de7ff778b66: Download complete 02:04:38 0d9ebad4ef96: Verifying Checksum 02:04:38 0d9ebad4ef96: Download complete 02:04:43 ab5ef0e58194: Pull complete 02:04:43 9712f1f96733: Pull complete 02:04:43 63f879dbbcfc: Pull complete 02:04:48 0d9ebad4ef96: Pull complete 02:04:48 e9a5061849ea: Pull complete 02:04:48 d747dcd14b5f: Pull complete 02:04:49 2de7ff778b66: Pull complete 02:04:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:49 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:04:53 $ docker top 8402d65a9c67f7622e9f64fe91e7897a6fb38f00a628831d1b7e0b07b63ca538 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:04:53 provisioning config files... 02:04:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1077135710860494754tmp 02:04:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3013416312691680696tmp 02:04:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1753619297897006052tmp [Pipeline] { [Pipeline] echo 02:04:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:04:53 ---> sigul-configuration.sh 02:04:53 gpg: directory `/root/.gnupg' created 02:04:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:04:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:04:53 gpg: keyring `/root/.gnupg/secring.gpg' created 02:04:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:04:53 gpg: CAST5 encrypted data 02:04:53 gpg: encrypted with 1 passphrase 02:04:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:04:54 + mkdir /home/jenkins 02:04:54 + mkdir /home/jenkins/sigul [Pipeline] sh 02:04:54 + 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:04:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:04:54 ---> sigul-install.sh 02:04:54 Sigul already installed; skipping installation. [Pipeline] sh 02:04:55 + git tag --list 02:04:55 v1.0.0 02:04:55 v1.1.0 02:04:55 v1.1.1 02:04:55 v1.1.2 02:04:55 v1.2.0 02:04:55 v1.2.1 02:04:55 v2.0.0 02:04:55 v2.1.0 02:04:55 v2.1.1 02:04:55 v2.2.0 02:04:55 v2.3.0 02:04:55 v3.0 02:04:55 v3.0.0 02:04:55 v3.1 02:04:55 v3.1.0 02:04:55 v3.1.1 02:04:55 v4.0 02:04:55 v4.0.0 02:04:55 v4.1.0-dev.1 02:04:55 v4.1.0-dev.10 02:04:55 v4.1.0-dev.11 02:04:55 v4.1.0-dev.12 02:04:55 v4.1.0-dev.13 02:04:55 v4.1.0-dev.2 02:04:55 v4.1.0-dev.3 02:04:55 v4.1.0-dev.4 02:04:55 v4.1.0-dev.5 02:04:55 v4.1.0-dev.6 02:04:55 v4.1.0-dev.7 02:04:55 v4.1.0-dev.8 02:04:55 v4.1.0-dev.9 [Pipeline] sh 02:04:55 + lftools sign git-tag v4.1.0-dev.13 02:04:55 Signing Git tag with Sigul... 02:04:55 Signing v4.1.0-dev.13 [Pipeline] echo 02:04:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:04:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:04:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:04:56 $ docker stop --time=1 8402d65a9c67f7622e9f64fe91e7897a6fb38f00a628831d1b7e0b07b63ca538 02:04:57 $ docker rm -f --volumes 8402d65a9c67f7622e9f64fe91e7897a6fb38f00a628831d1b7e0b07b63ca538 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:04:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:04:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:04:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:58 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:04:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:04:58 $ docker top e254c1e78f895373a1d5f81443c5a7fce994162141d311fb69bbd50e84c629f0 -eo pid,comm 02:04:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:04:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:59 [ssh-agent] Looking for ssh-agent implementation... 02:04:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:59 $ docker exec e254c1e78f895373a1d5f81443c5a7fce994162141d311fb69bbd50e84c629f0 ssh-agent 02:04:59 SSH_AUTH_SOCK=/tmp/ssh-MRLO0XnusWlG/agent.33 02:04:59 SSH_AGENT_PID=40 02:04:59 Running ssh-add (command line suppressed) 02:04:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10853837441923260994.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10853837441923260994.key) 02:04:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:59 + git semver bump pre 02:04:59 2025-08-29 02:04:59,835 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:04:59 2025-08-29 02:04:59,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:59 2025-08-29 02:04:59,839 [bump_version] DEBUG bumping version:4.1.0-dev.13 on axis:pre with prefix:dev 02:04:59 2025-08-29 02:04:59,839 [bump_version] DEBUG bumped version:4.1.0-dev.14 02:04:59 2025-08-29 02:04:59,839 [write_version] DEBUG write version:4.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:04:59 2025-08-29 02:04:59,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:59 2025-08-29 02:04:59,840 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:59 2025-08-29 02:04:59,842 [execute] INFO git cat-file --batch-check 02:04:59 2025-08-29 02:04:59,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:04:59 2025-08-29 02:04:59,845 [execute] INFO git cat-file --batch 02:04:59 2025-08-29 02:04:59,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:04:59 2025-08-29 02:04:59,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:04:59 4.1.0-dev.14 [Pipeline] } 02:04:59 $ docker exec --env ******** --env ******** e254c1e78f895373a1d5f81443c5a7fce994162141d311fb69bbd50e84c629f0 ssh-agent -k 02:04:59 unset SSH_AUTH_SOCK; 02:04:59 unset SSH_AGENT_PID; 02:04:59 echo Agent pid 40 killed; 02:05:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:00 + git semver [Pipeline] } 02:05:00 $ docker stop --time=1 e254c1e78f895373a1d5f81443c5a7fce994162141d311fb69bbd50e84c629f0 02:05:01 $ docker rm -f --volumes e254c1e78f895373a1d5f81443c5a7fce994162141d311fb69bbd50e84c629f0 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:02 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:02 $ docker top 1a31e9dfe218b7008fcac733c5f7403a71752a0a4c052ab4192d2289b30db398 -eo pid,comm 02:05:02 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:05:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:02 [ssh-agent] Looking for ssh-agent implementation... 02:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:03 $ docker exec 1a31e9dfe218b7008fcac733c5f7403a71752a0a4c052ab4192d2289b30db398 ssh-agent 02:05:03 SSH_AUTH_SOCK=/tmp/ssh-xUdl7Jbeq5Sn/agent.32 02:05:03 SSH_AGENT_PID=38 02:05:03 Running ssh-add (command line suppressed) 02:05:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1168070873658626222.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1168070873658626222.key) 02:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:03 + git semver push 02:05:03 2025-08-29 02:05:03,710 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:05:03 2025-08-29 02:05:03,716 [run_push] DEBUG push 02:05:03 2025-08-29 02:05:03,716 [execute] INFO git cat-file --batch-check 02:05:03 2025-08-29 02:05:03,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=, shell=False, universal_newlines=False) 02:05:03 2025-08-29 02:05:03,719 [execute] INFO git rev-list 19b221aa835efd4a14c8a2e9b04e865f64965388 -- 02:05:03 2025-08-29 02:05:03,719 [execute] DEBUG Popen(['git', 'rev-list', '19b221aa835efd4a14c8a2e9b04e865f64965388', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 02:05:03 2025-08-29 02:05:03,727 [execute] INFO git fetch -v -- origin 02:05:03 2025-08-29 02:05:03,727 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=True) 02:05:04 2025-08-29 02:05:04,172 [run_push] DEBUG no remote changes detected 02:05:04 2025-08-29 02:05:04,172 [execute] INFO git push origin semver 02:05:04 2025-08-29 02:05:04,173 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, stdin=None, shell=False, universal_newlines=False) 02:05:04 2025-08-29 02:05:04,815 [run_push] DEBUG push all version tags 02:05:04 2025-08-29 02:05:04,815 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:05:04 2025-08-29 02:05:04,815 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 02:05:05 2025-08-29 02:05:05,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:05:05 4.1.0-dev.14 [Pipeline] } 02:05:05 $ docker exec --env ******** --env ******** 1a31e9dfe218b7008fcac733c5f7403a71752a0a4c052ab4192d2289b30db398 ssh-agent -k 02:05:05 unset SSH_AUTH_SOCK; 02:05:05 unset SSH_AGENT_PID; 02:05:05 echo Agent pid 38 killed; 02:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:05 + git semver [Pipeline] } 02:05:06 $ docker stop --time=1 1a31e9dfe218b7008fcac733c5f7403a71752a0a4c052ab4192d2289b30db398 02:05:07 $ docker rm -f --volumes 1a31e9dfe218b7008fcac733c5f7403a71752a0a4c052ab4192d2289b30db398 [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:05:08 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:05:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:05:08 total 16 02:05:08 drwxr-xr-x 3 root root 4096 Aug 29 01:51 . 02:05:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 02:04 .. 02:05:08 drwxr-xr-x 2 root root 4096 Aug 29 01:51 cost 02:05:08 -rw-r--r-- 1 root root 86 Aug 29 01:51 cost.csv 02:05:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:05:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:05:08 total 16 02:05:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 01:51 . 02:05:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 02:04 .. 02:05:08 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 01:51 cost 02:05:08 -rw-r--r-- 1 jenkins jenkins 86 Aug 29 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:05:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:05:09 ---> package-listing.sh 02:05:09 ++ facter osfamily 02:05:09 ++ tr '[:upper:]' '[:lower:]' 02:05:09 + OS_FAMILY=debian 02:05:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:05:09 + START_PACKAGES=/tmp/packages_start.txt 02:05:09 + END_PACKAGES=/tmp/packages_end.txt 02:05:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:05:09 + PACKAGES=/tmp/packages_start.txt 02:05:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:05:09 + PACKAGES=/tmp/packages_end.txt 02:05:09 + case "${OS_FAMILY}" in 02:05:09 + dpkg -l 02:05:09 + grep '^ii' 02:05:09 + '[' -f /tmp/packages_start.txt ']' 02:05:09 + '[' -f /tmp/packages_end.txt ']' 02:05:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:05:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:05:09 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:05:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:05:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:05:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:10 prd-ubuntu20.04-docker-8c-8g-7814 does not seem to be running inside a container 02:05:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:05:10 $ docker top b3339153fc0c8db7b4cd619d6f5132a5815007d7bfa1f4fccd50c687ced72812 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:10 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:11 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:11 + ls /var/log/sa-host 02:05:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:11 provisioning config files... 02:05:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14171000271014873895tmp [Pipeline] { [Pipeline] echo 02:05:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:11 ---> create-netrc.sh [Pipeline] } 02:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:12 ---> python-tools-install.sh [Pipeline] echo 02:05:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:05:12 ---> sudo-logs.sh 02:05:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:05:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:05:12 ---> job-cost.sh 02:05:12 lf-activate-venv: SKIPPING 02:05:12 DEBUG: total: 0.2199999988079071 02:05:12 INFO: Retrieving Stack Cost... 02:05:13 INFO: Retrieving Pricing Info for: v3-standard-8 02:05:13 INFO: Archiving Costs [Pipeline] echo 02:05:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:13 ---> logs-deploy.sh 02:05:13 lf-activate-venv: SKIPPING 02:05:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/217 02:05:13 INFO: archiving workspace using pattern(s): 02:05:14 Archives upload complete. 02:05:14 INFO: archiving logs to Nexus