Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 367e7ce991daf9058552cca639fd49d18f0c0d72 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-ssh12365237622152800042.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14521304547300244692.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9137390778367232539.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8093971966902992111.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-ssh17383565948050554830.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40351 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 367e7ce991daf9058552cca639fd49d18f0c0d72 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 367e7ce991daf9058552cca639fd49d18f0c0d72 # timeout=10 Commit message: "Merge pull request #452 from jumpingliu/4.0-rest-changelog" > git rev-list --no-walk 652475eb7f40601dc51275e4cb2d5155a3ec317c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:07:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:07:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:07:21 ========================================================= 15:07:21 EdgeX Global Pipelines Version Info 15:07:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:07:22 ------------------- 15:07:22 stable info: 15:07:22 ------------------- 15:07:22 Commited By: Cherry Wang cherry@iotechsys.com 15:07:22 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:07:22 Message: update stable to v1.0.269 15:07:23 ------------------- 15:07:23 experimental info: 15:07:23 ------------------- 15:07:23 Commited By: Ginny Guan ginny@iotechsys.com 15:07:23 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:07:23 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 367e7ce [Pipeline] echo 15:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:07:23 provisioning config files... 15:07:23 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1947381987333288239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:24 ---> ****-login.sh 15:07:24 nexus3.edgexfoundry.org:10001 15:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:24 Configure a credential helper to remove this warning. See 15:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:24 15:07:24 Login Succeeded 15:07:24 nexus3.edgexfoundry.org:10002 15:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:24 Configure a credential helper to remove this warning. See 15:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:24 15:07:24 Login Succeeded 15:07:24 nexus3.edgexfoundry.org:10003 15:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:24 Configure a credential helper to remove this warning. See 15:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:24 15:07:24 Login Succeeded 15:07:24 nexus3.edgexfoundry.org:10004 15:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:24 Configure a credential helper to remove this warning. See 15:07:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:24 15:07:24 Login Succeeded 15:07:24 ****.io 15:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:25 Configure a credential helper to remove this warning. See 15:07:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:25 15:07:25 Login Succeeded 15:07:25 ---> ****-login.sh ends [Pipeline] } 15:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:07:25 + git rev-list -1 --merges 367e7ce991daf9058552cca639fd49d18f0c0d72~1..367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] echo 15:07:25 -----------> git rev-list -1 --merges 367e7ce991daf9058552cca639fd49d18f0c0d72~1..367e7ce991daf9058552cca639fd49d18f0c0d72 367e7ce991daf9058552cca639fd49d18f0c0d72 [false] [Pipeline] sh 15:07:25 + git log --format=format:%s -1 367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] echo 15:07:25 ========================================================= 15:07:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:07:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:26 + git log --format=format:%s -1 367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] echo 15:07:26 [semverPrep] GIT_COMMIT: 367e7ce991daf9058552cca639fd49d18f0c0d72, Commit Message: Merge pull request #452 from jumpingliu/4.0-rest-changelog [Pipeline] echo 15:07:26 [semverPrep] This is not a build commit. [Pipeline] sh 15:07:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:07:26 + grep -v github /etc/ssh/ssh_known_hosts 15:07:26 + [ -e /tmp/ssh_known_hosts ] 15:07:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:07:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:07:26 + sudo tee -a /etc/ssh/ssh_known_hosts 15:07:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:27 15:07:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:27 0.1.4: Pulling from edgex-devops/py-git-semver 15:07:27 b85a868b505f: Pulling fs layer 15:07:27 e2be974225ed: Pulling fs layer 15:07:27 339a4e72a1f5: Pulling fs layer 15:07:27 988bab9f4d93: Pulling fs layer 15:07:27 1469e6f7b9e6: Pulling fs layer 15:07:27 eaf3925da568: Pulling fs layer 15:07:27 bab4dde63d76: Pulling fs layer 15:07:27 bde34c3a00c8: Pulling fs layer 15:07:27 b352a97aabf1: Pulling fs layer 15:07:27 4872d77fe225: Pulling fs layer 15:07:27 5851b861e8e6: Pulling fs layer 15:07:27 1469e6f7b9e6: Waiting 15:07:27 eaf3925da568: Waiting 15:07:27 bab4dde63d76: Waiting 15:07:27 bde34c3a00c8: Waiting 15:07:27 b352a97aabf1: Waiting 15:07:27 4872d77fe225: Waiting 15:07:27 5851b861e8e6: Waiting 15:07:27 988bab9f4d93: Waiting 15:07:27 e2be974225ed: Verifying Checksum 15:07:27 e2be974225ed: Download complete 15:07:27 988bab9f4d93: Verifying Checksum 15:07:27 988bab9f4d93: Download complete 15:07:27 1469e6f7b9e6: Download complete 15:07:27 eaf3925da568: Download complete 15:07:27 339a4e72a1f5: Verifying Checksum 15:07:27 339a4e72a1f5: Download complete 15:07:27 bde34c3a00c8: Verifying Checksum 15:07:27 bde34c3a00c8: Download complete 15:07:27 b352a97aabf1: Download complete 15:07:27 4872d77fe225: Download complete 15:07:27 5851b861e8e6: Verifying Checksum 15:07:27 5851b861e8e6: Download complete 15:07:27 b85a868b505f: Verifying Checksum 15:07:27 b85a868b505f: Download complete 15:07:27 bab4dde63d76: Verifying Checksum 15:07:27 bab4dde63d76: Download complete 15:07:28 b85a868b505f: Pull complete 15:07:29 e2be974225ed: Pull complete 15:07:29 339a4e72a1f5: Pull complete 15:07:29 988bab9f4d93: Pull complete 15:07:29 1469e6f7b9e6: Pull complete 15:07:29 eaf3925da568: Pull complete 15:07:31 bab4dde63d76: Pull complete 15:07:31 bde34c3a00c8: Pull complete 15:07:31 b352a97aabf1: Pull complete 15:07:32 4872d77fe225: Pull complete 15:07:32 5851b861e8e6: Pull complete 15:07:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:32 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:07:32 $ 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 15:07:33 $ docker top a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 -eo pid,comm 15:07:33 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). 15:07:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:07:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:33 [ssh-agent] Looking for ssh-agent implementation... 15:07:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:33 $ docker exec a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 ssh-agent 15:07:33 SSH_AUTH_SOCK=/tmp/ssh-H3DoucWi3Teg/agent.32 15:07:33 SSH_AGENT_PID=39 15:07:33 Running ssh-add (command line suppressed) 15:07:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14182451315338118957.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14182451315338118957.key) 15:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:34 + git tag --points-at HEAD [Pipeline] } 15:07:34 $ docker exec --env ******** --env ******** a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 ssh-agent -k 15:07:34 unset SSH_AUTH_SOCK; 15:07:34 unset SSH_AGENT_PID; 15:07:34 echo Agent pid 39 killed; 15:07:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:34 [ssh-agent] Looking for ssh-agent implementation... 15:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:34 $ docker exec a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 ssh-agent 15:07:34 SSH_AUTH_SOCK=/tmp/ssh-unWe6HQswfub/agent.72 15:07:34 SSH_AGENT_PID=78 15:07:34 Running ssh-add (command line suppressed) 15:07:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10511657720795595656.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10511657720795595656.key) 15:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:35 + git semver init 15:07:35 2025-03-05 15:07:35,385 [run_init] DEBUG init version:0.0.0 force:False 15:07:35 2025-03-05 15:07:35,386 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 15:07:35 2025-03-05 15:07:35,386 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 15:07:35 2025-03-05 15:07:35,386 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:07:36 2025-03-05 15:07:36,593 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 15:07:36 2025-03-05 15:07:36,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 15:07:36 2025-03-05 15:07:36,594 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:07:36 2025-03-05 15:07:36,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:07:36 4.0.0-dev.11 [Pipeline] } 15:07:36 $ docker exec --env ******** --env ******** a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 ssh-agent -k 15:07:36 unset SSH_AUTH_SOCK; 15:07:36 unset SSH_AGENT_PID; 15:07:36 echo Agent pid 78 killed; 15:07:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:07:37 + git semver [Pipeline] } 15:07:37 $ docker stop --time=1 a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 15:07:38 $ docker rm -f --volumes a45f12826c6165da9ea156b0538a72de24aaa533faffb10c3493543e7753e653 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:07:39 Stashed 1 file(s) [Pipeline] echo 15:07:39 [edgeXSemver]: initialized semver on version 4.0.0-dev.11 [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 15:07:39 provisioning config files... 15:07:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5803464590170206249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:39 ---> ****-login.sh 15:07:39 nexus3.edgexfoundry.org:10001 15:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:39 Configure a credential helper to remove this warning. See 15:07:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:39 15:07:39 Login Succeeded 15:07:39 nexus3.edgexfoundry.org:10002 15:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:39 Configure a credential helper to remove this warning. See 15:07:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:39 15:07:39 Login Succeeded 15:07:40 nexus3.edgexfoundry.org:10003 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 nexus3.edgexfoundry.org:10004 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 ****.io 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 ---> ****-login.sh ends [Pipeline] } 15:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:07:40 ========================================================= 15:07:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 15:07:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:40 + 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 . 15:07:40 Sending build context to Docker daemon 16.68MB 15:07:40 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 15:07:40 Step 2/12 : FROM ${BASE} AS builder 15:07:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 15:07:40 da9db072f522: Pulling fs layer 15:07:40 6ef4a4ee8ca5: Pulling fs layer 15:07:40 06f05ace1117: Pulling fs layer 15:07:40 5fe327b54edc: Pulling fs layer 15:07:40 4f4fb700ef54: Pulling fs layer 15:07:40 92a5565b7b96: Pulling fs layer 15:07:40 ff9bb7016b71: Pulling fs layer 15:07:40 b67dba6c2c7d: Pulling fs layer 15:07:40 a813b0c90790: Pulling fs layer 15:07:40 5fe327b54edc: Waiting 15:07:40 4f4fb700ef54: Waiting 15:07:40 92a5565b7b96: Waiting 15:07:40 ff9bb7016b71: Waiting 15:07:40 b67dba6c2c7d: Waiting 15:07:40 a813b0c90790: Waiting 15:07:41 6ef4a4ee8ca5: Verifying Checksum 15:07:41 6ef4a4ee8ca5: Download complete 15:07:41 5fe327b54edc: Download complete 15:07:41 4f4fb700ef54: Download complete 15:07:41 92a5565b7b96: Verifying Checksum 15:07:41 92a5565b7b96: Download complete 15:07:41 da9db072f522: Download complete 15:07:41 ff9bb7016b71: Verifying Checksum 15:07:41 ff9bb7016b71: Download complete 15:07:41 da9db072f522: Pull complete 15:07:41 a813b0c90790: Verifying Checksum 15:07:41 a813b0c90790: Download complete 15:07:41 6ef4a4ee8ca5: Pull complete 15:07:41 06f05ace1117: Verifying Checksum 15:07:41 06f05ace1117: Download complete 15:07:41 b67dba6c2c7d: Verifying Checksum 15:07:41 b67dba6c2c7d: Download complete 15:07:45 06f05ace1117: Pull complete 15:07:45 5fe327b54edc: Pull complete 15:07:45 4f4fb700ef54: Pull complete 15:07:45 92a5565b7b96: Pull complete 15:07:45 ff9bb7016b71: Pull complete 15:07:47 b67dba6c2c7d: Pull complete 15:07:48 a813b0c90790: Pull complete 15:07:48 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 15:07:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 15:07:48 ---> 3ba60ce46760 15:07:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:07:49 ---> Running in ca0642c91229 15:07:49 Removing intermediate container ca0642c91229 15:07:49 ---> c78d0bab3641 15:07:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:07:49 ---> Running in 3700fb6ebf54 15:07:50 Removing intermediate container 3700fb6ebf54 15:07:50 ---> 665c2738f1b5 15:07:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:07:50 ---> Running in 61257878c972 15:07:50 Removing intermediate container 61257878c972 15:07:50 ---> 98a50526718c 15:07:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:07:50 ---> Running in 834d2704f464 15:07:50 Removing intermediate container 834d2704f464 15:07:50 ---> 65aa3d4a9a22 15:07:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:07:50 ---> Running in c2884740b7bb 15:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 15:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 15:07:51 (1/4) Installing openssh-keygen (9.7_p1-r5) 15:07:51 (2/4) Installing libedit (20240517.3.1-r0) 15:07:51 (3/4) Installing openssh-client-common (9.7_p1-r5) 15:07:51 (4/4) Installing openssh-client-default (9.7_p1-r5) 15:07:51 Executing busybox-1.36.1-r29.trigger 15:07:51 OK: 252 MiB in 62 packages 15:07:51 Removing intermediate container c2884740b7bb 15:07:51 ---> db1c85b00a5b 15:07:51 Step 8/12 : WORKDIR /device-rest-go 15:07:51 ---> Running in a28a92c3d7bd 15:07:51 Removing intermediate container a28a92c3d7bd 15:07:51 ---> 7a92a3bb2ab8 15:07:51 Step 9/12 : COPY go.mod vendor* ./ 15:07:51 ---> bac261cd9087 15:07:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:51 ---> Running in 10a5e638a37f 15:07:54 Still waiting to schedule task 15:07:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:08:30 Removing intermediate container 10a5e638a37f 15:08:30 ---> 2deda7c9c1a6 15:08:30 Step 11/12 : COPY . . 15:08:30 ---> 9f0835632cca 15:08:30 Step 12/12 : RUN $MAKE 15:08:30 ---> Running in b40a27ffb08d 15:08:30 noop 15:08:30 Removing intermediate container b40a27ffb08d 15:08:30 ---> c8850fa5b0b0 15:08:30 Successfully built c8850fa5b0b0 15:08:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:30 + docker inspect -f . ci-base-image-x86_64 15:08:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:30 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:08: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 15:08:31 $ docker top f989183ee66a48fe918389c4a8d0dac00027c653f3ad8b78ce164e4ab8aa8f6b -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:31 + go version 15:08:31 go version go1.23.4 linux/amd64 [Pipeline] } 15:08:31 $ docker stop --time=1 f989183ee66a48fe918389c4a8d0dac00027c653f3ad8b78ce164e4ab8aa8f6b 15:08:32 $ docker rm -f --volumes f989183ee66a48fe918389c4a8d0dac00027c653f3ad8b78ce164e4ab8aa8f6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:33 + docker inspect -f . ci-base-image-x86_64 15:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:33 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:08: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 15:08:33 $ docker top 5f23a64f77f405234bfa0ad853acdc3894e0fbccc026f13a2f88313f0438eacb -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 15:08:34 + make test 15:08:34 go test ./... -coverprofile=coverage.out ./... 15:08:35 ? github.com/edgexfoundry/device-rest-go [no test files] 15:08:58 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 15:08:58 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 15:09:07 go vet ./... 15:09:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:09:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:09:13 ./bin/test-attribution-txt.sh [Pipeline] echo 15:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:09:13 $ docker stop --time=1 5f23a64f77f405234bfa0ad853acdc3894e0fbccc026f13a2f88313f0438eacb 15:09:15 $ docker rm -f --volumes 5f23a64f77f405234bfa0ad853acdc3894e0fbccc026f13a2f88313f0438eacb [Pipeline] // withDockerContainer [Pipeline] sh 15:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:09:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:16 + ls -al . 15:09:16 total 244 15:09:16 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 15:08 . 15:09:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 15:07 .. 15:09:16 -rw-rw-r-- 1 jenkins jenkins 151 Mar 5 15:07 .dockerignore 15:09:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 15:08 .git 15:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:07 .github 15:09:16 -rw-rw-r-- 1 jenkins jenkins 264 Mar 5 15:07 .gitignore 15:09:16 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 15:07 .golangci.yml 15:09:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 15:07 .semver 15:09:16 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 5 15:07 Attribution.txt 15:09:16 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 5 15:07 CHANGELOG.md 15:09:16 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 5 15:07 Dockerfile 15:09:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 15:07 GOVERNANCE.md 15:09:16 -rw-rw-r-- 1 jenkins jenkins 680 Mar 5 15:07 Jenkinsfile 15:09:16 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 15:07 LICENSE 15:09:16 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 5 15:07 Makefile 15:09:16 -rw-rw-r-- 1 jenkins jenkins 620 Mar 5 15:07 OWNERS.md 15:09:16 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 5 15:07 README.md 15:09:16 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 15:07 VERSION 15:09:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:07 bin 15:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:07 cmd 15:09:16 -rw-r--r-- 1 jenkins jenkins 14565 Mar 5 15:08 coverage.out 15:09:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:07 driver 15:09:16 -rw-rw-r-- 1 jenkins jenkins 6292 Mar 5 15:07 go.mod 15:09:16 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 15:07 go.sum 15:09:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:07 openapi 15:09:16 -rw-rw-r-- 1 jenkins jenkins 713 Mar 5 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:17 + 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=367e7ce991daf9058552cca639fd49d18f0c0d72 --label arch=amd64 --label version=4.0.0-dev.11 . 15:09:17 Sending build context to Docker daemon 16.7MB 15:09:17 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 15:09:17 Step 2/26 : FROM ${BASE} AS builder 15:09:17 ---> c8850fa5b0b0 15:09:17 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:09:17 ---> Running in 29182a0e3ee9 15:09:17 Removing intermediate container 29182a0e3ee9 15:09:17 ---> 67154c58aead 15:09:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:09:17 ---> Running in 0eddc41b872e 15:09:17 Removing intermediate container 0eddc41b872e 15:09:17 ---> 9c0a74e09df1 15:09:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:09:17 ---> Running in cd5f8f2956b2 15:09:17 Removing intermediate container cd5f8f2956b2 15:09:17 ---> 31a1b702bd24 15:09:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:09:17 ---> Running in 51a19bf11f38 15:09:17 Removing intermediate container 51a19bf11f38 15:09:17 ---> da781fec3a47 15:09:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:09:17 ---> Running in 5cb6f725d572 15:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 15:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 15:09:18 OK: 252 MiB in 62 packages 15:09:18 Removing intermediate container 5cb6f725d572 15:09:18 ---> c2e842a69796 15:09:18 Step 8/26 : WORKDIR /device-rest-go 15:09:18 ---> Running in 2f355e8a7efa 15:09:18 Removing intermediate container 2f355e8a7efa 15:09:18 ---> b3462efc4486 15:09:18 Step 9/26 : COPY go.mod vendor* ./ 15:09:18 ---> 5980fbc045bb 15:09:18 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:09:19 ---> Running in a65520b4c342 15:09:19 Removing intermediate container a65520b4c342 15:09:19 ---> 58856935c245 15:09:19 Step 11/26 : COPY . . 15:09:19 ---> 0a6285cfee8c 15:09:19 Step 12/26 : RUN $MAKE 15:09:20 ---> Running in c76f2589b82f 15:09:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 15:09:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40352 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 15:09:37 Running in /w/workspace/device-rest-go/189 [Pipeline] { [Pipeline] checkout 15:09:40 The recommended git tool is: git 15:09:44 using credential edgex-jenkins-ssh 15:09:44 Cloning the remote Git repository 15:09:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:09:45 > git init /w/workspace/device-rest-go/189 # timeout=10 15:09:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:09:45 > git --version # timeout=10 15:09:45 > git --version # 'git version 2.25.1' 15:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:48 Avoid second fetch 15:09:48 Checking out Revision 367e7ce991daf9058552cca639fd49d18f0c0d72 (main) 15:09:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:09:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:48 > git config core.sparsecheckout # timeout=10 15:09:48 > git checkout -f 367e7ce991daf9058552cca639fd49d18f0c0d72 # timeout=10 15:09:49 Commit message: "Merge pull request #452 from jumpingliu/4.0-rest-changelog" 15:09:52 Removing intermediate container c76f2589b82f 15:09:52 ---> 87dbf0a43e50 15:09:52 Step 13/26 : FROM alpine:3.20 15:09:52 3.20: Pulling from library/alpine 15:09:52 0a9a5dfd008f: Pulling fs layer 15:09:52 0a9a5dfd008f: Verifying Checksum 15:09:52 0a9a5dfd008f: Download complete 15:09:52 0a9a5dfd008f: Pull complete 15:09:52 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 15:09:52 Status: Downloaded newer image for alpine:3.20 15:09:52 ---> ff221270b9fb 15:09:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:09:52 ---> Running in 8ba191d35f33 15:09:52 Removing intermediate container 8ba191d35f33 15:09:52 ---> 9af872a51db7 15:09:52 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 15:09:52 ---> Running in 63ae610d11a0 15:09:52 Removing intermediate container 63ae610d11a0 15:09:52 ---> cf78c1b101db 15:09:52 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:09:52 ---> Running in f01b701a7257 15:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 15:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 15:09:52 (1/1) Installing dumb-init (1.2.5-r3) 15:09:52 Executing busybox-1.36.1-r29.trigger 15:09:52 OK: 8 MiB in 15 packages 15:09:52 Removing intermediate container f01b701a7257 15:09:52 ---> 326a6ea9b779 15:09:52 Step 17/26 : RUN apk --no-cache upgrade 15:09:52 ---> Running in 2c66ce77c147 15:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 15:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 15:09:52 OK: 8 MiB in 15 packages 15:09:52 Removing intermediate container 2c66ce77c147 15:09:52 ---> 936c561eb388 15:09:52 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 15:09:52 ---> dd93e24b3767 15:09:52 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 15:09:52 ---> 22365e006faa 15:09:52 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 15:09:52 ---> e0a8694901e6 15:09:52 Step 21/26 : EXPOSE 59986 15:09:52 ---> Running in 3a547d8e2e64 15:09:52 Removing intermediate container 3a547d8e2e64 15:09:52 ---> 61c477c2998d 15:09:52 Step 22/26 : ENTRYPOINT ["/device-rest"] 15:09:52 ---> Running in f1aeb52a10c8 15:09:52 Removing intermediate container f1aeb52a10c8 15:09:52 ---> 90f33ac9b61c 15:09:52 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 15:09:52 ---> Running in 57ad4f8fed75 15:09:52 Removing intermediate container 57ad4f8fed75 15:09:52 ---> 6c97d5fa73d1 15:09:52 Step 24/26 : LABEL arch=amd64 15:09:52 ---> Running in 75bdf9cda6a1 15:09:52 Removing intermediate container 75bdf9cda6a1 15:09:52 ---> 2b0757088b34 15:09:52 Step 25/26 : LABEL git_sha=367e7ce991daf9058552cca639fd49d18f0c0d72 15:09:52 ---> Running in ccb74d514356 15:09:52 Removing intermediate container ccb74d514356 15:09:52 ---> 05b79a775cd3 15:09:52 Step 26/26 : LABEL version=4.0.0-dev.11 15:09:52 ---> Running in 8443c4a40c59 15:09:52 Removing intermediate container 8443c4a40c59 15:09:52 ---> 449d58f427a3 15:09:52 [Warning] One or more build-args [ARCH] were not consumed 15:09:52 Successfully built 449d58f427a3 15:09:52 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:09:52 provisioning config files... 15:09:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16592138109003853091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:52 ---> ****-login.sh 15:09:52 nexus3.edgexfoundry.org:10001 15:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:09:52 Configure a credential helper to remove this warning. See 15:09:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:09:52 15:09:52 Login Succeeded 15:09:52 nexus3.edgexfoundry.org:10002 15:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:09:52 Configure a credential helper to remove this warning. See 15:09:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:09:52 15:09:52 Login Succeeded 15:09:52 nexus3.edgexfoundry.org:10003 15:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:09:53 Configure a credential helper to remove this warning. See 15:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:09:53 15:09:53 Login Succeeded 15:09:53 nexus3.edgexfoundry.org:10004 15:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:09:53 Configure a credential helper to remove this warning. See 15:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:09:53 15:09:53 Login Succeeded 15:09:53 ****.io 15:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:09:53 Configure a credential helper to remove this warning. See 15:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:09:53 15:09:53 Login Succeeded 15:09:53 ---> ****-login.sh ends [Pipeline] } 15:09:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:09:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:09:53 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:09:53 367e7ce991daf9058552cca639fd49d18f0c0d72 15:09:53 latest 15:09:53 4.0.0-dev.11 15:09:53 367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:09:53 main 15:09:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:09:54 % Total % Received % Xferd Average Speed Time Time Time Current 15:09:54 Dload Upload Total Spent Left Speed 15:09:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86675 15:09:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72 15:09:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:09:54 d2c5ab4aa3f8: Preparing 15:09:54 ed7ddf6cfe93: Preparing 15:09:54 44616bb9d459: Preparing 15:09:54 4d91c0932a8e: Preparing 15:09:54 ad58f55a0f8c: Preparing 15:09:54 994456c4fd7b: Preparing 15:09:54 d2c5ab4aa3f8: Pushed 15:09:54 ed7ddf6cfe93: Pushed 15:09:54 ad58f55a0f8c: Pushed 15:09:54 4d91c0932a8e: Pushed 15:09:54 994456c4fd7b: Layer already exists [Pipeline] sh 15:09:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:09:54 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 15:09:54 /etc/docker/daemon.new 15:09:54 { 15:09:54 "registry-mirrors": [ 15:09:54 "https://nexus3.edgexfoundry.org:10001" 15:09:54 ], 15:09:54 "bip": "10.250.0.254/24", 15:09:54 "hosts": [ 15:09:54 "tcp://0.0.0.0:5555", 15:09:54 "unix:///var/run/docker.sock" 15:09:54 ], 15:09:54 "mtu": 1458, 15:09:54 "selinux-enabled": true, 15:09:54 "seccomp-profile": "/etc/docker/seccomp.json" 15:09:54 } [Pipeline] sh 15:09:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:09:55 + sudo service docker restart 15:09:58 44616bb9d459: Pushed 15:09:58 367e7ce991daf9058552cca639fd49d18f0c0d72: digest: sha256:aa6fce32e351153aa61f85ccd4af42203413d170f2b5062551c8564d61d5338a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 15:09:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:09:59 d2c5ab4aa3f8: Preparing 15:09:59 ed7ddf6cfe93: Preparing 15:09:59 44616bb9d459: Preparing 15:09:59 4d91c0932a8e: Preparing 15:09:59 ad58f55a0f8c: Preparing 15:09:59 994456c4fd7b: Preparing 15:09:59 994456c4fd7b: Waiting 15:09:59 ed7ddf6cfe93: Layer already exists 15:09:59 ad58f55a0f8c: Layer already exists 15:09:59 4d91c0932a8e: Layer already exists 15:09:59 d2c5ab4aa3f8: Layer already exists 15:09:59 44616bb9d459: Layer already exists 15:09:59 994456c4fd7b: Layer already exists 15:09:59 latest: digest: sha256:aa6fce32e351153aa61f85ccd4af42203413d170f2b5062551c8564d61d5338a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.11 15:09:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:09:59 d2c5ab4aa3f8: Preparing 15:09:59 ed7ddf6cfe93: Preparing 15:09:59 44616bb9d459: Preparing 15:09:59 4d91c0932a8e: Preparing 15:09:59 ad58f55a0f8c: Preparing 15:09:59 994456c4fd7b: Preparing 15:09:59 994456c4fd7b: Waiting 15:09:59 4d91c0932a8e: Layer already exists 15:09:59 d2c5ab4aa3f8: Layer already exists 15:09:59 ed7ddf6cfe93: Layer already exists 15:09:59 ad58f55a0f8c: Layer already exists 15:09:59 44616bb9d459: Layer already exists 15:09:59 994456c4fd7b: Layer already exists 15:09:59 4.0.0-dev.11: digest: sha256:aa6fce32e351153aa61f85ccd4af42203413d170f2b5062551c8564d61d5338a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:10:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:10:00 d2c5ab4aa3f8: Preparing 15:10:00 ed7ddf6cfe93: Preparing 15:10:00 44616bb9d459: Preparing 15:10:00 4d91c0932a8e: Preparing 15:10:00 ad58f55a0f8c: Preparing 15:10:00 994456c4fd7b: Preparing 15:10:00 d2c5ab4aa3f8: Layer already exists 15:10:00 ed7ddf6cfe93: Layer already exists 15:10:00 4d91c0932a8e: Layer already exists 15:10:00 44616bb9d459: Layer already exists 15:10:00 ad58f55a0f8c: Layer already exists 15:10:00 994456c4fd7b: Layer already exists 15:10:00 367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11: digest: sha256:aa6fce32e351153aa61f85ccd4af42203413d170f2b5062551c8564d61d5338a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 15:10:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:10:01 d2c5ab4aa3f8: Preparing 15:10:01 ed7ddf6cfe93: Preparing 15:10:01 44616bb9d459: Preparing 15:10:01 4d91c0932a8e: Preparing 15:10:01 ad58f55a0f8c: Preparing 15:10:01 994456c4fd7b: Preparing 15:10:01 994456c4fd7b: Waiting 15:10:01 4d91c0932a8e: Layer already exists 15:10:01 d2c5ab4aa3f8: Layer already exists 15:10:01 ad58f55a0f8c: Layer already exists 15:10:01 ed7ddf6cfe93: Layer already exists 15:10:01 44616bb9d459: Layer already exists 15:10:01 994456c4fd7b: Layer already exists 15:10:01 main: digest: sha256:aa6fce32e351153aa61f85ccd4af42203413d170f2b5062551c8564d61d5338a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:10:01 ===================================================== [Pipeline] echo 15:10:01 taggedImages: 15:10:01 - nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72 15:10:01 - nexus3.edgexfoundry.org:10004/device-rest:latest 15:10:01 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.11 15:10:01 - nexus3.edgexfoundry.org:10004/device-rest:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:10:01 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:01 15:10:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:01 latest: Pulling from edgex-lftools-log-publisher 15:10:01 5eb5b503b376: Pulling fs layer 15:10:01 5c69ac0246d0: Pulling fs layer 15:10:01 ec43610c2a17: Pulling fs layer 15:10:01 3a2ae6a8a46f: Pulling fs layer 15:10:01 33b1e0a273af: Pulling fs layer 15:10:01 5d3b04190fa2: Pulling fs layer 15:10:01 2f39f015ded8: Pulling fs layer 15:10:01 3a2ae6a8a46f: Waiting 15:10:01 33b1e0a273af: Waiting 15:10:01 5d3b04190fa2: Waiting 15:10:01 5c69ac0246d0: Verifying Checksum 15:10:01 5c69ac0246d0: Download complete 15:10:01 3a2ae6a8a46f: Verifying Checksum 15:10:01 3a2ae6a8a46f: Download complete 15:10:01 33b1e0a273af: Verifying Checksum 15:10:01 33b1e0a273af: Download complete 15:10:01 5d3b04190fa2: Verifying Checksum 15:10:01 5d3b04190fa2: Download complete 15:10:01 ec43610c2a17: Verifying Checksum 15:10:01 ec43610c2a17: Download complete 15:10:02 5eb5b503b376: Verifying Checksum 15:10:02 5eb5b503b376: Download complete 15:10:02 2f39f015ded8: Verifying Checksum 15:10:02 2f39f015ded8: Download complete 15:10:03 5eb5b503b376: Pull complete 15:10:03 5c69ac0246d0: Pull complete 15:10:03 ec43610c2a17: Pull complete 15:10:03 3a2ae6a8a46f: Pull complete 15:10:03 33b1e0a273af: Pull complete 15:10:04 5d3b04190fa2: Pull complete 15:10:08 2f39f015ded8: Pull complete 15:10:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:08 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:10:08 $ 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 15:10:09 $ docker top b1213557d59995ed2f3c57b45c74f715a6e46ea6c62c8e7f8748c27613a96c93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:10 ---> job-cost.sh 15:10:10 lf-activate-venv: SKIPPING 15:10:10 INFO: No Stack... 15:10:10 INFO: Retrieving Pricing Info for: v3-standard-8 15:10:11 INFO: Archiving Costs [Pipeline] sh 15:10:11 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 15:10:11 + cut -d, -f6 [Pipeline] lock 15:10:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] 15:10:11 Resource [jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] did not exist. Created. 15:10:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:10:11 + echo total: 0.2199999988079071 [Pipeline] stash 15:10:11 Stashed 1 file(s) [Pipeline] } 15:10:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 15:10:11 $ docker stop --time=1 b1213557d59995ed2f3c57b45c74f715a6e46ea6c62c8e7f8748c27613a96c93 15:10:13 $ docker rm -f --volumes b1213557d59995ed2f3c57b45c74f715a6e46ea6c62c8e7f8748c27613a96c93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:13 provisioning config files... 15:10:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/189@tmp/config15659913471958317122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:14 ---> ****-login.sh 15:10:14 nexus3.edgexfoundry.org:10001 15:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:10:14 Configure a credential helper to remove this warning. See 15:10:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:10:14 15:10:14 Login Succeeded 15:10:14 nexus3.edgexfoundry.org:10002 15:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:10:15 Configure a credential helper to remove this warning. See 15:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:10:15 15:10:15 Login Succeeded 15:10:15 nexus3.edgexfoundry.org:10003 15:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:10:15 Configure a credential helper to remove this warning. See 15:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:10:15 15:10:15 Login Succeeded 15:10:15 nexus3.edgexfoundry.org:10004 15:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:10:15 Configure a credential helper to remove this warning. See 15:10:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:10:15 15:10:15 Login Succeeded 15:10:15 ****.io 15:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:10:16 Configure a credential helper to remove this warning. See 15:10:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:10:16 15:10:16 Login Succeeded 15:10:16 ---> ****-login.sh ends [Pipeline] } 15:10:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:10:16 ========================================================= 15:10:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 15:10:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:17 + 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 . 15:10:17 Sending build context to Docker daemon 141.8kB 15:10:17 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 15:10:17 Step 2/12 : FROM ${BASE} AS builder 15:10:17 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:10:17 9986a736f7d3: Pulling fs layer 15:10:17 1f018df60701: Pulling fs layer 15:10:17 39f8f326b044: Pulling fs layer 15:10:17 e6a1e7a6a96a: Pulling fs layer 15:10:17 4f4fb700ef54: Pulling fs layer 15:10:17 d45d956e0dbf: Pulling fs layer 15:10:17 d7702b0d1db1: Pulling fs layer 15:10:17 5c7f0f088c93: Pulling fs layer 15:10:17 4fdc064ae6cf: Pulling fs layer 15:10:17 e6a1e7a6a96a: Waiting 15:10:17 4f4fb700ef54: Waiting 15:10:17 d45d956e0dbf: Waiting 15:10:17 d7702b0d1db1: Waiting 15:10:17 5c7f0f088c93: Waiting 15:10:17 4fdc064ae6cf: Waiting 15:10:17 1f018df60701: Verifying Checksum 15:10:17 1f018df60701: Download complete 15:10:17 e6a1e7a6a96a: Verifying Checksum 15:10:17 e6a1e7a6a96a: Download complete 15:10:17 4f4fb700ef54: Verifying Checksum 15:10:17 4f4fb700ef54: Download complete 15:10:17 d45d956e0dbf: Verifying Checksum 15:10:17 d45d956e0dbf: Download complete 15:10:17 9986a736f7d3: Verifying Checksum 15:10:17 9986a736f7d3: Download complete 15:10:17 d7702b0d1db1: Verifying Checksum 15:10:17 d7702b0d1db1: Download complete 15:10:18 4fdc064ae6cf: Verifying Checksum 15:10:18 4fdc064ae6cf: Download complete 15:10:18 9986a736f7d3: Pull complete 15:10:19 1f018df60701: Pull complete 15:10:19 39f8f326b044: Verifying Checksum 15:10:19 39f8f326b044: Download complete 15:10:20 5c7f0f088c93: Verifying Checksum 15:10:20 5c7f0f088c93: Download complete 15:10:35 39f8f326b044: Pull complete 15:10:35 e6a1e7a6a96a: Pull complete 15:10:35 4f4fb700ef54: Pull complete 15:10:35 d45d956e0dbf: Pull complete 15:10:35 d7702b0d1db1: Pull complete 15:10:42 5c7f0f088c93: Pull complete 15:10:45 4fdc064ae6cf: Pull complete 15:10:45 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 15:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 15:10:45 ---> 63f30b955cb9 15:10:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:10:46 ---> Running in 29cdbdfd0d29 15:10:46 Removing intermediate container 29cdbdfd0d29 15:10:46 ---> ae3728557cc6 15:10:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:10:46 ---> Running in 531d26eb9936 15:10:47 Removing intermediate container 531d26eb9936 15:10:47 ---> e57dad3ca8bb 15:10:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:10:47 ---> Running in 3ee2b6005f70 15:10:47 Removing intermediate container 3ee2b6005f70 15:10:47 ---> d9209d3dbf6d 15:10:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:10:47 ---> Running in 9b44c8f2cd90 15:10:47 Removing intermediate container 9b44c8f2cd90 15:10:47 ---> 8d23a2590ad0 15:10:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:47 ---> Running in de1044c0fc74 15:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 15:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 15:10:50 (1/4) Installing openssh-keygen (9.7_p1-r5) 15:10:50 (2/4) Installing libedit (20240517.3.1-r0) 15:10:50 (3/4) Installing openssh-client-common (9.7_p1-r5) 15:10:50 (4/4) Installing openssh-client-default (9.7_p1-r5) 15:10:50 Executing busybox-1.36.1-r29.trigger 15:10:50 OK: 244 MiB in 62 packages 15:10:51 Removing intermediate container de1044c0fc74 15:10:51 ---> 3edae2f25178 15:10:51 Step 8/12 : WORKDIR /device-rest-go 15:10:51 ---> Running in 8ecc3bc9266a 15:10:51 Removing intermediate container 8ecc3bc9266a 15:10:51 ---> d4a4d8c3be5c 15:10:51 Step 9/12 : COPY go.mod vendor* ./ 15:10:52 ---> 5286a6828eac 15:10:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:52 ---> Running in b87767afd480 15:12:44 Removing intermediate container b87767afd480 15:12:44 ---> c7544d15a01c 15:12:44 Step 11/12 : COPY . . 15:12:44 ---> f10e882fa8fd 15:12:44 Step 12/12 : RUN $MAKE 15:12:44 ---> Running in 33e3d9e7e845 15:12:44 noop 15:12:44 Removing intermediate container 33e3d9e7e845 15:12:44 ---> 358f0a9c92a2 15:12:44 Successfully built 358f0a9c92a2 15:12:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:44 + docker inspect -f . ci-base-image-arm64 15:12:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:44 prd-ubuntu20.04-docker-arm64-4c-16g-40352 does not seem to be running inside a container 15:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/189 -v /w/workspace/device-rest-go/189:/w/workspace/device-rest-go/189:rw,z -v /w/workspace/device-rest-go/189@tmp:/w/workspace/device-rest-go/189@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 15:12:46 $ docker top 84b80d362daca4a2ee1e2c5dbae8d8cefdac3f060e97112d3d4b29b8b4d01ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:46 + go version 15:12:46 go version go1.23.4 linux/arm64 [Pipeline] } 15:12:46 $ docker stop --time=1 84b80d362daca4a2ee1e2c5dbae8d8cefdac3f060e97112d3d4b29b8b4d01ed3 15:12:48 $ docker rm -f --volumes 84b80d362daca4a2ee1e2c5dbae8d8cefdac3f060e97112d3d4b29b8b4d01ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:49 + docker inspect -f . ci-base-image-arm64 15:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:49 prd-ubuntu20.04-docker-arm64-4c-16g-40352 does not seem to be running inside a container 15:12:49 $ 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/189 -v /w/workspace/device-rest-go/189:/w/workspace/device-rest-go/189:rw,z -v /w/workspace/device-rest-go/189@tmp:/w/workspace/device-rest-go/189@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 15:12:50 $ docker top 39c6f692fbc487f489c02db4894e6bf57a160fe7d5868f6f26e15041f3ac2735 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:51 + git config --global --add safe.directory /w/workspace/device-rest-go/189 [Pipeline] fileExists [Pipeline] sh 15:12:52 + make test 15:12:52 go test ./... -coverprofile=coverage.out ./... 15:12:57 ? github.com/edgexfoundry/device-rest-go [no test files] 15:16:04 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 15:16:04 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 15:16:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:16:04 go vet ./... 15:16:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:16:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:16:51 ./bin/test-attribution-txt.sh [Pipeline] echo 15:16:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:16:51 $ docker stop --time=1 39c6f692fbc487f489c02db4894e6bf57a160fe7d5868f6f26e15041f3ac2735 15:16:53 $ docker rm -f --volumes 39c6f692fbc487f489c02db4894e6bf57a160fe7d5868f6f26e15041f3ac2735 [Pipeline] // withDockerContainer [Pipeline] sh 15:16:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:16:54 Warning: overwriting stash ‘coverage-report’ 15:16:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:16:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:16:55 + ls -al . 15:16:55 total 240 15:16:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 15:12 . 15:16:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 15:09 .. 15:16:55 -rw-rw-r-- 1 jenkins jenkins 151 Mar 5 15:09 .dockerignore 15:16:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 15:09 .git 15:16:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:09 .github 15:16:55 -rw-rw-r-- 1 jenkins jenkins 264 Mar 5 15:09 .gitignore 15:16:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 15:09 .golangci.yml 15:16:55 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 5 15:09 Attribution.txt 15:16:55 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 5 15:09 CHANGELOG.md 15:16:55 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 5 15:09 Dockerfile 15:16:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 15:09 GOVERNANCE.md 15:16:55 -rw-rw-r-- 1 jenkins jenkins 680 Mar 5 15:09 Jenkinsfile 15:16:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 15:09 LICENSE 15:16:55 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 5 15:09 Makefile 15:16:55 -rw-rw-r-- 1 jenkins jenkins 620 Mar 5 15:09 OWNERS.md 15:16:55 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 5 15:09 README.md 15:16:55 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 15:07 VERSION 15:16:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:09 bin 15:16:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:09 cmd 15:16:55 -rw-r--r-- 1 jenkins jenkins 14565 Mar 5 15:16 coverage.out 15:16:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:09 driver 15:16:55 -rw-rw-r-- 1 jenkins jenkins 6292 Mar 5 15:09 go.mod 15:16:55 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 15:09 go.sum 15:16:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:09 openapi 15:16:55 -rw-rw-r-- 1 jenkins jenkins 713 Mar 5 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:56 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=367e7ce991daf9058552cca639fd49d18f0c0d72 --label arch=arm64 --label version=4.0.0-dev.11 . 15:16:56 Sending build context to Docker daemon 157.2kB 15:16:56 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 15:16:56 Step 2/26 : FROM ${BASE} AS builder 15:16:56 ---> 358f0a9c92a2 15:16:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:16:56 ---> Running in 059fc999e48e 15:16:56 Removing intermediate container 059fc999e48e 15:16:56 ---> 4b14ae3c13b1 15:16:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:16:57 ---> Running in fd618c7839cb 15:16:57 Removing intermediate container fd618c7839cb 15:16:57 ---> 50291c0240bc 15:16:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:16:57 ---> Running in 6ebf1a3f6cde 15:16:57 Removing intermediate container 6ebf1a3f6cde 15:16:57 ---> 1af4e2d6db86 15:16:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:16:57 ---> Running in 29b0a445b2ef 15:16:57 Removing intermediate container 29b0a445b2ef 15:16:57 ---> 3e959dfc901e 15:16:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:16:58 ---> Running in bd8b1126e576 15:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 15:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 15:17:00 OK: 244 MiB in 62 packages 15:17:01 Removing intermediate container bd8b1126e576 15:17:01 ---> 6df3df5a7b1a 15:17:01 Step 8/26 : WORKDIR /device-rest-go 15:17:01 ---> Running in 93e8bc542cb0 15:17:01 Removing intermediate container 93e8bc542cb0 15:17:01 ---> 15217eef3348 15:17:01 Step 9/26 : COPY go.mod vendor* ./ 15:17:02 ---> 5127f46dedf8 15:17:02 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:17:02 ---> Running in cf9ba44a8a1c 15:17:04 Removing intermediate container cf9ba44a8a1c 15:17:04 ---> 8ff0268581c2 15:17:04 Step 11/26 : COPY . . 15:17:05 ---> 5fd0018e550a 15:17:05 Step 12/26 : RUN $MAKE 15:17:05 ---> Running in 7dc3d7ce7974 15:17:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 15:20:13 Removing intermediate container 7dc3d7ce7974 15:20:13 ---> 29c280e17aec 15:20:13 Step 13/26 : FROM alpine:3.20 15:20:13 3.20: Pulling from library/alpine 15:20:13 94e9d8af2201: Pulling fs layer 15:20:13 94e9d8af2201: Verifying Checksum 15:20:13 94e9d8af2201: Download complete 15:20:13 94e9d8af2201: Pull complete 15:20:13 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 15:20:13 Status: Downloaded newer image for alpine:3.20 15:20:13 ---> 7aab056cecc6 15:20:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:20:13 ---> Running in b05801c96937 15:20:13 Removing intermediate container b05801c96937 15:20:13 ---> 60d3847acaab 15:20:13 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 15:20:13 ---> Running in 0ea2e327b14e 15:20:13 Removing intermediate container 0ea2e327b14e 15:20:13 ---> d613be73e145 15:20:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:20:14 ---> Running in c6d84762b4ef 15:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 15:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 15:20:16 (1/1) Installing dumb-init (1.2.5-r3) 15:20:16 Executing busybox-1.36.1-r29.trigger 15:20:16 OK: 9 MiB in 15 packages 15:20:17 Removing intermediate container c6d84762b4ef 15:20:17 ---> 848cb7f9be24 15:20:17 Step 17/26 : RUN apk --no-cache upgrade 15:20:17 ---> Running in 77503e5a4b70 15:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 15:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 15:20:19 OK: 9 MiB in 15 packages 15:20:20 Removing intermediate container 77503e5a4b70 15:20:20 ---> 6d503ec2c93d 15:20:20 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 15:20:22 ---> 2a902ecb9673 15:20:22 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 15:20:23 ---> 9bed3971be2c 15:20:23 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 15:20:23 ---> d841ca451c8f 15:20:23 Step 21/26 : EXPOSE 59986 15:20:23 ---> Running in d3305fc558b6 15:20:23 Removing intermediate container d3305fc558b6 15:20:23 ---> 834e65df4425 15:20:23 Step 22/26 : ENTRYPOINT ["/device-rest"] 15:20:24 ---> Running in f57db6a94a5d 15:20:24 Removing intermediate container f57db6a94a5d 15:20:24 ---> 07766a4edb9a 15:20:24 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 15:20:24 ---> Running in a94212c47d0c 15:20:24 Removing intermediate container a94212c47d0c 15:20:24 ---> d847b6660928 15:20:24 Step 24/26 : LABEL arch=arm64 15:20:24 ---> Running in 14b15791fabf 15:20:24 Removing intermediate container 14b15791fabf 15:20:24 ---> d2472dc570bb 15:20:24 Step 25/26 : LABEL git_sha=367e7ce991daf9058552cca639fd49d18f0c0d72 15:20:24 ---> Running in b3d39599d14a 15:20:25 Removing intermediate container b3d39599d14a 15:20:25 ---> 1b73c344ae89 15:20:25 Step 26/26 : LABEL version=4.0.0-dev.11 15:20:25 ---> Running in 175f8d8b0fc6 15:20:25 Removing intermediate container 175f8d8b0fc6 15:20:25 ---> 893f3d793c7d 15:20:25 [Warning] One or more build-args [ARCH] were not consumed 15:20:25 Successfully built 893f3d793c7d 15:20:25 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 15:20:25 provisioning config files... 15:20:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/189@tmp/config13910246212060114940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:20:26 ---> ****-login.sh 15:20:26 nexus3.edgexfoundry.org:10001 15:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:20:26 Configure a credential helper to remove this warning. See 15:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:20:26 15:20:26 Login Succeeded 15:20:26 nexus3.edgexfoundry.org:10002 15:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:20:26 Configure a credential helper to remove this warning. See 15:20:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:20:26 15:20:26 Login Succeeded 15:20:26 nexus3.edgexfoundry.org:10003 15:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:20:27 Configure a credential helper to remove this warning. See 15:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:20:27 15:20:27 Login Succeeded 15:20:27 nexus3.edgexfoundry.org:10004 15:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:20:27 Configure a credential helper to remove this warning. See 15:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:20:27 15:20:27 Login Succeeded 15:20:27 ****.io 15:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:20:28 Configure a credential helper to remove this warning. See 15:20:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:20:28 15:20:28 Login Succeeded 15:20:28 ---> ****-login.sh ends [Pipeline] } 15:20:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:20:28 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 15:20:28 367e7ce991daf9058552cca639fd49d18f0c0d72 15:20:28 latest 15:20:28 4.0.0-dev.11 15:20:28 367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:20:28 main 15:20:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72 15:20:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:20:29 55c0d60a5857: Preparing 15:20:29 dde9f7b59efc: Preparing 15:20:29 47bc49efb923: Preparing 15:20:29 aa09fa684c02: Preparing 15:20:29 3d59f2f61131: Preparing 15:20:29 dd9c8f8612c8: Preparing 15:20:29 dd9c8f8612c8: Waiting 15:20:29 55c0d60a5857: Pushed 15:20:29 3d59f2f61131: Pushed 15:20:29 dd9c8f8612c8: Layer already exists 15:20:29 aa09fa684c02: Pushed 15:20:29 dde9f7b59efc: Pushed 15:20:37 47bc49efb923: Pushed 15:20:37 367e7ce991daf9058552cca639fd49d18f0c0d72: digest: sha256:34f97279c6bf243485457d4d391f83a406407e6d13d59877c4b5c77176c0b190 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:20:38 55c0d60a5857: Preparing 15:20:38 dde9f7b59efc: Preparing 15:20:38 47bc49efb923: Preparing 15:20:38 aa09fa684c02: Preparing 15:20:38 3d59f2f61131: Preparing 15:20:38 dd9c8f8612c8: Preparing 15:20:38 dd9c8f8612c8: Waiting 15:20:38 dde9f7b59efc: Layer already exists 15:20:38 47bc49efb923: Layer already exists 15:20:38 55c0d60a5857: Layer already exists 15:20:38 aa09fa684c02: Layer already exists 15:20:38 3d59f2f61131: Layer already exists 15:20:38 dd9c8f8612c8: Layer already exists 15:20:38 latest: digest: sha256:34f97279c6bf243485457d4d391f83a406407e6d13d59877c4b5c77176c0b190 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.11 15:20:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:20:38 55c0d60a5857: Preparing 15:20:38 dde9f7b59efc: Preparing 15:20:38 47bc49efb923: Preparing 15:20:38 aa09fa684c02: Preparing 15:20:38 3d59f2f61131: Preparing 15:20:38 dd9c8f8612c8: Preparing 15:20:38 dd9c8f8612c8: Waiting 15:20:38 dde9f7b59efc: Layer already exists 15:20:38 55c0d60a5857: Layer already exists 15:20:38 47bc49efb923: Layer already exists 15:20:38 aa09fa684c02: Layer already exists 15:20:38 3d59f2f61131: Layer already exists 15:20:38 dd9c8f8612c8: Layer already exists 15:20:38 4.0.0-dev.11: digest: sha256:34f97279c6bf243485457d4d391f83a406407e6d13d59877c4b5c77176c0b190 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:20:39 55c0d60a5857: Preparing 15:20:39 dde9f7b59efc: Preparing 15:20:39 47bc49efb923: Preparing 15:20:39 aa09fa684c02: Preparing 15:20:39 3d59f2f61131: Preparing 15:20:39 dd9c8f8612c8: Preparing 15:20:39 dd9c8f8612c8: Waiting 15:20:39 55c0d60a5857: Layer already exists 15:20:39 3d59f2f61131: Layer already exists 15:20:39 aa09fa684c02: Layer already exists 15:20:39 47bc49efb923: Layer already exists 15:20:39 dde9f7b59efc: Layer already exists 15:20:39 dd9c8f8612c8: Layer already exists 15:20:39 367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11: digest: sha256:34f97279c6bf243485457d4d391f83a406407e6d13d59877c4b5c77176c0b190 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 15:20:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 15:20:40 55c0d60a5857: Preparing 15:20:40 dde9f7b59efc: Preparing 15:20:40 47bc49efb923: Preparing 15:20:40 aa09fa684c02: Preparing 15:20:40 3d59f2f61131: Preparing 15:20:40 dd9c8f8612c8: Preparing 15:20:40 dd9c8f8612c8: Waiting 15:20:40 47bc49efb923: Layer already exists 15:20:40 dde9f7b59efc: Layer already exists 15:20:40 55c0d60a5857: Layer already exists 15:20:40 aa09fa684c02: Layer already exists 15:20:40 3d59f2f61131: Layer already exists 15:20:40 dd9c8f8612c8: Layer already exists 15:20:41 main: digest: sha256:34f97279c6bf243485457d4d391f83a406407e6d13d59877c4b5c77176c0b190 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:20:41 ===================================================== [Pipeline] echo 15:20:41 taggedImages: 15:20:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72 15:20:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 15:20:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.11 15:20:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:367e7ce991daf9058552cca639fd49d18f0c0d72-4.0.0-dev.11 15:20:41 - 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 15:20:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:20:41 15:20:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:20:41 arm64: Pulling from edgex-lftools-log-publisher 15:20:41 8998bd30e6a1: Pulling fs layer 15:20:41 04944245beec: Pulling fs layer 15:20:41 699f458cf7ca: Pulling fs layer 15:20:41 765212b225bb: Pulling fs layer 15:20:41 f23df028b6ca: Pulling fs layer 15:20:41 d65c8cfc05b1: Pulling fs layer 15:20:41 2437ff75d9bd: Pulling fs layer 15:20:41 f23df028b6ca: Waiting 15:20:41 d65c8cfc05b1: Waiting 15:20:41 2437ff75d9bd: Waiting 15:20:42 04944245beec: Verifying Checksum 15:20:42 04944245beec: Download complete 15:20:42 765212b225bb: Verifying Checksum 15:20:42 765212b225bb: Download complete 15:20:42 f23df028b6ca: Download complete 15:20:42 d65c8cfc05b1: Verifying Checksum 15:20:42 d65c8cfc05b1: Download complete 15:20:42 699f458cf7ca: Verifying Checksum 15:20:42 699f458cf7ca: Download complete 15:20:42 8998bd30e6a1: Verifying Checksum 15:20:42 8998bd30e6a1: Download complete 15:20:45 2437ff75d9bd: Verifying Checksum 15:20:47 8998bd30e6a1: Pull complete 15:20:47 04944245beec: Pull complete 15:20:49 699f458cf7ca: Pull complete 15:20:49 765212b225bb: Pull complete 15:20:50 f23df028b6ca: Pull complete 15:20:50 d65c8cfc05b1: Pull complete 15:21:08 2437ff75d9bd: Pull complete 15:21:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:21:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:21:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:08 prd-ubuntu20.04-docker-arm64-4c-16g-40352 does not seem to be running inside a container 15:21:08 $ 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/189 -v /w/workspace/device-rest-go/189:/w/workspace/device-rest-go/189:rw,z -v /w/workspace/device-rest-go/189@tmp:/w/workspace/device-rest-go/189@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 15:21:11 $ docker top b893c09e716cabb9edb869f7efcaca03a30f59638cada6bc97ee3374ff2a2f0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:12 ---> job-cost.sh 15:21:12 lf-activate-venv: SKIPPING 15:21:12 INFO: No Stack... 15:21:13 INFO: Retrieving Pricing Info for: v3-standard-4 15:21:13 INFO: Archiving Costs [Pipeline] sh 15:21:14 + cat+ /w/workspace/device-rest-go/189/archives/cost.csv 15:21:14 cut -d, -f6 [Pipeline] lock 15:21:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] 15:21:14 Resource [jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] did not exist. Created. 15:21:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:14 /w/workspace/device-rest-go/189@tmp/durable-314617f1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:21:15 + echo total: 0.10999999940395355 [Pipeline] stash 15:21:15 Warning: overwriting stash ‘stack-cost’ 15:21:15 Stashed 1 file(s) [Pipeline] } 15:21:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 15:21:15 $ docker stop --time=1 b893c09e716cabb9edb869f7efcaca03a30f59638cada6bc97ee3374ff2a2f0c 15:21:17 $ docker rm -f --volumes b893c09e716cabb9edb869f7efcaca03a30f59638cada6bc97ee3374ff2a2f0c [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 15:21:17 provisioning config files... 15:21:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15958927973046924066tmp [Pipeline] { [Pipeline] sh 15:21:17 + set +x 15:21:17 + curl -s https://codecov.io/bash 15:21:17 + bash -s -- 15:21:18 15:21:18 _____ _ 15:21:18 / ____| | | 15:21:18 | | ___ __| | ___ ___ _____ __ 15:21:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:21:18 | |___| (_) | (_| | __/ (_| (_) \ V / 15:21:18 \_____\___/ \__,_|\___|\___\___/ \_/ 15:21:18 Bash-1.0.6 15:21:18 15:21:18 15:21:18 ==> git version 2.25.1 found 15:21:18 ==> 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 15:21:18 Release-Date: 2020-01-08 15:21:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:21:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:21:18 ==> Jenkins CI detected. 15:21:18 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 15:21:18 project root: . 15:21:18 --> token set from env 15:21:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:21:18 ==> Running gcov in . (disable via -X gcov) 15:21:18 ==> Python coveragepy not found 15:21:18 ==> Searching for coverage reports in: 15:21:18 + . 15:21:18 -> Found 1 reports 15:21:18 ==> Detecting git/mercurial file structure 15:21:18 ==> Reading reports 15:21:18 + ./coverage.out bytes=14565 15:21:18 ==> Appending adjustments 15:21:18 https://docs.codecov.io/docs/fixing-reports 15:21:18 + Found adjustments 15:21:18 ==> Gzipping contents 15:21:18 4.0K /tmp/codecov.84wZ9A.gz 15:21:18 ==> Uploading reports 15:21:18 url: https://codecov.io 15:21:18 query: branch=main&commit=367e7ce991daf9058552cca639fd49d18f0c0d72&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:21:18 -> Pinging Codecov 15:21:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=367e7ce991daf9058552cca639fd49d18f0c0d72&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:21:18 -> Uploading to 15:21:18 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/367e7ce991daf9058552cca639fd49d18f0c0d72/fbf7f26b-611a-4069-83b3-4a95574e6848.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T152118Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=73cc3408fef258f25a2ddac29dc8796786935f3d73d5db9f190091f6d3916430 15:21:18 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:18 Dload Upload Total Spent Left Speed 15:21:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14916 --:--:-- --:--:-- --:--:-- 14916 15:21:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] } 15:21:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:21:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:21:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:21:19 15:21:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:21:19 latest: Pulling from edgex-devops/edgex-snyk-go 15:21:19 43c4264eed91: Pulling fs layer 15:21:19 4cc291be95ef: Pulling fs layer 15:21:19 2ac1f1163629: Pulling fs layer 15:21:19 5c3c966382ef: Pulling fs layer 15:21:19 4f4fb700ef54: Pulling fs layer 15:21:19 d9c7d2e4e75e: Pulling fs layer 15:21:19 9c3e1370e548: Pulling fs layer 15:21:19 4f4fb700ef54: Waiting 15:21:19 d9c7d2e4e75e: Waiting 15:21:19 9c3e1370e548: Waiting 15:21:19 5c3c966382ef: Waiting 15:21:19 4cc291be95ef: Verifying Checksum 15:21:19 4cc291be95ef: Download complete 15:21:19 5c3c966382ef: Verifying Checksum 15:21:19 5c3c966382ef: Download complete 15:21:19 4f4fb700ef54: Verifying Checksum 15:21:19 4f4fb700ef54: Download complete 15:21:19 43c4264eed91: Download complete 15:21:19 43c4264eed91: Pull complete 15:21:19 d9c7d2e4e75e: Verifying Checksum 15:21:19 d9c7d2e4e75e: Download complete 15:21:19 4cc291be95ef: Pull complete 15:21:20 2ac1f1163629: Verifying Checksum 15:21:20 2ac1f1163629: Download complete 15:21:20 9c3e1370e548: Verifying Checksum 15:21:20 9c3e1370e548: Download complete 15:21:23 2ac1f1163629: Pull complete 15:21:23 5c3c966382ef: Pull complete 15:21:23 4f4fb700ef54: Pull complete 15:21:23 d9c7d2e4e75e: Pull complete 15:21:26 9c3e1370e548: Pull complete 15:21:26 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 15:21:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 15:21:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:26 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:21:26 $ 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 15:21:28 $ docker top d84dc958597047253bb71f5247d95907313ed983e60c02262cdc6d7572a2ae25 -eo pid,comm [Pipeline] { [Pipeline] sh 15:21:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 15:21:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 15:21:29 + set -o pipefail 15:21:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 15:21:35 15:21:35 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 15:21:35 15:21:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/9ff8119f-51b8-4134-86ad-e4b5e3c80e87 15:21:35 15:21:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:21:35 15:21:35 15:21:35 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 15:21:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:21:35 $ docker stop --time=1 d84dc958597047253bb71f5247d95907313ed983e60c02262cdc6d7572a2ae25 15:21:37 $ docker rm -f --volumes d84dc958597047253bb71f5247d95907313ed983e60c02262cdc6d7572a2ae25 [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 15:21:38 + git log --format=format:%s -1 367e7ce991daf9058552cca639fd49d18f0c0d72 [Pipeline] sh 15:21:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:39 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:21:39 $ 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 15:21:39 $ docker top a4e7eb4edb779c6d085f31252c1d862954b69d35bc6d140c256a08bdde9c3268 -eo pid,comm 15:21:40 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). 15:21:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:40 [ssh-agent] Looking for ssh-agent implementation... 15:21:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:40 $ docker exec a4e7eb4edb779c6d085f31252c1d862954b69d35bc6d140c256a08bdde9c3268 ssh-agent 15:21:40 SSH_AUTH_SOCK=/tmp/ssh-r9wIFERwk44i/agent.32 15:21:40 SSH_AGENT_PID=38 15:21:40 Running ssh-add (command line suppressed) 15:21:40 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9102869128056577032.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9102869128056577032.key) 15:21:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:40 + git semver tag 15:21:40 2025-03-05 15:21:40,835 [run_tag] DEBUG tag force:False 15:21:40 2025-03-05 15:21:40,835 [check_head_tag] DEBUG check head tag 15:21:40 2025-03-05 15:21:40,836 [execute] INFO git cat-file --batch-check 15:21:40 2025-03-05 15:21:40,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:21:40 2025-03-05 15:21:40,839 [execute] INFO git cat-file --batch 15:21:40 2025-03-05 15:21:40,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 15:21:40 2025-03-05 15:21:40,862 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:21:40 2025-03-05 15:21:40,863 [execute] INFO git tag -a v4.0.0-dev.11 -m v4.0.0-dev.11 15:21:40 2025-03-05 15:21:40,863 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.11', '-m', 'v4.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:21:40 2025-03-05 15:21:40,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:21:40 4.0.0-dev.11 [Pipeline] } 15:21:40 $ docker exec --env ******** --env ******** a4e7eb4edb779c6d085f31252c1d862954b69d35bc6d140c256a08bdde9c3268 ssh-agent -k 15:21:41 unset SSH_AUTH_SOCK; 15:21:41 unset SSH_AGENT_PID; 15:21:41 echo Agent pid 38 killed; 15:21:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:41 + git semver [Pipeline] } 15:21:41 $ docker stop --time=1 a4e7eb4edb779c6d085f31252c1d862954b69d35bc6d140c256a08bdde9c3268 15:21:42 $ docker rm -f --volumes a4e7eb4edb779c6d085f31252c1d862954b69d35bc6d140c256a08bdde9c3268 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:21:43 15:21:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:21:43 0.23.1-centos7: Pulling from edgex-lftools 15:21:43 ab5ef0e58194: Pulling fs layer 15:21:43 9712f1f96733: Pulling fs layer 15:21:43 63f879dbbcfc: Pulling fs layer 15:21:43 0d9ebad4ef96: Pulling fs layer 15:21:43 e9a5061849ea: Pulling fs layer 15:21:43 d747dcd14b5f: Pulling fs layer 15:21:43 2de7ff778b66: Pulling fs layer 15:21:43 d747dcd14b5f: Waiting 15:21:43 2de7ff778b66: Waiting 15:21:43 e9a5061849ea: Waiting 15:21:43 9712f1f96733: Verifying Checksum 15:21:43 9712f1f96733: Download complete 15:21:43 63f879dbbcfc: Verifying Checksum 15:21:43 63f879dbbcfc: Download complete 15:21:44 0d9ebad4ef96: Verifying Checksum 15:21:44 0d9ebad4ef96: Download complete 15:21:44 d747dcd14b5f: Download complete 15:21:44 e9a5061849ea: Verifying Checksum 15:21:44 e9a5061849ea: Download complete 15:21:44 2de7ff778b66: Verifying Checksum 15:21:44 2de7ff778b66: Download complete 15:21:44 ab5ef0e58194: Verifying Checksum 15:21:44 ab5ef0e58194: Download complete 15:21:47 ab5ef0e58194: Pull complete 15:21:47 9712f1f96733: Pull complete 15:21:47 63f879dbbcfc: Pull complete 15:21:51 0d9ebad4ef96: Pull complete 15:21:51 e9a5061849ea: Pull complete 15:21:51 d747dcd14b5f: Pull complete 15:21:52 2de7ff778b66: Pull complete 15:21:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:21:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:52 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:21:52 $ 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 15:21:54 $ docker top 4f09d996a3f293b61aa3ae68b8b9f2cdfe25ebf6d6833807d2008a3072137444 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:21:54 provisioning config files... 15:21:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config83096576031191579tmp 15:21:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13485616513300064670tmp 15:21:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3351869013097474374tmp [Pipeline] { [Pipeline] echo 15:21:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:21:54 ---> sigul-configuration.sh 15:21:54 gpg: directory `/root/.gnupg' created 15:21:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:21:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:21:54 gpg: keyring `/root/.gnupg/secring.gpg' created 15:21:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:21:54 gpg: CAST5 encrypted data 15:21:54 gpg: encrypted with 1 passphrase 15:21:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:21:55 + mkdir /home/jenkins 15:21:55 + mkdir /home/jenkins/sigul [Pipeline] sh 15:21:55 + 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 15:21:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:21:55 ---> sigul-install.sh 15:21:55 Sigul already installed; skipping installation. [Pipeline] sh 15:21:56 + git tag --list 15:21:56 v1.0.0 15:21:56 v1.1.0 15:21:56 v1.1.1 15:21:56 v1.1.2 15:21:56 v1.2.0 15:21:56 v1.2.1 15:21:56 v2.0.0 15:21:56 v2.1.0 15:21:56 v2.1.1 15:21:56 v2.2.0 15:21:56 v2.3.0 15:21:56 v3.0 15:21:56 v3.0.0 15:21:56 v3.1 15:21:56 v3.1.0 15:21:56 v3.1.0-dev.1 15:21:56 v3.1.0-dev.10 15:21:56 v3.1.0-dev.11 15:21:56 v3.1.0-dev.12 15:21:56 v3.1.0-dev.13 15:21:56 v3.1.0-dev.14 15:21:56 v3.1.0-dev.15 15:21:56 v3.1.0-dev.16 15:21:56 v3.1.0-dev.17 15:21:56 v3.1.0-dev.18 15:21:56 v3.1.0-dev.19 15:21:56 v3.1.0-dev.2 15:21:56 v3.1.0-dev.20 15:21:56 v3.1.0-dev.21 15:21:56 v3.1.0-dev.22 15:21:56 v3.1.0-dev.23 15:21:56 v3.1.0-dev.24 15:21:56 v3.1.0-dev.25 15:21:56 v3.1.0-dev.26 15:21:56 v3.1.0-dev.27 15:21:56 v3.1.0-dev.28 15:21:56 v3.1.0-dev.29 15:21:56 v3.1.0-dev.3 15:21:56 v3.1.0-dev.30 15:21:56 v3.1.0-dev.31 15:21:56 v3.1.0-dev.32 15:21:56 v3.1.0-dev.4 15:21:56 v3.1.0-dev.5 15:21:56 v3.1.0-dev.6 15:21:56 v3.1.0-dev.7 15:21:56 v3.1.0-dev.8 15:21:56 v3.1.0-dev.9 15:21:56 v3.1.1 15:21:56 v3.2.0-dev.1 15:21:56 v3.2.0-dev.10 15:21:56 v3.2.0-dev.11 15:21:56 v3.2.0-dev.12 15:21:56 v3.2.0-dev.13 15:21:56 v3.2.0-dev.14 15:21:56 v3.2.0-dev.15 15:21:56 v3.2.0-dev.16 15:21:56 v3.2.0-dev.17 15:21:56 v3.2.0-dev.18 15:21:56 v3.2.0-dev.19 15:21:56 v3.2.0-dev.2 15:21:56 v3.2.0-dev.20 15:21:56 v3.2.0-dev.21 15:21:56 v3.2.0-dev.22 15:21:56 v3.2.0-dev.23 15:21:56 v3.2.0-dev.24 15:21:56 v3.2.0-dev.25 15:21:56 v3.2.0-dev.3 15:21:56 v3.2.0-dev.4 15:21:56 v3.2.0-dev.5 15:21:56 v3.2.0-dev.6 15:21:56 v3.2.0-dev.7 15:21:56 v3.2.0-dev.8 15:21:56 v3.2.0-dev.9 15:21:56 v4.0.0-dev.1 15:21:56 v4.0.0-dev.10 15:21:56 v4.0.0-dev.11 15:21:56 v4.0.0-dev.2 15:21:56 v4.0.0-dev.3 15:21:56 v4.0.0-dev.4 15:21:56 v4.0.0-dev.5 15:21:56 v4.0.0-dev.6 15:21:56 v4.0.0-dev.7 15:21:56 v4.0.0-dev.8 15:21:56 v4.0.0-dev.9 [Pipeline] sh 15:21:56 + lftools sign git-tag v4.0.0-dev.11 15:21:56 Signing Git tag with Sigul... 15:21:56 Signing v4.0.0-dev.11 [Pipeline] echo 15:21:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:21:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:21:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:21:57 $ docker stop --time=1 4f09d996a3f293b61aa3ae68b8b9f2cdfe25ebf6d6833807d2008a3072137444 15:21:58 $ docker rm -f --volumes 4f09d996a3f293b61aa3ae68b8b9f2cdfe25ebf6d6833807d2008a3072137444 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:21:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:21:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:59 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:21:59 $ 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 15:21:59 $ docker top 81457be971470f3dcac6d064be7fa6a48632ad557aa6d2797e157a971242817a -eo pid,comm 15:22:00 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). 15:22:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:22:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:22:00 [ssh-agent] Looking for ssh-agent implementation... 15:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:22:00 $ docker exec 81457be971470f3dcac6d064be7fa6a48632ad557aa6d2797e157a971242817a ssh-agent 15:22:00 SSH_AUTH_SOCK=/tmp/ssh-kGHHEKBlu7rH/agent.32 15:22:00 SSH_AGENT_PID=38 15:22:00 Running ssh-add (command line suppressed) 15:22:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11228135070210648467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11228135070210648467.key) 15:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:22:00 + git semver bump pre 15:22:00 2025-03-05 15:22:00,872 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:22:00 2025-03-05 15:22:00,873 [bump_version] DEBUG bumping version:4.0.0-dev.11 on axis:pre with prefix:dev 15:22:00 2025-03-05 15:22:00,873 [bump_version] DEBUG bumped version:4.0.0-dev.12 15:22:00 2025-03-05 15:22:00,873 [write_version] DEBUG write version:4.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 15:22:00 2025-03-05 15:22:00,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:22:00 2025-03-05 15:22:00,873 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:22:00 2025-03-05 15:22:00,875 [execute] INFO git cat-file --batch-check 15:22:00 2025-03-05 15:22:00,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:22:00 2025-03-05 15:22:00,881 [execute] INFO git cat-file --batch 15:22:00 2025-03-05 15:22:00,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:22:00 2025-03-05 15:22:00,887 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:22:00 4.0.0-dev.12 [Pipeline] } 15:22:00 $ docker exec --env ******** --env ******** 81457be971470f3dcac6d064be7fa6a48632ad557aa6d2797e157a971242817a ssh-agent -k 15:22:01 unset SSH_AUTH_SOCK; 15:22:01 unset SSH_AGENT_PID; 15:22:01 echo Agent pid 38 killed; 15:22:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:22:01 + git semver [Pipeline] } 15:22:01 $ docker stop --time=1 81457be971470f3dcac6d064be7fa6a48632ad557aa6d2797e157a971242817a 15:22:02 $ docker rm -f --volumes 81457be971470f3dcac6d064be7fa6a48632ad557aa6d2797e157a971242817a [Pipeline] // withDockerContainer [Pipeline] sh 15:22:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:22:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:03 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:22:03 $ 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 15:22:04 $ docker top 09a1f06ced2ddb96e0b92f0381fd2c367c5ddd3769801f047570ee9e217d92b0 -eo pid,comm 15:22:04 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). 15:22:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:22:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:22:04 [ssh-agent] Looking for ssh-agent implementation... 15:22:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:22:04 $ docker exec 09a1f06ced2ddb96e0b92f0381fd2c367c5ddd3769801f047570ee9e217d92b0 ssh-agent 15:22:04 SSH_AUTH_SOCK=/tmp/ssh-9JdR15aUsO4P/agent.32 15:22:04 SSH_AGENT_PID=38 15:22:04 Running ssh-add (command line suppressed) 15:22:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17403611469313387762.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17403611469313387762.key) 15:22:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:22:04 + git semver push 15:22:05 2025-03-05 15:22:04,966 [run_push] DEBUG push 15:22:05 2025-03-05 15:22:04,967 [execute] INFO git cat-file --batch-check 15:22:05 2025-03-05 15:22:04,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:22:05 2025-03-05 15:22:04,971 [execute] INFO git rev-list 6a382000e9019d51a676113b8a3e5e32d94e88cd -- 15:22:05 2025-03-05 15:22:04,971 [execute] DEBUG Popen(['git', 'rev-list', '6a382000e9019d51a676113b8a3e5e32d94e88cd', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:22:05 2025-03-05 15:22:04,980 [execute] INFO git fetch -v origin 15:22:05 2025-03-05 15:22:04,980 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:22:05 2025-03-05 15:22:05,446 [run_push] DEBUG no remote changes detected 15:22:05 2025-03-05 15:22:05,446 [execute] INFO git push origin semver 15:22:05 2025-03-05 15:22:05,446 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:22:06 2025-03-05 15:22:06,134 [run_push] DEBUG push all version tags 15:22:06 2025-03-05 15:22:06,135 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:22:06 2025-03-05 15:22:06,135 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 15:22:06 2025-03-05 15:22:06,739 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 15:22:06 4.0.0-dev.12 [Pipeline] } 15:22:06 $ docker exec --env ******** --env ******** 09a1f06ced2ddb96e0b92f0381fd2c367c5ddd3769801f047570ee9e217d92b0 ssh-agent -k 15:22:06 unset SSH_AUTH_SOCK; 15:22:06 unset SSH_AGENT_PID; 15:22:06 echo Agent pid 38 killed; 15:22:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:22:07 + git semver [Pipeline] } 15:22:07 $ docker stop --time=1 09a1f06ced2ddb96e0b92f0381fd2c367c5ddd3769801f047570ee9e217d92b0 15:22:08 $ docker rm -f --volumes 09a1f06ced2ddb96e0b92f0381fd2c367c5ddd3769801f047570ee9e217d92b0 [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 15:22:09 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 15:22:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:22:09 total 16 15:22:09 drwxr-xr-x 3 root root 4096 Mar 5 15:10 . 15:22:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 15:21 .. 15:22:09 drwxr-xr-x 2 root root 4096 Mar 5 15:10 cost 15:22:09 -rw-r--r-- 1 root root 86 Mar 5 15:10 cost.csv 15:22:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 15:22:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 15:22:09 total 16 15:22:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 15:10 . 15:22:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 15:21 .. 15:22:09 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 15:10 cost 15:22:09 -rw-r--r-- 1 jenkins jenkins 86 Mar 5 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:22:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:22:10 ---> package-listing.sh 15:22:10 ++ facter osfamily 15:22:10 ++ tr '[:upper:]' '[:lower:]' 15:22:10 + OS_FAMILY=debian 15:22:10 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 15:22:10 + START_PACKAGES=/tmp/packages_start.txt 15:22:10 + END_PACKAGES=/tmp/packages_end.txt 15:22:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:22:10 + PACKAGES=/tmp/packages_start.txt 15:22:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:22:10 + PACKAGES=/tmp/packages_end.txt 15:22:10 + case "${OS_FAMILY}" in 15:22:10 + dpkg -l 15:22:10 + grep '^ii' 15:22:10 + '[' -f /tmp/packages_start.txt ']' 15:22:10 + '[' -f /tmp/packages_end.txt ']' 15:22:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:22:10 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 15:22:10 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 15:22:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 15:22:10 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 15:22:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:11 prd-ubuntu20.04-docker-8c-8g-40351 does not seem to be running inside a container 15:22:11 $ 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 15:22:12 $ docker top 0c95901888ca98963e5330a3d133eafe8b48a579a7c36ad176b31768ff3f4aa5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:12 + touch /tmp/pre-build-complete [Pipeline] sh 15:22:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:22:12 + ls /var/log/sa-host 15:22:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:13 provisioning config files... 15:22:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8653204379972806434tmp [Pipeline] { [Pipeline] echo 15:22:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:22:13 ---> create-netrc.sh [Pipeline] } 15:22:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:22:13 ---> python-tools-install.sh [Pipeline] echo 15:22:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:22:14 ---> sudo-logs.sh 15:22:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:22:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:22:14 ---> job-cost.sh 15:22:14 lf-activate-venv: SKIPPING 15:22:14 DEBUG: total: 0.2199999988079071 15:22:14 INFO: Retrieving Stack Cost... 15:22:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:22:15 INFO: Archiving Costs [Pipeline] echo 15:22:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:22:15 ---> logs-deploy.sh 15:22:15 lf-activate-venv: SKIPPING 15:22:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/189 15:22:15 INFO: archiving workspace using pattern(s): 15:22:16 Archives upload complete. 15:22:16 INFO: archiving logs to Nexus