Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 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-ssh7928249063536320473.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-ssh39263326868115773.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-ssh13980994418920869358.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-ssh5838808464950906629.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-ssh5258466480277473232.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 ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-22351’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22353 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 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 (main) Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" > 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 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 # timeout=10 > git rev-list --no-walk 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:04:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:04:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:04:12 ========================================================= 22:04:12 EdgeX Global Pipelines Version Info 22:04:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:04:13 ------------------- 22:04:13 stable info: 22:04:13 ------------------- 22:04:13 Commited By: Ginny Guan ginny@iotechsys.com 22:04:13 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 22:04:13 Message: update stable to v1.0.265 22:04:13 ------------------- 22:04:13 experimental info: 22:04:13 ------------------- 22:04:13 Commited By: Cherry Wang cherry@iotechsys.com 22:04:13 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 22:04:13 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:04:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 107c131 [Pipeline] echo 22:04:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:14 provisioning config files... 22:04:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11895519322692529945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:14 ---> ****-login.sh 22:04:14 nexus3.edgexfoundry.org:10001 22:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:15 Configure a credential helper to remove this warning. See 22:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:15 22:04:15 Login Succeeded 22:04:15 nexus3.edgexfoundry.org:10002 22:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:15 Configure a credential helper to remove this warning. See 22:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:15 22:04:15 Login Succeeded 22:04:15 nexus3.edgexfoundry.org:10003 22:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:15 Configure a credential helper to remove this warning. See 22:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:15 22:04:15 Login Succeeded 22:04:15 nexus3.edgexfoundry.org:10004 22:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:15 Configure a credential helper to remove this warning. See 22:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:15 22:04:15 Login Succeeded 22:04:15 ****.io 22:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:15 Configure a credential helper to remove this warning. See 22:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:15 22:04:15 Login Succeeded 22:04:15 ---> ****-login.sh ends [Pipeline] } 22:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:04:15 + git rev-list -1 --merges 107c131f2d4d00842a0c6d2364e97dcb8ff9e476~1..107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] echo 22:04:15 -----------> git rev-list -1 --merges 107c131f2d4d00842a0c6d2364e97dcb8ff9e476~1..107c131f2d4d00842a0c6d2364e97dcb8ff9e476 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:04:15 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [false] [Pipeline] sh 22:04:16 + git log --format=format:%s -1 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] echo 22:04:16 ========================================================= 22:04:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:04:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:16 + git log --format=format:%s -1 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] echo 22:04:16 [semverPrep] GIT_COMMIT: 107c131f2d4d00842a0c6d2364e97dcb8ff9e476, Commit Message: Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45 [Pipeline] echo 22:04:16 [semverPrep] This is not a build commit. [Pipeline] sh 22:04:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:16 + grep -v github /etc/ssh/ssh_known_hosts 22:04:16 + [ -e /tmp/ssh_known_hosts ] 22:04:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:04:16 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:04:16 sudo tee -a /etc/ssh/ssh_known_hosts 22:04:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:17 22:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:17 0.1.4: Pulling from edgex-devops/py-git-semver 22:04:17 b85a868b505f: Pulling fs layer 22:04:17 e2be974225ed: Pulling fs layer 22:04:17 339a4e72a1f5: Pulling fs layer 22:04:17 988bab9f4d93: Pulling fs layer 22:04:17 1469e6f7b9e6: Pulling fs layer 22:04:17 eaf3925da568: Pulling fs layer 22:04:17 bab4dde63d76: Pulling fs layer 22:04:17 bde34c3a00c8: Pulling fs layer 22:04:17 b352a97aabf1: Pulling fs layer 22:04:17 4872d77fe225: Pulling fs layer 22:04:17 5851b861e8e6: Pulling fs layer 22:04:17 988bab9f4d93: Waiting 22:04:17 1469e6f7b9e6: Waiting 22:04:17 eaf3925da568: Waiting 22:04:17 bde34c3a00c8: Waiting 22:04:17 bab4dde63d76: Waiting 22:04:17 b352a97aabf1: Waiting 22:04:17 4872d77fe225: Waiting 22:04:17 5851b861e8e6: Waiting 22:04:17 e2be974225ed: Verifying Checksum 22:04:17 e2be974225ed: Download complete 22:04:17 988bab9f4d93: Verifying Checksum 22:04:17 988bab9f4d93: Download complete 22:04:17 1469e6f7b9e6: Verifying Checksum 22:04:17 1469e6f7b9e6: Download complete 22:04:17 eaf3925da568: Download complete 22:04:17 339a4e72a1f5: Verifying Checksum 22:04:17 339a4e72a1f5: Download complete 22:04:17 bde34c3a00c8: Verifying Checksum 22:04:17 bde34c3a00c8: Download complete 22:04:17 b352a97aabf1: Download complete 22:04:17 4872d77fe225: Verifying Checksum 22:04:17 4872d77fe225: Download complete 22:04:17 5851b861e8e6: Download complete 22:04:17 b85a868b505f: Verifying Checksum 22:04:17 b85a868b505f: Download complete 22:04:18 bab4dde63d76: Verifying Checksum 22:04:18 bab4dde63d76: Download complete 22:04:19 b85a868b505f: Pull complete 22:04:19 e2be974225ed: Pull complete 22:04:19 339a4e72a1f5: Pull complete 22:04:19 988bab9f4d93: Pull complete 22:04:19 1469e6f7b9e6: Pull complete 22:04:19 eaf3925da568: Pull complete 22:04:21 bab4dde63d76: Pull complete 22:04:21 bde34c3a00c8: Pull complete 22:04:21 b352a97aabf1: Pull complete 22:04:21 4872d77fe225: Pull complete 22:04:21 5851b861e8e6: Pull complete 22:04:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:21 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:04:21 $ 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 22:04:25 $ docker top f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 -eo pid,comm 22:04:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:04:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:25 [ssh-agent] Looking for ssh-agent implementation... 22:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:25 $ docker exec f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 ssh-agent 22:04:26 SSH_AUTH_SOCK=/tmp/ssh-PEw2hADCeSNe/agent.33 22:04:26 SSH_AGENT_PID=39 22:04:26 Running ssh-add (command line suppressed) 22:04:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12824111325793451546.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12824111325793451546.key) 22:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:26 + git tag --points-at HEAD [Pipeline] } 22:04:26 $ docker exec --env ******** --env ******** f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 ssh-agent -k 22:04:26 unset SSH_AUTH_SOCK; 22:04:26 unset SSH_AGENT_PID; 22:04:26 echo Agent pid 39 killed; 22:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:04:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:26 [ssh-agent] Looking for ssh-agent implementation... 22:04:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:26 $ docker exec f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 ssh-agent 22:04:26 SSH_AUTH_SOCK=/tmp/ssh-6SSi7wwoLiJn/agent.72 22:04:26 SSH_AGENT_PID=78 22:04:26 Running ssh-add (command line suppressed) 22:04:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17260002548185964523.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17260002548185964523.key) 22:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:27 + git semver init 22:04:27 2024-10-09 22:04:27,415 [run_init] DEBUG init version:0.0.0 force:False 22:04:27 2024-10-09 22:04:27,415 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:04:27 2024-10-09 22:04:27,416 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:04:27 2024-10-09 22:04:27,416 [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) 22:04:28 2024-10-09 22:04:28,651 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:04:28 2024-10-09 22:04:28,652 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:04:28 2024-10-09 22:04:28,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:04:28 2024-10-09 22:04:28,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:04:28 3.2.0-dev.23 [Pipeline] } 22:04:28 $ docker exec --env ******** --env ******** f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 ssh-agent -k 22:04:28 unset SSH_AUTH_SOCK; 22:04:28 unset SSH_AGENT_PID; 22:04:28 echo Agent pid 78 killed; 22:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:29 + git semver [Pipeline] } 22:04:29 $ docker stop --time=1 f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 22:04:30 $ docker rm -f --volumes f823e2933af84169f2335e0a3ef9d90d6ecbee26ef6f015b471c9381c10897c6 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:31 Stashed 1 file(s) [Pipeline] echo 22:04:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [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 22:04:31 provisioning config files... 22:04:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15641141185265885382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:31 ---> ****-login.sh 22:04:31 nexus3.edgexfoundry.org:10001 22:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:31 Configure a credential helper to remove this warning. See 22:04:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:31 22:04:31 Login Succeeded 22:04:31 nexus3.edgexfoundry.org:10002 22:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:31 Configure a credential helper to remove this warning. See 22:04:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:31 22:04:31 Login Succeeded 22:04:31 nexus3.edgexfoundry.org:10003 22:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:32 Configure a credential helper to remove this warning. See 22:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:32 22:04:32 Login Succeeded 22:04:32 nexus3.edgexfoundry.org:10004 22:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:32 Configure a credential helper to remove this warning. See 22:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:32 22:04:32 Login Succeeded 22:04:32 ****.io 22:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:32 Configure a credential helper to remove this warning. See 22:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:32 22:04:32 Login Succeeded 22:04:32 ---> ****-login.sh ends [Pipeline] } 22:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:04:32 ========================================================= 22:04:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 22:04:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:32 + 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 . 22:04:32 Sending build context to Docker daemon 16.61MB 22:04:32 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:04:32 Step 2/12 : FROM ${BASE} AS builder 22:04:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 22:04:33 43c4264eed91: Pulling fs layer 22:04:33 4cc291be95ef: Pulling fs layer 22:04:33 2ac1f1163629: Pulling fs layer 22:04:33 5c3c966382ef: Pulling fs layer 22:04:33 4f4fb700ef54: Pulling fs layer 22:04:33 5d5c8e513c77: Pulling fs layer 22:04:33 9f66e0745190: Pulling fs layer 22:04:33 f49a43e4bbc0: Pulling fs layer 22:04:33 561ebcabdf7f: Pulling fs layer 22:04:33 5c3c966382ef: Waiting 22:04:33 4f4fb700ef54: Waiting 22:04:33 9f66e0745190: Waiting 22:04:33 5d5c8e513c77: Waiting 22:04:33 f49a43e4bbc0: Waiting 22:04:33 561ebcabdf7f: Waiting 22:04:33 4cc291be95ef: Verifying Checksum 22:04:33 4cc291be95ef: Download complete 22:04:33 5c3c966382ef: Verifying Checksum 22:04:33 5c3c966382ef: Download complete 22:04:33 4f4fb700ef54: Verifying Checksum 22:04:33 4f4fb700ef54: Download complete 22:04:33 5d5c8e513c77: Download complete 22:04:33 43c4264eed91: Download complete 22:04:33 9f66e0745190: Verifying Checksum 22:04:33 9f66e0745190: Download complete 22:04:33 43c4264eed91: Pull complete 22:04:33 561ebcabdf7f: Verifying Checksum 22:04:33 561ebcabdf7f: Download complete 22:04:33 4cc291be95ef: Pull complete 22:04:33 2ac1f1163629: Verifying Checksum 22:04:33 2ac1f1163629: Download complete 22:04:33 f49a43e4bbc0: Verifying Checksum 22:04:33 f49a43e4bbc0: Download complete 22:04:37 2ac1f1163629: Pull complete 22:04:37 5c3c966382ef: Pull complete 22:04:37 4f4fb700ef54: Pull complete 22:04:37 5d5c8e513c77: Pull complete 22:04:37 9f66e0745190: Pull complete 22:04:39 f49a43e4bbc0: Pull complete 22:04:39 561ebcabdf7f: Pull complete 22:04:39 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 22:04:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 22:04:39 ---> 3a752c3f9dda 22:04:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:04:45 ---> Running in c1fc4b966fbb 22:04:45 Removing intermediate container c1fc4b966fbb 22:04:45 ---> 5fd5cbfd95bf 22:04:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:45 ---> Running in d98acac1db3a 22:04:45 Removing intermediate container d98acac1db3a 22:04:45 ---> 0f3a99f30dcc 22:04:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:04:45 ---> Running in edc6b3376f75 22:04:45 Removing intermediate container edc6b3376f75 22:04:45 ---> 479bacaab2c9 22:04:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:04:45 ---> Running in acb62f74a9ad 22:04:45 Removing intermediate container acb62f74a9ad 22:04:45 ---> 6af36cd4a060 22:04:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:45 ---> Running in 2ace68aae812 22:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:04:45 (1/4) Installing openssh-keygen (9.7_p1-r4) 22:04:45 (2/4) Installing libedit (20240517.3.1-r0) 22:04:45 (3/4) Installing openssh-client-common (9.7_p1-r4) 22:04:45 (4/4) Installing openssh-client-default (9.7_p1-r4) 22:04:45 Executing busybox-1.36.1-r29.trigger 22:04:45 OK: 250 MiB in 58 packages 22:04:46 Removing intermediate container 2ace68aae812 22:04:46 ---> 095072f25f36 22:04:46 Step 8/12 : WORKDIR /device-rest-go 22:04:46 ---> Running in c28a9b8925dd 22:04:46 Still waiting to schedule task 22:04:46 ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-22356’ is offline 22:04:46 Removing intermediate container c28a9b8925dd 22:04:46 ---> 0e5805fadf7f 22:04:46 Step 9/12 : COPY go.mod vendor* ./ 22:04:46 ---> 33dda903469a 22:04:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:46 ---> Running in 98ce661ea3ba 22:05:38 Removing intermediate container 98ce661ea3ba 22:05:38 ---> 478ff9d82bfa 22:05:38 Step 11/12 : COPY . . 22:05:38 ---> 0c9f752829fd 22:05:38 Step 12/12 : RUN $MAKE 22:05:38 ---> Running in ea79d10ce0c7 22:05:38 noop 22:05:38 Removing intermediate container ea79d10ce0c7 22:05:38 ---> f3042b63737c 22:05:38 Successfully built f3042b63737c 22:05:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:38 + docker inspect -f . ci-base-image-x86_64 22:05:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:38 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:05:38 $ 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 22:05:39 $ docker top 2c6183cb274108072dbddd0d9cfac9caade364495bbb52a680e84c1772a35081 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:39 + go version 22:05:39 go version go1.23.2 linux/amd64 [Pipeline] } 22:05:39 $ docker stop --time=1 2c6183cb274108072dbddd0d9cfac9caade364495bbb52a680e84c1772a35081 22:05:40 $ docker rm -f --volumes 2c6183cb274108072dbddd0d9cfac9caade364495bbb52a680e84c1772a35081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:41 + docker inspect -f . ci-base-image-x86_64 22:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:41 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:05:41 $ 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 22:05:41 $ docker top eb7983d12df61f537d48278a0bf03a9ad3871040db8a30b6c0b21cac49d90542 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 22:05:42 + make test 22:05:42 go test ./... -coverprofile=coverage.out ./... 22:05:44 ? github.com/edgexfoundry/device-rest-go [no test files] 22:06:02 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 22:06:02 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 22:06:10 go vet ./... 22:06:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:15 ./bin/test-attribution-txt.sh [Pipeline] echo 22:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:06:16 $ docker stop --time=1 eb7983d12df61f537d48278a0bf03a9ad3871040db8a30b6c0b21cac49d90542 22:06:21 $ docker rm -f --volumes eb7983d12df61f537d48278a0bf03a9ad3871040db8a30b6c0b21cac49d90542 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:06:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:06:23 + ls -al . 22:06:23 total 256 22:06:23 drwxrwxr-x 9 jenkins jenkins 4096 Oct 9 22:05 . 22:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:04 .. 22:06:23 -rw-rw-r-- 1 jenkins jenkins 151 Oct 9 22:04 .dockerignore 22:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:06 .git 22:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:04 .github 22:06:23 -rw-rw-r-- 1 jenkins jenkins 264 Oct 9 22:04 .gitignore 22:06:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 22:04 .golangci.yml 22:06:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 22:04 .semver 22:06:23 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 9 22:04 Attribution.txt 22:06:23 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 9 22:04 CHANGELOG.md 22:06:23 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 9 22:04 Dockerfile 22:06:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 22:04 GOVERNANCE.md 22:06:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 9 22:04 Jenkinsfile 22:06:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 9 22:04 LICENSE 22:06:23 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 9 22:04 Makefile 22:06:23 -rw-rw-r-- 1 jenkins jenkins 620 Oct 9 22:04 OWNERS.md 22:06:23 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 9 22:04 README.md 22:06:23 -rw-rw-r-- 1 jenkins jenkins 12 Oct 9 22:04 VERSION 22:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:04 bin 22:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:04 cmd 22:06:23 -rw-r--r-- 1 jenkins jenkins 14565 Oct 9 22:06 coverage.out 22:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:04 driver 22:06:23 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 9 22:04 go.mod 22:06:23 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 9 22:04 go.sum 22:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:04 openapi 22:06:23 -rw-rw-r-- 1 jenkins jenkins 713 Oct 9 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:23 + 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=107c131f2d4d00842a0c6d2364e97dcb8ff9e476 --label arch=amd64 --label version=3.2.0-dev.23 . 22:06:23 Sending build context to Docker daemon 16.62MB 22:06:23 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:06:23 Step 2/26 : FROM ${BASE} AS builder 22:06:23 ---> f3042b63737c 22:06:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:06:23 ---> Running in ca91a8fb2b05 22:06:23 Removing intermediate container ca91a8fb2b05 22:06:23 ---> 636f17915077 22:06:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:06:23 ---> Running in e21f70feb524 22:06:24 Removing intermediate container e21f70feb524 22:06:24 ---> dde444569d8d 22:06:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:06:24 ---> Running in 969d64e02d91 22:06:24 Removing intermediate container 969d64e02d91 22:06:24 ---> 0a3d5f6b8165 22:06:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:06:24 ---> Running in 4493a8e175e4 22:06:24 Removing intermediate container 4493a8e175e4 22:06:24 ---> 6810e569273f 22:06:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:24 ---> Running in 5e06d4922b88 22:06:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:06:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:06:24 OK: 250 MiB in 58 packages 22:06:25 Removing intermediate container 5e06d4922b88 22:06:25 ---> 334396567121 22:06:25 Step 8/26 : WORKDIR /device-rest-go 22:06:25 ---> Running in b50ef159c3ed 22:06:25 Removing intermediate container b50ef159c3ed 22:06:25 ---> 87cddbdfc54a 22:06:25 Step 9/26 : COPY go.mod vendor* ./ 22:06:25 ---> eb032bd40f2c 22:06:25 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:25 ---> Running in b9846bd1de76 22:06:26 Removing intermediate container b9846bd1de76 22:06:26 ---> f950aafb2564 22:06:26 Step 11/26 : COPY . . 22:06:26 ---> afdf1c963ae0 22:06:26 Step 12/26 : RUN $MAKE 22:06:26 ---> Running in 4affcb29350e 22:06:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:06:58 Removing intermediate container 4affcb29350e 22:06:58 ---> 370bf8c9e09a 22:06:58 Step 13/26 : FROM alpine:3.20 22:06:58 3.20: Pulling from library/alpine 22:06:58 43c4264eed91: Already exists 22:06:58 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 22:06:58 Status: Downloaded newer image for alpine:3.20 22:06:58 ---> 91ef0af61f39 22:06:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:06:58 ---> Running in 7f6e839b7518 22:06:58 Removing intermediate container 7f6e839b7518 22:06:58 ---> 2e685941b7d8 22:06:58 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:06:58 ---> Running in 1c9811cb8772 22:06:58 Removing intermediate container 1c9811cb8772 22:06:58 ---> efbe3cccbd0d 22:06:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:06:58 ---> Running in 7c59aea467b8 22:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:06:58 (1/1) Installing dumb-init (1.2.5-r3) 22:06:58 Executing busybox-1.36.1-r29.trigger 22:06:58 OK: 8 MiB in 15 packages 22:06:58 Removing intermediate container 7c59aea467b8 22:06:58 ---> b25d08a7ac1a 22:06:58 Step 17/26 : RUN apk --no-cache upgrade 22:06:58 ---> Running in c82fd603f6c0 22:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:06:59 Upgrading critical system libraries and apk-tools: 22:06:59 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 22:06:59 Executing busybox-1.36.1-r29.trigger 22:06:59 Continuing the upgrade transaction with new apk-tools: 22:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:06:59 OK: 8 MiB in 15 packages 22:07:00 Removing intermediate container c82fd603f6c0 22:07:00 ---> 8ab1e595336e 22:07:00 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:07:01 ---> e05169b379c3 22:07:01 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:07:01 ---> a5f870b510eb 22:07:01 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:07:01 ---> 61c0b3fd778e 22:07:01 Step 21/26 : EXPOSE 59986 22:07:01 ---> Running in 264d91ed94a1 22:07:01 Removing intermediate container 264d91ed94a1 22:07:01 ---> 2991b7b93c25 22:07:01 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:07:01 ---> Running in f28286eb2246 22:07:01 Removing intermediate container f28286eb2246 22:07:01 ---> c3d489a90029 22:07:01 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:07:01 ---> Running in 7354f3ff6190 22:07:01 Removing intermediate container 7354f3ff6190 22:07:01 ---> 33b35f80cee9 22:07:01 Step 24/26 : LABEL arch=amd64 22:07:01 ---> Running in ba91a18e60c7 22:07:01 Removing intermediate container ba91a18e60c7 22:07:01 ---> 58fb819e2cb8 22:07:01 Step 25/26 : LABEL git_sha=107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:07:01 ---> Running in 98d2386e0ae4 22:07:02 Removing intermediate container 98d2386e0ae4 22:07:02 ---> 9950dd552103 22:07:02 Step 26/26 : LABEL version=3.2.0-dev.23 22:07:02 ---> Running in 12b4fef7d7ee 22:07:02 Removing intermediate container 12b4fef7d7ee 22:07:02 ---> c3b0f779e8ac 22:07:02 [Warning] One or more build-args [ARCH] were not consumed 22:07:02 Successfully built c3b0f779e8ac 22:07:02 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:02 provisioning config files... 22:07:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11335736808770654821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:02 ---> ****-login.sh 22:07:02 nexus3.edgexfoundry.org:10001 22:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:02 Configure a credential helper to remove this warning. See 22:07:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:02 22:07:02 Login Succeeded 22:07:02 nexus3.edgexfoundry.org:10002 22:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:02 Configure a credential helper to remove this warning. See 22:07:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:02 22:07:02 Login Succeeded 22:07:02 nexus3.edgexfoundry.org:10003 22:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:02 Configure a credential helper to remove this warning. See 22:07:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:02 22:07:02 Login Succeeded 22:07:02 nexus3.edgexfoundry.org:10004 22:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:02 Configure a credential helper to remove this warning. See 22:07:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:02 22:07:02 Login Succeeded 22:07:02 ****.io 22:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:02 Configure a credential helper to remove this warning. See 22:07:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:02 22:07:02 Login Succeeded 22:07:02 ---> ****-login.sh ends [Pipeline] } 22:07:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:07:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:07:03 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:07:03 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:07:03 latest 22:07:03 3.2.0-dev.23 22:07:03 107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:07:03 main 22:07:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:07:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:03 f52b9107320b: Preparing 22:07:03 48dfb7e2e675: Preparing 22:07:03 59314279f2cd: Preparing 22:07:03 5b6e4126cbaf: Preparing 22:07:03 64f26f44ec19: Preparing 22:07:03 63ca1fbb43ae: Preparing 22:07:03 64f26f44ec19: Pushed 22:07:03 5b6e4126cbaf: Pushed 22:07:03 f52b9107320b: Pushed 22:07:03 48dfb7e2e675: Pushed 22:07:03 63ca1fbb43ae: Layer already exists 22:07:06 59314279f2cd: Pushed 22:07:06 107c131f2d4d00842a0c6d2364e97dcb8ff9e476: digest: sha256:822127c46848a31da4200fcb682a1dbc92ff222e50a45766af1c3e14c63829ca size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:07:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:07 f52b9107320b: Preparing 22:07:07 48dfb7e2e675: Preparing 22:07:07 59314279f2cd: Preparing 22:07:07 5b6e4126cbaf: Preparing 22:07:07 64f26f44ec19: Preparing 22:07:07 63ca1fbb43ae: Preparing 22:07:07 63ca1fbb43ae: Waiting 22:07:07 48dfb7e2e675: Layer already exists 22:07:07 f52b9107320b: Layer already exists 22:07:07 64f26f44ec19: Layer already exists 22:07:07 59314279f2cd: Layer already exists 22:07:07 5b6e4126cbaf: Layer already exists 22:07:07 63ca1fbb43ae: Layer already exists 22:07:07 latest: digest: sha256:822127c46848a31da4200fcb682a1dbc92ff222e50a45766af1c3e14c63829ca size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.23 22:07:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:08 f52b9107320b: Preparing 22:07:08 48dfb7e2e675: Preparing 22:07:08 59314279f2cd: Preparing 22:07:08 5b6e4126cbaf: Preparing 22:07:08 64f26f44ec19: Preparing 22:07:08 63ca1fbb43ae: Preparing 22:07:08 63ca1fbb43ae: Waiting 22:07:08 5b6e4126cbaf: Layer already exists 22:07:08 48dfb7e2e675: Layer already exists 22:07:08 64f26f44ec19: Layer already exists 22:07:08 f52b9107320b: Layer already exists 22:07:08 59314279f2cd: Layer already exists 22:07:08 63ca1fbb43ae: Layer already exists 22:07:08 3.2.0-dev.23: digest: sha256:822127c46848a31da4200fcb682a1dbc92ff222e50a45766af1c3e14c63829ca size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:07:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:08 f52b9107320b: Preparing 22:07:08 48dfb7e2e675: Preparing 22:07:08 59314279f2cd: Preparing 22:07:08 5b6e4126cbaf: Preparing 22:07:08 64f26f44ec19: Preparing 22:07:08 63ca1fbb43ae: Preparing 22:07:08 63ca1fbb43ae: Waiting 22:07:08 64f26f44ec19: Layer already exists 22:07:08 5b6e4126cbaf: Layer already exists 22:07:08 f52b9107320b: Layer already exists 22:07:08 48dfb7e2e675: Layer already exists 22:07:08 59314279f2cd: Layer already exists 22:07:08 63ca1fbb43ae: Layer already exists 22:07:08 107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23: digest: sha256:822127c46848a31da4200fcb682a1dbc92ff222e50a45766af1c3e14c63829ca size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:07:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:07:09 f52b9107320b: Preparing 22:07:09 48dfb7e2e675: Preparing 22:07:09 59314279f2cd: Preparing 22:07:09 5b6e4126cbaf: Preparing 22:07:09 64f26f44ec19: Preparing 22:07:09 63ca1fbb43ae: Preparing 22:07:09 63ca1fbb43ae: Waiting 22:07:09 59314279f2cd: Layer already exists 22:07:09 f52b9107320b: Layer already exists 22:07:09 5b6e4126cbaf: Layer already exists 22:07:09 48dfb7e2e675: Layer already exists 22:07:09 64f26f44ec19: Layer already exists 22:07:09 63ca1fbb43ae: Layer already exists 22:07:09 main: digest: sha256:822127c46848a31da4200fcb682a1dbc92ff222e50a45766af1c3e14c63829ca size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:07:09 ===================================================== [Pipeline] echo 22:07:09 taggedImages: 22:07:09 - nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:07:09 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:07:09 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.23 22:07:09 - nexus3.edgexfoundry.org:10004/device-rest:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:07:09 - 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 22:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:10 22:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:10 latest: Pulling from edgex-lftools-log-publisher 22:07:10 5eb5b503b376: Pulling fs layer 22:07:10 5c69ac0246d0: Pulling fs layer 22:07:10 ec43610c2a17: Pulling fs layer 22:07:10 3a2ae6a8a46f: Pulling fs layer 22:07:10 33b1e0a273af: Pulling fs layer 22:07:10 5d3b04190fa2: Pulling fs layer 22:07:10 2f39f015ded8: Pulling fs layer 22:07:10 2f39f015ded8: Waiting 22:07:10 3a2ae6a8a46f: Waiting 22:07:10 33b1e0a273af: Waiting 22:07:10 5c69ac0246d0: Verifying Checksum 22:07:10 3a2ae6a8a46f: Verifying Checksum 22:07:10 3a2ae6a8a46f: Download complete 22:07:10 33b1e0a273af: Verifying Checksum 22:07:10 33b1e0a273af: Download complete 22:07:10 ec43610c2a17: Verifying Checksum 22:07:10 ec43610c2a17: Download complete 22:07:10 5d3b04190fa2: Verifying Checksum 22:07:10 5d3b04190fa2: Download complete 22:07:10 5eb5b503b376: Verifying Checksum 22:07:10 5eb5b503b376: Download complete 22:07:11 2f39f015ded8: Download complete 22:07:11 5eb5b503b376: Pull complete 22:07:11 5c69ac0246d0: Pull complete 22:07:12 ec43610c2a17: Pull complete 22:07:12 3a2ae6a8a46f: Pull complete 22:07:12 33b1e0a273af: Pull complete 22:07:12 5d3b04190fa2: Pull complete 22:07:16 2f39f015ded8: Pull complete 22:07:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:16 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:07:16 $ 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 22:07:21 $ docker top defe6ede76473c6c0c7d415583097c0b76a9501373ec78facdd4e9a373d23bdc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:21 ---> job-cost.sh 22:07:21 lf-activate-venv: SKIPPING 22:07:21 INFO: No Stack... 22:07:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:07:22 INFO: Archiving Costs [Pipeline] sh 22:07:22 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:07:22 + cut -d, -f6 [Pipeline] lock 22:07:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] 22:07:22 Resource [jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] did not exist. Created. 22:07:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:07:23 Stashed 1 file(s) [Pipeline] } 22:07:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:23 $ docker stop --time=1 defe6ede76473c6c0c7d415583097c0b76a9501373ec78facdd4e9a373d23bdc 22:07:24 $ docker rm -f --volumes defe6ede76473c6c0c7d415583097c0b76a9501373ec78facdd4e9a373d23bdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:07:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22361 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:07:41 Running in /w/workspace/device-rest-go/175 [Pipeline] { [Pipeline] checkout 22:07:41 The recommended git tool is: git 22:07:48 using credential edgex-jenkins-ssh 22:07:48 Cloning the remote Git repository 22:07:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:07:48 > git init /w/workspace/device-rest-go/175 # timeout=10 22:07:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:07:48 > git --version # timeout=10 22:07:48 > git --version # 'git version 2.25.1' 22:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:07:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:52 Avoid second fetch 22:07:52 Checking out Revision 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 (main) 22:07:52 > git config core.sparsecheckout # timeout=10 22:07:52 > git checkout -f 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 # timeout=10 22:07:53 Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:07:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:58 Dload Upload Total Spent Left Speed 22:07:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 181k 0 --:--:-- --:--:-- --:--:-- 184k [Pipeline] sh 22:07:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:07:59 + sudo tee /etc/docker/daemon.new 22:07:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:07:59 { 22:07:59 "registry-mirrors": [ 22:07:59 "https://nexus3.edgexfoundry.org:10001" 22:07:59 ], 22:07:59 "bip": "10.250.0.254/24", 22:07:59 "hosts": [ 22:07:59 "tcp://0.0.0.0:5555", 22:07:59 "unix:///var/run/docker.sock" 22:07:59 ], 22:07:59 "mtu": 1458, 22:07:59 "selinux-enabled": true, 22:07:59 "seccomp-profile": "/etc/docker/seccomp.json" 22:07:59 } [Pipeline] sh 22:07:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:08:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:18 provisioning config files... 22:08:18 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/175@tmp/config17800317002481234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:18 ---> ****-login.sh 22:08:18 nexus3.edgexfoundry.org:10001 22:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:08:19 Configure a credential helper to remove this warning. See 22:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:08:19 22:08:19 Login Succeeded 22:08:19 nexus3.edgexfoundry.org:10002 22:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:08:20 Configure a credential helper to remove this warning. See 22:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:08:20 22:08:20 Login Succeeded 22:08:20 nexus3.edgexfoundry.org:10003 22:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:08:20 Configure a credential helper to remove this warning. See 22:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:08:20 22:08:20 Login Succeeded 22:08:20 nexus3.edgexfoundry.org:10004 22:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:08:20 Configure a credential helper to remove this warning. See 22:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:08:20 22:08:20 Login Succeeded 22:08:20 ****.io 22:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:08:21 Configure a credential helper to remove this warning. See 22:08:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:08:21 22:08:21 Login Succeeded 22:08:21 ---> ****-login.sh ends [Pipeline] } 22:08:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:08:22 ========================================================= 22:08:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 22:08:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:22 + 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 . 22:08:22 Sending build context to Docker daemon 140.3kB 22:08:22 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:08:22 Step 2/12 : FROM ${BASE} AS builder 22:08:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:23 cf04c63912e1: Pulling fs layer 22:08:23 55b35a11ae5e: Pulling fs layer 22:08:23 a37a00ec5f00: Pulling fs layer 22:08:23 50b3750afda1: Pulling fs layer 22:08:23 4f4fb700ef54: Pulling fs layer 22:08:23 80978eb59214: Pulling fs layer 22:08:23 c9f46d7d2bd2: Pulling fs layer 22:08:23 c5a475d317c9: Pulling fs layer 22:08:23 80978eb59214: Waiting 22:08:23 c9f46d7d2bd2: Waiting 22:08:23 c5a475d317c9: Waiting 22:08:23 4f4fb700ef54: Waiting 22:08:23 55b35a11ae5e: Verifying Checksum 22:08:23 55b35a11ae5e: Download complete 22:08:23 50b3750afda1: Verifying Checksum 22:08:23 50b3750afda1: Download complete 22:08:23 4f4fb700ef54: Verifying Checksum 22:08:23 4f4fb700ef54: Download complete 22:08:23 80978eb59214: Verifying Checksum 22:08:23 80978eb59214: Download complete 22:08:23 cf04c63912e1: Verifying Checksum 22:08:23 cf04c63912e1: Download complete 22:08:23 c5a475d317c9: Verifying Checksum 22:08:23 c5a475d317c9: Download complete 22:08:24 cf04c63912e1: Pull complete 22:08:25 55b35a11ae5e: Pull complete 22:08:25 a37a00ec5f00: Verifying Checksum 22:08:25 a37a00ec5f00: Download complete 22:08:26 c9f46d7d2bd2: Verifying Checksum 22:08:26 c9f46d7d2bd2: Download complete 22:08:41 a37a00ec5f00: Pull complete 22:08:41 50b3750afda1: Pull complete 22:08:41 4f4fb700ef54: Pull complete 22:08:41 80978eb59214: Pull complete 22:08:51 c9f46d7d2bd2: Pull complete 22:08:52 c5a475d317c9: Pull complete 22:08:52 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 22:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 22:08:52 ---> be29e6b0f0d4 22:08:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:08:53 ---> Running in c2bc6ef8fb55 22:08:53 Removing intermediate container c2bc6ef8fb55 22:08:53 ---> d94a03555463 22:08:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:08:53 ---> Running in 586828c65edc 22:08:53 Removing intermediate container 586828c65edc 22:08:53 ---> d201b7acdd09 22:08:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:08:53 ---> Running in 669b353518bf 22:08:54 Removing intermediate container 669b353518bf 22:08:54 ---> 46437a3632c1 22:08:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:08:54 ---> Running in a7519c9a4bd9 22:08:54 Removing intermediate container a7519c9a4bd9 22:08:54 ---> fd97f6697023 22:08:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:08:55 ---> Running in d29fbea58300 22:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:08:58 (1/4) Installing openssh-keygen (9.7_p1-r4) 22:08:58 (2/4) Installing libedit (20240517.3.1-r0) 22:08:58 (3/4) Installing openssh-client-common (9.7_p1-r4) 22:08:58 (4/4) Installing openssh-client-default (9.7_p1-r4) 22:08:58 Executing busybox-1.36.1-r29.trigger 22:08:58 OK: 242 MiB in 58 packages 22:08:59 Removing intermediate container d29fbea58300 22:08:59 ---> 5d81a443490a 22:08:59 Step 8/12 : WORKDIR /device-rest-go 22:08:59 ---> Running in f57349201f8e 22:09:00 Removing intermediate container f57349201f8e 22:09:00 ---> 286cd618c5ee 22:09:00 Step 9/12 : COPY go.mod vendor* ./ 22:09:01 ---> 19606331ec25 22:09:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:01 ---> Running in 6d1f48c38ed3 22:11:07 Removing intermediate container 6d1f48c38ed3 22:11:07 ---> 20a16e69d86c 22:11:07 Step 11/12 : COPY . . 22:11:07 ---> ba108a96e403 22:11:07 Step 12/12 : RUN $MAKE 22:11:07 ---> Running in 1a8c3789bb65 22:11:07 noop 22:11:07 Removing intermediate container 1a8c3789bb65 22:11:07 ---> b94642c8c37e 22:11:07 Successfully built b94642c8c37e 22:11:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:08 + docker inspect -f . ci-base-image-arm64 22:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:08 prd-ubuntu20.04-docker-arm64-4c-16g-22361 does not seem to be running inside a container 22:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/175 -v /w/workspace/device-rest-go/175:/w/workspace/device-rest-go/175:rw,z -v /w/workspace/device-rest-go/175@tmp:/w/workspace/device-rest-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:11:10 $ docker top 41c1eea7412ffa92d1e44d9965ec105b3eb00eadcb447480c26b66edb7bb4d9e -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:10 + go version 22:11:10 go version go1.23.2 linux/arm64 [Pipeline] } 22:11:10 $ docker stop --time=1 41c1eea7412ffa92d1e44d9965ec105b3eb00eadcb447480c26b66edb7bb4d9e 22:11:12 $ docker rm -f --volumes 41c1eea7412ffa92d1e44d9965ec105b3eb00eadcb447480c26b66edb7bb4d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:13 + docker inspect -f . ci-base-image-arm64 22:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:13 prd-ubuntu20.04-docker-arm64-4c-16g-22361 does not seem to be running inside a container 22:11: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/175 -v /w/workspace/device-rest-go/175:/w/workspace/device-rest-go/175:rw,z -v /w/workspace/device-rest-go/175@tmp:/w/workspace/device-rest-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:11:15 $ docker top 7159e66bfbc6c6d6e00e826bb6a9859bdc3f7f73ecac3b6d35057a6f73d5eefd -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:16 + git config --global --add safe.directory /w/workspace/device-rest-go/175 [Pipeline] fileExists [Pipeline] sh 22:11:16 + make test 22:11:16 go test ./... -coverprofile=coverage.out ./... 22:11:23 ? github.com/edgexfoundry/device-rest-go [no test files] 22:16:00 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 22:16:00 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 22:16:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:16:00 go vet ./... 22:16:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:16:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:16:56 ./bin/test-attribution-txt.sh [Pipeline] echo 22:16:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:16:56 $ docker stop --time=1 7159e66bfbc6c6d6e00e826bb6a9859bdc3f7f73ecac3b6d35057a6f73d5eefd 22:16:59 $ docker rm -f --volumes 7159e66bfbc6c6d6e00e826bb6a9859bdc3f7f73ecac3b6d35057a6f73d5eefd [Pipeline] // withDockerContainer [Pipeline] sh 22:17:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:17:00 Warning: overwriting stash ‘coverage-report’ 22:17:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:17:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:17:02 + ls -al . 22:17:02 total 252 22:17:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:11 . 22:17:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:07 .. 22:17:02 -rw-rw-r-- 1 jenkins jenkins 151 Oct 9 22:07 .dockerignore 22:17:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:07 .git 22:17:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 .github 22:17:02 -rw-rw-r-- 1 jenkins jenkins 264 Oct 9 22:07 .gitignore 22:17:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 22:07 .golangci.yml 22:17:02 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 9 22:07 Attribution.txt 22:17:02 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 9 22:07 CHANGELOG.md 22:17:02 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 9 22:07 Dockerfile 22:17:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 22:07 GOVERNANCE.md 22:17:02 -rw-rw-r-- 1 jenkins jenkins 680 Oct 9 22:07 Jenkinsfile 22:17:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 9 22:07 LICENSE 22:17:02 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 9 22:07 Makefile 22:17:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 9 22:07 OWNERS.md 22:17:02 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 9 22:07 README.md 22:17:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 9 22:04 VERSION 22:17:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:07 bin 22:17:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 cmd 22:17:02 -rw-r--r-- 1 jenkins jenkins 14565 Oct 9 22:15 coverage.out 22:17:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:07 driver 22:17:02 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 9 22:07 go.mod 22:17:02 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 9 22:07 go.sum 22:17:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 openapi 22:17:02 -rw-rw-r-- 1 jenkins jenkins 713 Oct 9 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:03 + 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=107c131f2d4d00842a0c6d2364e97dcb8ff9e476 --label arch=arm64 --label version=3.2.0-dev.23 . 22:17:03 Sending build context to Docker daemon 155.6kB 22:17:03 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:17:03 Step 2/26 : FROM ${BASE} AS builder 22:17:03 ---> b94642c8c37e 22:17:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:17:03 ---> Running in a49a143ee0ca 22:17:03 Removing intermediate container a49a143ee0ca 22:17:03 ---> 24c2c82a5135 22:17:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:17:04 ---> Running in 65c7b2b1349d 22:17:04 Removing intermediate container 65c7b2b1349d 22:17:04 ---> 0495ad2cc85f 22:17:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:04 ---> Running in e339fbe59608 22:17:05 Removing intermediate container e339fbe59608 22:17:05 ---> 55f3abc2b8ee 22:17:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:17:05 ---> Running in 6cd49419608b 22:17:05 Removing intermediate container 6cd49419608b 22:17:05 ---> 6cade394d898 22:17:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:05 ---> Running in ff21266d6350 22:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:17:09 OK: 242 MiB in 58 packages 22:17:10 Removing intermediate container ff21266d6350 22:17:10 ---> 4f5ed0beca62 22:17:10 Step 8/26 : WORKDIR /device-rest-go 22:17:10 ---> Running in 950baf6a696f 22:17:11 Removing intermediate container 950baf6a696f 22:17:11 ---> 917eefa7dcb2 22:17:11 Step 9/26 : COPY go.mod vendor* ./ 22:17:12 ---> 1f6a2e58a9c9 22:17:12 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:12 ---> Running in 27056bcb1f73 22:17:15 Removing intermediate container 27056bcb1f73 22:17:15 ---> 703bc30aa50e 22:17:15 Step 11/26 : COPY . . 22:17:16 ---> 546d67b30318 22:17:16 Step 12/26 : RUN $MAKE 22:17:16 ---> Running in f5eec70a5655 22:17:17 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-rest ./cmd 22:22:10 Removing intermediate container f5eec70a5655 22:22:10 ---> 0c106a93b681 22:22:10 Step 13/26 : FROM alpine:3.20 22:22:10 3.20: Pulling from library/alpine 22:22:10 cf04c63912e1: Already exists 22:22:10 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 22:22:10 Status: Downloaded newer image for alpine:3.20 22:22:10 ---> c157a85ed455 22:22:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:22:10 ---> Running in c5e587a3db61 22:22:10 Removing intermediate container c5e587a3db61 22:22:10 ---> edcadbeaa52f 22:22:10 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:22:10 ---> Running in 16cb3648aeed 22:22:10 Removing intermediate container 16cb3648aeed 22:22:10 ---> e2822cd4d7f3 22:22:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:22:10 ---> Running in 62cf237a9d0d 22:22:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:22:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:22:10 (1/1) Installing dumb-init (1.2.5-r3) 22:22:10 Executing busybox-1.36.1-r29.trigger 22:22:10 OK: 9 MiB in 15 packages 22:22:10 Removing intermediate container 62cf237a9d0d 22:22:10 ---> e61e3c626b64 22:22:10 Step 17/26 : RUN apk --no-cache upgrade 22:22:10 ---> Running in 7c4af170da72 22:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:22:13 Upgrading critical system libraries and apk-tools: 22:22:13 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 22:22:13 Executing busybox-1.36.1-r29.trigger 22:22:13 Continuing the upgrade transaction with new apk-tools: 22:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:22:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:22:16 OK: 9 MiB in 15 packages 22:22:17 Removing intermediate container 7c4af170da72 22:22:17 ---> 06dcffa995b1 22:22:17 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:22:18 ---> 5672fca74c7a 22:22:18 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:22:19 ---> 040926e4ae33 22:22:19 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:22:20 ---> 07dd3f63a28d 22:22:20 Step 21/26 : EXPOSE 59986 22:22:20 ---> Running in c5dac7799a83 22:22:21 Removing intermediate container c5dac7799a83 22:22:21 ---> 006bdae011cc 22:22:21 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:22:21 ---> Running in c00dace7390f 22:22:21 Removing intermediate container c00dace7390f 22:22:21 ---> ad3e6991b412 22:22:21 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:22:21 ---> Running in 719e79d65085 22:22:22 Removing intermediate container 719e79d65085 22:22:22 ---> 5ddb468d4989 22:22:22 Step 24/26 : LABEL arch=arm64 22:22:22 ---> Running in fce378629bf7 22:22:22 Removing intermediate container fce378629bf7 22:22:22 ---> 199f5542c571 22:22:22 Step 25/26 : LABEL git_sha=107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:22:22 ---> Running in 3fa23b4f60c1 22:22:22 Removing intermediate container 3fa23b4f60c1 22:22:22 ---> 386a482c8ee2 22:22:22 Step 26/26 : LABEL version=3.2.0-dev.23 22:22:23 ---> Running in e8f9a55c0274 22:22:23 Removing intermediate container e8f9a55c0274 22:22:23 ---> 5fcecdb30694 22:22:23 [Warning] One or more build-args [ARCH] were not consumed 22:22:23 Successfully built 5fcecdb30694 22:22:23 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 22:22:23 provisioning config files... 22:22:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/175@tmp/config1141281682355480980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:23 ---> ****-login.sh 22:22:23 nexus3.edgexfoundry.org:10001 22:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10002 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10003 22:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:24 Configure a credential helper to remove this warning. See 22:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:24 22:22:24 Login Succeeded 22:22:24 nexus3.edgexfoundry.org:10004 22:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:25 Configure a credential helper to remove this warning. See 22:22:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:25 22:22:25 Login Succeeded 22:22:25 ****.io 22:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:22:25 Configure a credential helper to remove this warning. See 22:22:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:22:25 22:22:25 Login Succeeded 22:22:25 ---> ****-login.sh ends [Pipeline] } 22:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:22:25 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:22:25 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:22:25 latest 22:22:25 3.2.0-dev.23 22:22:25 107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:22:25 main 22:22:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:26 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:22:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:22:26 b6732b5596b9: Preparing 22:22:26 dfea82f182f0: Preparing 22:22:26 a5e84df00049: Preparing 22:22:26 0c39f0acf631: Preparing 22:22:26 097b7fc6a2bd: Preparing 22:22:26 16113d51b718: Preparing 22:22:26 16113d51b718: Waiting 22:22:26 dfea82f182f0: Pushed 22:22:26 b6732b5596b9: Pushed 22:22:26 097b7fc6a2bd: Pushed 22:22:26 16113d51b718: Layer already exists 22:22:26 0c39f0acf631: Pushed 22:22:33 a5e84df00049: Pushed 22:22:33 107c131f2d4d00842a0c6d2364e97dcb8ff9e476: digest: sha256:61ae401ac6425590f26fd9ce000adbd0aecb16c12badbe54d41eadf5b3802756 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:22:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:22:34 b6732b5596b9: Preparing 22:22:34 dfea82f182f0: Preparing 22:22:34 a5e84df00049: Preparing 22:22:34 0c39f0acf631: Preparing 22:22:34 097b7fc6a2bd: Preparing 22:22:34 16113d51b718: Preparing 22:22:34 16113d51b718: Waiting 22:22:34 dfea82f182f0: Layer already exists 22:22:34 a5e84df00049: Layer already exists 22:22:34 b6732b5596b9: Layer already exists 22:22:34 0c39f0acf631: Layer already exists 22:22:34 097b7fc6a2bd: Layer already exists 22:22:34 16113d51b718: Layer already exists 22:22:34 latest: digest: sha256:61ae401ac6425590f26fd9ce000adbd0aecb16c12badbe54d41eadf5b3802756 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.23 22:22:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:22:35 b6732b5596b9: Preparing 22:22:35 dfea82f182f0: Preparing 22:22:35 a5e84df00049: Preparing 22:22:35 0c39f0acf631: Preparing 22:22:35 097b7fc6a2bd: Preparing 22:22:35 16113d51b718: Preparing 22:22:35 16113d51b718: Waiting 22:22:35 097b7fc6a2bd: Layer already exists 22:22:35 b6732b5596b9: Layer already exists 22:22:35 0c39f0acf631: Layer already exists 22:22:35 dfea82f182f0: Layer already exists 22:22:35 a5e84df00049: Layer already exists 22:22:35 16113d51b718: Layer already exists 22:22:35 3.2.0-dev.23: digest: sha256:61ae401ac6425590f26fd9ce000adbd0aecb16c12badbe54d41eadf5b3802756 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:22:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:22:36 b6732b5596b9: Preparing 22:22:36 dfea82f182f0: Preparing 22:22:36 a5e84df00049: Preparing 22:22:36 0c39f0acf631: Preparing 22:22:36 097b7fc6a2bd: Preparing 22:22:36 16113d51b718: Preparing 22:22:36 16113d51b718: Waiting 22:22:36 b6732b5596b9: Layer already exists 22:22:36 dfea82f182f0: Layer already exists 22:22:36 0c39f0acf631: Layer already exists 22:22:36 097b7fc6a2bd: Layer already exists 22:22:36 a5e84df00049: Layer already exists 22:22:36 16113d51b718: Layer already exists 22:22:36 107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23: digest: sha256:61ae401ac6425590f26fd9ce000adbd0aecb16c12badbe54d41eadf5b3802756 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 22:22:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:22:37 b6732b5596b9: Preparing 22:22:37 dfea82f182f0: Preparing 22:22:37 a5e84df00049: Preparing 22:22:37 0c39f0acf631: Preparing 22:22:37 097b7fc6a2bd: Preparing 22:22:37 16113d51b718: Preparing 22:22:37 a5e84df00049: Layer already exists 22:22:37 097b7fc6a2bd: Layer already exists 22:22:37 0c39f0acf631: Layer already exists 22:22:37 dfea82f182f0: Layer already exists 22:22:37 b6732b5596b9: Layer already exists 22:22:37 16113d51b718: Layer already exists 22:22:37 main: digest: sha256:61ae401ac6425590f26fd9ce000adbd0aecb16c12badbe54d41eadf5b3802756 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:37 ===================================================== [Pipeline] echo 22:22:37 taggedImages: 22:22:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476 22:22:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 22:22:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.23 22:22:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:107c131f2d4d00842a0c6d2364e97dcb8ff9e476-3.2.0-dev.23 22:22:37 - 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 22:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:38 22:22:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:38 arm64: Pulling from edgex-lftools-log-publisher 22:22:38 8998bd30e6a1: Pulling fs layer 22:22:38 04944245beec: Pulling fs layer 22:22:38 699f458cf7ca: Pulling fs layer 22:22:38 765212b225bb: Pulling fs layer 22:22:38 f23df028b6ca: Pulling fs layer 22:22:38 d65c8cfc05b1: Pulling fs layer 22:22:38 2437ff75d9bd: Pulling fs layer 22:22:38 f23df028b6ca: Waiting 22:22:38 d65c8cfc05b1: Waiting 22:22:38 2437ff75d9bd: Waiting 22:22:38 765212b225bb: Waiting 22:22:38 04944245beec: Verifying Checksum 22:22:38 04944245beec: Download complete 22:22:38 765212b225bb: Verifying Checksum 22:22:38 765212b225bb: Download complete 22:22:38 f23df028b6ca: Verifying Checksum 22:22:38 f23df028b6ca: Download complete 22:22:38 d65c8cfc05b1: Verifying Checksum 22:22:38 d65c8cfc05b1: Download complete 22:22:38 699f458cf7ca: Verifying Checksum 22:22:38 699f458cf7ca: Download complete 22:22:39 8998bd30e6a1: Verifying Checksum 22:22:39 8998bd30e6a1: Download complete 22:22:42 2437ff75d9bd: Verifying Checksum 22:22:42 2437ff75d9bd: Download complete 22:22:44 8998bd30e6a1: Pull complete 22:22:44 04944245beec: Pull complete 22:22:46 699f458cf7ca: Pull complete 22:22:46 765212b225bb: Pull complete 22:22:47 f23df028b6ca: Pull complete 22:22:47 d65c8cfc05b1: Pull complete 22:23:06 2437ff75d9bd: Pull complete 22:23:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:23:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:06 prd-ubuntu20.04-docker-arm64-4c-16g-22361 does not seem to be running inside a container 22:23:06 $ 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/175 -v /w/workspace/device-rest-go/175:/w/workspace/device-rest-go/175:rw,z -v /w/workspace/device-rest-go/175@tmp:/w/workspace/device-rest-go/175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:23:09 $ docker top bca8771f27e417b7d53ce0812ecc57ab0464841e0089b25b67c4ff5d4423e4e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:10 ---> job-cost.sh 22:23:10 lf-activate-venv: SKIPPING 22:23:10 INFO: No Stack... 22:23:11 INFO: Retrieving Pricing Info for: v3-standard-4 22:23:12 INFO: Archiving Costs [Pipeline] sh 22:23:13 + cut -d, -f6 22:23:13 + cat /w/workspace/device-rest-go/175/archives/cost.csv [Pipeline] lock 22:23:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] 22:23:13 Resource [jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] did not exist. Created. 22:23:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:13 /w/workspace/device-rest-go/175@tmp/durable-f8553228/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:14 + echo total: 0.10999999940395355 [Pipeline] stash 22:23:14 Warning: overwriting stash ‘stack-cost’ 22:23:14 Stashed 1 file(s) [Pipeline] } 22:23:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:14 $ docker stop --time=1 bca8771f27e417b7d53ce0812ecc57ab0464841e0089b25b67c4ff5d4423e4e7 22:23:16 $ docker rm -f --volumes bca8771f27e417b7d53ce0812ecc57ab0464841e0089b25b67c4ff5d4423e4e7 [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 22:23:17 provisioning config files... 22:23:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18304479469400054045tmp [Pipeline] { [Pipeline] sh 22:23:17 + set +x 22:23:17 + bash -s -- 22:23:17 + curl -s https://codecov.io/bash 22:23:17 22:23:17 _____ _ 22:23:17 / ____| | | 22:23:17 | | ___ __| | ___ ___ _____ __ 22:23:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:23:17 | |___| (_) | (_| | __/ (_| (_) \ V / 22:23:17 \_____\___/ \__,_|\___|\___\___/ \_/ 22:23:17 Bash-1.0.6 22:23:17 22:23:17 22:23:17 ==> git version 2.25.1 found 22:23:17 ==> 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 22:23:17 Release-Date: 2020-01-08 22:23:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:23:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:23:17 ==> Jenkins CI detected. 22:23:17 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 22:23:17 project root: . 22:23:17 --> token set from env 22:23:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:23:17 ==> Running gcov in . (disable via -X gcov) 22:23:17 ==> Python coveragepy not found 22:23:17 ==> Searching for coverage reports in: 22:23:17 + . 22:23:17 -> Found 1 reports 22:23:17 ==> Detecting git/mercurial file structure 22:23:17 ==> Reading reports 22:23:17 + ./coverage.out bytes=14565 22:23:17 ==> Appending adjustments 22:23:17 https://docs.codecov.io/docs/fixing-reports 22:23:18 + Found adjustments 22:23:18 ==> Gzipping contents 22:23:18 4.0K /tmp/codecov.sYyrMM.gz 22:23:18 ==> Uploading reports 22:23:18 url: https://codecov.io 22:23:18 query: branch=main&commit=107c131f2d4d00842a0c6d2364e97dcb8ff9e476&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:23:18 -> Pinging Codecov 22:23:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=107c131f2d4d00842a0c6d2364e97dcb8ff9e476&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:23:18 -> Uploading to 22:23:18 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/107c131f2d4d00842a0c6d2364e97dcb8ff9e476/3d256301-e9a3-49f7-84d7-479e08a0d1c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241009%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241009T222317Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b5c506b94c8ef975aa35a336cb07f6a4281fee6318403733afc2937618147dec 22:23:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:18 Dload Upload Total Spent Left Speed 22:23:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 9680 --:--:-- --:--:-- --:--:-- 9720 22:23:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] } 22:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:23:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:23:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:23:18 22:23:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:23:21 latest: Pulling from edgex-devops/edgex-snyk-go 22:23:21 43c4264eed91: Already exists 22:23:21 4cc291be95ef: Already exists 22:23:21 2ac1f1163629: Already exists 22:23:21 5c3c966382ef: Already exists 22:23:21 4f4fb700ef54: Already exists 22:23:21 d9c7d2e4e75e: Pulling fs layer 22:23:21 9c3e1370e548: Pulling fs layer 22:23:21 d9c7d2e4e75e: Verifying Checksum 22:23:21 d9c7d2e4e75e: Download complete 22:23:21 d9c7d2e4e75e: Pull complete 22:23:22 9c3e1370e548: Download complete 22:23:25 9c3e1370e548: Pull complete 22:23:25 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 22:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 22:23:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:25 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:23:25 $ 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 22:23:27 $ docker top 8f4bb8470aa303b4eb6ce4a995aa03d901eb1d344f0a6eda8e79e03ec690188f -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 22:23:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 22:23:28 + set -o pipefail 22:23:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 22:23:36 22:23:36 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 22:23:36 22:23:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/82bd0523-96a4-47bc-aad9-3dfd6e50262c 22:23:36 22:23:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:23:36 22:23:36 22:23:36 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 22:23:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:23:36 $ docker stop --time=1 8f4bb8470aa303b4eb6ce4a995aa03d901eb1d344f0a6eda8e79e03ec690188f 22:23:41 $ docker rm -f --volumes 8f4bb8470aa303b4eb6ce4a995aa03d901eb1d344f0a6eda8e79e03ec690188f [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 22:23:42 + git log --format=format:%s -1 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 [Pipeline] sh 22:23:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:23:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:43 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:23:43 $ 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 22:23:43 $ docker top 09015f2985067d842aa9dab534ffcfa01b56c84b23f29fe2c40c72c15588bda2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:23:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:43 [ssh-agent] Looking for ssh-agent implementation... 22:23:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:43 $ docker exec 09015f2985067d842aa9dab534ffcfa01b56c84b23f29fe2c40c72c15588bda2 ssh-agent 22:23:43 SSH_AUTH_SOCK=/tmp/ssh-jkqA5OrvljDU/agent.32 22:23:43 SSH_AGENT_PID=38 22:23:43 Running ssh-add (command line suppressed) 22:23:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14050990465554852056.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14050990465554852056.key) 22:23:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:44 + git semver tag 22:23:44 2024-10-09 22:23:44,404 [run_tag] DEBUG tag force:False 22:23:44 2024-10-09 22:23:44,404 [check_head_tag] DEBUG check head tag 22:23:44 2024-10-09 22:23:44,405 [execute] INFO git cat-file --batch-check 22:23:44 2024-10-09 22:23:44,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:23:44 2024-10-09 22:23:44,410 [execute] INFO git cat-file --batch 22:23:44 2024-10-09 22:23:44,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 22:23:44 2024-10-09 22:23:44,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:23:44 2024-10-09 22:23:44,437 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 22:23:44 2024-10-09 22:23:44,437 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:23:44 2024-10-09 22:23:44,441 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:23:44 3.2.0-dev.23 [Pipeline] } 22:23:44 $ docker exec --env ******** --env ******** 09015f2985067d842aa9dab534ffcfa01b56c84b23f29fe2c40c72c15588bda2 ssh-agent -k 22:23:44 unset SSH_AUTH_SOCK; 22:23:44 unset SSH_AGENT_PID; 22:23:44 echo Agent pid 38 killed; 22:23:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:23:44 + git semver [Pipeline] } 22:23:45 $ docker stop --time=1 09015f2985067d842aa9dab534ffcfa01b56c84b23f29fe2c40c72c15588bda2 22:23:46 $ docker rm -f --volumes 09015f2985067d842aa9dab534ffcfa01b56c84b23f29fe2c40c72c15588bda2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:46 22:23:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:47 0.23.1-centos7: Pulling from edgex-lftools 22:23:47 ab5ef0e58194: Pulling fs layer 22:23:47 9712f1f96733: Pulling fs layer 22:23:47 63f879dbbcfc: Pulling fs layer 22:23:47 0d9ebad4ef96: Pulling fs layer 22:23:47 e9a5061849ea: Pulling fs layer 22:23:47 d747dcd14b5f: Pulling fs layer 22:23:47 2de7ff778b66: Pulling fs layer 22:23:47 e9a5061849ea: Waiting 22:23:47 d747dcd14b5f: Waiting 22:23:47 2de7ff778b66: Waiting 22:23:47 0d9ebad4ef96: Waiting 22:23:47 9712f1f96733: Download complete 22:23:47 63f879dbbcfc: Verifying Checksum 22:23:47 63f879dbbcfc: Download complete 22:23:47 e9a5061849ea: Verifying Checksum 22:23:47 e9a5061849ea: Download complete 22:23:47 d747dcd14b5f: Verifying Checksum 22:23:47 d747dcd14b5f: Download complete 22:23:47 0d9ebad4ef96: Verifying Checksum 22:23:47 0d9ebad4ef96: Download complete 22:23:47 ab5ef0e58194: Verifying Checksum 22:23:47 ab5ef0e58194: Download complete 22:23:47 2de7ff778b66: Verifying Checksum 22:23:47 2de7ff778b66: Download complete 22:23:50 ab5ef0e58194: Pull complete 22:23:50 9712f1f96733: Pull complete 22:23:50 63f879dbbcfc: Pull complete 22:23:54 0d9ebad4ef96: Pull complete 22:23:54 e9a5061849ea: Pull complete 22:23:54 d747dcd14b5f: Pull complete 22:23:55 2de7ff778b66: Pull complete 22:23:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:55 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:23:55 $ 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 22:24:01 $ docker top 138ffcf6267fa66f27e4d466de166982c8ce87c4f2c7bcd669815c93055ed9ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:24:01 provisioning config files... 22:24:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18128849050819665378tmp 22:24:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13104906073215948093tmp 22:24:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2822883628078308616tmp [Pipeline] { [Pipeline] echo 22:24:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:24:01 ---> sigul-configuration.sh 22:24:01 gpg: directory `/root/.gnupg' created 22:24:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:24:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:24:01 gpg: keyring `/root/.gnupg/secring.gpg' created 22:24:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:24:01 gpg: CAST5 encrypted data 22:24:01 gpg: encrypted with 1 passphrase 22:24:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:24:01 + mkdir /home/jenkins 22:24:01 + mkdir /home/jenkins/sigul [Pipeline] sh 22:24:02 + 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 22:24:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:24:02 ---> sigul-install.sh 22:24:02 Sigul already installed; skipping installation. [Pipeline] sh 22:24:02 + git tag --list 22:24:02 v1.0.0 22:24:02 v1.1.0 22:24:02 v1.1.1 22:24:02 v1.1.2 22:24:02 v1.2.0 22:24:02 v1.2.1 22:24:02 v2.0.0 22:24:02 v2.1.0 22:24:02 v2.1.1 22:24:02 v2.2.0 22:24:02 v2.3.0 22:24:02 v3.0 22:24:02 v3.0.0 22:24:02 v3.1 22:24:02 v3.1.0 22:24:02 v3.1.0-dev.1 22:24:02 v3.1.0-dev.10 22:24:02 v3.1.0-dev.11 22:24:02 v3.1.0-dev.12 22:24:02 v3.1.0-dev.13 22:24:02 v3.1.0-dev.14 22:24:02 v3.1.0-dev.15 22:24:02 v3.1.0-dev.16 22:24:02 v3.1.0-dev.17 22:24:02 v3.1.0-dev.18 22:24:02 v3.1.0-dev.19 22:24:02 v3.1.0-dev.2 22:24:02 v3.1.0-dev.20 22:24:02 v3.1.0-dev.21 22:24:02 v3.1.0-dev.22 22:24:02 v3.1.0-dev.23 22:24:02 v3.1.0-dev.24 22:24:02 v3.1.0-dev.25 22:24:02 v3.1.0-dev.26 22:24:02 v3.1.0-dev.27 22:24:02 v3.1.0-dev.28 22:24:02 v3.1.0-dev.29 22:24:02 v3.1.0-dev.3 22:24:02 v3.1.0-dev.30 22:24:02 v3.1.0-dev.31 22:24:02 v3.1.0-dev.32 22:24:02 v3.1.0-dev.4 22:24:02 v3.1.0-dev.5 22:24:02 v3.1.0-dev.6 22:24:02 v3.1.0-dev.7 22:24:02 v3.1.0-dev.8 22:24:02 v3.1.0-dev.9 22:24:02 v3.1.1 22:24:02 v3.2.0-dev.1 22:24:02 v3.2.0-dev.10 22:24:02 v3.2.0-dev.11 22:24:02 v3.2.0-dev.12 22:24:02 v3.2.0-dev.13 22:24:02 v3.2.0-dev.14 22:24:02 v3.2.0-dev.15 22:24:02 v3.2.0-dev.16 22:24:02 v3.2.0-dev.17 22:24:02 v3.2.0-dev.18 22:24:02 v3.2.0-dev.19 22:24:02 v3.2.0-dev.2 22:24:02 v3.2.0-dev.20 22:24:02 v3.2.0-dev.21 22:24:02 v3.2.0-dev.22 22:24:02 v3.2.0-dev.23 22:24:02 v3.2.0-dev.3 22:24:02 v3.2.0-dev.4 22:24:02 v3.2.0-dev.5 22:24:02 v3.2.0-dev.6 22:24:02 v3.2.0-dev.7 22:24:02 v3.2.0-dev.8 22:24:02 v3.2.0-dev.9 [Pipeline] sh 22:24:03 + lftools sign git-tag v3.2.0-dev.23 22:24:03 Signing Git tag with Sigul... 22:24:03 Signing v3.2.0-dev.23 [Pipeline] echo 22:24:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:24:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:24:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:24:04 $ docker stop --time=1 138ffcf6267fa66f27e4d466de166982c8ce87c4f2c7bcd669815c93055ed9ed 22:24:05 $ docker rm -f --volumes 138ffcf6267fa66f27e4d466de166982c8ce87c4f2c7bcd669815c93055ed9ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:24:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:24:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:06 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:24:06 $ 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 22:24:06 $ docker top dae28268cffeeadbbd5f80fd2a461cd33cb91ddecc74b9ec804d6fe649b543c2 -eo pid,comm 22:24:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:24:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:24:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:06 [ssh-agent] Looking for ssh-agent implementation... 22:24:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:06 $ docker exec dae28268cffeeadbbd5f80fd2a461cd33cb91ddecc74b9ec804d6fe649b543c2 ssh-agent 22:24:07 SSH_AUTH_SOCK=/tmp/ssh-zUmwfdc35Bx8/agent.31 22:24:07 SSH_AGENT_PID=37 22:24:07 Running ssh-add (command line suppressed) 22:24:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2023942909655646729.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2023942909655646729.key) 22:24:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:07 + git semver bump pre 22:24:07 2024-10-09 22:24:07,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:24:07 2024-10-09 22:24:07,609 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev 22:24:07 2024-10-09 22:24:07,609 [bump_version] DEBUG bumped version:3.2.0-dev.24 22:24:07 2024-10-09 22:24:07,609 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 22:24:07 2024-10-09 22:24:07,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:24:07 2024-10-09 22:24:07,610 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:24:07 2024-10-09 22:24:07,611 [execute] INFO git cat-file --batch-check 22:24:07 2024-10-09 22:24:07,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:07 2024-10-09 22:24:07,617 [execute] INFO git cat-file --batch 22:24:07 2024-10-09 22:24:07,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:07 2024-10-09 22:24:07,620 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:24:07 3.2.0-dev.24 [Pipeline] } 22:24:07 $ docker exec --env ******** --env ******** dae28268cffeeadbbd5f80fd2a461cd33cb91ddecc74b9ec804d6fe649b543c2 ssh-agent -k 22:24:07 unset SSH_AUTH_SOCK; 22:24:07 unset SSH_AGENT_PID; 22:24:07 echo Agent pid 37 killed; 22:24:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:24:08 + git semver [Pipeline] } 22:24:08 $ docker stop --time=1 dae28268cffeeadbbd5f80fd2a461cd33cb91ddecc74b9ec804d6fe649b543c2 22:24:09 $ docker rm -f --volumes dae28268cffeeadbbd5f80fd2a461cd33cb91ddecc74b9ec804d6fe649b543c2 [Pipeline] // withDockerContainer [Pipeline] sh 22:24:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:24:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:10 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:24:10 $ 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 22:24:10 $ docker top a6fef332a3fe3db9302f24d27edf556d6194e2fc53ced07c6908d70a52b02ef8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:10 [ssh-agent] Looking for ssh-agent implementation... 22:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:11 $ docker exec a6fef332a3fe3db9302f24d27edf556d6194e2fc53ced07c6908d70a52b02ef8 ssh-agent 22:24:11 SSH_AUTH_SOCK=/tmp/ssh-r0txzWckmYha/agent.32 22:24:11 SSH_AGENT_PID=38 22:24:11 Running ssh-add (command line suppressed) 22:24:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8942299720786741641.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8942299720786741641.key) 22:24:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:11 + git semver push 22:24:11 2024-10-09 22:24:11,725 [run_push] DEBUG push 22:24:11 2024-10-09 22:24:11,726 [execute] INFO git cat-file --batch-check 22:24:11 2024-10-09 22:24:11,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:11 2024-10-09 22:24:11,730 [execute] INFO git rev-list 7605e5e2a9249d7dd62d07569afa48e4692c5b14 -- 22:24:11 2024-10-09 22:24:11,730 [execute] DEBUG Popen(['git', 'rev-list', '7605e5e2a9249d7dd62d07569afa48e4692c5b14', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:24:11 2024-10-09 22:24:11,739 [execute] INFO git fetch -v origin 22:24:11 2024-10-09 22:24:11,739 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:24:12 2024-10-09 22:24:12,202 [run_push] DEBUG no remote changes detected 22:24:12 2024-10-09 22:24:12,203 [execute] INFO git push origin semver 22:24:12 2024-10-09 22:24:12,203 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:24:12 2024-10-09 22:24:12,936 [run_push] DEBUG push all version tags 22:24:12 2024-10-09 22:24:12,936 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:24:12 2024-10-09 22:24:12,937 [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) 22:24:13 2024-10-09 22:24:13,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:24:13 3.2.0-dev.24 [Pipeline] } 22:24:13 $ docker exec --env ******** --env ******** a6fef332a3fe3db9302f24d27edf556d6194e2fc53ced07c6908d70a52b02ef8 ssh-agent -k 22:24:13 unset SSH_AUTH_SOCK; 22:24:13 unset SSH_AGENT_PID; 22:24:13 echo Agent pid 38 killed; 22:24:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:24:14 + git semver [Pipeline] } 22:24:14 $ docker stop --time=1 a6fef332a3fe3db9302f24d27edf556d6194e2fc53ced07c6908d70a52b02ef8 22:24:15 $ docker rm -f --volumes a6fef332a3fe3db9302f24d27edf556d6194e2fc53ced07c6908d70a52b02ef8 [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 22:24:16 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 22:24:16 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:24:16 total 16 22:24:16 drwxr-xr-x 3 root root 4096 Oct 9 22:07 . 22:24:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 22:24 .. 22:24:16 drwxr-xr-x 2 root root 4096 Oct 9 22:07 cost 22:24:16 -rw-r--r-- 1 root root 86 Oct 9 22:07 cost.csv 22:24:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 22:24:16 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 22:24:16 total 16 22:24:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 22:07 . 22:24:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 22:24 .. 22:24:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 9 22:07 cost 22:24:16 -rw-r--r-- 1 jenkins jenkins 86 Oct 9 22:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:24:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:24:17 ---> package-listing.sh 22:24:17 ++ facter osfamily 22:24:17 ++ tr '[:upper:]' '[:lower:]' 22:24:17 + OS_FAMILY=debian 22:24:17 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 22:24:17 + START_PACKAGES=/tmp/packages_start.txt 22:24:17 + END_PACKAGES=/tmp/packages_end.txt 22:24:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:24:17 + PACKAGES=/tmp/packages_start.txt 22:24:17 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:24:17 + PACKAGES=/tmp/packages_end.txt 22:24:17 + case "${OS_FAMILY}" in 22:24:17 + dpkg -l 22:24:17 + grep '^ii' 22:24:17 + '[' -f /tmp/packages_start.txt ']' 22:24:17 + '[' -f /tmp/packages_end.txt ']' 22:24:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:24:17 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 22:24:17 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 22:24:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 22:24:17 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 22:24:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:18 prd-ubuntu20.04-docker-8c-8g-22353 does not seem to be running inside a container 22:24:18 $ 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 22:24:19 $ docker top 466dff1c42c36f2b41d7071ee6411e6beac1cb28156f3939347cdf5930a47350 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:19 + touch /tmp/pre-build-complete [Pipeline] sh 22:24:19 + mkdir -p /var/log/sysstat [Pipeline] sh 22:24:20 + ls /var/log/sa-host 22:24:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:20 provisioning config files... 22:24:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9620822027561922344tmp [Pipeline] { [Pipeline] echo 22:24:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:24:20 ---> create-netrc.sh [Pipeline] } 22:24:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:24:20 ---> python-tools-install.sh [Pipeline] echo 22:24:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:24:21 ---> sudo-logs.sh 22:24:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:24:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:24:21 ---> job-cost.sh 22:24:21 lf-activate-venv: SKIPPING 22:24:21 DEBUG: total: 0.2199999988079071 22:24:21 INFO: Retrieving Stack Cost... 22:24:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:24:22 INFO: Archiving Costs [Pipeline] echo 22:24:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:24:22 ---> logs-deploy.sh 22:24:22 lf-activate-venv: SKIPPING 22:24:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/175 22:24:22 INFO: archiving workspace using pattern(s): 22:24:23 Archives upload complete. 22:24:23 INFO: archiving logs to Nexus