Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d405a4f26b456a8be44145d93bfbd9a91d93e9fc 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-ssh15030616334141770100.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3485872497353002290.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3152711336698387242.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh14795797092042753525.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-ssh929891452980898796.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24250 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 d405a4f26b456a8be44145d93bfbd9a91d93e9fc (main) Commit message: "Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" > 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 d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 > git rev-list --no-walk 4864046db187b802f4fd351f9abe59b5b3174726 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:21:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:21:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:21:05 ========================================================= 00:21:05 EdgeX Global Pipelines Version Info 00:21:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:21:06 ------------------- 00:21:06 stable info: 00:21:06 ------------------- 00:21:06 Commited By: Ginny Guan ginny@iotechsys.com 00:21:06 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 00:21:06 Message: update stable to v1.0.265 00:21:06 ------------------- 00:21:06 experimental info: 00:21:06 ------------------- 00:21:06 Commited By: Cherry Wang cherry@iotechsys.com 00:21:06 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 00:21:06 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:21:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d405a4f [Pipeline] echo 00:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:07 provisioning config files... 00:21:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8835822314357161764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:07 ---> ****-login.sh 00:21:07 nexus3.edgexfoundry.org:10001 00:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:08 Configure a credential helper to remove this warning. See 00:21:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:08 00:21:08 Login Succeeded 00:21:08 nexus3.edgexfoundry.org:10002 00:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:08 Configure a credential helper to remove this warning. See 00:21:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:08 00:21:08 Login Succeeded 00:21:08 nexus3.edgexfoundry.org:10003 00:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:08 Configure a credential helper to remove this warning. See 00:21:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:08 00:21:08 Login Succeeded 00:21:08 nexus3.edgexfoundry.org:10004 00:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:08 Configure a credential helper to remove this warning. See 00:21:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:08 00:21:08 Login Succeeded 00:21:08 ****.io 00:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:09 Configure a credential helper to remove this warning. See 00:21:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:09 00:21:09 Login Succeeded 00:21:09 ---> ****-login.sh ends [Pipeline] } 00:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:21:09 + git rev-list -1 --merges d405a4f26b456a8be44145d93bfbd9a91d93e9fc~1..d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] echo 00:21:09 -----------> git rev-list -1 --merges d405a4f26b456a8be44145d93bfbd9a91d93e9fc~1..d405a4f26b456a8be44145d93bfbd9a91d93e9fc d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:21:09 d405a4f26b456a8be44145d93bfbd9a91d93e9fc [false] [Pipeline] sh 00:21:09 + git log --format=format:%s -1 d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] echo 00:21:09 ========================================================= 00:21:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:21:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:10 + git log --format=format:%s -1 d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] echo 00:21:10 [semverPrep] GIT_COMMIT: d405a4f26b456a8be44145d93bfbd9a91d93e9fc, Commit Message: Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2 [Pipeline] echo 00:21:10 [semverPrep] This is not a build commit. [Pipeline] sh 00:21:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:10 + grep -v github /etc/ssh/ssh_known_hosts 00:21:10 + [ -e /tmp/ssh_known_hosts ] 00:21:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:21:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:21:10 + sudo tee -a /etc/ssh/ssh_known_hosts 00:21:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:10 00:21:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:11 0.1.4: Pulling from edgex-devops/py-git-semver 00:21:11 b85a868b505f: Pulling fs layer 00:21:11 e2be974225ed: Pulling fs layer 00:21:11 339a4e72a1f5: Pulling fs layer 00:21:11 988bab9f4d93: Pulling fs layer 00:21:11 1469e6f7b9e6: Pulling fs layer 00:21:11 eaf3925da568: Pulling fs layer 00:21:11 bab4dde63d76: Pulling fs layer 00:21:11 bde34c3a00c8: Pulling fs layer 00:21:11 b352a97aabf1: Pulling fs layer 00:21:11 4872d77fe225: Pulling fs layer 00:21:11 5851b861e8e6: Pulling fs layer 00:21:11 bab4dde63d76: Waiting 00:21:11 4872d77fe225: Waiting 00:21:11 988bab9f4d93: Waiting 00:21:11 1469e6f7b9e6: Waiting 00:21:11 b352a97aabf1: Waiting 00:21:11 bde34c3a00c8: Waiting 00:21:11 5851b861e8e6: Waiting 00:21:11 eaf3925da568: Waiting 00:21:11 e2be974225ed: Verifying Checksum 00:21:11 e2be974225ed: Download complete 00:21:11 988bab9f4d93: Verifying Checksum 00:21:11 988bab9f4d93: Download complete 00:21:11 1469e6f7b9e6: Verifying Checksum 00:21:11 1469e6f7b9e6: Download complete 00:21:11 339a4e72a1f5: Verifying Checksum 00:21:11 339a4e72a1f5: Download complete 00:21:11 eaf3925da568: Verifying Checksum 00:21:11 eaf3925da568: Download complete 00:21:11 bde34c3a00c8: Download complete 00:21:11 b352a97aabf1: Verifying Checksum 00:21:11 b352a97aabf1: Download complete 00:21:11 4872d77fe225: Verifying Checksum 00:21:11 4872d77fe225: Download complete 00:21:11 5851b861e8e6: Verifying Checksum 00:21:11 5851b861e8e6: Download complete 00:21:11 b85a868b505f: Verifying Checksum 00:21:11 b85a868b505f: Download complete 00:21:11 bab4dde63d76: Verifying Checksum 00:21:11 bab4dde63d76: Download complete 00:21:12 b85a868b505f: Pull complete 00:21:12 e2be974225ed: Pull complete 00:21:13 339a4e72a1f5: Pull complete 00:21:13 988bab9f4d93: Pull complete 00:21:13 1469e6f7b9e6: Pull complete 00:21:13 eaf3925da568: Pull complete 00:21:15 bab4dde63d76: Pull complete 00:21:15 bde34c3a00c8: Pull complete 00:21:15 b352a97aabf1: Pull complete 00:21:15 4872d77fe225: Pull complete 00:21:15 5851b861e8e6: Pull complete 00:21:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:16 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:21:16 $ 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 00:21:18 $ docker top 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 -eo pid,comm 00:21:18 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). 00:21:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:19 [ssh-agent] Looking for ssh-agent implementation... 00:21:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:19 $ docker exec 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 ssh-agent 00:21:19 SSH_AUTH_SOCK=/tmp/ssh-VpbcQiL7Y8aY/agent.32 00:21:19 SSH_AGENT_PID=38 00:21:19 Running ssh-add (command line suppressed) 00:21:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11399595038588149242.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11399595038588149242.key) 00:21:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:19 + git tag --points-at HEAD [Pipeline] } 00:21:19 $ docker exec --env ******** --env ******** 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 ssh-agent -k 00:21:19 unset SSH_AUTH_SOCK; 00:21:19 unset SSH_AGENT_PID; 00:21:19 echo Agent pid 38 killed; 00:21:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:21:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:19 [ssh-agent] Looking for ssh-agent implementation... 00:21:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:19 $ docker exec 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 ssh-agent 00:21:20 SSH_AUTH_SOCK=/tmp/ssh-n2g9N1dljOAu/agent.71 00:21:20 SSH_AGENT_PID=77 00:21:20 Running ssh-add (command line suppressed) 00:21:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_93090836003955347.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_93090836003955347.key) 00:21:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:20 + git semver init 00:21:20 2024-11-01 00:21:20,631 [run_init] DEBUG init version:0.0.0 force:False 00:21:20 2024-11-01 00:21:20,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 00:21:20 2024-11-01 00:21:20,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 00:21:20 2024-11-01 00:21:20,633 [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) 00:21:22 2024-11-01 00:21:21,901 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 00:21:22 2024-11-01 00:21:21,902 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 00:21:22 2024-11-01 00:21:21,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:21:22 2024-11-01 00:21:21,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:21:22 4.0.0-dev.2 [Pipeline] } 00:21:22 $ docker exec --env ******** --env ******** 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 ssh-agent -k 00:21:22 unset SSH_AUTH_SOCK; 00:21:22 unset SSH_AGENT_PID; 00:21:22 echo Agent pid 77 killed; 00:21:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:22 + git semver [Pipeline] } 00:21:22 $ docker stop --time=1 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 00:21:24 $ docker rm -f --volumes 167badf18ddebacbcf897fd387db97e5f0f02b31abb5f2c009d33238ab5c71b9 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:21:24 Stashed 1 file(s) [Pipeline] echo 00:21:24 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [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 00:21:24 provisioning config files... 00:21:24 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6506382594324076776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:25 ---> ****-login.sh 00:21:25 nexus3.edgexfoundry.org:10001 00:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:25 Configure a credential helper to remove this warning. See 00:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:25 00:21:25 Login Succeeded 00:21:25 nexus3.edgexfoundry.org:10002 00:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:25 Configure a credential helper to remove this warning. See 00:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:25 00:21:25 Login Succeeded 00:21:25 nexus3.edgexfoundry.org:10003 00:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:25 Configure a credential helper to remove this warning. See 00:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:25 00:21:25 Login Succeeded 00:21:25 nexus3.edgexfoundry.org:10004 00:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:25 Configure a credential helper to remove this warning. See 00:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:25 00:21:25 Login Succeeded 00:21:25 ****.io 00:21:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:21:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:21:25 Configure a credential helper to remove this warning. See 00:21:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:21:25 00:21:25 Login Succeeded 00:21:25 ---> ****-login.sh ends [Pipeline] } 00:21:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:21:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:21:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:21:25 ========================================================= 00:21:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:21:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:26 + 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 . 00:21:26 Sending build context to Docker daemon 16.61MB 00:21:26 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:21:26 Step 2/12 : FROM ${BASE} AS builder 00:21:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:21:26 43c4264eed91: Pulling fs layer 00:21:26 4cc291be95ef: Pulling fs layer 00:21:26 2ac1f1163629: Pulling fs layer 00:21:26 5c3c966382ef: Pulling fs layer 00:21:26 4f4fb700ef54: Pulling fs layer 00:21:26 5d5c8e513c77: Pulling fs layer 00:21:26 9f66e0745190: Pulling fs layer 00:21:26 f49a43e4bbc0: Pulling fs layer 00:21:26 561ebcabdf7f: Pulling fs layer 00:21:26 5c3c966382ef: Waiting 00:21:26 4f4fb700ef54: Waiting 00:21:26 5d5c8e513c77: Waiting 00:21:26 f49a43e4bbc0: Waiting 00:21:26 9f66e0745190: Waiting 00:21:26 561ebcabdf7f: Waiting 00:21:26 4cc291be95ef: Verifying Checksum 00:21:26 4cc291be95ef: Download complete 00:21:26 5c3c966382ef: Verifying Checksum 00:21:26 5c3c966382ef: Download complete 00:21:26 4f4fb700ef54: Verifying Checksum 00:21:26 4f4fb700ef54: Download complete 00:21:26 5d5c8e513c77: Verifying Checksum 00:21:26 5d5c8e513c77: Download complete 00:21:26 43c4264eed91: Download complete 00:21:26 9f66e0745190: Download complete 00:21:26 43c4264eed91: Pull complete 00:21:26 561ebcabdf7f: Download complete 00:21:26 4cc291be95ef: Pull complete 00:21:26 2ac1f1163629: Verifying Checksum 00:21:26 2ac1f1163629: Download complete 00:21:27 f49a43e4bbc0: Verifying Checksum 00:21:27 f49a43e4bbc0: Download complete 00:21:30 2ac1f1163629: Pull complete 00:21:30 5c3c966382ef: Pull complete 00:21:30 4f4fb700ef54: Pull complete 00:21:30 5d5c8e513c77: Pull complete 00:21:30 9f66e0745190: Pull complete 00:21:33 f49a43e4bbc0: Pull complete 00:21:33 561ebcabdf7f: Pull complete 00:21:33 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 00:21:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:21:33 ---> 3a752c3f9dda 00:21:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:21:37 ---> Running in 7b3852408700 00:21:37 Removing intermediate container 7b3852408700 00:21:37 ---> e12697f6a66e 00:21:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:37 ---> Running in 3cb667db4dac 00:21:37 Removing intermediate container 3cb667db4dac 00:21:37 ---> e282457857d5 00:21:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:21:37 ---> Running in 6c55a0eae5d6 00:21:37 Removing intermediate container 6c55a0eae5d6 00:21:37 ---> e04a5d2e35b5 00:21:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:21:37 ---> Running in cdc2dbc72f1f 00:21:37 Removing intermediate container cdc2dbc72f1f 00:21:37 ---> 7fadac3fe355 00:21:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:37 ---> Running in 7edb2ecdb903 00:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:21:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:21:38 (1/4) Installing openssh-keygen (9.7_p1-r4) 00:21:38 (2/4) Installing libedit (20240517.3.1-r0) 00:21:38 (3/4) Installing openssh-client-common (9.7_p1-r4) 00:21:38 (4/4) Installing openssh-client-default (9.7_p1-r4) 00:21:38 Executing busybox-1.36.1-r29.trigger 00:21:38 OK: 250 MiB in 58 packages 00:21:38 Removing intermediate container 7edb2ecdb903 00:21:38 ---> de9efb8d771d 00:21:38 Step 8/12 : WORKDIR /device-rest-go 00:21:38 ---> Running in e0d4de3d7ea9 00:21:38 Removing intermediate container e0d4de3d7ea9 00:21:38 ---> 6ebd93e7bf8a 00:21:38 Step 9/12 : COPY go.mod vendor* ./ 00:21:39 ---> cde08d4e4131 00:21:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:39 ---> Running in 73e10551047f 00:21:39 Still waiting to schedule task 00:21:39 ‘prd-centos7-blackbox-4c-2g-23795’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:21:39 ‘prd-centos7-blackbox-4c-2g-23796’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:21:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24251’ is offline 00:22:25 Removing intermediate container 73e10551047f 00:22:25 ---> 24ee915285b0 00:22:25 Step 11/12 : COPY . . 00:22:25 ---> 5dd1451c57ff 00:22:25 Step 12/12 : RUN $MAKE 00:22:25 ---> Running in f86f01938b16 00:22:25 noop 00:22:25 Removing intermediate container f86f01938b16 00:22:25 ---> 9c1aba67b069 00:22:25 Successfully built 9c1aba67b069 00:22:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:26 + docker inspect -f . ci-base-image-x86_64 00:22:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:26 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:22:26 $ 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 00:22:26 $ docker top 5e1c5f6fc6dfb4fd2a53e2eba4ca002a0325c1491e668e162e9da3ad3973f561 -eo pid,comm [Pipeline] { [Pipeline] sh 00:22:26 + go version 00:22:26 go version go1.23.2 linux/amd64 [Pipeline] } 00:22:26 $ docker stop --time=1 5e1c5f6fc6dfb4fd2a53e2eba4ca002a0325c1491e668e162e9da3ad3973f561 00:22:28 $ docker rm -f --volumes 5e1c5f6fc6dfb4fd2a53e2eba4ca002a0325c1491e668e162e9da3ad3973f561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:28 + docker inspect -f . ci-base-image-x86_64 00:22:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:28 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:22:28 $ 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 00:22:29 $ docker top 01272a6423a58346769c62f4a20396233205cf42f2a462fac72df8a73cf1c5b5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:22:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 00:22:29 + make test 00:22:29 go test ./... -coverprofile=coverage.out ./... 00:22:31 ? github.com/edgexfoundry/device-rest-go [no test files] 00:22:49 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:22:49 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 00:23:01 go vet ./... 00:23:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:23:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:23:06 ./bin/test-attribution-txt.sh [Pipeline] echo 00:23:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:23:06 $ docker stop --time=1 01272a6423a58346769c62f4a20396233205cf42f2a462fac72df8a73cf1c5b5 00:23:10 $ docker rm -f --volumes 01272a6423a58346769c62f4a20396233205cf42f2a462fac72df8a73cf1c5b5 [Pipeline] // withDockerContainer [Pipeline] sh 00:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:23:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:23:11 + ls -al . 00:23:11 total 244 00:23:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 00:22 . 00:23:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 00:20 .. 00:23:11 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 00:21 .dockerignore 00:23:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 00:22 .git 00:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:21 .github 00:23:11 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 00:21 .gitignore 00:23:11 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 00:21 .golangci.yml 00:23:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 00:21 .semver 00:23:11 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 00:21 Attribution.txt 00:23:11 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 00:21 CHANGELOG.md 00:23:11 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 00:21 Dockerfile 00:23:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 00:21 GOVERNANCE.md 00:23:11 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 00:21 Jenkinsfile 00:23:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 00:21 LICENSE 00:23:11 -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 00:21 Makefile 00:23:11 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 00:21 OWNERS.md 00:23:11 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 00:21 README.md 00:23:11 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 00:21 VERSION 00:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 00:21 bin 00:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:21 cmd 00:23:11 -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 00:22 coverage.out 00:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 00:21 driver 00:23:11 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 00:21 go.mod 00:23:11 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 00:21 go.sum 00:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:21 openapi 00:23:11 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 00:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:11 + 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=d405a4f26b456a8be44145d93bfbd9a91d93e9fc --label arch=amd64 --label version=4.0.0-dev.2 . 00:23:11 Sending build context to Docker daemon 16.63MB 00:23:11 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:23:11 Step 2/26 : FROM ${BASE} AS builder 00:23:11 ---> 9c1aba67b069 00:23:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:23:12 ---> Running in ed849b7f850f 00:23:12 Removing intermediate container ed849b7f850f 00:23:12 ---> 54e154f3d17d 00:23:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:23:12 ---> Running in d21371a4f0c6 00:23:12 Removing intermediate container d21371a4f0c6 00:23:12 ---> e3c311e83d46 00:23:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:23:12 ---> Running in e53753edb187 00:23:12 Removing intermediate container e53753edb187 00:23:12 ---> c3557084b447 00:23:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:23:12 ---> Running in 69fb4bad1d82 00:23:12 Removing intermediate container 69fb4bad1d82 00:23:12 ---> 074b3bc18b01 00:23:12 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:12 ---> Running in dfbd81f0ed37 00:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:23:13 OK: 250 MiB in 58 packages 00:23:13 Removing intermediate container dfbd81f0ed37 00:23:13 ---> e2c8e7d0fe5b 00:23:13 Step 8/26 : WORKDIR /device-rest-go 00:23:13 ---> Running in 829afd5dd28a 00:23:13 Removing intermediate container 829afd5dd28a 00:23:13 ---> b0ab7133bd34 00:23:13 Step 9/26 : COPY go.mod vendor* ./ 00:23:13 ---> a4ef457afdf3 00:23:13 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:13 ---> Running in 928e7ab5fc5d 00:23:14 Removing intermediate container 928e7ab5fc5d 00:23:14 ---> 5f4b2c8179be 00:23:14 Step 11/26 : COPY . . 00:23:15 ---> 2ac66302e3a0 00:23:15 Step 12/26 : RUN $MAKE 00:23:15 ---> Running in 1491eb19ea3b 00:23:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 00:23:54 Removing intermediate container 1491eb19ea3b 00:23:54 ---> 20d802f29aa9 00:23:54 Step 13/26 : FROM alpine:3.20 00:23:54 3.20: Pulling from library/alpine 00:23:54 43c4264eed91: Already exists 00:23:54 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 00:23:54 Status: Downloaded newer image for alpine:3.20 00:23:54 ---> 91ef0af61f39 00:23:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:23:54 ---> Running in a02b28eb031d 00:23:54 Removing intermediate container a02b28eb031d 00:23:54 ---> 91cbffc896fa 00:23:54 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:23:54 ---> Running in 40c4ff5caf5e 00:23:54 Removing intermediate container 40c4ff5caf5e 00:23:54 ---> 0c689d299dd4 00:23:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:23:54 ---> Running in a81b59cf57c1 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:23:54 (1/1) Installing dumb-init (1.2.5-r3) 00:23:54 Executing busybox-1.36.1-r29.trigger 00:23:54 OK: 8 MiB in 15 packages 00:23:54 Removing intermediate container a81b59cf57c1 00:23:54 ---> f306fa1605b2 00:23:54 Step 17/26 : RUN apk --no-cache upgrade 00:23:54 ---> Running in cad70afb475f 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:23:54 Upgrading critical system libraries and apk-tools: 00:23:54 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 00:23:54 Executing busybox-1.36.1-r29.trigger 00:23:54 Continuing the upgrade transaction with new apk-tools: 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:23:54 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 00:23:54 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 00:23:54 OK: 8 MiB in 15 packages 00:23:54 Removing intermediate container cad70afb475f 00:23:54 ---> 566d5c065273 00:23:54 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:23:54 ---> 551e949ec2a9 00:23:54 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:23:54 ---> 25bcb0216149 00:23:54 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:23:54 ---> 59027003a812 00:23:54 Step 21/26 : EXPOSE 59986 00:23:54 ---> Running in 2a0e207db7cf 00:23:54 Removing intermediate container 2a0e207db7cf 00:23:54 ---> c23ef03816f9 00:23:54 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:23:54 ---> Running in 06e457472b30 00:23:54 Removing intermediate container 06e457472b30 00:23:54 ---> 8fcb726e4f26 00:23:54 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:23:54 ---> Running in fee1e6bf43b2 00:23:54 Removing intermediate container fee1e6bf43b2 00:23:54 ---> 5601396ad407 00:23:54 Step 24/26 : LABEL arch=amd64 00:23:54 ---> Running in 00a012243cea 00:23:54 Removing intermediate container 00a012243cea 00:23:54 ---> 93f7d609b58e 00:23:54 Step 25/26 : LABEL git_sha=d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:23:54 ---> Running in 2aaa3e69baa9 00:23:54 Removing intermediate container 2aaa3e69baa9 00:23:54 ---> eb1f35ff806d 00:23:54 Step 26/26 : LABEL version=4.0.0-dev.2 00:23:54 ---> Running in 8af0187a7194 00:23:54 Removing intermediate container 8af0187a7194 00:23:54 ---> 2ef1f87c7f6d 00:23:54 [Warning] One or more build-args [ARCH] were not consumed 00:23:54 Successfully built 2ef1f87c7f6d 00:23:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:54 provisioning config files... 00:23:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6298117355803771181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:54 ---> ****-login.sh 00:23:54 nexus3.edgexfoundry.org:10001 00:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:54 Configure a credential helper to remove this warning. See 00:23:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:54 00:23:54 Login Succeeded 00:23:54 nexus3.edgexfoundry.org:10002 00:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:54 Configure a credential helper to remove this warning. See 00:23:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:54 00:23:54 Login Succeeded 00:23:54 nexus3.edgexfoundry.org:10003 00:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:54 Configure a credential helper to remove this warning. See 00:23:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:54 00:23:54 Login Succeeded 00:23:54 nexus3.edgexfoundry.org:10004 00:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:54 Configure a credential helper to remove this warning. See 00:23:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:54 00:23:54 Login Succeeded 00:23:54 ****.io 00:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:23:55 Configure a credential helper to remove this warning. See 00:23:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:23:55 00:23:55 Login Succeeded 00:23:55 ---> ****-login.sh ends [Pipeline] } 00:23:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:23:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:23:55 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:23:55 d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:23:55 latest 00:23:55 4.0.0-dev.2 00:23:55 d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:23:55 main 00:23:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:23:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:23:55 f64af0e35fc9: Preparing 00:23:55 9856228cdd0b: Preparing 00:23:55 367d1e3b19c1: Preparing 00:23:55 847b3ff2f8c5: Preparing 00:23:55 34b66325a6d0: Preparing 00:23:55 63ca1fbb43ae: Preparing 00:23:55 63ca1fbb43ae: Waiting 00:23:55 34b66325a6d0: Pushed 00:23:55 f64af0e35fc9: Pushed 00:23:55 9856228cdd0b: Pushed 00:23:55 63ca1fbb43ae: Layer already exists 00:23:56 847b3ff2f8c5: Pushed 00:24:00 367d1e3b19c1: Pushed 00:24:00 d405a4f26b456a8be44145d93bfbd9a91d93e9fc: digest: sha256:9606c3743610b1ea5446dc34ed81a4e560acdb7e5c04ca314173f1d16b791c9c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 00:24:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:24:01 f64af0e35fc9: Preparing 00:24:01 9856228cdd0b: Preparing 00:24:01 367d1e3b19c1: Preparing 00:24:01 847b3ff2f8c5: Preparing 00:24:01 34b66325a6d0: Preparing 00:24:01 63ca1fbb43ae: Preparing 00:24:01 63ca1fbb43ae: Waiting 00:24:01 9856228cdd0b: Layer already exists 00:24:01 367d1e3b19c1: Layer already exists 00:24:01 f64af0e35fc9: Layer already exists 00:24:01 34b66325a6d0: Layer already exists 00:24:01 847b3ff2f8c5: Layer already exists 00:24:01 63ca1fbb43ae: Layer already exists 00:24:01 latest: digest: sha256:9606c3743610b1ea5446dc34ed81a4e560acdb7e5c04ca314173f1d16b791c9c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.2 00:24:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:24:01 f64af0e35fc9: Preparing 00:24:01 9856228cdd0b: Preparing 00:24:01 367d1e3b19c1: Preparing 00:24:01 847b3ff2f8c5: Preparing 00:24:01 34b66325a6d0: Preparing 00:24:01 63ca1fbb43ae: Preparing 00:24:01 9856228cdd0b: Layer already exists 00:24:01 34b66325a6d0: Layer already exists 00:24:01 367d1e3b19c1: Layer already exists 00:24:01 f64af0e35fc9: Layer already exists 00:24:01 847b3ff2f8c5: Layer already exists 00:24:01 63ca1fbb43ae: Layer already exists 00:24:01 4.0.0-dev.2: digest: sha256:9606c3743610b1ea5446dc34ed81a4e560acdb7e5c04ca314173f1d16b791c9c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:24:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:24:02 f64af0e35fc9: Preparing 00:24:02 9856228cdd0b: Preparing 00:24:02 367d1e3b19c1: Preparing 00:24:02 847b3ff2f8c5: Preparing 00:24:02 34b66325a6d0: Preparing 00:24:02 63ca1fbb43ae: Preparing 00:24:02 63ca1fbb43ae: Waiting 00:24:02 34b66325a6d0: Layer already exists 00:24:02 367d1e3b19c1: Layer already exists 00:24:02 847b3ff2f8c5: Layer already exists 00:24:02 9856228cdd0b: Layer already exists 00:24:02 f64af0e35fc9: Layer already exists 00:24:02 63ca1fbb43ae: Layer already exists 00:24:02 d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2: digest: sha256:9606c3743610b1ea5446dc34ed81a4e560acdb7e5c04ca314173f1d16b791c9c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 00:24:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:24:03 f64af0e35fc9: Preparing 00:24:03 9856228cdd0b: Preparing 00:24:03 367d1e3b19c1: Preparing 00:24:03 847b3ff2f8c5: Preparing 00:24:03 34b66325a6d0: Preparing 00:24:03 63ca1fbb43ae: Preparing 00:24:03 63ca1fbb43ae: Waiting 00:24:03 f64af0e35fc9: Layer already exists 00:24:03 34b66325a6d0: Layer already exists 00:24:03 367d1e3b19c1: Layer already exists 00:24:03 9856228cdd0b: Layer already exists 00:24:03 847b3ff2f8c5: Layer already exists 00:24:03 63ca1fbb43ae: Layer already exists 00:24:03 main: digest: sha256:9606c3743610b1ea5446dc34ed81a4e560acdb7e5c04ca314173f1d16b791c9c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:03 ===================================================== [Pipeline] echo 00:24:03 taggedImages: 00:24:03 - nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:24:03 - nexus3.edgexfoundry.org:10004/device-rest:latest 00:24:03 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.2 00:24:03 - nexus3.edgexfoundry.org:10004/device-rest:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:24:03 - 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 00:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:03 00:24:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:04 latest: Pulling from edgex-lftools-log-publisher 00:24:04 5eb5b503b376: Pulling fs layer 00:24:04 5c69ac0246d0: Pulling fs layer 00:24:04 ec43610c2a17: Pulling fs layer 00:24:04 3a2ae6a8a46f: Pulling fs layer 00:24:04 33b1e0a273af: Pulling fs layer 00:24:04 5d3b04190fa2: Pulling fs layer 00:24:04 2f39f015ded8: Pulling fs layer 00:24:04 3a2ae6a8a46f: Waiting 00:24:04 33b1e0a273af: Waiting 00:24:04 5d3b04190fa2: Waiting 00:24:04 2f39f015ded8: Waiting 00:24:04 5c69ac0246d0: Verifying Checksum 00:24:04 5c69ac0246d0: Download complete 00:24:04 3a2ae6a8a46f: Download complete 00:24:04 33b1e0a273af: Verifying Checksum 00:24:04 33b1e0a273af: Download complete 00:24:04 5d3b04190fa2: Verifying Checksum 00:24:04 5d3b04190fa2: Download complete 00:24:04 ec43610c2a17: Verifying Checksum 00:24:04 ec43610c2a17: Download complete 00:24:04 5eb5b503b376: Verifying Checksum 00:24:04 5eb5b503b376: Download complete 00:24:04 2f39f015ded8: Download complete 00:24:05 5eb5b503b376: Pull complete 00:24:05 5c69ac0246d0: Pull complete 00:24:06 ec43610c2a17: Pull complete 00:24:06 3a2ae6a8a46f: Pull complete 00:24:06 33b1e0a273af: Pull complete 00:24:06 5d3b04190fa2: Pull complete 00:24:10 2f39f015ded8: Pull complete 00:24:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:10 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:24:10 $ 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 00:24:14 $ docker top 4c39433745372deacc7ea489b597d145c9e787acada2b1e9506d423864d60242 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:14 ---> job-cost.sh 00:24:14 lf-activate-venv: SKIPPING 00:24:14 INFO: No Stack... 00:24:15 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:15 INFO: Archiving Costs [Pipeline] sh 00:24:15 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 00:24:15 + cut -d, -f6 [Pipeline] lock 00:24:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] 00:24:15 Resource [jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] did not exist. Created. 00:24:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:16 + echo total: 0.2199999988079071 [Pipeline] stash 00:24:16 Stashed 1 file(s) [Pipeline] } 00:24:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 00:24:16 $ docker stop --time=1 4c39433745372deacc7ea489b597d145c9e787acada2b1e9506d423864d60242 00:24:17 $ docker rm -f --volumes 4c39433745372deacc7ea489b597d145c9e787acada2b1e9506d423864d60242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:24:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24254 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 00:24:41 Running in /w/workspace/device-rest-go/179 [Pipeline] { [Pipeline] checkout 00:24:44 The recommended git tool is: git 00:24:50 using credential edgex-jenkins-ssh 00:24:50 Cloning the remote Git repository 00:24:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:24:50 > git init /w/workspace/device-rest-go/179 # timeout=10 00:24:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:24:50 > git --version # timeout=10 00:24:50 > git --version # 'git version 2.25.1' 00:24:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:24:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:24:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:24:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:24:55 Avoid second fetch 00:24:55 Checking out Revision d405a4f26b456a8be44145d93bfbd9a91d93e9fc (main) 00:24:55 Commit message: "Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" 00:24:55 > git config core.sparsecheckout # timeout=10 00:24:55 > git checkout -f d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:25:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:00 Dload Upload Total Spent Left Speed 00:25:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 00:25:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:25:01 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:25:01 sudo tee /etc/docker/daemon.new 00:25:01 { 00:25:01 "registry-mirrors": [ 00:25:01 "https://nexus3.edgexfoundry.org:10001" 00:25:01 ], 00:25:01 "bip": "10.250.0.254/24", 00:25:01 "hosts": [ 00:25:01 "tcp://0.0.0.0:5555", 00:25:01 "unix:///var/run/docker.sock" 00:25:01 ], 00:25:01 "mtu": 1458, 00:25:01 "selinux-enabled": true, 00:25:01 "seccomp-profile": "/etc/docker/seccomp.json" 00:25:01 } [Pipeline] sh 00:25:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:25:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:25:20 provisioning config files... 00:25:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/179@tmp/config14593794850232390900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:20 ---> ****-login.sh 00:25:20 nexus3.edgexfoundry.org:10001 00:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:25:21 Configure a credential helper to remove this warning. See 00:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:25:21 00:25:21 Login Succeeded 00:25:21 nexus3.edgexfoundry.org:10002 00:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:25:22 Configure a credential helper to remove this warning. See 00:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:25:22 00:25:22 Login Succeeded 00:25:22 nexus3.edgexfoundry.org:10003 00:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:25:22 Configure a credential helper to remove this warning. See 00:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:25:22 00:25:22 Login Succeeded 00:25:22 nexus3.edgexfoundry.org:10004 00:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:25:22 Configure a credential helper to remove this warning. See 00:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:25:22 00:25:22 Login Succeeded 00:25:22 ****.io 00:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:25:23 Configure a credential helper to remove this warning. See 00:25:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:25:23 00:25:23 Login Succeeded 00:25:23 ---> ****-login.sh ends [Pipeline] } 00:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:25:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:25:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:25:24 ========================================================= 00:25:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:25:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:24 + 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 . 00:25:24 Sending build context to Docker daemon 140.3kB 00:25:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 00:25:24 Step 2/12 : FROM ${BASE} AS builder 00:25:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:25:25 cf04c63912e1: Pulling fs layer 00:25:25 55b35a11ae5e: Pulling fs layer 00:25:25 a37a00ec5f00: Pulling fs layer 00:25:25 50b3750afda1: Pulling fs layer 00:25:25 4f4fb700ef54: Pulling fs layer 00:25:25 80978eb59214: Pulling fs layer 00:25:25 c9f46d7d2bd2: Pulling fs layer 00:25:25 c5a475d317c9: Pulling fs layer 00:25:25 50b3750afda1: Waiting 00:25:25 4f4fb700ef54: Waiting 00:25:25 80978eb59214: Waiting 00:25:25 c9f46d7d2bd2: Waiting 00:25:25 c5a475d317c9: Waiting 00:25:25 55b35a11ae5e: Verifying Checksum 00:25:25 55b35a11ae5e: Download complete 00:25:25 50b3750afda1: Verifying Checksum 00:25:25 50b3750afda1: Download complete 00:25:25 4f4fb700ef54: Verifying Checksum 00:25:25 4f4fb700ef54: Download complete 00:25:25 80978eb59214: Verifying Checksum 00:25:25 80978eb59214: Download complete 00:25:25 cf04c63912e1: Verifying Checksum 00:25:25 cf04c63912e1: Download complete 00:25:25 c5a475d317c9: Verifying Checksum 00:25:25 c5a475d317c9: Download complete 00:25:26 cf04c63912e1: Pull complete 00:25:27 55b35a11ae5e: Pull complete 00:25:27 a37a00ec5f00: Download complete 00:25:28 c9f46d7d2bd2: Verifying Checksum 00:25:28 c9f46d7d2bd2: Download complete 00:25:41 a37a00ec5f00: Pull complete 00:25:41 50b3750afda1: Pull complete 00:25:41 4f4fb700ef54: Pull complete 00:25:41 80978eb59214: Pull complete 00:25:52 c9f46d7d2bd2: Pull complete 00:25:52 c5a475d317c9: Pull complete 00:25:52 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 00:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 00:25:52 ---> be29e6b0f0d4 00:25:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:25:52 ---> Running in 33d57df2c79a 00:25:53 Removing intermediate container 33d57df2c79a 00:25:53 ---> ab45be6354e3 00:25:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:25:53 ---> Running in b70a6ca82cc8 00:25:53 Removing intermediate container b70a6ca82cc8 00:25:53 ---> 40f6cfebc8a2 00:25:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:25:53 ---> Running in 359e73372017 00:25:53 Removing intermediate container 359e73372017 00:25:53 ---> 0629918b5fc5 00:25:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:25:53 ---> Running in 8e4597121c51 00:25:54 Removing intermediate container 8e4597121c51 00:25:54 ---> 2c21e8031f28 00:25:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:25:54 ---> Running in 027699818b02 00:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:25:58 (1/4) Installing openssh-keygen (9.7_p1-r4) 00:25:58 (2/4) Installing libedit (20240517.3.1-r0) 00:25:58 (3/4) Installing openssh-client-common (9.7_p1-r4) 00:25:58 (4/4) Installing openssh-client-default (9.7_p1-r4) 00:25:58 Executing busybox-1.36.1-r29.trigger 00:25:58 OK: 242 MiB in 58 packages 00:25:59 Removing intermediate container 027699818b02 00:25:59 ---> 465e6419703f 00:25:59 Step 8/12 : WORKDIR /device-rest-go 00:25:59 ---> Running in 451019a68572 00:25:59 Removing intermediate container 451019a68572 00:25:59 ---> e1ef4403acb1 00:25:59 Step 9/12 : COPY go.mod vendor* ./ 00:26:00 ---> 9d694c75ff1c 00:26:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:00 ---> Running in b2cf8b695f0d 00:28:07 Removing intermediate container b2cf8b695f0d 00:28:07 ---> 6a361d60e26d 00:28:07 Step 11/12 : COPY . . 00:28:07 ---> f10d4bbc2aea 00:28:07 Step 12/12 : RUN $MAKE 00:28:07 ---> Running in 37703af1e582 00:28:07 noop 00:28:07 Removing intermediate container 37703af1e582 00:28:07 ---> a357816eede0 00:28:07 Successfully built a357816eede0 00:28:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:07 + docker inspect -f . ci-base-image-arm64 00:28:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:07 prd-ubuntu20.04-docker-arm64-4c-16g-24254 does not seem to be running inside a container 00:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/179 -v /w/workspace/device-rest-go/179:/w/workspace/device-rest-go/179:rw,z -v /w/workspace/device-rest-go/179@tmp:/w/workspace/device-rest-go/179@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 00:28:09 $ docker top 2aabd19f64b9b89fdf6323eaba866a389f1eb097b6aca5af4c6c17819ce9eb8b -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:10 + go version 00:28:10 go version go1.23.2 linux/arm64 [Pipeline] } 00:28:10 $ docker stop --time=1 2aabd19f64b9b89fdf6323eaba866a389f1eb097b6aca5af4c6c17819ce9eb8b 00:28:12 $ docker rm -f --volumes 2aabd19f64b9b89fdf6323eaba866a389f1eb097b6aca5af4c6c17819ce9eb8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:12 + docker inspect -f . ci-base-image-arm64 00:28:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:13 prd-ubuntu20.04-docker-arm64-4c-16g-24254 does not seem to be running inside a container 00:28:13 $ 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/179 -v /w/workspace/device-rest-go/179:/w/workspace/device-rest-go/179:rw,z -v /w/workspace/device-rest-go/179@tmp:/w/workspace/device-rest-go/179@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 00:28:14 $ docker top ed07000f855aa645cc46095d7f84346c65312af9ba796a2e6b48f1439367f8a3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:15 + git config --global --add safe.directory /w/workspace/device-rest-go/179 [Pipeline] fileExists [Pipeline] sh 00:28:16 + make test 00:28:16 go test ./... -coverprofile=coverage.out ./... 00:28:23 ? github.com/edgexfoundry/device-rest-go [no test files] 00:32:45 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 00:32:51 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 00:32:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:32:53 go vet ./... 00:34:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:34:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:34:01 ./bin/test-attribution-txt.sh [Pipeline] echo 00:34:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:34:01 $ docker stop --time=1 ed07000f855aa645cc46095d7f84346c65312af9ba796a2e6b48f1439367f8a3 00:34:03 $ docker rm -f --volumes ed07000f855aa645cc46095d7f84346c65312af9ba796a2e6b48f1439367f8a3 [Pipeline] // withDockerContainer [Pipeline] sh 00:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:34:05 Warning: overwriting stash ‘coverage-report’ 00:34:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:34:06 + ls -al . 00:34:06 total 240 00:34:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 00:28 . 00:34:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 00:24 .. 00:34:06 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 00:24 .dockerignore 00:34:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 00:24 .git 00:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:24 .github 00:34:06 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 00:24 .gitignore 00:34:06 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 00:24 .golangci.yml 00:34:06 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 00:24 Attribution.txt 00:34:06 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 00:24 CHANGELOG.md 00:34:06 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 00:24 Dockerfile 00:34:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 00:24 GOVERNANCE.md 00:34:06 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 00:24 Jenkinsfile 00:34:06 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 00:24 LICENSE 00:34:06 -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 00:24 Makefile 00:34:06 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 00:24 OWNERS.md 00:34:06 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 00:24 README.md 00:34:06 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 00:21 VERSION 00:34:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 00:24 bin 00:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:24 cmd 00:34:06 -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 00:32 coverage.out 00:34:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 00:24 driver 00:34:06 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 00:24 go.mod 00:34:06 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 00:24 go.sum 00:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 00:24 openapi 00:34:06 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 00:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:07 + 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=d405a4f26b456a8be44145d93bfbd9a91d93e9fc --label arch=arm64 --label version=4.0.0-dev.2 . 00:34:07 Sending build context to Docker daemon 155.6kB 00:34:07 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 00:34:07 Step 2/26 : FROM ${BASE} AS builder 00:34:07 ---> a357816eede0 00:34:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:34:07 ---> Running in 7735e8795996 00:34:08 Removing intermediate container 7735e8795996 00:34:08 ---> 913077d89e93 00:34:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:08 ---> Running in 0a0973ce9ce1 00:34:08 Removing intermediate container 0a0973ce9ce1 00:34:08 ---> a9955f22a2ba 00:34:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:34:08 ---> Running in b7bc3fbae7fd 00:34:09 Removing intermediate container b7bc3fbae7fd 00:34:09 ---> af08ebfa2809 00:34:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:34:09 ---> Running in c3a997217123 00:34:09 Removing intermediate container c3a997217123 00:34:09 ---> 703a873250be 00:34:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:34:09 ---> Running in 49ddcf28732c 00:34:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:34:13 OK: 242 MiB in 58 packages 00:34:14 Removing intermediate container 49ddcf28732c 00:34:14 ---> 1acb1f360f6a 00:34:14 Step 8/26 : WORKDIR /device-rest-go 00:34:14 ---> Running in b85d558e0327 00:34:14 Removing intermediate container b85d558e0327 00:34:14 ---> 99b4e124c596 00:34:14 Step 9/26 : COPY go.mod vendor* ./ 00:34:15 ---> b2dd43d5eae6 00:34:15 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:34:15 ---> Running in 23f94ef0e519 00:34:18 Removing intermediate container 23f94ef0e519 00:34:18 ---> ad2a7c3ce8ab 00:34:18 Step 11/26 : COPY . . 00:34:19 ---> 5b63f98d4b8a 00:34:19 Step 12/26 : RUN $MAKE 00:34:19 ---> Running in 0e368b253797 00:34:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 00:38:26 Removing intermediate container 0e368b253797 00:38:26 ---> 91e1fee78f72 00:38:26 Step 13/26 : FROM alpine:3.20 00:38:26 3.20: Pulling from library/alpine 00:38:26 cf04c63912e1: Already exists 00:38:26 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 00:38:26 Status: Downloaded newer image for alpine:3.20 00:38:26 ---> c157a85ed455 00:38:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:38:26 ---> Running in 8a31dd78eb81 00:38:26 Removing intermediate container 8a31dd78eb81 00:38:26 ---> 71c2c959bd90 00:38:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 00:38:26 ---> Running in 7569e1d82e28 00:38:26 Removing intermediate container 7569e1d82e28 00:38:26 ---> ac11e50a3384 00:38:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:38:26 ---> Running in 277a54c2eb0b 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:38:26 (1/1) Installing dumb-init (1.2.5-r3) 00:38:26 Executing busybox-1.36.1-r29.trigger 00:38:26 OK: 9 MiB in 15 packages 00:38:26 Removing intermediate container 277a54c2eb0b 00:38:26 ---> 86c2d7039493 00:38:26 Step 17/26 : RUN apk --no-cache upgrade 00:38:26 ---> Running in aa998033141e 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:38:26 Upgrading critical system libraries and apk-tools: 00:38:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 00:38:26 Executing busybox-1.36.1-r29.trigger 00:38:26 Continuing the upgrade transaction with new apk-tools: 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 00:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 00:38:27 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 00:38:27 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 00:38:27 OK: 9 MiB in 15 packages 00:38:28 Removing intermediate container aa998033141e 00:38:28 ---> 671f17ce9f0f 00:38:28 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 00:38:31 ---> dcc21e030fbe 00:38:31 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 00:38:31 ---> 9f1ec2da6f7f 00:38:31 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 00:38:32 ---> 32f507d52ec3 00:38:32 Step 21/26 : EXPOSE 59986 00:38:32 ---> Running in 02a5470aa389 00:38:32 Removing intermediate container 02a5470aa389 00:38:32 ---> f8bfd613ecd1 00:38:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 00:38:32 ---> Running in 41f56083f429 00:38:32 Removing intermediate container 41f56083f429 00:38:32 ---> d9b6ab0f76ea 00:38:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:38:32 ---> Running in 0f6e680c511a 00:38:32 Removing intermediate container 0f6e680c511a 00:38:32 ---> 729a159b52fc 00:38:32 Step 24/26 : LABEL arch=arm64 00:38:33 ---> Running in 83bb1ee7545c 00:38:33 Removing intermediate container 83bb1ee7545c 00:38:33 ---> 7301988523cb 00:38:33 Step 25/26 : LABEL git_sha=d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:38:33 ---> Running in 8e78082c4089 00:38:33 Removing intermediate container 8e78082c4089 00:38:33 ---> 2860bc67b7fe 00:38:33 Step 26/26 : LABEL version=4.0.0-dev.2 00:38:33 ---> Running in 9918a64b2eb3 00:38:34 Removing intermediate container 9918a64b2eb3 00:38:34 ---> bfebf977008e 00:38:34 [Warning] One or more build-args [ARCH] were not consumed 00:38:34 Successfully built bfebf977008e 00:38:34 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 00:38:34 provisioning config files... 00:38:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/179@tmp/config11634587699564465736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:34 ---> ****-login.sh 00:38:34 nexus3.edgexfoundry.org:10001 00:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:38:35 Configure a credential helper to remove this warning. See 00:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:38:35 00:38:35 Login Succeeded 00:38:35 nexus3.edgexfoundry.org:10002 00:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:38:35 Configure a credential helper to remove this warning. See 00:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:38:35 00:38:35 Login Succeeded 00:38:35 nexus3.edgexfoundry.org:10003 00:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:38:35 Configure a credential helper to remove this warning. See 00:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:38:35 00:38:35 Login Succeeded 00:38:35 nexus3.edgexfoundry.org:10004 00:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:38:36 Configure a credential helper to remove this warning. See 00:38:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:38:36 00:38:36 Login Succeeded 00:38:36 ****.io 00:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:38:36 Configure a credential helper to remove this warning. See 00:38:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:38:36 00:38:36 Login Succeeded 00:38:36 ---> ****-login.sh ends [Pipeline] } 00:38:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:38:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:38:36 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:38:36 d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:38:36 latest 00:38:36 4.0.0-dev.2 00:38:36 d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:38:36 main 00:38:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:38:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:38:37 b6aefc62a1c4: Preparing 00:38:37 412b0cd25bc1: Preparing 00:38:37 e5858907cbb7: Preparing 00:38:37 2e5eb853b8ba: Preparing 00:38:37 270b6f97bb59: Preparing 00:38:37 16113d51b718: Preparing 00:38:37 16113d51b718: Waiting 00:38:37 270b6f97bb59: Pushed 00:38:37 b6aefc62a1c4: Pushed 00:38:37 412b0cd25bc1: Pushed 00:38:37 16113d51b718: Layer already exists 00:38:39 2e5eb853b8ba: Pushed 00:38:47 e5858907cbb7: Pushed 00:38:47 d405a4f26b456a8be44145d93bfbd9a91d93e9fc: digest: sha256:86d0a891cbba9ac2af4fbadae74d99e619a17252bc4c6b4ac862d4a2cc52a7bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:38:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:38:48 b6aefc62a1c4: Preparing 00:38:48 412b0cd25bc1: Preparing 00:38:48 e5858907cbb7: Preparing 00:38:48 2e5eb853b8ba: Preparing 00:38:48 270b6f97bb59: Preparing 00:38:48 16113d51b718: Preparing 00:38:48 16113d51b718: Waiting 00:38:48 270b6f97bb59: Layer already exists 00:38:48 e5858907cbb7: Layer already exists 00:38:48 412b0cd25bc1: Layer already exists 00:38:48 2e5eb853b8ba: Layer already exists 00:38:48 b6aefc62a1c4: Layer already exists 00:38:48 16113d51b718: Layer already exists 00:38:48 latest: digest: sha256:86d0a891cbba9ac2af4fbadae74d99e619a17252bc4c6b4ac862d4a2cc52a7bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.2 00:38:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:38:49 b6aefc62a1c4: Preparing 00:38:49 412b0cd25bc1: Preparing 00:38:49 e5858907cbb7: Preparing 00:38:49 2e5eb853b8ba: Preparing 00:38:49 270b6f97bb59: Preparing 00:38:49 16113d51b718: Preparing 00:38:49 16113d51b718: Waiting 00:38:49 412b0cd25bc1: Layer already exists 00:38:49 2e5eb853b8ba: Layer already exists 00:38:49 270b6f97bb59: Layer already exists 00:38:49 e5858907cbb7: Layer already exists 00:38:49 b6aefc62a1c4: Layer already exists 00:38:49 16113d51b718: Layer already exists 00:38:49 4.0.0-dev.2: digest: sha256:86d0a891cbba9ac2af4fbadae74d99e619a17252bc4c6b4ac862d4a2cc52a7bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:38:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:38:50 b6aefc62a1c4: Preparing 00:38:50 412b0cd25bc1: Preparing 00:38:50 e5858907cbb7: Preparing 00:38:50 2e5eb853b8ba: Preparing 00:38:50 270b6f97bb59: Preparing 00:38:50 16113d51b718: Preparing 00:38:50 16113d51b718: Waiting 00:38:50 2e5eb853b8ba: Layer already exists 00:38:50 e5858907cbb7: Layer already exists 00:38:50 412b0cd25bc1: Layer already exists 00:38:50 270b6f97bb59: Layer already exists 00:38:50 b6aefc62a1c4: Layer already exists 00:38:50 16113d51b718: Layer already exists 00:38:50 d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2: digest: sha256:86d0a891cbba9ac2af4fbadae74d99e619a17252bc4c6b4ac862d4a2cc52a7bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:38:51 b6aefc62a1c4: Preparing 00:38:51 412b0cd25bc1: Preparing 00:38:51 e5858907cbb7: Preparing 00:38:51 2e5eb853b8ba: Preparing 00:38:51 270b6f97bb59: Preparing 00:38:51 16113d51b718: Preparing 00:38:51 16113d51b718: Waiting 00:38:51 e5858907cbb7: Layer already exists 00:38:51 2e5eb853b8ba: Layer already exists 00:38:51 270b6f97bb59: Layer already exists 00:38:51 412b0cd25bc1: Layer already exists 00:38:51 b6aefc62a1c4: Layer already exists 00:38:51 16113d51b718: Layer already exists 00:38:51 main: digest: sha256:86d0a891cbba9ac2af4fbadae74d99e619a17252bc4c6b4ac862d4a2cc52a7bc size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:38:51 ===================================================== [Pipeline] echo 00:38:51 taggedImages: 00:38:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc 00:38:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:38:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.2 00:38:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d405a4f26b456a8be44145d93bfbd9a91d93e9fc-4.0.0-dev.2 00:38:51 - 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 00:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:38:52 00:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:38:52 arm64: Pulling from edgex-lftools-log-publisher 00:38:52 8998bd30e6a1: Pulling fs layer 00:38:52 04944245beec: Pulling fs layer 00:38:52 699f458cf7ca: Pulling fs layer 00:38:52 765212b225bb: Pulling fs layer 00:38:52 f23df028b6ca: Pulling fs layer 00:38:52 d65c8cfc05b1: Pulling fs layer 00:38:52 2437ff75d9bd: Pulling fs layer 00:38:52 f23df028b6ca: Waiting 00:38:52 d65c8cfc05b1: Waiting 00:38:52 2437ff75d9bd: Waiting 00:38:52 765212b225bb: Waiting 00:38:52 04944245beec: Verifying Checksum 00:38:52 04944245beec: Download complete 00:38:52 765212b225bb: Download complete 00:38:52 f23df028b6ca: Verifying Checksum 00:38:52 f23df028b6ca: Download complete 00:38:52 d65c8cfc05b1: Verifying Checksum 00:38:52 d65c8cfc05b1: Download complete 00:38:52 699f458cf7ca: Verifying Checksum 00:38:52 699f458cf7ca: Download complete 00:38:53 8998bd30e6a1: Verifying Checksum 00:38:53 8998bd30e6a1: Download complete 00:38:55 2437ff75d9bd: Verifying Checksum 00:38:55 2437ff75d9bd: Download complete 00:38:58 8998bd30e6a1: Pull complete 00:38:58 04944245beec: Pull complete 00:39:00 699f458cf7ca: Pull complete 00:39:00 765212b225bb: Pull complete 00:39:01 f23df028b6ca: Pull complete 00:39:02 d65c8cfc05b1: Pull complete 00:39:20 2437ff75d9bd: Pull complete 00:39:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:39:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:20 prd-ubuntu20.04-docker-arm64-4c-16g-24254 does not seem to be running inside a container 00:39:20 $ 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/179 -v /w/workspace/device-rest-go/179:/w/workspace/device-rest-go/179:rw,z -v /w/workspace/device-rest-go/179@tmp:/w/workspace/device-rest-go/179@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 00:39:23 $ docker top 8a89153e0507637e16c4d8421f612cfdf2fdddf0672b3654d7bafc2b9ed10f61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:24 ---> job-cost.sh 00:39:24 lf-activate-venv: SKIPPING 00:39:24 INFO: No Stack... 00:39:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:39:25 INFO: Archiving Costs [Pipeline] sh 00:39:26 + cat /w/workspace/device-rest-go/179/archives/cost.csv 00:39:26 + cut -d, -f6 [Pipeline] lock 00:39:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] 00:39:26 Resource [jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] did not exist. Created. 00:39:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:39:26 /w/workspace/device-rest-go/179@tmp/durable-20556647/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:39:27 + echo total: 0.10999999940395355 [Pipeline] stash 00:39:27 Warning: overwriting stash ‘stack-cost’ 00:39:27 Stashed 1 file(s) [Pipeline] } 00:39:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 00:39:27 $ docker stop --time=1 8a89153e0507637e16c4d8421f612cfdf2fdddf0672b3654d7bafc2b9ed10f61 00:39:29 $ docker rm -f --volumes 8a89153e0507637e16c4d8421f612cfdf2fdddf0672b3654d7bafc2b9ed10f61 [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 00:39:29 provisioning config files... 00:39:29 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7459255607617669199tmp [Pipeline] { [Pipeline] sh 00:39:30 + set +x 00:39:30 + + curl -sbash https://codecov.io/bash -s 00:39:30 -- 00:39:30 00:39:30 _____ _ 00:39:30 / ____| | | 00:39:30 | | ___ __| | ___ ___ _____ __ 00:39:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:39:30 | |___| (_) | (_| | __/ (_| (_) \ V / 00:39:30 \_____\___/ \__,_|\___|\___\___/ \_/ 00:39:30 Bash-1.0.6 00:39:30 00:39:30 00:39:30 ==> git version 2.25.1 found 00:39:30 ==> 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 00:39:30 Release-Date: 2020-01-08 00:39:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:39:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:39:30 ==> Jenkins CI detected. 00:39:30 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 00:39:30 project root: . 00:39:30 --> token set from env 00:39:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:39:30 ==> Running gcov in . (disable via -X gcov) 00:39:30 ==> Python coveragepy not found 00:39:30 ==> Searching for coverage reports in: 00:39:30 + . 00:39:30 -> Found 1 reports 00:39:30 ==> Detecting git/mercurial file structure 00:39:30 ==> Reading reports 00:39:30 + ./coverage.out bytes=14565 00:39:30 ==> Appending adjustments 00:39:30 https://docs.codecov.io/docs/fixing-reports 00:39:30 + Found adjustments 00:39:30 ==> Gzipping contents 00:39:30 4.0K /tmp/codecov.0hIYrV.gz 00:39:30 ==> Uploading reports 00:39:30 url: https://codecov.io 00:39:30 query: branch=main&commit=d405a4f26b456a8be44145d93bfbd9a91d93e9fc&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:39:30 -> Pinging Codecov 00:39:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d405a4f26b456a8be44145d93bfbd9a91d93e9fc&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:39:30 -> Uploading to 00:39:30 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/d405a4f26b456a8be44145d93bfbd9a91d93e9fc/6fffb49c-c50a-4823-a468-b5e515edb9ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T003930Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5701f56e0b1fd9da54bf83121dbf29b6dcbec57e5dd93d22ecb961d2291ce4a1 00:39:30 % Total % Received % Xferd Average Speed Time Time Time Current 00:39:30 Dload Upload Total Spent Left Speed 00:39:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10251 --:--:-- --:--:-- --:--:-- 10206 100 2327 0 0 100 2327 0 10251 --:--:-- --:--:-- --:--:-- 10206 00:39:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] } 00:39:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:39:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:39:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:39:31 00:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:39:31 latest: Pulling from edgex-devops/edgex-snyk-go 00:39:31 43c4264eed91: Already exists 00:39:31 4cc291be95ef: Already exists 00:39:31 2ac1f1163629: Already exists 00:39:31 5c3c966382ef: Already exists 00:39:31 4f4fb700ef54: Already exists 00:39:31 d9c7d2e4e75e: Pulling fs layer 00:39:31 9c3e1370e548: Pulling fs layer 00:39:32 d9c7d2e4e75e: Verifying Checksum 00:39:32 d9c7d2e4e75e: Download complete 00:39:32 d9c7d2e4e75e: Pull complete 00:39:32 9c3e1370e548: Verifying Checksum 00:39:32 9c3e1370e548: Download complete 00:39:35 9c3e1370e548: Pull complete 00:39:35 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 00:39:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 00:39:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:35 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:39:35 $ 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 00:39:37 $ docker top 6a8891eb5f33ab94c4b3132a6343bda51b97d24c66385cc7d380adaf2cc7f7f3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 00:39:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 00:39:38 + set -o pipefail 00:39:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 00:39:45 00:39:45 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 00:39:45 00:39:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/54d036a8-b002-46e6-826c-3502ac9dd2be 00:39:45 00:39:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:39:45 [Pipeline] } 00:39:45 $ docker stop --time=1 6a8891eb5f33ab94c4b3132a6343bda51b97d24c66385cc7d380adaf2cc7f7f3 00:39:49 $ docker rm -f --volumes 6a8891eb5f33ab94c4b3132a6343bda51b97d24c66385cc7d380adaf2cc7f7f3 [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 00:39:50 + git log --format=format:%s -1 d405a4f26b456a8be44145d93bfbd9a91d93e9fc [Pipeline] sh 00:39:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:39:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:50 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:39:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:39:51 $ docker top b9bb8626eb451edf6716f22e0f275a4b86f9121b2332730e8802a2f9723d83e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:39:52 [ssh-agent] Looking for ssh-agent implementation... 00:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:39:52 $ docker exec b9bb8626eb451edf6716f22e0f275a4b86f9121b2332730e8802a2f9723d83e6 ssh-agent 00:39:52 SSH_AUTH_SOCK=/tmp/ssh-C6s6Gsa1xIx5/agent.33 00:39:52 SSH_AGENT_PID=39 00:39:52 Running ssh-add (command line suppressed) 00:39:52 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6375208234087161045.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6375208234087161045.key) 00:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:39:52 + git semver tag 00:39:52 2024-11-01 00:39:52,838 [run_tag] DEBUG tag force:False 00:39:52 2024-11-01 00:39:52,838 [check_head_tag] DEBUG check head tag 00:39:52 2024-11-01 00:39:52,839 [execute] INFO git cat-file --batch-check 00:39:52 2024-11-01 00:39:52,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:39:52 2024-11-01 00:39:52,843 [execute] INFO git cat-file --batch 00:39:52 2024-11-01 00:39:52,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:39:52 2024-11-01 00:39:52,864 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:39:52 2024-11-01 00:39:52,864 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 00:39:52 2024-11-01 00:39:52,864 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:39:52 2024-11-01 00:39:52,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:39:52 4.0.0-dev.2 [Pipeline] } 00:39:52 $ docker exec --env ******** --env ******** b9bb8626eb451edf6716f22e0f275a4b86f9121b2332730e8802a2f9723d83e6 ssh-agent -k 00:39:53 unset SSH_AUTH_SOCK; 00:39:53 unset SSH_AGENT_PID; 00:39:53 echo Agent pid 39 killed; 00:39:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:39:53 + git semver [Pipeline] } 00:39:53 $ docker stop --time=1 b9bb8626eb451edf6716f22e0f275a4b86f9121b2332730e8802a2f9723d83e6 00:39:54 $ docker rm -f --volumes b9bb8626eb451edf6716f22e0f275a4b86f9121b2332730e8802a2f9723d83e6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:39:55 00:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:39:55 0.23.1-centos7: Pulling from edgex-lftools 00:39:55 ab5ef0e58194: Pulling fs layer 00:39:55 9712f1f96733: Pulling fs layer 00:39:55 63f879dbbcfc: Pulling fs layer 00:39:55 0d9ebad4ef96: Pulling fs layer 00:39:55 e9a5061849ea: Pulling fs layer 00:39:55 d747dcd14b5f: Pulling fs layer 00:39:55 2de7ff778b66: Pulling fs layer 00:39:55 0d9ebad4ef96: Waiting 00:39:55 e9a5061849ea: Waiting 00:39:55 d747dcd14b5f: Waiting 00:39:55 2de7ff778b66: Waiting 00:39:55 9712f1f96733: Verifying Checksum 00:39:55 9712f1f96733: Download complete 00:39:55 63f879dbbcfc: Verifying Checksum 00:39:55 63f879dbbcfc: Download complete 00:39:56 e9a5061849ea: Verifying Checksum 00:39:56 e9a5061849ea: Download complete 00:39:56 d747dcd14b5f: Verifying Checksum 00:39:56 d747dcd14b5f: Download complete 00:39:56 0d9ebad4ef96: Verifying Checksum 00:39:56 0d9ebad4ef96: Download complete 00:39:56 ab5ef0e58194: Verifying Checksum 00:39:56 ab5ef0e58194: Download complete 00:39:56 2de7ff778b66: Download complete 00:39:58 ab5ef0e58194: Pull complete 00:39:58 9712f1f96733: Pull complete 00:39:59 63f879dbbcfc: Pull complete 00:40:03 0d9ebad4ef96: Pull complete 00:40:03 e9a5061849ea: Pull complete 00:40:03 d747dcd14b5f: Pull complete 00:40:04 2de7ff778b66: Pull complete 00:40:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:40:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:40:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:04 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:40:04 $ 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 00:40:08 $ docker top 53611fbc08b726575290cd3c13a39a0ed5005c76cd7a89c8affc4bd55687cc00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:40:08 provisioning config files... 00:40:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17999112727209395027tmp 00:40:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1748290026454772624tmp 00:40:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16548027740369982887tmp [Pipeline] { [Pipeline] echo 00:40:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:40:09 ---> sigul-configuration.sh 00:40:09 gpg: directory `/root/.gnupg' created 00:40:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:40:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:40:09 gpg: keyring `/root/.gnupg/secring.gpg' created 00:40:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:40:09 gpg: CAST5 encrypted data 00:40:09 gpg: encrypted with 1 passphrase 00:40:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:40:09 + mkdir /home/jenkins 00:40:09 + mkdir /home/jenkins/sigul [Pipeline] sh 00:40:09 + 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 00:40:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:40:10 ---> sigul-install.sh 00:40:10 Sigul already installed; skipping installation. [Pipeline] sh 00:40:10 + git tag --list 00:40:10 v1.0.0 00:40:10 v1.1.0 00:40:10 v1.1.1 00:40:10 v1.1.2 00:40:10 v1.2.0 00:40:10 v1.2.1 00:40:10 v2.0.0 00:40:10 v2.1.0 00:40:10 v2.1.1 00:40:10 v2.2.0 00:40:10 v2.3.0 00:40:10 v3.0 00:40:10 v3.0.0 00:40:10 v3.1 00:40:10 v3.1.0 00:40:10 v3.1.0-dev.1 00:40:10 v3.1.0-dev.10 00:40:10 v3.1.0-dev.11 00:40:10 v3.1.0-dev.12 00:40:10 v3.1.0-dev.13 00:40:10 v3.1.0-dev.14 00:40:10 v3.1.0-dev.15 00:40:10 v3.1.0-dev.16 00:40:10 v3.1.0-dev.17 00:40:10 v3.1.0-dev.18 00:40:10 v3.1.0-dev.19 00:40:10 v3.1.0-dev.2 00:40:10 v3.1.0-dev.20 00:40:10 v3.1.0-dev.21 00:40:10 v3.1.0-dev.22 00:40:10 v3.1.0-dev.23 00:40:10 v3.1.0-dev.24 00:40:10 v3.1.0-dev.25 00:40:10 v3.1.0-dev.26 00:40:10 v3.1.0-dev.27 00:40:10 v3.1.0-dev.28 00:40:10 v3.1.0-dev.29 00:40:10 v3.1.0-dev.3 00:40:10 v3.1.0-dev.30 00:40:10 v3.1.0-dev.31 00:40:10 v3.1.0-dev.32 00:40:10 v3.1.0-dev.4 00:40:10 v3.1.0-dev.5 00:40:10 v3.1.0-dev.6 00:40:10 v3.1.0-dev.7 00:40:10 v3.1.0-dev.8 00:40:10 v3.1.0-dev.9 00:40:10 v3.1.1 00:40:10 v3.2.0-dev.1 00:40:10 v3.2.0-dev.10 00:40:10 v3.2.0-dev.11 00:40:10 v3.2.0-dev.12 00:40:10 v3.2.0-dev.13 00:40:10 v3.2.0-dev.14 00:40:10 v3.2.0-dev.15 00:40:10 v3.2.0-dev.16 00:40:10 v3.2.0-dev.17 00:40:10 v3.2.0-dev.18 00:40:10 v3.2.0-dev.19 00:40:10 v3.2.0-dev.2 00:40:10 v3.2.0-dev.20 00:40:10 v3.2.0-dev.21 00:40:10 v3.2.0-dev.22 00:40:10 v3.2.0-dev.23 00:40:10 v3.2.0-dev.24 00:40:10 v3.2.0-dev.25 00:40:10 v3.2.0-dev.3 00:40:10 v3.2.0-dev.4 00:40:10 v3.2.0-dev.5 00:40:10 v3.2.0-dev.6 00:40:10 v3.2.0-dev.7 00:40:10 v3.2.0-dev.8 00:40:10 v3.2.0-dev.9 00:40:10 v4.0.0-dev.1 00:40:10 v4.0.0-dev.2 [Pipeline] sh 00:40:10 + lftools sign git-tag v4.0.0-dev.2 00:40:11 Signing Git tag with Sigul... 00:40:11 Signing v4.0.0-dev.2 [Pipeline] echo 00:40:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:40:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:40:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:40:12 $ docker stop --time=1 53611fbc08b726575290cd3c13a39a0ed5005c76cd7a89c8affc4bd55687cc00 00:40:13 $ docker rm -f --volumes 53611fbc08b726575290cd3c13a39a0ed5005c76cd7a89c8affc4bd55687cc00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:40:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:40:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:14 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:40:14 $ 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 00:40:14 $ docker top cba863188a22d61200709e42e0107d8f84b2f7217c6338faf19d683635c68afc -eo pid,comm 00:40:14 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). 00:40:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:40:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:14 [ssh-agent] Looking for ssh-agent implementation... 00:40:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:15 $ docker exec cba863188a22d61200709e42e0107d8f84b2f7217c6338faf19d683635c68afc ssh-agent 00:40:15 SSH_AUTH_SOCK=/tmp/ssh-xul63YCsq72t/agent.33 00:40:15 SSH_AGENT_PID=39 00:40:15 Running ssh-add (command line suppressed) 00:40:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12289274826626485244.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12289274826626485244.key) 00:40:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:15 + git semver bump pre 00:40:15 2024-11-01 00:40:15,746 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:40:15 2024-11-01 00:40:15,746 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 00:40:15 2024-11-01 00:40:15,746 [bump_version] DEBUG bumped version:4.0.0-dev.3 00:40:15 2024-11-01 00:40:15,746 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 00:40:15 2024-11-01 00:40:15,746 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:40:15 2024-11-01 00:40:15,746 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:40:15 2024-11-01 00:40:15,748 [execute] INFO git cat-file --batch-check 00:40:15 2024-11-01 00:40:15,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:40:15 2024-11-01 00:40:15,753 [execute] INFO git cat-file --batch 00:40:15 2024-11-01 00:40:15,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:40:15 2024-11-01 00:40:15,759 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:40:15 4.0.0-dev.3 [Pipeline] } 00:40:15 $ docker exec --env ******** --env ******** cba863188a22d61200709e42e0107d8f84b2f7217c6338faf19d683635c68afc ssh-agent -k 00:40:15 unset SSH_AUTH_SOCK; 00:40:15 unset SSH_AGENT_PID; 00:40:15 echo Agent pid 39 killed; 00:40:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:40:16 + git semver [Pipeline] } 00:40:16 $ docker stop --time=1 cba863188a22d61200709e42e0107d8f84b2f7217c6338faf19d683635c68afc 00:40:17 $ docker rm -f --volumes cba863188a22d61200709e42e0107d8f84b2f7217c6338faf19d683635c68afc [Pipeline] // withDockerContainer [Pipeline] sh 00:40:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:40:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:18 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:40:18 $ 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 00:40:18 $ docker top cc27eafffe6e4312f0cafb15f5ead54db5e87436b5d87086695f7baad96f99cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:40:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:18 [ssh-agent] Looking for ssh-agent implementation... 00:40:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:19 $ docker exec cc27eafffe6e4312f0cafb15f5ead54db5e87436b5d87086695f7baad96f99cd ssh-agent 00:40:19 SSH_AUTH_SOCK=/tmp/ssh-soIa91zeOTKS/agent.32 00:40:19 SSH_AGENT_PID=38 00:40:19 Running ssh-add (command line suppressed) 00:40:19 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14309300392388900775.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14309300392388900775.key) 00:40:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:19 + git semver push 00:40:19 2024-11-01 00:40:19,752 [run_push] DEBUG push 00:40:19 2024-11-01 00:40:19,753 [execute] INFO git cat-file --batch-check 00:40:19 2024-11-01 00:40:19,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:40:19 2024-11-01 00:40:19,757 [execute] INFO git rev-list 9caf2fc02c799ca8f89ccbac15884e684b43ca2c -- 00:40:19 2024-11-01 00:40:19,757 [execute] DEBUG Popen(['git', 'rev-list', '9caf2fc02c799ca8f89ccbac15884e684b43ca2c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:40:19 2024-11-01 00:40:19,767 [execute] INFO git fetch -v origin 00:40:19 2024-11-01 00:40:19,767 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:40:20 2024-11-01 00:40:20,224 [run_push] DEBUG no remote changes detected 00:40:20 2024-11-01 00:40:20,224 [execute] INFO git push origin semver 00:40:20 2024-11-01 00:40:20,225 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:40:20 2024-11-01 00:40:20,855 [run_push] DEBUG push all version tags 00:40:20 2024-11-01 00:40:20,856 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:40:20 2024-11-01 00:40:20,857 [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) 00:40:21 2024-11-01 00:40:21,493 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:40:21 4.0.0-dev.3 [Pipeline] } 00:40:21 $ docker exec --env ******** --env ******** cc27eafffe6e4312f0cafb15f5ead54db5e87436b5d87086695f7baad96f99cd ssh-agent -k 00:40:21 unset SSH_AUTH_SOCK; 00:40:21 unset SSH_AGENT_PID; 00:40:21 echo Agent pid 38 killed; 00:40:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:40:22 + git semver [Pipeline] } 00:40:22 $ docker stop --time=1 cc27eafffe6e4312f0cafb15f5ead54db5e87436b5d87086695f7baad96f99cd 00:40:23 $ docker rm -f --volumes cc27eafffe6e4312f0cafb15f5ead54db5e87436b5d87086695f7baad96f99cd [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 00:40:24 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:40:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:40:24 total 16 00:40:24 drwxr-xr-x 3 root root 4096 Nov 1 00:24 . 00:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 00:40 .. 00:40:24 drwxr-xr-x 2 root root 4096 Nov 1 00:24 cost 00:40:24 -rw-r--r-- 1 root root 86 Nov 1 00:24 cost.csv 00:40:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:40:24 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:40:24 total 16 00:40:24 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 00:24 . 00:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 00:40 .. 00:40:24 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 00:24 cost 00:40:24 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 00:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:40:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:40:25 ---> package-listing.sh 00:40:25 ++ facter osfamily 00:40:25 ++ tr '[:upper:]' '[:lower:]' 00:40:25 + OS_FAMILY=debian 00:40:25 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:40:25 + START_PACKAGES=/tmp/packages_start.txt 00:40:25 + END_PACKAGES=/tmp/packages_end.txt 00:40:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:40:25 + PACKAGES=/tmp/packages_start.txt 00:40:25 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:40:25 + PACKAGES=/tmp/packages_end.txt 00:40:25 + case "${OS_FAMILY}" in 00:40:25 + dpkg -l 00:40:25 + grep '^ii' 00:40:25 + '[' -f /tmp/packages_start.txt ']' 00:40:25 + '[' -f /tmp/packages_end.txt ']' 00:40:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:40:25 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:40:25 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:40:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:40:25 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 00:40:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:26 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 00:40:26 $ 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 00:40:26 $ docker top 48ac1078aa392257d10ec954b62241d509dd7826ff1d62de728e5888e37351f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:40:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:40:27 + mkdir -p /var/log/sysstat [Pipeline] sh 00:40:27 + ls /var/log/sa-host 00:40:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:27 provisioning config files... 00:40:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11565461375549148143tmp [Pipeline] { [Pipeline] echo 00:40:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:40:28 ---> create-netrc.sh [Pipeline] } 00:40:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:40:28 ---> python-tools-install.sh [Pipeline] echo 00:40:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:40:28 ---> sudo-logs.sh 00:40:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:40:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:40:28 ---> job-cost.sh 00:40:28 lf-activate-venv: SKIPPING 00:40:28 DEBUG: total: 0.2199999988079071 00:40:28 INFO: Retrieving Stack Cost... 00:40:29 INFO: Retrieving Pricing Info for: v3-standard-8 00:40:29 INFO: Archiving Costs [Pipeline] echo 00:40:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:40:30 ---> logs-deploy.sh 00:40:30 lf-activate-venv: SKIPPING 00:40:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/179 00:40:30 INFO: archiving workspace using pattern(s): 00:40:31 Archives upload complete. 00:40:31 INFO: archiving logs to Nexus