Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c2cca6ccca3210e07b712156771ed12440b1abf 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-ssh9638258502562979168.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-ssh14776466174653565462.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-ssh12968546493092771563.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-ssh3884386195018070236.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-ssh5158820118045914153.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22727 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 9c2cca6ccca3210e07b712156771ed12440b1abf (main) Commit message: "Merge pull request #418 from jackchenjc/edgex-go-issue-4916" > 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 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 > git rev-list --no-walk 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:43:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:43:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:43:54 ========================================================= 08:43:54 EdgeX Global Pipelines Version Info 08:43:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:43:55 ------------------- 08:43:55 stable info: 08:43:55 ------------------- 08:43:55 Commited By: Ginny Guan ginny@iotechsys.com 08:43:55 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:43:55 Message: update stable to v1.0.265 08:43:55 ------------------- 08:43:55 experimental info: 08:43:55 ------------------- 08:43:55 Commited By: Cherry Wang cherry@iotechsys.com 08:43:55 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:43:55 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c2cca6 [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:56 provisioning config files... 08:43:56 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6405327228396800245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:57 ---> ****-login.sh 08:43:57 nexus3.edgexfoundry.org:10001 08:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:57 Configure a credential helper to remove this warning. See 08:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:57 08:43:57 Login Succeeded 08:43:57 nexus3.edgexfoundry.org:10002 08:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:57 Configure a credential helper to remove this warning. See 08:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:57 08:43:57 Login Succeeded 08:43:57 nexus3.edgexfoundry.org:10003 08:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:57 Configure a credential helper to remove this warning. See 08:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:57 08:43:57 Login Succeeded 08:43:57 nexus3.edgexfoundry.org:10004 08:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:57 Configure a credential helper to remove this warning. See 08:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:57 08:43:57 Login Succeeded 08:43:57 ****.io 08:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:43:57 Configure a credential helper to remove this warning. See 08:43:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:43:57 08:43:57 Login Succeeded 08:43:57 ---> ****-login.sh ends [Pipeline] } 08:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:43:58 + git rev-list -1 --merges 9c2cca6ccca3210e07b712156771ed12440b1abf~1..9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] echo 08:43:58 -----------> git rev-list -1 --merges 9c2cca6ccca3210e07b712156771ed12440b1abf~1..9c2cca6ccca3210e07b712156771ed12440b1abf 9c2cca6ccca3210e07b712156771ed12440b1abf 08:43:58 9c2cca6ccca3210e07b712156771ed12440b1abf [false] [Pipeline] sh 08:43:58 + git log --format=format:%s -1 9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] echo 08:43:58 ========================================================= 08:43:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:43:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:59 + git log --format=format:%s -1 9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] echo 08:43:59 [semverPrep] GIT_COMMIT: 9c2cca6ccca3210e07b712156771ed12440b1abf, Commit Message: Merge pull request #418 from jackchenjc/edgex-go-issue-4916 [Pipeline] echo 08:43:59 [semverPrep] This is not a build commit. [Pipeline] sh 08:43:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:43:59 + grep -v github /etc/ssh/ssh_known_hosts 08:43:59 + [ -e /tmp/ssh_known_hosts ] 08:43:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:43:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:43:59 + sudo tee -a /etc/ssh/ssh_known_hosts 08:43:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:43:59 08:43:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:44:00 0.1.4: Pulling from edgex-devops/py-git-semver 08:44:00 b85a868b505f: Pulling fs layer 08:44:00 e2be974225ed: Pulling fs layer 08:44:00 339a4e72a1f5: Pulling fs layer 08:44:00 988bab9f4d93: Pulling fs layer 08:44:00 1469e6f7b9e6: Pulling fs layer 08:44:00 eaf3925da568: Pulling fs layer 08:44:00 bab4dde63d76: Pulling fs layer 08:44:00 bde34c3a00c8: Pulling fs layer 08:44:00 b352a97aabf1: Pulling fs layer 08:44:00 4872d77fe225: Pulling fs layer 08:44:00 5851b861e8e6: Pulling fs layer 08:44:00 988bab9f4d93: Waiting 08:44:00 1469e6f7b9e6: Waiting 08:44:00 eaf3925da568: Waiting 08:44:00 bab4dde63d76: Waiting 08:44:00 bde34c3a00c8: Waiting 08:44:00 b352a97aabf1: Waiting 08:44:00 4872d77fe225: Waiting 08:44:00 5851b861e8e6: Waiting 08:44:00 e2be974225ed: Verifying Checksum 08:44:00 e2be974225ed: Download complete 08:44:00 988bab9f4d93: Verifying Checksum 08:44:00 988bab9f4d93: Download complete 08:44:00 1469e6f7b9e6: Verifying Checksum 08:44:00 1469e6f7b9e6: Download complete 08:44:00 339a4e72a1f5: Verifying Checksum 08:44:00 339a4e72a1f5: Download complete 08:44:00 eaf3925da568: Verifying Checksum 08:44:00 eaf3925da568: Download complete 08:44:00 bde34c3a00c8: Verifying Checksum 08:44:00 bde34c3a00c8: Download complete 08:44:00 b352a97aabf1: Verifying Checksum 08:44:00 b352a97aabf1: Download complete 08:44:00 4872d77fe225: Verifying Checksum 08:44:00 4872d77fe225: Download complete 08:44:00 5851b861e8e6: Verifying Checksum 08:44:00 5851b861e8e6: Download complete 08:44:00 b85a868b505f: Verifying Checksum 08:44:00 b85a868b505f: Download complete 08:44:00 bab4dde63d76: Verifying Checksum 08:44:00 bab4dde63d76: Download complete 08:44:01 b85a868b505f: Pull complete 08:44:01 e2be974225ed: Pull complete 08:44:02 339a4e72a1f5: Pull complete 08:44:02 988bab9f4d93: Pull complete 08:44:02 1469e6f7b9e6: Pull complete 08:44:02 eaf3925da568: Pull complete 08:44:04 bab4dde63d76: Pull complete 08:44:04 bde34c3a00c8: Pull complete 08:44:04 b352a97aabf1: Pull complete 08:44:04 4872d77fe225: Pull complete 08:44:04 5851b861e8e6: Pull complete 08:44:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:44:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:44:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:44:04 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 08:44:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:44:08 $ docker top 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 -eo pid,comm 08:44:08 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). 08:44:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:08 [ssh-agent] Looking for ssh-agent implementation... 08:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:08 $ docker exec 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 ssh-agent 08:44:08 SSH_AUTH_SOCK=/tmp/ssh-yuqdjWok6RIt/agent.32 08:44:08 SSH_AGENT_PID=39 08:44:09 Running ssh-add (command line suppressed) 08:44:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15964565757175030280.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15964565757175030280.key) 08:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:09 + git tag --points-at HEAD [Pipeline] } 08:44:09 $ docker exec --env ******** --env ******** 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 ssh-agent -k 08:44:09 unset SSH_AUTH_SOCK; 08:44:09 unset SSH_AGENT_PID; 08:44:09 echo Agent pid 39 killed; 08:44:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:09 [ssh-agent] Looking for ssh-agent implementation... 08:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:09 $ docker exec 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 ssh-agent 08:44:09 SSH_AUTH_SOCK=/tmp/ssh-NLCU7uJUQmEd/agent.72 08:44:09 SSH_AGENT_PID=78 08:44:09 Running ssh-add (command line suppressed) 08:44:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1619243001343031337.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1619243001343031337.key) 08:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:10 + git semver init 08:44:10 2024-10-14 08:44:10,377 [run_init] DEBUG init version:0.0.0 force:False 08:44:10 2024-10-14 08:44:10,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 08:44:10 2024-10-14 08:44:10,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:44:10 2024-10-14 08:44:10,378 [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) 08:44:11 2024-10-14 08:44:11,704 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 08:44:11 2024-10-14 08:44:11,705 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 08:44:11 2024-10-14 08:44:11,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:44:11 2024-10-14 08:44:11,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:44:11 3.2.0-dev.24 [Pipeline] } 08:44:11 $ docker exec --env ******** --env ******** 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 ssh-agent -k 08:44:11 unset SSH_AUTH_SOCK; 08:44:11 unset SSH_AGENT_PID; 08:44:11 echo Agent pid 78 killed; 08:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:12 + git semver [Pipeline] } 08:44:12 $ docker stop --time=1 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 08:44:13 $ docker rm -f --volumes 6f4fbb13e4371c0cc36959acd57992ee7da96648631140b0952b995524249413 [Pipeline] // withDockerContainer [Pipeline] sh 08:44:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:44:14 Stashed 1 file(s) [Pipeline] echo 08:44:14 [edgeXSemver]: initialized semver on version 3.2.0-dev.24 [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 08:44:14 provisioning config files... 08:44:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config270569737954823162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:14 ---> ****-login.sh 08:44:14 nexus3.edgexfoundry.org:10001 08:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:14 Configure a credential helper to remove this warning. See 08:44:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:14 08:44:14 Login Succeeded 08:44:14 nexus3.edgexfoundry.org:10002 08:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:14 Configure a credential helper to remove this warning. See 08:44:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:14 08:44:14 Login Succeeded 08:44:14 nexus3.edgexfoundry.org:10003 08:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:15 Configure a credential helper to remove this warning. See 08:44:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:15 08:44:15 Login Succeeded 08:44:15 nexus3.edgexfoundry.org:10004 08:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:15 Configure a credential helper to remove this warning. See 08:44:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:15 08:44:15 Login Succeeded 08:44:15 ****.io 08:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:44:15 Configure a credential helper to remove this warning. See 08:44:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:44:15 08:44:15 Login Succeeded 08:44:15 ---> ****-login.sh ends [Pipeline] } 08:44:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:44:15 ========================================================= 08:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:44:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:16 + 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 . 08:44:16 Sending build context to Docker daemon 16.61MB 08:44:16 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:44:16 Step 2/12 : FROM ${BASE} AS builder 08:44:16 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:44:16 43c4264eed91: Pulling fs layer 08:44:16 4cc291be95ef: Pulling fs layer 08:44:16 2ac1f1163629: Pulling fs layer 08:44:16 5c3c966382ef: Pulling fs layer 08:44:16 4f4fb700ef54: Pulling fs layer 08:44:16 5d5c8e513c77: Pulling fs layer 08:44:16 9f66e0745190: Pulling fs layer 08:44:16 f49a43e4bbc0: Pulling fs layer 08:44:16 561ebcabdf7f: Pulling fs layer 08:44:16 5d5c8e513c77: Waiting 08:44:16 9f66e0745190: Waiting 08:44:16 561ebcabdf7f: Waiting 08:44:16 5c3c966382ef: Waiting 08:44:16 4f4fb700ef54: Waiting 08:44:16 f49a43e4bbc0: Waiting 08:44:16 5c3c966382ef: Verifying Checksum 08:44:16 5c3c966382ef: Download complete 08:44:16 4f4fb700ef54: Download complete 08:44:16 5d5c8e513c77: Download complete 08:44:16 43c4264eed91: Download complete 08:44:16 9f66e0745190: Download complete 08:44:16 43c4264eed91: Pull complete 08:44:16 4cc291be95ef: Pull complete 08:44:16 561ebcabdf7f: Verifying Checksum 08:44:16 561ebcabdf7f: Download complete 08:44:17 2ac1f1163629: Verifying Checksum 08:44:17 2ac1f1163629: Download complete 08:44:17 f49a43e4bbc0: Verifying Checksum 08:44:17 f49a43e4bbc0: Download complete 08:44:20 2ac1f1163629: Pull complete 08:44:20 5c3c966382ef: Pull complete 08:44:20 4f4fb700ef54: Pull complete 08:44:20 5d5c8e513c77: Pull complete 08:44:20 9f66e0745190: Pull complete 08:44:22 f49a43e4bbc0: Pull complete 08:44:23 561ebcabdf7f: Pull complete 08:44:23 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:44:23 ---> 3a752c3f9dda 08:44:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:44:29 Still waiting to schedule task 08:44:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 08:44:29 ---> Running in 913a30858325 08:44:29 Removing intermediate container 913a30858325 08:44:29 ---> 0cb7ce5c1ed2 08:44:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:44:29 ---> Running in 6c0018f63b07 08:44:29 Removing intermediate container 6c0018f63b07 08:44:29 ---> a38d2b12da6c 08:44:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:44:29 ---> Running in 05e9e9161a02 08:44:30 Removing intermediate container 05e9e9161a02 08:44:30 ---> 6a09a2cf44c1 08:44:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:44:30 ---> Running in 2bfc80ff47d4 08:44:30 Removing intermediate container 2bfc80ff47d4 08:44:30 ---> 9f38958c74dc 08:44:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:44:30 ---> Running in bb951820a9f8 08:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:44:30 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:44:30 (2/4) Installing libedit (20240517.3.1-r0) 08:44:30 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:44:30 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:44:30 Executing busybox-1.36.1-r29.trigger 08:44:30 OK: 250 MiB in 58 packages 08:44:31 Removing intermediate container bb951820a9f8 08:44:31 ---> 100ceaef45b4 08:44:31 Step 8/12 : WORKDIR /device-rest-go 08:44:31 ---> Running in 122cd715c9bb 08:44:31 Removing intermediate container 122cd715c9bb 08:44:31 ---> 81b45d22170e 08:44:31 Step 9/12 : COPY go.mod vendor* ./ 08:44:31 ---> 9219fdc3a477 08:44:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:44:31 ---> Running in 064ae401296e 08:45:27 Removing intermediate container 064ae401296e 08:45:27 ---> 37c4cf9f1859 08:45:27 Step 11/12 : COPY . . 08:45:27 ---> 716bb2514ed8 08:45:27 Step 12/12 : RUN $MAKE 08:45:27 ---> Running in df5128937bce 08:45:27 noop 08:45:27 Removing intermediate container df5128937bce 08:45:27 ---> c6faf0e6938f 08:45:27 Successfully built c6faf0e6938f 08:45:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:28 + docker inspect -f . ci-base-image-x86_64 08:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:28 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 08:45:28 $ 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 ******** ci-base-image-x86_64 cat 08:45:28 $ docker top 18dd7b77696f4c54861c20239db634fa33f825a50d22f7b8488047ac93f8c075 -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:29 + go version 08:45:29 go version go1.23.2 linux/amd64 [Pipeline] } 08:45:29 $ docker stop --time=1 18dd7b77696f4c54861c20239db634fa33f825a50d22f7b8488047ac93f8c075 08:45:30 $ docker rm -f --volumes 18dd7b77696f4c54861c20239db634fa33f825a50d22f7b8488047ac93f8c075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:30 + docker inspect -f . ci-base-image-x86_64 08:45:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:30 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 08:45:30 $ 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 ******** ci-base-image-x86_64 cat 08:45:31 $ docker top 5c5387e34fcb5c15912b5c602f12d0a93f4cc718a055f6c60cecc0d7e6587c6a -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 08:45:31 + make test 08:45:31 go test ./... -coverprofile=coverage.out ./... 08:45:33 ? github.com/edgexfoundry/device-rest-go [no test files] 08:45:53 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 08:45:53 ok github.com/edgexfoundry/device-rest-go/driver 0.005s coverage: 33.2% of statements 08:46:02 go vet ./... 08:46:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:46:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:46:07 ./bin/test-attribution-txt.sh [Pipeline] echo 08:46:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:46:07 $ docker stop --time=1 5c5387e34fcb5c15912b5c602f12d0a93f4cc718a055f6c60cecc0d7e6587c6a 08:46:13 $ docker rm -f --volumes 5c5387e34fcb5c15912b5c602f12d0a93f4cc718a055f6c60cecc0d7e6587c6a [Pipeline] // withDockerContainer [Pipeline] sh 08:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:46:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:46:14 + ls -al . 08:46:14 total 256 08:46:14 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 08:45 . 08:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:43 .. 08:46:14 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 08:43 .dockerignore 08:46:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:45 .git 08:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:43 .github 08:46:14 -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 08:43 .gitignore 08:46:14 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 08:43 .golangci.yml 08:46:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:44 .semver 08:46:14 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 08:43 Attribution.txt 08:46:14 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 08:43 CHANGELOG.md 08:46:14 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 08:43 Dockerfile 08:46:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:43 GOVERNANCE.md 08:46:14 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 08:43 Jenkinsfile 08:46:14 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:43 LICENSE 08:46:14 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 08:43 Makefile 08:46:14 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 08:43 OWNERS.md 08:46:14 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 08:43 README.md 08:46:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:44 VERSION 08:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:43 bin 08:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:43 cmd 08:46:14 -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 08:45 coverage.out 08:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:43 driver 08:46:14 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 08:43 go.mod 08:46:14 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 08:43 go.sum 08:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:43 openapi 08:46:14 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:15 + 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=9c2cca6ccca3210e07b712156771ed12440b1abf --label arch=amd64 --label version=3.2.0-dev.24 . 08:46:15 Sending build context to Docker daemon 16.63MB 08:46:15 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:46:15 Step 2/26 : FROM ${BASE} AS builder 08:46:15 ---> c6faf0e6938f 08:46:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:46:15 ---> Running in c56984b4c178 08:46:15 Removing intermediate container c56984b4c178 08:46:15 ---> 641f193a2f9a 08:46:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:46:15 ---> Running in ed337cd6c130 08:46:15 Removing intermediate container ed337cd6c130 08:46:15 ---> c5b0c9958c76 08:46:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:46:15 ---> Running in 909fc197a02c 08:46:15 Removing intermediate container 909fc197a02c 08:46:15 ---> 7b6172a31e55 08:46:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:46:15 ---> Running in 67ce7b46af7f 08:46:16 Removing intermediate container 67ce7b46af7f 08:46:16 ---> 90f5411ad432 08:46:16 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:16 ---> Running in b08c56957c29 08:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:16 OK: 250 MiB in 58 packages 08:46:17 Removing intermediate container b08c56957c29 08:46:17 ---> bb0f14f55121 08:46:17 Step 8/26 : WORKDIR /device-rest-go 08:46:17 ---> Running in 12e1948d449b 08:46:17 Removing intermediate container 12e1948d449b 08:46:17 ---> 119463c83818 08:46:17 Step 9/26 : COPY go.mod vendor* ./ 08:46:17 ---> ebff089778c7 08:46:17 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:17 ---> Running in 57e651bb3013 08:46:17 Removing intermediate container 57e651bb3013 08:46:17 ---> d99849019f03 08:46:17 Step 11/26 : COPY . . 08:46:18 ---> 0faec5e2268b 08:46:18 Step 12/26 : RUN $MAKE 08:46:18 ---> Running in 20582f865370 08:46:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 08:46:57 Removing intermediate container 20582f865370 08:46:57 ---> 4f0401ddd331 08:46:57 Step 13/26 : FROM alpine:3.20 08:46:57 3.20: Pulling from library/alpine 08:46:57 43c4264eed91: Already exists 08:46:57 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:46:57 Status: Downloaded newer image for alpine:3.20 08:46:57 ---> 91ef0af61f39 08:46:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:46:57 ---> Running in 06d6854baa78 08:46:57 Removing intermediate container 06d6854baa78 08:46:57 ---> 795ea1b2b789 08:46:57 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:46:57 ---> Running in 3206f55ffd47 08:46:57 Removing intermediate container 3206f55ffd47 08:46:57 ---> 31a51544b6ec 08:46:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:46:57 ---> Running in a7ce93097227 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:57 (1/1) Installing dumb-init (1.2.5-r3) 08:46:57 Executing busybox-1.36.1-r29.trigger 08:46:57 OK: 8 MiB in 15 packages 08:46:57 Removing intermediate container a7ce93097227 08:46:57 ---> 693f81910079 08:46:57 Step 17/26 : RUN apk --no-cache upgrade 08:46:57 ---> Running in 8b1aedd8fd09 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:57 Upgrading critical system libraries and apk-tools: 08:46:57 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:46:57 Executing busybox-1.36.1-r29.trigger 08:46:57 Continuing the upgrade transaction with new apk-tools: 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:46:57 OK: 8 MiB in 15 packages 08:46:57 Removing intermediate container 8b1aedd8fd09 08:46:57 ---> 3ca411757a95 08:46:57 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:46:58 ---> 645b9ff89f49 08:46:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:46:58 ---> 021076b9c7b6 08:46:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:46:58 ---> 9ccef8af85b6 08:46:58 Step 21/26 : EXPOSE 59986 08:46:58 ---> Running in 20b4b2ca829c 08:46:58 Removing intermediate container 20b4b2ca829c 08:46:58 ---> a3acedd23d60 08:46:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:46:58 ---> Running in 156de0a1e5be 08:46:58 Removing intermediate container 156de0a1e5be 08:46:58 ---> 2cf76988f38d 08:46:58 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:46:59 ---> Running in 744b70b2f88c 08:46:59 Removing intermediate container 744b70b2f88c 08:46:59 ---> 13faecfff77a 08:46:59 Step 24/26 : LABEL arch=amd64 08:46:59 ---> Running in 8252f31f86a7 08:46:59 Removing intermediate container 8252f31f86a7 08:46:59 ---> 0804a3aca2d6 08:46:59 Step 25/26 : LABEL git_sha=9c2cca6ccca3210e07b712156771ed12440b1abf 08:46:59 ---> Running in 19a23ea692b4 08:46:59 Removing intermediate container 19a23ea692b4 08:46:59 ---> 4331d73152bf 08:46:59 Step 26/26 : LABEL version=3.2.0-dev.24 08:46:59 ---> Running in a2d27402cc1c 08:46:59 Removing intermediate container a2d27402cc1c 08:46:59 ---> 430566c2b363 08:46:59 [Warning] One or more build-args [ARCH] were not consumed 08:46:59 Successfully built 430566c2b363 08:46:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:59 provisioning config files... 08:46:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18183284642823688944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:59 ---> ****-login.sh 08:46:59 nexus3.edgexfoundry.org:10001 08:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:59 Configure a credential helper to remove this warning. See 08:46:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:59 08:46:59 Login Succeeded 08:46:59 nexus3.edgexfoundry.org:10002 08:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:59 Configure a credential helper to remove this warning. See 08:46:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:59 08:46:59 Login Succeeded 08:46:59 nexus3.edgexfoundry.org:10003 08:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:47:00 Configure a credential helper to remove this warning. See 08:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:47:00 08:47:00 Login Succeeded 08:47:00 nexus3.edgexfoundry.org:10004 08:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:47:00 Configure a credential helper to remove this warning. See 08:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:47:00 08:47:00 Login Succeeded 08:47:00 ****.io 08:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:47:00 Configure a credential helper to remove this warning. See 08:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:47:00 08:47:00 Login Succeeded 08:47:00 ---> ****-login.sh ends [Pipeline] } 08:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:47:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:47:00 9c2cca6ccca3210e07b712156771ed12440b1abf 08:47:00 latest 08:47:00 3.2.0-dev.24 08:47:00 9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 08:47:00 main 08:47:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf 08:47:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:47:01 b9e0b9acd0fe: Preparing 08:47:01 937ba4b8e758: Preparing 08:47:01 6d4eaa7c8fcc: Preparing 08:47:01 3a50b7587ecf: Preparing 08:47:01 e2a41e4bb0a2: Preparing 08:47:01 63ca1fbb43ae: Preparing 08:47:01 63ca1fbb43ae: Waiting 08:47:01 b9e0b9acd0fe: Pushed 08:47:01 e2a41e4bb0a2: Pushed 08:47:01 3a50b7587ecf: Pushed 08:47:01 937ba4b8e758: Pushed 08:47:01 63ca1fbb43ae: Layer already exists 08:47:06 6d4eaa7c8fcc: Pushed 08:47:06 9c2cca6ccca3210e07b712156771ed12440b1abf: digest: sha256:c1430c67d0388c921fef37288261dd44c6be4a277c614c1667d4a2e4254cac6d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:47:07 b9e0b9acd0fe: Preparing 08:47:07 937ba4b8e758: Preparing 08:47:07 6d4eaa7c8fcc: Preparing 08:47:07 3a50b7587ecf: Preparing 08:47:07 e2a41e4bb0a2: Preparing 08:47:07 63ca1fbb43ae: Preparing 08:47:07 63ca1fbb43ae: Waiting 08:47:07 3a50b7587ecf: Layer already exists 08:47:07 937ba4b8e758: Layer already exists 08:47:07 6d4eaa7c8fcc: Layer already exists 08:47:07 b9e0b9acd0fe: Layer already exists 08:47:07 e2a41e4bb0a2: Layer already exists 08:47:07 63ca1fbb43ae: Layer already exists 08:47:07 latest: digest: sha256:c1430c67d0388c921fef37288261dd44c6be4a277c614c1667d4a2e4254cac6d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.24 08:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:47:07 b9e0b9acd0fe: Preparing 08:47:07 937ba4b8e758: Preparing 08:47:07 6d4eaa7c8fcc: Preparing 08:47:07 3a50b7587ecf: Preparing 08:47:07 e2a41e4bb0a2: Preparing 08:47:07 63ca1fbb43ae: Preparing 08:47:07 63ca1fbb43ae: Waiting 08:47:07 6d4eaa7c8fcc: Layer already exists 08:47:07 b9e0b9acd0fe: Layer already exists 08:47:07 e2a41e4bb0a2: Layer already exists 08:47:07 3a50b7587ecf: Layer already exists 08:47:07 937ba4b8e758: Layer already exists 08:47:07 63ca1fbb43ae: Layer already exists 08:47:07 3.2.0-dev.24: digest: sha256:c1430c67d0388c921fef37288261dd44c6be4a277c614c1667d4a2e4254cac6d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 08:47:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:47:08 b9e0b9acd0fe: Preparing 08:47:08 937ba4b8e758: Preparing 08:47:08 6d4eaa7c8fcc: Preparing 08:47:08 3a50b7587ecf: Preparing 08:47:08 e2a41e4bb0a2: Preparing 08:47:08 63ca1fbb43ae: Preparing 08:47:08 63ca1fbb43ae: Waiting 08:47:08 b9e0b9acd0fe: Layer already exists 08:47:08 937ba4b8e758: Layer already exists 08:47:08 3a50b7587ecf: Layer already exists 08:47:08 e2a41e4bb0a2: Layer already exists 08:47:08 6d4eaa7c8fcc: Layer already exists 08:47:08 63ca1fbb43ae: Layer already exists 08:47:08 9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24: digest: sha256:c1430c67d0388c921fef37288261dd44c6be4a277c614c1667d4a2e4254cac6d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:08 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 08:47:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:47:08 b9e0b9acd0fe: Preparing 08:47:08 937ba4b8e758: Preparing 08:47:08 6d4eaa7c8fcc: Preparing 08:47:08 3a50b7587ecf: Preparing 08:47:08 e2a41e4bb0a2: Preparing 08:47:08 63ca1fbb43ae: Preparing 08:47:08 63ca1fbb43ae: Waiting 08:47:08 937ba4b8e758: Layer already exists 08:47:08 3a50b7587ecf: Layer already exists 08:47:08 6d4eaa7c8fcc: Layer already exists 08:47:08 b9e0b9acd0fe: Layer already exists 08:47:08 e2a41e4bb0a2: Layer already exists 08:47:08 63ca1fbb43ae: Layer already exists 08:47:08 main: digest: sha256:c1430c67d0388c921fef37288261dd44c6be4a277c614c1667d4a2e4254cac6d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:47:09 ===================================================== [Pipeline] echo 08:47:09 taggedImages: 08:47:09 - nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf 08:47:09 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:47:09 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.24 08:47:09 - nexus3.edgexfoundry.org:10004/device-rest:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 08:47: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 08:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:09 08:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:09 latest: Pulling from edgex-lftools-log-publisher 08:47:09 5eb5b503b376: Pulling fs layer 08:47:09 5c69ac0246d0: Pulling fs layer 08:47:09 ec43610c2a17: Pulling fs layer 08:47:09 3a2ae6a8a46f: Pulling fs layer 08:47:09 33b1e0a273af: Pulling fs layer 08:47:09 5d3b04190fa2: Pulling fs layer 08:47:09 2f39f015ded8: Pulling fs layer 08:47:09 3a2ae6a8a46f: Waiting 08:47:09 33b1e0a273af: Waiting 08:47:09 5d3b04190fa2: Waiting 08:47:09 2f39f015ded8: Waiting 08:47:09 5c69ac0246d0: Verifying Checksum 08:47:09 5c69ac0246d0: Download complete 08:47:09 3a2ae6a8a46f: Verifying Checksum 08:47:09 3a2ae6a8a46f: Download complete 08:47:09 33b1e0a273af: Verifying Checksum 08:47:09 33b1e0a273af: Download complete 08:47:09 ec43610c2a17: Verifying Checksum 08:47:09 ec43610c2a17: Download complete 08:47:09 5d3b04190fa2: Verifying Checksum 08:47:09 5d3b04190fa2: Download complete 08:47:10 5eb5b503b376: Verifying Checksum 08:47:10 5eb5b503b376: Download complete 08:47:10 2f39f015ded8: Download complete 08:47:11 5eb5b503b376: Pull complete 08:47:11 5c69ac0246d0: Pull complete 08:47:11 ec43610c2a17: Pull complete 08:47:11 3a2ae6a8a46f: Pull complete 08:47:12 33b1e0a273af: Pull complete 08:47:12 5d3b04190fa2: Pull complete 08:47:16 2f39f015ded8: Pull complete 08:47:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:16 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 08:47: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:47:22 $ docker top 73cc3f0c5df3785673343d0fd242e215e121018abacd0da9bceebda8f7f6ae1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:22 ---> job-cost.sh 08:47:22 lf-activate-venv: SKIPPING 08:47:22 INFO: No Stack... 08:47:23 INFO: Retrieving Pricing Info for: v3-standard-8 08:47:23 INFO: Archiving Costs [Pipeline] sh 08:47:23 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:47:23 + cut -d, -f6 [Pipeline] lock 08:47:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] 08:47:23 Resource [jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] did not exist. Created. 08:47:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:47:24 + echo total: 0.2199999988079071 [Pipeline] stash 08:47:24 Stashed 1 file(s) [Pipeline] } 08:47:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 08:47:24 $ docker stop --time=1 73cc3f0c5df3785673343d0fd242e215e121018abacd0da9bceebda8f7f6ae1c 08:47:25 $ docker rm -f --volumes 73cc3f0c5df3785673343d0fd242e215e121018abacd0da9bceebda8f7f6ae1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:47:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22733 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 08:47:46 Running in /w/workspace/device-rest-go/176 [Pipeline] { [Pipeline] checkout 08:47:49 The recommended git tool is: git 08:47:54 using credential edgex-jenkins-ssh 08:47:54 Cloning the remote Git repository 08:47:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:47:54 > git init /w/workspace/device-rest-go/176 # timeout=10 08:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:47:55 > git --version # timeout=10 08:47:55 > git --version # 'git version 2.25.1' 08:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:47:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:47:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:47:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:47:59 Avoid second fetch 08:47:59 Checking out Revision 9c2cca6ccca3210e07b712156771ed12440b1abf (main) 08:48:00 Commit message: "Merge pull request #418 from jackchenjc/edgex-go-issue-4916" 08:47:59 > git config core.sparsecheckout # timeout=10 08:47:59 > git checkout -f 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:48:05 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:05 Dload Upload Total Spent Left Speed 08:48:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 176k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 08:48:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:48:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:48:05 + sudo tee /etc/docker/daemon.new 08:48:05 { 08:48:05 "registry-mirrors": [ 08:48:05 "https://nexus3.edgexfoundry.org:10001" 08:48:05 ], 08:48:05 "bip": "10.250.0.254/24", 08:48:05 "hosts": [ 08:48:05 "tcp://0.0.0.0:5555", 08:48:05 "unix:///var/run/docker.sock" 08:48:05 ], 08:48:05 "mtu": 1458, 08:48:05 "selinux-enabled": true, 08:48:05 "seccomp-profile": "/etc/docker/seccomp.json" 08:48:05 } [Pipeline] sh 08:48:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:48:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:25 provisioning config files... 08:48:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/176@tmp/config11532951843465814689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:25 ---> ****-login.sh 08:48:25 nexus3.edgexfoundry.org:10001 08:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:48:26 Configure a credential helper to remove this warning. See 08:48:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:48:26 08:48:26 Login Succeeded 08:48:26 nexus3.edgexfoundry.org:10002 08:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:48:27 Configure a credential helper to remove this warning. See 08:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:48:27 08:48:27 Login Succeeded 08:48:27 nexus3.edgexfoundry.org:10003 08:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:48:27 Configure a credential helper to remove this warning. See 08:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:48:27 08:48:27 Login Succeeded 08:48:27 nexus3.edgexfoundry.org:10004 08:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:48:27 Configure a credential helper to remove this warning. See 08:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:48:27 08:48:27 Login Succeeded 08:48:27 ****.io 08:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:48:28 Configure a credential helper to remove this warning. See 08:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:48:28 08:48:28 Login Succeeded 08:48:28 ---> ****-login.sh ends [Pipeline] } 08:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:48:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:48:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:48:28 ========================================================= 08:48:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:48:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:29 + 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 . 08:48:29 Sending build context to Docker daemon 140.8kB 08:48:29 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 08:48:29 Step 2/12 : FROM ${BASE} AS builder 08:48:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:48:29 cf04c63912e1: Pulling fs layer 08:48:29 55b35a11ae5e: Pulling fs layer 08:48:29 a37a00ec5f00: Pulling fs layer 08:48:29 50b3750afda1: Pulling fs layer 08:48:29 4f4fb700ef54: Pulling fs layer 08:48:29 80978eb59214: Pulling fs layer 08:48:29 c9f46d7d2bd2: Pulling fs layer 08:48:29 c5a475d317c9: Pulling fs layer 08:48:29 50b3750afda1: Waiting 08:48:29 4f4fb700ef54: Waiting 08:48:29 80978eb59214: Waiting 08:48:29 c9f46d7d2bd2: Waiting 08:48:29 c5a475d317c9: Waiting 08:48:29 55b35a11ae5e: Verifying Checksum 08:48:29 55b35a11ae5e: Download complete 08:48:29 50b3750afda1: Verifying Checksum 08:48:29 50b3750afda1: Download complete 08:48:29 4f4fb700ef54: Verifying Checksum 08:48:29 4f4fb700ef54: Download complete 08:48:29 80978eb59214: Verifying Checksum 08:48:29 80978eb59214: Download complete 08:48:30 cf04c63912e1: Verifying Checksum 08:48:30 cf04c63912e1: Download complete 08:48:30 c5a475d317c9: Verifying Checksum 08:48:30 c5a475d317c9: Download complete 08:48:31 cf04c63912e1: Pull complete 08:48:32 55b35a11ae5e: Pull complete 08:48:32 a37a00ec5f00: Verifying Checksum 08:48:32 a37a00ec5f00: Download complete 08:48:33 c9f46d7d2bd2: Verifying Checksum 08:48:33 c9f46d7d2bd2: Download complete 08:48:48 a37a00ec5f00: Pull complete 08:48:48 50b3750afda1: Pull complete 08:48:48 4f4fb700ef54: Pull complete 08:48:49 80978eb59214: Pull complete 08:48:57 c9f46d7d2bd2: Pull complete 08:49:00 c5a475d317c9: Pull complete 08:49:00 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:49:00 ---> be29e6b0f0d4 08:49:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:49:01 ---> Running in 4b43e798e6c0 08:49:01 Removing intermediate container 4b43e798e6c0 08:49:01 ---> e7265c15f76a 08:49:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:49:01 ---> Running in b159c7270e92 08:49:01 Removing intermediate container b159c7270e92 08:49:01 ---> 91d8bca6bf07 08:49:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:49:01 ---> Running in 2443b84bdee6 08:49:02 Removing intermediate container 2443b84bdee6 08:49:02 ---> ce9704f8eb63 08:49:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:49:02 ---> Running in c67d214f62f7 08:49:02 Removing intermediate container c67d214f62f7 08:49:02 ---> 45b193eb75b4 08:49:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:49:03 ---> Running in 9aff26a8cfb2 08:49:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:49:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:49:06 (1/4) Installing openssh-keygen (9.7_p1-r4) 08:49:06 (2/4) Installing libedit (20240517.3.1-r0) 08:49:06 (3/4) Installing openssh-client-common (9.7_p1-r4) 08:49:07 (4/4) Installing openssh-client-default (9.7_p1-r4) 08:49:07 Executing busybox-1.36.1-r29.trigger 08:49:07 OK: 242 MiB in 58 packages 08:49:09 Removing intermediate container 9aff26a8cfb2 08:49:09 ---> 4792f2af31df 08:49:09 Step 8/12 : WORKDIR /device-rest-go 08:49:09 ---> Running in 4cb03d1923a8 08:49:09 Removing intermediate container 4cb03d1923a8 08:49:09 ---> 6685689a811b 08:49:09 Step 9/12 : COPY go.mod vendor* ./ 08:49:10 ---> cd61a34561dc 08:49:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:49:10 ---> Running in d6dcbcc9c904 08:51:19 Removing intermediate container d6dcbcc9c904 08:51:19 ---> dfc706536a4d 08:51:19 Step 11/12 : COPY . . 08:51:19 ---> 5f9d7aefd4a0 08:51:19 Step 12/12 : RUN $MAKE 08:51:19 ---> Running in 9812ff9ad686 08:51:19 noop 08:51:19 Removing intermediate container 9812ff9ad686 08:51:19 ---> 271d4487a384 08:51:19 Successfully built 271d4487a384 08:51:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:20 + docker inspect -f . ci-base-image-arm64 08:51:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:20 prd-ubuntu20.04-docker-arm64-4c-16g-22733 does not seem to be running inside a container 08:51:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/176 -v /w/workspace/device-rest-go/176:/w/workspace/device-rest-go/176:rw,z -v /w/workspace/device-rest-go/176@tmp:/w/workspace/device-rest-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:51:22 $ docker top e6608102ae4976bb6634d00979dc9facb9c7442938684c9b6f0f821f1ef4007d -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:23 + go version 08:51:23 go version go1.23.2 linux/arm64 [Pipeline] } 08:51:23 $ docker stop --time=1 e6608102ae4976bb6634d00979dc9facb9c7442938684c9b6f0f821f1ef4007d 08:51:25 $ docker rm -f --volumes e6608102ae4976bb6634d00979dc9facb9c7442938684c9b6f0f821f1ef4007d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:25 + docker inspect -f . ci-base-image-arm64 08:51:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-22733 does not seem to be running inside a container 08:51:26 $ 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/176 -v /w/workspace/device-rest-go/176:/w/workspace/device-rest-go/176:rw,z -v /w/workspace/device-rest-go/176@tmp:/w/workspace/device-rest-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:51:27 $ docker top a5e6f660d9a063bdd4952a8c911e85d8942e75a811fa06d30f337db45951dc4c -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:28 + git config --global --add safe.directory /w/workspace/device-rest-go/176 [Pipeline] fileExists [Pipeline] sh 08:51:29 + make test 08:51:29 go test ./... -coverprofile=coverage.out ./... 08:51:37 ? github.com/edgexfoundry/device-rest-go [no test files] 08:56:14 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 08:56:18 ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 33.2% of statements 08:56:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:56:19 go vet ./... 08:57:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:57:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:57:27 ./bin/test-attribution-txt.sh [Pipeline] echo 08:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:57:27 $ docker stop --time=1 a5e6f660d9a063bdd4952a8c911e85d8942e75a811fa06d30f337db45951dc4c 08:57:30 $ docker rm -f --volumes a5e6f660d9a063bdd4952a8c911e85d8942e75a811fa06d30f337db45951dc4c [Pipeline] // withDockerContainer [Pipeline] sh 08:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:57:32 Warning: overwriting stash ‘coverage-report’ 08:57:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:57:33 + ls -al . 08:57:33 total 252 08:57:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:51 . 08:57:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:47 .. 08:57:33 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 08:47 .dockerignore 08:57:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:48 .git 08:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:47 .github 08:57:33 -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 08:47 .gitignore 08:57:33 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 08:47 .golangci.yml 08:57:33 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 08:47 Attribution.txt 08:57:33 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 08:47 CHANGELOG.md 08:57:33 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 08:47 Dockerfile 08:57:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:47 GOVERNANCE.md 08:57:33 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 08:47 Jenkinsfile 08:57:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:47 LICENSE 08:57:33 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 08:47 Makefile 08:57:33 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 08:47 OWNERS.md 08:57:33 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 08:47 README.md 08:57:33 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:44 VERSION 08:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:47 bin 08:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:47 cmd 08:57:33 -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 08:56 coverage.out 08:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:47 driver 08:57:33 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 08:47 go.mod 08:57:33 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 08:47 go.sum 08:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:47 openapi 08:57:33 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 08:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:34 + 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=9c2cca6ccca3210e07b712156771ed12440b1abf --label arch=arm64 --label version=3.2.0-dev.24 . 08:57:34 Sending build context to Docker daemon 156.2kB 08:57:34 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 08:57:34 Step 2/26 : FROM ${BASE} AS builder 08:57:34 ---> 271d4487a384 08:57:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:57:34 ---> Running in 709158cb4eeb 08:57:35 Removing intermediate container 709158cb4eeb 08:57:35 ---> 9c708115710d 08:57:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:57:35 ---> Running in 6d842fc59c55 08:57:35 Removing intermediate container 6d842fc59c55 08:57:35 ---> 6a18153d9048 08:57:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:57:35 ---> Running in 246f4e2a46b1 08:57:36 Removing intermediate container 246f4e2a46b1 08:57:36 ---> 4f4d13d3983b 08:57:36 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:57:36 ---> Running in d6398758717e 08:57:36 Removing intermediate container d6398758717e 08:57:36 ---> 19a4c8907bbd 08:57:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:36 ---> Running in f6656496226d 08:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:57:40 OK: 242 MiB in 58 packages 08:57:42 Removing intermediate container f6656496226d 08:57:42 ---> 3b5d8b37f138 08:57:42 Step 8/26 : WORKDIR /device-rest-go 08:57:42 ---> Running in 609d8a65ce7b 08:57:42 Removing intermediate container 609d8a65ce7b 08:57:42 ---> 2f0cb1feedc0 08:57:42 Step 9/26 : COPY go.mod vendor* ./ 08:57:43 ---> 0a589feb7060 08:57:43 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:57:43 ---> Running in 74773b279501 08:57:46 Removing intermediate container 74773b279501 08:57:46 ---> 8d125fe17210 08:57:46 Step 11/26 : COPY . . 08:57:46 ---> 46a3a9d9e99b 08:57:46 Step 12/26 : RUN $MAKE 08:57:47 ---> Running in 388eded6c394 08:57:48 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 09:02:45 Removing intermediate container 388eded6c394 09:02:45 ---> 1f22d179a2b6 09:02:45 Step 13/26 : FROM alpine:3.20 09:02:45 3.20: Pulling from library/alpine 09:02:45 cf04c63912e1: Already exists 09:02:45 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:02:45 Status: Downloaded newer image for alpine:3.20 09:02:45 ---> c157a85ed455 09:02:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:02:45 ---> Running in b313b794fda1 09:02:45 Removing intermediate container b313b794fda1 09:02:45 ---> 6b486fe4c5e5 09:02:45 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 09:02:45 ---> Running in 47aa04f61e35 09:02:45 Removing intermediate container 47aa04f61e35 09:02:45 ---> 08d701134665 09:02:45 Step 16/26 : RUN apk add --update --no-cache dumb-init 09:02:45 ---> Running in 98032accb870 09:02:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:45 (1/1) Installing dumb-init (1.2.5-r3) 09:02:45 Executing busybox-1.36.1-r29.trigger 09:02:45 OK: 9 MiB in 15 packages 09:02:45 Removing intermediate container 98032accb870 09:02:45 ---> 830322b8036c 09:02:45 Step 17/26 : RUN apk --no-cache upgrade 09:02:45 ---> Running in 828aa5cc711d 09:02:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:46 Upgrading critical system libraries and apk-tools: 09:02:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:02:46 Executing busybox-1.36.1-r29.trigger 09:02:46 Continuing the upgrade transaction with new apk-tools: 09:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:02:49 OK: 9 MiB in 15 packages 09:02:50 Removing intermediate container 828aa5cc711d 09:02:50 ---> cadcabb86cbb 09:02:50 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 09:02:52 ---> 4d3476dc5451 09:02:52 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 09:02:53 ---> 33a9fa536dbd 09:02:53 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 09:02:53 ---> 0470b989c4e9 09:02:53 Step 21/26 : EXPOSE 59986 09:02:54 ---> Running in 39c191662222 09:02:54 Removing intermediate container 39c191662222 09:02:54 ---> 97b5346e33aa 09:02:54 Step 22/26 : ENTRYPOINT ["/device-rest"] 09:02:54 ---> Running in d9fddacd551c 09:02:54 Removing intermediate container d9fddacd551c 09:02:54 ---> 183c1c9b6060 09:02:54 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:02:54 ---> Running in fc587a719866 09:02:55 Removing intermediate container fc587a719866 09:02:55 ---> 9ce12b0b8309 09:02:55 Step 24/26 : LABEL arch=arm64 09:02:55 ---> Running in 5df715baf583 09:02:55 Removing intermediate container 5df715baf583 09:02:55 ---> 9939ea9b0f63 09:02:55 Step 25/26 : LABEL git_sha=9c2cca6ccca3210e07b712156771ed12440b1abf 09:02:56 ---> Running in e6c1194ff6a7 09:02:56 Removing intermediate container e6c1194ff6a7 09:02:56 ---> c7e91fa6cf1f 09:02:56 Step 26/26 : LABEL version=3.2.0-dev.24 09:02:56 ---> Running in 17b939fbc416 09:02:56 Removing intermediate container 17b939fbc416 09:02:56 ---> ceaa894f5371 09:02:56 [Warning] One or more build-args [ARCH] were not consumed 09:02:56 Successfully built ceaa894f5371 09:02:56 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 09:02:57 provisioning config files... 09:02:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/176@tmp/config14878686116650308122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:57 ---> ****-login.sh 09:02:57 nexus3.edgexfoundry.org:10001 09:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:57 Configure a credential helper to remove this warning. See 09:02:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:57 09:02:57 Login Succeeded 09:02:57 nexus3.edgexfoundry.org:10002 09:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:58 Configure a credential helper to remove this warning. See 09:02:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:58 09:02:58 Login Succeeded 09:02:58 nexus3.edgexfoundry.org:10003 09:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:58 Configure a credential helper to remove this warning. See 09:02:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:58 09:02:58 Login Succeeded 09:02:58 nexus3.edgexfoundry.org:10004 09:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:59 Configure a credential helper to remove this warning. See 09:02:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:59 09:02:59 Login Succeeded 09:02:59 ****.io 09:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:59 Configure a credential helper to remove this warning. See 09:02:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:59 09:02:59 Login Succeeded 09:02:59 ---> ****-login.sh ends [Pipeline] } 09:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:02:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:03:00 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:03:00 9c2cca6ccca3210e07b712156771ed12440b1abf 09:03:00 latest 09:03:00 3.2.0-dev.24 09:03:00 9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 09:03:00 main 09:03:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf 09:03:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:03:01 2957effba8a6: Preparing 09:03:01 e9f71e333217: Preparing 09:03:01 fcb78984239f: Preparing 09:03:01 2cb049c6ec22: Preparing 09:03:01 6f1e471df061: Preparing 09:03:01 16113d51b718: Preparing 09:03:01 16113d51b718: Waiting 09:03:01 2957effba8a6: Pushed 09:03:01 6f1e471df061: Pushed 09:03:01 e9f71e333217: Pushed 09:03:01 2cb049c6ec22: Pushed 09:03:01 16113d51b718: Layer already exists 09:03:14 fcb78984239f: Pushed 09:03:14 9c2cca6ccca3210e07b712156771ed12440b1abf: digest: sha256:dedddd5b8d10d24adba5fa2bb24bb46cda71921d75a918631f1bb92dec594a3c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:03:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:03:15 2957effba8a6: Preparing 09:03:15 e9f71e333217: Preparing 09:03:15 fcb78984239f: Preparing 09:03:15 2cb049c6ec22: Preparing 09:03:15 6f1e471df061: Preparing 09:03:15 16113d51b718: Preparing 09:03:15 2cb049c6ec22: Layer already exists 09:03:15 6f1e471df061: Layer already exists 09:03:15 2957effba8a6: Layer already exists 09:03:15 fcb78984239f: Layer already exists 09:03:15 e9f71e333217: Layer already exists 09:03:15 16113d51b718: Layer already exists 09:03:15 latest: digest: sha256:dedddd5b8d10d24adba5fa2bb24bb46cda71921d75a918631f1bb92dec594a3c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.24 09:03:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:03:16 2957effba8a6: Preparing 09:03:16 e9f71e333217: Preparing 09:03:16 fcb78984239f: Preparing 09:03:16 2cb049c6ec22: Preparing 09:03:16 6f1e471df061: Preparing 09:03:16 16113d51b718: Preparing 09:03:16 16113d51b718: Waiting 09:03:16 fcb78984239f: Layer already exists 09:03:16 2957effba8a6: Layer already exists 09:03:16 6f1e471df061: Layer already exists 09:03:16 e9f71e333217: Layer already exists 09:03:16 2cb049c6ec22: Layer already exists 09:03:16 16113d51b718: Layer already exists 09:03:16 3.2.0-dev.24: digest: sha256:dedddd5b8d10d24adba5fa2bb24bb46cda71921d75a918631f1bb92dec594a3c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 09:03:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:03:17 2957effba8a6: Preparing 09:03:17 e9f71e333217: Preparing 09:03:17 fcb78984239f: Preparing 09:03:17 2cb049c6ec22: Preparing 09:03:17 6f1e471df061: Preparing 09:03:17 16113d51b718: Preparing 09:03:17 16113d51b718: Waiting 09:03:17 6f1e471df061: Layer already exists 09:03:17 fcb78984239f: Layer already exists 09:03:17 e9f71e333217: Layer already exists 09:03:17 2cb049c6ec22: Layer already exists 09:03:17 2957effba8a6: Layer already exists 09:03:17 16113d51b718: Layer already exists 09:03:17 9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24: digest: sha256:dedddd5b8d10d24adba5fa2bb24bb46cda71921d75a918631f1bb92dec594a3c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 09:03:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:03:18 2957effba8a6: Preparing 09:03:18 e9f71e333217: Preparing 09:03:18 fcb78984239f: Preparing 09:03:18 2cb049c6ec22: Preparing 09:03:18 6f1e471df061: Preparing 09:03:18 16113d51b718: Preparing 09:03:18 16113d51b718: Waiting 09:03:18 e9f71e333217: Layer already exists 09:03:18 6f1e471df061: Layer already exists 09:03:18 fcb78984239f: Layer already exists 09:03:18 2cb049c6ec22: Layer already exists 09:03:18 2957effba8a6: Layer already exists 09:03:18 16113d51b718: Layer already exists 09:03:18 main: digest: sha256:dedddd5b8d10d24adba5fa2bb24bb46cda71921d75a918631f1bb92dec594a3c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:03:18 ===================================================== [Pipeline] echo 09:03:18 taggedImages: 09:03:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf 09:03:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:03:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.24 09:03:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9c2cca6ccca3210e07b712156771ed12440b1abf-3.2.0-dev.24 09:03:18 - 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 09:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:03:19 09:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:03:19 arm64: Pulling from edgex-lftools-log-publisher 09:03:19 8998bd30e6a1: Pulling fs layer 09:03:19 04944245beec: Pulling fs layer 09:03:19 699f458cf7ca: Pulling fs layer 09:03:19 765212b225bb: Pulling fs layer 09:03:19 f23df028b6ca: Pulling fs layer 09:03:19 d65c8cfc05b1: Pulling fs layer 09:03:19 2437ff75d9bd: Pulling fs layer 09:03:19 765212b225bb: Waiting 09:03:19 f23df028b6ca: Waiting 09:03:19 d65c8cfc05b1: Waiting 09:03:19 2437ff75d9bd: Waiting 09:03:19 04944245beec: Verifying Checksum 09:03:19 04944245beec: Download complete 09:03:19 765212b225bb: Verifying Checksum 09:03:19 765212b225bb: Download complete 09:03:20 f23df028b6ca: Verifying Checksum 09:03:20 f23df028b6ca: Download complete 09:03:20 d65c8cfc05b1: Verifying Checksum 09:03:20 d65c8cfc05b1: Download complete 09:03:20 699f458cf7ca: Download complete 09:03:20 8998bd30e6a1: Verifying Checksum 09:03:20 8998bd30e6a1: Download complete 09:03:23 2437ff75d9bd: Verifying Checksum 09:03:23 2437ff75d9bd: Download complete 09:03:25 8998bd30e6a1: Pull complete 09:03:26 04944245beec: Pull complete 09:03:28 699f458cf7ca: Pull complete 09:03:28 765212b225bb: Pull complete 09:03:29 f23df028b6ca: Pull complete 09:03:29 d65c8cfc05b1: Pull complete 09:03:47 2437ff75d9bd: Pull complete 09:03:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:03:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:47 prd-ubuntu20.04-docker-arm64-4c-16g-22733 does not seem to be running inside a container 09:03:47 $ 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/176 -v /w/workspace/device-rest-go/176:/w/workspace/device-rest-go/176:rw,z -v /w/workspace/device-rest-go/176@tmp:/w/workspace/device-rest-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:03:51 $ docker top 57942faab2e3c62e44c5751a6ebc66d0a0d88305405551f814f14695679f3bc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:52 ---> job-cost.sh 09:03:52 lf-activate-venv: SKIPPING 09:03:52 INFO: No Stack... 09:03:52 INFO: Retrieving Pricing Info for: v3-standard-4 09:03:53 INFO: Archiving Costs [Pipeline] sh 09:03:54 + cat /w/workspace/device-rest-go/176/archives/cost.csv 09:03:54 + cut -d, -f6 [Pipeline] lock 09:03:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] 09:03:54 Resource [jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] did not exist. Created. 09:03:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:03:55 /w/workspace/device-rest-go/176@tmp/durable-b80ea32a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:03:56 + echo total: 0.10999999940395355 [Pipeline] stash 09:03:56 Warning: overwriting stash ‘stack-cost’ 09:03:56 Stashed 1 file(s) [Pipeline] } 09:03:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 09:03:56 $ docker stop --time=1 57942faab2e3c62e44c5751a6ebc66d0a0d88305405551f814f14695679f3bc4 09:03:57 $ docker rm -f --volumes 57942faab2e3c62e44c5751a6ebc66d0a0d88305405551f814f14695679f3bc4 [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 09:03:58 provisioning config files... 09:03:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4597972588293820717tmp [Pipeline] { [Pipeline] sh 09:03:58 + set +x 09:03:58 + + curlbash -s -s https://codecov.io/bash -- 09:03:58 09:03:58 09:03:58 _____ _ 09:03:58 / ____| | | 09:03:58 | | ___ __| | ___ ___ _____ __ 09:03:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:03:58 | |___| (_) | (_| | __/ (_| (_) \ V / 09:03:58 \_____\___/ \__,_|\___|\___\___/ \_/ 09:03:58 Bash-1.0.6 09:03:58 09:03:58 09:03:58 ==> git version 2.25.1 found 09:03:58 ==> 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 09:03:58 Release-Date: 2020-01-08 09:03:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:03:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:03:58 ==> Jenkins CI detected. 09:03:58 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 09:03:58 project root: . 09:03:58 --> token set from env 09:03:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:03:58 ==> Running gcov in . (disable via -X gcov) 09:03:58 ==> Python coveragepy not found 09:03:58 ==> Searching for coverage reports in: 09:03:58 + . 09:03:58 -> Found 1 reports 09:03:58 ==> Detecting git/mercurial file structure 09:03:58 ==> Reading reports 09:03:58 + ./coverage.out bytes=14565 09:03:58 ==> Appending adjustments 09:03:58 https://docs.codecov.io/docs/fixing-reports 09:03:59 + Found adjustments 09:03:59 ==> Gzipping contents 09:03:59 4.0K /tmp/codecov.6WpIQq.gz 09:03:59 ==> Uploading reports 09:03:59 url: https://codecov.io 09:03:59 query: branch=main&commit=9c2cca6ccca3210e07b712156771ed12440b1abf&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:59 -> Pinging Codecov 09:03:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9c2cca6ccca3210e07b712156771ed12440b1abf&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:59 -> Uploading to 09:03:59 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/9c2cca6ccca3210e07b712156771ed12440b1abf/084b08fd-fce4-42fd-b1e4-cf9786c49992.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T090358Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4369d415e875a6132701e4261bbc9c5c37196ee15104dc169db07d5236ea4a26 09:03:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:59 Dload Upload Total Spent Left Speed 09:03:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 11492 --:--:-- --:--:-- --:--:-- 11436 100 2333 0 0 100 2333 0 11004 --:--:-- --:--:-- --:--:-- 10953 09:03:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] } 09:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:03:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:03:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:03:59 09:03:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:04:00 latest: Pulling from edgex-devops/edgex-snyk-go 09:04:00 43c4264eed91: Already exists 09:04:00 4cc291be95ef: Already exists 09:04:00 2ac1f1163629: Already exists 09:04:00 5c3c966382ef: Already exists 09:04:00 4f4fb700ef54: Already exists 09:04:00 d9c7d2e4e75e: Pulling fs layer 09:04:00 9c3e1370e548: Pulling fs layer 09:04:00 d9c7d2e4e75e: Verifying Checksum 09:04:00 d9c7d2e4e75e: Download complete 09:04:00 d9c7d2e4e75e: Pull complete 09:04:01 9c3e1370e548: Verifying Checksum 09:04:01 9c3e1370e548: Download complete 09:04:04 9c3e1370e548: Pull complete 09:04:04 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:04:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:04 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:04:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:04:06 $ docker top fe253d6d18ce38eaaca290d697fac4008708c8d4e04d1fb481d34110140654b8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 09:04:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 09:04:07 + set -o pipefail 09:04:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 09:04:13 09:04:13 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 09:04:13 09:04:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/cf07f728-cfd0-492d-a1ed-ebae178689c8 09:04:13 09:04:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:04:13 09:04:13 09:04:13 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 09:04:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:04:13 $ docker stop --time=1 fe253d6d18ce38eaaca290d697fac4008708c8d4e04d1fb481d34110140654b8 09:04:20 $ docker rm -f --volumes fe253d6d18ce38eaaca290d697fac4008708c8d4e04d1fb481d34110140654b8 [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 09:04:21 + git log --format=format:%s -1 9c2cca6ccca3210e07b712156771ed12440b1abf [Pipeline] sh 09:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:22 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:04:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:04:22 $ docker top 0f6bc811214eb79a7e7e5117c598ca9f2298df668388b9c783d8911a76d72b25 -eo pid,comm 09:04:23 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). 09:04:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:23 [ssh-agent] Looking for ssh-agent implementation... 09:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:23 $ docker exec 0f6bc811214eb79a7e7e5117c598ca9f2298df668388b9c783d8911a76d72b25 ssh-agent 09:04:23 SSH_AUTH_SOCK=/tmp/ssh-PnfdOxRdZG2x/agent.32 09:04:23 SSH_AGENT_PID=38 09:04:23 Running ssh-add (command line suppressed) 09:04:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10746016340147850775.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10746016340147850775.key) 09:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:23 + git semver tag 09:04:23 2024-10-14 09:04:23,865 [run_tag] DEBUG tag force:False 09:04:23 2024-10-14 09:04:23,865 [check_head_tag] DEBUG check head tag 09:04:23 2024-10-14 09:04:23,866 [execute] INFO git cat-file --batch-check 09:04:23 2024-10-14 09:04:23,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:04:23 2024-10-14 09:04:23,869 [execute] INFO git cat-file --batch 09:04:23 2024-10-14 09:04:23,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:04:23 2024-10-14 09:04:23,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 2024-10-14 09:04:23,890 [execute] INFO git tag -a v3.2.0-dev.24 -m v3.2.0-dev.24 09:04:23 2024-10-14 09:04:23,890 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.24', '-m', 'v3.2.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 09:04:23 2024-10-14 09:04:23,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 3.2.0-dev.24 [Pipeline] } 09:04:23 $ docker exec --env ******** --env ******** 0f6bc811214eb79a7e7e5117c598ca9f2298df668388b9c783d8911a76d72b25 ssh-agent -k 09:04:24 unset SSH_AUTH_SOCK; 09:04:24 unset SSH_AGENT_PID; 09:04:24 echo Agent pid 38 killed; 09:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:24 + git semver [Pipeline] } 09:04:24 $ docker stop --time=1 0f6bc811214eb79a7e7e5117c598ca9f2298df668388b9c783d8911a76d72b25 09:04:25 $ docker rm -f --volumes 0f6bc811214eb79a7e7e5117c598ca9f2298df668388b9c783d8911a76d72b25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:26 09:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:26 0.23.1-centos7: Pulling from edgex-lftools 09:04:26 ab5ef0e58194: Pulling fs layer 09:04:26 9712f1f96733: Pulling fs layer 09:04:26 63f879dbbcfc: Pulling fs layer 09:04:26 0d9ebad4ef96: Pulling fs layer 09:04:26 e9a5061849ea: Pulling fs layer 09:04:26 d747dcd14b5f: Pulling fs layer 09:04:26 2de7ff778b66: Pulling fs layer 09:04:26 e9a5061849ea: Waiting 09:04:26 0d9ebad4ef96: Waiting 09:04:26 2de7ff778b66: Waiting 09:04:26 d747dcd14b5f: Waiting 09:04:26 9712f1f96733: Verifying Checksum 09:04:26 9712f1f96733: Download complete 09:04:26 63f879dbbcfc: Verifying Checksum 09:04:26 63f879dbbcfc: Download complete 09:04:27 e9a5061849ea: Verifying Checksum 09:04:27 e9a5061849ea: Download complete 09:04:27 d747dcd14b5f: Download complete 09:04:27 0d9ebad4ef96: Verifying Checksum 09:04:27 0d9ebad4ef96: Download complete 09:04:27 ab5ef0e58194: Verifying Checksum 09:04:27 ab5ef0e58194: Download complete 09:04:27 2de7ff778b66: Download complete 09:04:29 ab5ef0e58194: Pull complete 09:04:29 9712f1f96733: Pull complete 09:04:30 63f879dbbcfc: Pull complete 09:04:34 0d9ebad4ef96: Pull complete 09:04:34 e9a5061849ea: Pull complete 09:04:34 d747dcd14b5f: Pull complete 09:04:35 2de7ff778b66: Pull complete 09:04:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:35 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:04:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:04:44 $ docker top c7ba4b39fc280e648702e8b14f9e2195e3a5ea4c28fb2da3791f56d23cd1d269 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:04:44 provisioning config files... 09:04:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10212587863979406484tmp 09:04:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config660628075127577184tmp 09:04:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9338018409690932950tmp [Pipeline] { [Pipeline] echo 09:04:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:04:44 ---> sigul-configuration.sh 09:04:44 gpg: directory `/root/.gnupg' created 09:04:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:04:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:04:44 gpg: keyring `/root/.gnupg/secring.gpg' created 09:04:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:04:44 gpg: CAST5 encrypted data 09:04:44 gpg: encrypted with 1 passphrase 09:04:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:04:45 + mkdir /home/jenkins 09:04:45 + mkdir /home/jenkins/sigul [Pipeline] sh 09:04:45 + 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 09:04:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:04:45 ---> sigul-install.sh 09:04:45 Sigul already installed; skipping installation. [Pipeline] sh 09:04:46 + git tag --list 09:04:46 v1.0.0 09:04:46 v1.1.0 09:04:46 v1.1.1 09:04:46 v1.1.2 09:04:46 v1.2.0 09:04:46 v1.2.1 09:04:46 v2.0.0 09:04:46 v2.1.0 09:04:46 v2.1.1 09:04:46 v2.2.0 09:04:46 v2.3.0 09:04:46 v3.0 09:04:46 v3.0.0 09:04:46 v3.1 09:04:46 v3.1.0 09:04:46 v3.1.0-dev.1 09:04:46 v3.1.0-dev.10 09:04:46 v3.1.0-dev.11 09:04:46 v3.1.0-dev.12 09:04:46 v3.1.0-dev.13 09:04:46 v3.1.0-dev.14 09:04:46 v3.1.0-dev.15 09:04:46 v3.1.0-dev.16 09:04:46 v3.1.0-dev.17 09:04:46 v3.1.0-dev.18 09:04:46 v3.1.0-dev.19 09:04:46 v3.1.0-dev.2 09:04:46 v3.1.0-dev.20 09:04:46 v3.1.0-dev.21 09:04:46 v3.1.0-dev.22 09:04:46 v3.1.0-dev.23 09:04:46 v3.1.0-dev.24 09:04:46 v3.1.0-dev.25 09:04:46 v3.1.0-dev.26 09:04:46 v3.1.0-dev.27 09:04:46 v3.1.0-dev.28 09:04:46 v3.1.0-dev.29 09:04:46 v3.1.0-dev.3 09:04:46 v3.1.0-dev.30 09:04:46 v3.1.0-dev.31 09:04:46 v3.1.0-dev.32 09:04:46 v3.1.0-dev.4 09:04:46 v3.1.0-dev.5 09:04:46 v3.1.0-dev.6 09:04:46 v3.1.0-dev.7 09:04:46 v3.1.0-dev.8 09:04:46 v3.1.0-dev.9 09:04:46 v3.1.1 09:04:46 v3.2.0-dev.1 09:04:46 v3.2.0-dev.10 09:04:46 v3.2.0-dev.11 09:04:46 v3.2.0-dev.12 09:04:46 v3.2.0-dev.13 09:04:46 v3.2.0-dev.14 09:04:46 v3.2.0-dev.15 09:04:46 v3.2.0-dev.16 09:04:46 v3.2.0-dev.17 09:04:46 v3.2.0-dev.18 09:04:46 v3.2.0-dev.19 09:04:46 v3.2.0-dev.2 09:04:46 v3.2.0-dev.20 09:04:46 v3.2.0-dev.21 09:04:46 v3.2.0-dev.22 09:04:46 v3.2.0-dev.23 09:04:46 v3.2.0-dev.24 09:04:46 v3.2.0-dev.3 09:04:46 v3.2.0-dev.4 09:04:46 v3.2.0-dev.5 09:04:46 v3.2.0-dev.6 09:04:46 v3.2.0-dev.7 09:04:46 v3.2.0-dev.8 09:04:46 v3.2.0-dev.9 [Pipeline] sh 09:04:46 + lftools sign git-tag v3.2.0-dev.24 09:04:46 Signing Git tag with Sigul... 09:04:46 Signing v3.2.0-dev.24 [Pipeline] echo 09:04:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:04:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:04:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:04:47 $ docker stop --time=1 c7ba4b39fc280e648702e8b14f9e2195e3a5ea4c28fb2da3791f56d23cd1d269 09:04:49 $ docker rm -f --volumes c7ba4b39fc280e648702e8b14f9e2195e3a5ea4c28fb2da3791f56d23cd1d269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:04:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:49 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:04:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:04:50 $ docker top 4f2619571aeb08374b13cbc56d86bdbcdb144c648a2cba63b5b8d34726c4647d -eo pid,comm 09:04:50 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). 09:04:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:50 [ssh-agent] Looking for ssh-agent implementation... 09:04:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:50 $ docker exec 4f2619571aeb08374b13cbc56d86bdbcdb144c648a2cba63b5b8d34726c4647d ssh-agent 09:04:50 SSH_AUTH_SOCK=/tmp/ssh-2kNdAQVRBDGb/agent.31 09:04:50 SSH_AGENT_PID=37 09:04:50 Running ssh-add (command line suppressed) 09:04:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2411159531437694528.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2411159531437694528.key) 09:04:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:51 + git semver bump pre 09:04:51 2024-10-14 09:04:51,216 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:51 2024-10-14 09:04:51,216 [bump_version] DEBUG bumping version:3.2.0-dev.24 on axis:pre with prefix:dev 09:04:51 2024-10-14 09:04:51,216 [bump_version] DEBUG bumped version:3.2.0-dev.25 09:04:51 2024-10-14 09:04:51,216 [write_version] DEBUG write version:3.2.0-dev.25 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 09:04:51 2024-10-14 09:04:51,216 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:51 2024-10-14 09:04:51,216 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:51 2024-10-14 09:04:51,219 [execute] INFO git cat-file --batch-check 09:04:51 2024-10-14 09:04:51,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:51 2024-10-14 09:04:51,222 [execute] INFO git cat-file --batch 09:04:51 2024-10-14 09:04:51,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:51 2024-10-14 09:04:51,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:51 3.2.0-dev.25 [Pipeline] } 09:04:51 $ docker exec --env ******** --env ******** 4f2619571aeb08374b13cbc56d86bdbcdb144c648a2cba63b5b8d34726c4647d ssh-agent -k 09:04:51 unset SSH_AUTH_SOCK; 09:04:51 unset SSH_AGENT_PID; 09:04:51 echo Agent pid 37 killed; 09:04:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:51 + git semver [Pipeline] } 09:04:52 $ docker stop --time=1 4f2619571aeb08374b13cbc56d86bdbcdb144c648a2cba63b5b8d34726c4647d 09:04:53 $ docker rm -f --volumes 4f2619571aeb08374b13cbc56d86bdbcdb144c648a2cba63b5b8d34726c4647d [Pipeline] // withDockerContainer [Pipeline] sh 09:04:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:54 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:04:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:04:54 $ docker top 1f5c39a91441427d7f4b0f80233359b14f383b165b7b1d9568bc9a33e3e541bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:54 [ssh-agent] Looking for ssh-agent implementation... 09:04:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:54 $ docker exec 1f5c39a91441427d7f4b0f80233359b14f383b165b7b1d9568bc9a33e3e541bc ssh-agent 09:04:54 SSH_AUTH_SOCK=/tmp/ssh-LvsbzmhL9gAz/agent.32 09:04:54 SSH_AGENT_PID=38 09:04:54 Running ssh-add (command line suppressed) 09:04:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7977931495836219237.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7977931495836219237.key) 09:04:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:55 + git semver push 09:04:55 2024-10-14 09:04:55,290 [run_push] DEBUG push 09:04:55 2024-10-14 09:04:55,290 [execute] INFO git cat-file --batch-check 09:04:55 2024-10-14 09:04:55,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:55 2024-10-14 09:04:55,294 [execute] INFO git rev-list ad18c86365884436a3f761eff9082464eb676027 -- 09:04:55 2024-10-14 09:04:55,295 [execute] DEBUG Popen(['git', 'rev-list', 'ad18c86365884436a3f761eff9082464eb676027', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:55 2024-10-14 09:04:55,304 [execute] INFO git fetch -v origin 09:04:55 2024-10-14 09:04:55,304 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:04:55 2024-10-14 09:04:55,819 [run_push] DEBUG no remote changes detected 09:04:55 2024-10-14 09:04:55,819 [execute] INFO git push origin semver 09:04:55 2024-10-14 09:04:55,820 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:57 2024-10-14 09:04:56,591 [run_push] DEBUG push all version tags 09:04:57 2024-10-14 09:04:56,592 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:04:57 2024-10-14 09:04:56,592 [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) 09:04:57 2024-10-14 09:04:57,245 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:57 3.2.0-dev.25 [Pipeline] } 09:04:57 $ docker exec --env ******** --env ******** 1f5c39a91441427d7f4b0f80233359b14f383b165b7b1d9568bc9a33e3e541bc ssh-agent -k 09:04:57 unset SSH_AUTH_SOCK; 09:04:57 unset SSH_AGENT_PID; 09:04:57 echo Agent pid 38 killed; 09:04:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:58 + git semver [Pipeline] } 09:04:58 $ docker stop --time=1 1f5c39a91441427d7f4b0f80233359b14f383b165b7b1d9568bc9a33e3e541bc 09:04:59 $ docker rm -f --volumes 1f5c39a91441427d7f4b0f80233359b14f383b165b7b1d9568bc9a33e3e541bc [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 09:05:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:05:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:05:00 total 16 09:05:00 drwxr-xr-x 3 root root 4096 Oct 14 08:47 . 09:05:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 09:04 .. 09:05:00 drwxr-xr-x 2 root root 4096 Oct 14 08:47 cost 09:05:00 -rw-r--r-- 1 root root 86 Oct 14 08:47 cost.csv 09:05:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:05:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:05:00 total 16 09:05:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:47 . 09:05:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 09:04 .. 09:05:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 08:47 cost 09:05:00 -rw-r--r-- 1 jenkins jenkins 86 Oct 14 08:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:05:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:05:01 ---> package-listing.sh 09:05:01 ++ facter osfamily 09:05:01 ++ tr '[:upper:]' '[:lower:]' 09:05:01 + OS_FAMILY=debian 09:05:01 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:05:01 + START_PACKAGES=/tmp/packages_start.txt 09:05:01 + END_PACKAGES=/tmp/packages_end.txt 09:05:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:05:01 + PACKAGES=/tmp/packages_start.txt 09:05:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:05:01 + PACKAGES=/tmp/packages_end.txt 09:05:01 + case "${OS_FAMILY}" in 09:05:01 + dpkg -l 09:05:01 + grep '^ii' 09:05:01 + '[' -f /tmp/packages_start.txt ']' 09:05:01 + '[' -f /tmp/packages_end.txt ']' 09:05:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:05:01 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:05:01 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:05:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:05:01 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 09:05:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:02 prd-ubuntu20.04-docker-8c-8g-22727 does not seem to be running inside a container 09:05:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:05:02 $ docker top fbf081f9251cc8da805bb8b56a86e52724a3ca27f65e97cdce2dc33d71c1993e -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:03 + touch /tmp/pre-build-complete [Pipeline] sh 09:05:03 + mkdir -p /var/log/sysstat [Pipeline] sh 09:05:03 + ls /var/log/sa-host 09:05:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:05:03 provisioning config files... 09:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17896307424073797542tmp [Pipeline] { [Pipeline] echo 09:05:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:05:04 ---> create-netrc.sh [Pipeline] } 09:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:05:04 ---> python-tools-install.sh [Pipeline] echo 09:05:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:05:04 ---> sudo-logs.sh 09:05:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:05:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:05:05 ---> job-cost.sh 09:05:05 lf-activate-venv: SKIPPING 09:05:05 DEBUG: total: 0.2199999988079071 09:05:05 INFO: Retrieving Stack Cost... 09:05:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:05 INFO: Archiving Costs [Pipeline] echo 09:05:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:05:05 ---> logs-deploy.sh 09:05:05 lf-activate-venv: SKIPPING 09:05:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/176 09:05:05 INFO: archiving workspace using pattern(s): 09:05:06 Archives upload complete. 09:05:06 INFO: archiving logs to Nexus