Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b51f885a24fd135da4abf50d3948cd78a691d64 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-ssh13134942743440971367.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-ssh2167342236937440106.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-ssh1997058623577275476.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-ssh17179191459423665177.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-ssh16846129805901208923.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 ‘prd-ubuntu20.04-docker-8c-8g-15717’ Running on prd-ubuntu20.04-docker-8c-8g-15787 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 3b51f885a24fd135da4abf50d3948cd78a691d64 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 Commit message: "Merge pull request #414 from jinlinGuan/golang-1.23" > git rev-list --no-walk 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:55:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:55:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:55:23 ========================================================= 06:55:23 EdgeX Global Pipelines Version Info 06:55:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:55:24 ------------------- 06:55:24 stable info: 06:55:24 ------------------- 06:55:24 Commited By: Ginny Guan ginny@iotechsys.com 06:55:24 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:55:24 Message: update stable to v1.0.265 06:55:25 ------------------- 06:55:25 experimental info: 06:55:25 ------------------- 06:55:25 Commited By: Cherry Wang cherry@iotechsys.com 06:55:25 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:55:25 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b51f88 [Pipeline] echo 06:55:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:26 provisioning config files... 06:55:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12883751521922225363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:26 ---> ****-login.sh 06:55:26 nexus3.edgexfoundry.org:10001 06:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:26 Configure a credential helper to remove this warning. See 06:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:26 06:55:26 Login Succeeded 06:55:26 nexus3.edgexfoundry.org:10002 06:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:26 Configure a credential helper to remove this warning. See 06:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:26 06:55:26 Login Succeeded 06:55:26 nexus3.edgexfoundry.org:10003 06:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:26 Configure a credential helper to remove this warning. See 06:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:26 06:55:26 Login Succeeded 06:55:26 nexus3.edgexfoundry.org:10004 06:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:27 Configure a credential helper to remove this warning. See 06:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:27 06:55:27 Login Succeeded 06:55:27 ****.io 06:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:27 Configure a credential helper to remove this warning. See 06:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:27 06:55:27 Login Succeeded 06:55:27 ---> ****-login.sh ends [Pipeline] } 06:55:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:55:27 + git rev-list -1 --merges 3b51f885a24fd135da4abf50d3948cd78a691d64~1..3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] echo 06:55:27 -----------> git rev-list -1 --merges 3b51f885a24fd135da4abf50d3948cd78a691d64~1..3b51f885a24fd135da4abf50d3948cd78a691d64 3b51f885a24fd135da4abf50d3948cd78a691d64 06:55:27 3b51f885a24fd135da4abf50d3948cd78a691d64 [false] [Pipeline] sh 06:55:28 + git log --format=format:%s -1 3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] echo 06:55:28 ========================================================= 06:55:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:55:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:28 + git log --format=format:%s -1 3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] echo 06:55:28 [semverPrep] GIT_COMMIT: 3b51f885a24fd135da4abf50d3948cd78a691d64, Commit Message: Merge pull request #414 from jinlinGuan/golang-1.23 [Pipeline] echo 06:55:28 [semverPrep] This is not a build commit. [Pipeline] sh 06:55:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:55:28 + grep -v github /etc/ssh/ssh_known_hosts 06:55:28 + [ -e /tmp/ssh_known_hosts ] 06:55:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:55:28 + sudo tee -a+ /etc/ssh/ssh_known_hosts 06:55:28 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:55:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:29 06:55:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:29 0.1.4: Pulling from edgex-devops/py-git-semver 06:55:29 b85a868b505f: Pulling fs layer 06:55:29 e2be974225ed: Pulling fs layer 06:55:29 339a4e72a1f5: Pulling fs layer 06:55:29 988bab9f4d93: Pulling fs layer 06:55:29 1469e6f7b9e6: Pulling fs layer 06:55:29 eaf3925da568: Pulling fs layer 06:55:29 bab4dde63d76: Pulling fs layer 06:55:29 bde34c3a00c8: Pulling fs layer 06:55:29 b352a97aabf1: Pulling fs layer 06:55:29 4872d77fe225: Pulling fs layer 06:55:29 5851b861e8e6: Pulling fs layer 06:55:29 b352a97aabf1: Waiting 06:55:29 4872d77fe225: Waiting 06:55:29 bab4dde63d76: Waiting 06:55:29 5851b861e8e6: Waiting 06:55:29 bde34c3a00c8: Waiting 06:55:29 988bab9f4d93: Waiting 06:55:29 1469e6f7b9e6: Waiting 06:55:29 eaf3925da568: Waiting 06:55:29 e2be974225ed: Verifying Checksum 06:55:29 e2be974225ed: Download complete 06:55:29 988bab9f4d93: Verifying Checksum 06:55:29 988bab9f4d93: Download complete 06:55:30 1469e6f7b9e6: Verifying Checksum 06:55:30 1469e6f7b9e6: Download complete 06:55:30 eaf3925da568: Verifying Checksum 06:55:30 eaf3925da568: Download complete 06:55:30 339a4e72a1f5: Verifying Checksum 06:55:30 339a4e72a1f5: Download complete 06:55:30 bde34c3a00c8: Download complete 06:55:30 b352a97aabf1: Verifying Checksum 06:55:30 b352a97aabf1: Download complete 06:55:30 4872d77fe225: Download complete 06:55:30 5851b861e8e6: Download complete 06:55:30 b85a868b505f: Verifying Checksum 06:55:30 b85a868b505f: Download complete 06:55:30 bab4dde63d76: Verifying Checksum 06:55:30 bab4dde63d76: Download complete 06:55:31 b85a868b505f: Pull complete 06:55:31 e2be974225ed: Pull complete 06:55:31 339a4e72a1f5: Pull complete 06:55:31 988bab9f4d93: Pull complete 06:55:32 1469e6f7b9e6: Pull complete 06:55:32 eaf3925da568: Pull complete 06:55:34 bab4dde63d76: Pull complete 06:55:34 bde34c3a00c8: Pull complete 06:55:34 b352a97aabf1: Pull complete 06:55:34 4872d77fe225: Pull complete 06:55:34 5851b861e8e6: Pull complete 06:55:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:55:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:55:34 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 06:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:55:37 $ docker top d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 -eo pid,comm 06:55:37 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). 06:55:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:55:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:55:37 [ssh-agent] Looking for ssh-agent implementation... 06:55:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:55:37 $ docker exec d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 ssh-agent 06:55:37 SSH_AUTH_SOCK=/tmp/ssh-X1CsvTRk9irN/agent.32 06:55:37 SSH_AGENT_PID=38 06:55:37 Running ssh-add (command line suppressed) 06:55:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6790704321630471366.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6790704321630471366.key) 06:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:55:38 + git tag --points-at HEAD [Pipeline] } 06:55:38 $ docker exec --env ******** --env ******** d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 ssh-agent -k 06:55:38 unset SSH_AUTH_SOCK; 06:55:38 unset SSH_AGENT_PID; 06:55:38 echo Agent pid 38 killed; 06:55:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:55:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:55:38 [ssh-agent] Looking for ssh-agent implementation... 06:55:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:55:38 $ docker exec d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 ssh-agent 06:55:38 SSH_AUTH_SOCK=/tmp/ssh-ysOBNxTb93Ca/agent.71 06:55:38 SSH_AGENT_PID=77 06:55:38 Running ssh-add (command line suppressed) 06:55:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10668839979461762486.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10668839979461762486.key) 06:55:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:55:39 + git semver init 06:55:39 2024-10-04 06:55:39,339 [run_init] DEBUG init version:0.0.0 force:False 06:55:39 2024-10-04 06:55:39,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 06:55:39 2024-10-04 06:55:39,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:55:39 2024-10-04 06:55:39,340 [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) 06:55:40 2024-10-04 06:55:40,544 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 06:55:40 2024-10-04 06:55:40,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 06:55:40 2024-10-04 06:55:40,545 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:55:40 2024-10-04 06:55:40,545 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:55:40 3.2.0-dev.22 [Pipeline] } 06:55:40 $ docker exec --env ******** --env ******** d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 ssh-agent -k 06:55:40 unset SSH_AUTH_SOCK; 06:55:40 unset SSH_AGENT_PID; 06:55:40 echo Agent pid 77 killed; 06:55:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:55:41 + git semver [Pipeline] } 06:55:41 $ docker stop --time=1 d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 06:55:42 $ docker rm -f --volumes d2a7133109f1de9777156ec6640d5d5e076032e68911c3cf676b31b3c3d6a344 [Pipeline] // withDockerContainer [Pipeline] sh 06:55:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:55:43 Stashed 1 file(s) [Pipeline] echo 06:55:43 [edgeXSemver]: initialized semver on version 3.2.0-dev.22 [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 06:55:43 provisioning config files... 06:55:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4656509940466068873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:43 ---> ****-login.sh 06:55:43 nexus3.edgexfoundry.org:10001 06:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:43 Configure a credential helper to remove this warning. See 06:55:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:43 06:55:43 Login Succeeded 06:55:43 nexus3.edgexfoundry.org:10002 06:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:43 Configure a credential helper to remove this warning. See 06:55:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:43 06:55:43 Login Succeeded 06:55:43 nexus3.edgexfoundry.org:10003 06:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:44 Configure a credential helper to remove this warning. See 06:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:44 06:55:44 Login Succeeded 06:55:44 nexus3.edgexfoundry.org:10004 06:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:44 Configure a credential helper to remove this warning. See 06:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:44 06:55:44 Login Succeeded 06:55:44 ****.io 06:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:44 Configure a credential helper to remove this warning. See 06:55:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:44 06:55:44 Login Succeeded 06:55:44 ---> ****-login.sh ends [Pipeline] } 06:55:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:44 ========================================================= 06:55:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:55:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:44 + 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 . 06:55:44 Sending build context to Docker daemon 16.61MB 06:55:44 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:55:44 Step 2/12 : FROM ${BASE} AS builder 06:55:44 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:55:44 43c4264eed91: Pulling fs layer 06:55:44 4cc291be95ef: Pulling fs layer 06:55:44 2ac1f1163629: Pulling fs layer 06:55:44 5c3c966382ef: Pulling fs layer 06:55:44 4f4fb700ef54: Pulling fs layer 06:55:44 5d5c8e513c77: Pulling fs layer 06:55:44 9f66e0745190: Pulling fs layer 06:55:44 f49a43e4bbc0: Pulling fs layer 06:55:44 5c3c966382ef: Waiting 06:55:44 4f4fb700ef54: Waiting 06:55:44 5d5c8e513c77: Waiting 06:55:44 9f66e0745190: Waiting 06:55:44 561ebcabdf7f: Pulling fs layer 06:55:44 f49a43e4bbc0: Waiting 06:55:44 561ebcabdf7f: Waiting 06:55:45 4cc291be95ef: Verifying Checksum 06:55:45 4cc291be95ef: Download complete 06:55:45 5c3c966382ef: Verifying Checksum 06:55:45 5c3c966382ef: Download complete 06:55:45 4f4fb700ef54: Verifying Checksum 06:55:45 4f4fb700ef54: Download complete 06:55:45 5d5c8e513c77: Verifying Checksum 06:55:45 5d5c8e513c77: Download complete 06:55:45 43c4264eed91: Verifying Checksum 06:55:45 43c4264eed91: Download complete 06:55:45 9f66e0745190: Verifying Checksum 06:55:45 9f66e0745190: Download complete 06:55:45 43c4264eed91: Pull complete 06:55:45 561ebcabdf7f: Verifying Checksum 06:55:45 561ebcabdf7f: Download complete 06:55:45 4cc291be95ef: Pull complete 06:55:45 2ac1f1163629: Verifying Checksum 06:55:45 2ac1f1163629: Download complete 06:55:45 f49a43e4bbc0: Verifying Checksum 06:55:45 f49a43e4bbc0: Download complete 06:55:49 2ac1f1163629: Pull complete 06:55:49 5c3c966382ef: Pull complete 06:55:49 4f4fb700ef54: Pull complete 06:55:49 5d5c8e513c77: Pull complete 06:55:49 9f66e0745190: Pull complete 06:55:52 f49a43e4bbc0: Pull complete 06:55:52 561ebcabdf7f: Pull complete 06:55:52 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:55:52 ---> 3a752c3f9dda 06:55:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:55:56 ---> Running in eb9a62256875 06:55:56 Removing intermediate container eb9a62256875 06:55:56 ---> 73c42f4590c6 06:55:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:55:56 ---> Running in 30e4c24c5214 06:55:56 Removing intermediate container 30e4c24c5214 06:55:56 ---> c3c80116b751 06:55:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:55:56 ---> Running in 6770ffc8a701 06:55:56 Removing intermediate container 6770ffc8a701 06:55:56 ---> 10b230b3e62b 06:55:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:55:56 ---> Running in a5de49a6167f 06:55:56 Removing intermediate container a5de49a6167f 06:55:56 ---> 67e327a106cb 06:55:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:55:56 ---> Running in e73ba709a811 06:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:55:57 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:55:57 (2/4) Installing libedit (20240517.3.1-r0) 06:55:57 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:55:57 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:55:57 Executing busybox-1.36.1-r29.trigger 06:55:57 OK: 250 MiB in 58 packages 06:55:57 Removing intermediate container e73ba709a811 06:55:57 ---> 861b6247042f 06:55:57 Step 8/12 : WORKDIR /device-rest-go 06:55:57 ---> Running in 17eb28e454ea 06:55:57 Removing intermediate container 17eb28e454ea 06:55:57 ---> fe4a4912455d 06:55:57 Step 9/12 : COPY go.mod vendor* ./ 06:55:58 ---> 6f6e66ee4494 06:55:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:55:58 ---> Running in 04ae85f02f26 06:55:58 Still waiting to schedule task 06:55:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15783’ 06:56:44 Removing intermediate container 04ae85f02f26 06:56:44 ---> 85178cb10aa8 06:56:44 Step 11/12 : COPY . . 06:56:44 ---> 347089388ea4 06:56:44 Step 12/12 : RUN $MAKE 06:56:44 ---> Running in 705de69c195f 06:56:44 noop 06:56:44 Removing intermediate container 705de69c195f 06:56:44 ---> a0384ae20692 06:56:44 Successfully built a0384ae20692 06:56:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:45 + docker inspect -f . ci-base-image-x86_64 06:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:45 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 06:56:45 $ 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 06:56:45 $ docker top fc8e8ef6ecdea563bab0056ba980e91a54836e735701ccba7c3a7768bd0c9c62 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:46 + go version 06:56:46 go version go1.23.2 linux/amd64 [Pipeline] } 06:56:46 $ docker stop --time=1 fc8e8ef6ecdea563bab0056ba980e91a54836e735701ccba7c3a7768bd0c9c62 06:56:47 $ docker rm -f --volumes fc8e8ef6ecdea563bab0056ba980e91a54836e735701ccba7c3a7768bd0c9c62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:47 + docker inspect -f . ci-base-image-x86_64 06:56:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:47 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 06:56:47 $ 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 06:56:48 $ docker top 739618ec447874596c9f88769c8d72cecea77f1012a4511d3b778e1bc40a13a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 06:56:48 + make test 06:56:48 go test ./... -coverprofile=coverage.out ./... 06:56:50 ? github.com/edgexfoundry/device-rest-go [no test files] 06:57:12 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 06:57:12 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements 06:57:20 go vet ./... 06:57:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:57:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:57:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:57:27 $ docker stop --time=1 739618ec447874596c9f88769c8d72cecea77f1012a4511d3b778e1bc40a13a7 06:57:31 $ docker rm -f --volumes 739618ec447874596c9f88769c8d72cecea77f1012a4511d3b778e1bc40a13a7 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:57:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:57:32 + ls -al . 06:57:32 total 256 06:57:32 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 06:56 . 06:57:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:55 .. 06:57:32 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 06:55 .dockerignore 06:57:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:57 .git 06:57:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:55 .github 06:57:32 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 06:55 .gitignore 06:57:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 06:55 .golangci.yml 06:57:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:55 .semver 06:57:32 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 06:55 Attribution.txt 06:57:32 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 06:55 CHANGELOG.md 06:57:32 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 06:55 Dockerfile 06:57:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:55 GOVERNANCE.md 06:57:32 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 06:55 Jenkinsfile 06:57:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 06:55 LICENSE 06:57:32 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 06:55 Makefile 06:57:32 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 06:55 OWNERS.md 06:57:32 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 06:55 README.md 06:57:32 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 06:55 VERSION 06:57:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:55 bin 06:57:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:55 cmd 06:57:32 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 06:57 coverage.out 06:57:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:55 driver 06:57:32 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 06:55 go.mod 06:57:32 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 06:55 go.sum 06:57:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:55 openapi 06:57:32 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 06:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:33 + 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=3b51f885a24fd135da4abf50d3948cd78a691d64 --label arch=amd64 --label version=3.2.0-dev.22 . 06:57:33 Sending build context to Docker daemon 16.62MB 06:57:33 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:57:33 Step 2/26 : FROM ${BASE} AS builder 06:57:33 ---> a0384ae20692 06:57:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:57:33 ---> Running in ffde5a2f8a8b 06:57:33 Removing intermediate container ffde5a2f8a8b 06:57:33 ---> eca1b9628d85 06:57:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:57:33 ---> Running in 3b6a15fffaba 06:57:33 Removing intermediate container 3b6a15fffaba 06:57:33 ---> 3120b21cd907 06:57:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:57:33 ---> Running in 7381c398c7e2 06:57:33 Removing intermediate container 7381c398c7e2 06:57:33 ---> e0d1f4ed2ec5 06:57:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:57:33 ---> Running in 2e55b38b1117 06:57:33 Removing intermediate container 2e55b38b1117 06:57:33 ---> e9562f0d21a7 06:57:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:57:33 ---> Running in bd00cd63764a 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:57:34 OK: 250 MiB in 58 packages 06:57:34 Removing intermediate container bd00cd63764a 06:57:34 ---> ec8ee3e1d2ce 06:57:34 Step 8/26 : WORKDIR /device-rest-go 06:57:34 ---> Running in 4a1e0c92ed5d 06:57:35 Removing intermediate container 4a1e0c92ed5d 06:57:35 ---> 632cd1011135 06:57:35 Step 9/26 : COPY go.mod vendor* ./ 06:57:35 ---> ce1a824181b6 06:57:35 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:35 ---> Running in ac2ef636dd8b 06:57:36 Removing intermediate container ac2ef636dd8b 06:57:36 ---> 63f6a7df5ab9 06:57:36 Step 11/26 : COPY . . 06:57:36 ---> 1f5855c54691 06:57:36 Step 12/26 : RUN $MAKE 06:57:36 ---> Running in ad3e02b702e8 06:57:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd 06:58:15 Removing intermediate container ad3e02b702e8 06:58:15 ---> ca42bcfee1be 06:58:15 Step 13/26 : FROM alpine:3.20 06:58:15 3.20: Pulling from library/alpine 06:58:15 43c4264eed91: Already exists 06:58:15 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:58:15 Status: Downloaded newer image for alpine:3.20 06:58:15 ---> 91ef0af61f39 06:58:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:58:15 ---> Running in 92b5574fbc1f 06:58:15 Removing intermediate container 92b5574fbc1f 06:58:15 ---> 9a85501d62ad 06:58:15 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 06:58:15 ---> Running in 25ea5c331337 06:58:15 Removing intermediate container 25ea5c331337 06:58:15 ---> 99d295035bb3 06:58:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:58:15 ---> Running in b2096ea3009a 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:15 (1/1) Installing dumb-init (1.2.5-r3) 06:58:15 Executing busybox-1.36.1-r29.trigger 06:58:15 OK: 8 MiB in 15 packages 06:58:15 Removing intermediate container b2096ea3009a 06:58:15 ---> fe2402d9aa14 06:58:15 Step 17/26 : RUN apk --no-cache upgrade 06:58:15 ---> Running in 0e5d44b6ade6 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:15 Upgrading critical system libraries and apk-tools: 06:58:15 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:58:15 Executing busybox-1.36.1-r29.trigger 06:58:15 Continuing the upgrade transaction with new apk-tools: 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:15 OK: 8 MiB in 15 packages 06:58:15 Removing intermediate container 0e5d44b6ade6 06:58:15 ---> 02d6b341da08 06:58:15 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 06:58:15 ---> 6476f468d328 06:58:15 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 06:58:15 ---> a6e83bf0325b 06:58:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 06:58:15 ---> 83a1049efd17 06:58:15 Step 21/26 : EXPOSE 59986 06:58:15 ---> Running in 50acbbb5ec57 06:58:15 Removing intermediate container 50acbbb5ec57 06:58:15 ---> 8d5bfcba8be6 06:58:15 Step 22/26 : ENTRYPOINT ["/device-rest"] 06:58:15 ---> Running in 09f6bb9a313c 06:58:15 Removing intermediate container 09f6bb9a313c 06:58:15 ---> 79bc9acc6bb2 06:58:15 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:58:15 ---> Running in c70ec56e62c5 06:58:15 Removing intermediate container c70ec56e62c5 06:58:15 ---> 8f62f5f2e17e 06:58:15 Step 24/26 : LABEL arch=amd64 06:58:15 ---> Running in 6f05c04092f9 06:58:15 Removing intermediate container 6f05c04092f9 06:58:15 ---> da7fa3c97568 06:58:15 Step 25/26 : LABEL git_sha=3b51f885a24fd135da4abf50d3948cd78a691d64 06:58:15 ---> Running in b8d8fa918fe9 06:58:15 Removing intermediate container b8d8fa918fe9 06:58:15 ---> fb0f71122638 06:58:15 Step 26/26 : LABEL version=3.2.0-dev.22 06:58:15 ---> Running in e5c580d5ceb6 06:58:15 Removing intermediate container e5c580d5ceb6 06:58:15 ---> a3dee504a547 06:58:15 [Warning] One or more build-args [ARCH] were not consumed 06:58:15 Successfully built a3dee504a547 06:58:15 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:15 provisioning config files... 06:58:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8140761707211407188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:16 ---> ****-login.sh 06:58:16 nexus3.edgexfoundry.org:10001 06:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:16 Configure a credential helper to remove this warning. See 06:58:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:16 06:58:16 Login Succeeded 06:58:16 nexus3.edgexfoundry.org:10002 06:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:16 Configure a credential helper to remove this warning. See 06:58:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:16 06:58:16 Login Succeeded 06:58:16 nexus3.edgexfoundry.org:10003 06:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:16 Configure a credential helper to remove this warning. See 06:58:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:16 06:58:16 Login Succeeded 06:58:16 nexus3.edgexfoundry.org:10004 06:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:16 Configure a credential helper to remove this warning. See 06:58:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:16 06:58:16 Login Succeeded 06:58:16 ****.io 06:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:16 Configure a credential helper to remove this warning. See 06:58:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:16 06:58:16 Login Succeeded 06:58:16 ---> ****-login.sh ends [Pipeline] } 06:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:58:16 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:58:16 3b51f885a24fd135da4abf50d3948cd78a691d64 06:58:16 latest 06:58:16 3.2.0-dev.22 06:58:16 3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 06:58:16 main 06:58:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64 06:58:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:58:17 ce3286f04192: Preparing 06:58:17 b8ac5456b0dd: Preparing 06:58:17 e51fbf6eec76: Preparing 06:58:17 ea1001c088f6: Preparing 06:58:17 7b55fc40114d: Preparing 06:58:17 63ca1fbb43ae: Preparing 06:58:17 63ca1fbb43ae: Waiting 06:58:17 ce3286f04192: Pushed 06:58:17 ea1001c088f6: Pushed 06:58:17 63ca1fbb43ae: Layer already exists 06:58:17 b8ac5456b0dd: Pushed 06:58:17 7b55fc40114d: Pushed 06:58:20 e51fbf6eec76: Pushed 06:58:20 3b51f885a24fd135da4abf50d3948cd78a691d64: digest: sha256:3b96f4bb94a9b2d4d008e0437d13c573f4d099da69e4787ae443ccc8b4c40693 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:58:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:58:21 ce3286f04192: Preparing 06:58:21 b8ac5456b0dd: Preparing 06:58:21 e51fbf6eec76: Preparing 06:58:21 ea1001c088f6: Preparing 06:58:21 7b55fc40114d: Preparing 06:58:21 63ca1fbb43ae: Preparing 06:58:21 e51fbf6eec76: Layer already exists 06:58:21 ea1001c088f6: Layer already exists 06:58:21 7b55fc40114d: Layer already exists 06:58:21 b8ac5456b0dd: Layer already exists 06:58:21 ce3286f04192: Layer already exists 06:58:21 63ca1fbb43ae: Layer already exists 06:58:21 latest: digest: sha256:3b96f4bb94a9b2d4d008e0437d13c573f4d099da69e4787ae443ccc8b4c40693 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.22 06:58:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:58:22 ce3286f04192: Preparing 06:58:22 b8ac5456b0dd: Preparing 06:58:22 e51fbf6eec76: Preparing 06:58:22 ea1001c088f6: Preparing 06:58:22 7b55fc40114d: Preparing 06:58:22 63ca1fbb43ae: Preparing 06:58:22 63ca1fbb43ae: Waiting 06:58:22 e51fbf6eec76: Layer already exists 06:58:22 b8ac5456b0dd: Layer already exists 06:58:22 7b55fc40114d: Layer already exists 06:58:22 ce3286f04192: Layer already exists 06:58:22 ea1001c088f6: Layer already exists 06:58:22 63ca1fbb43ae: Layer already exists 06:58:22 3.2.0-dev.22: digest: sha256:3b96f4bb94a9b2d4d008e0437d13c573f4d099da69e4787ae443ccc8b4c40693 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 06:58:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:58:22 ce3286f04192: Preparing 06:58:22 b8ac5456b0dd: Preparing 06:58:22 e51fbf6eec76: Preparing 06:58:22 ea1001c088f6: Preparing 06:58:22 7b55fc40114d: Preparing 06:58:22 63ca1fbb43ae: Preparing 06:58:22 63ca1fbb43ae: Waiting 06:58:22 ce3286f04192: Layer already exists 06:58:22 7b55fc40114d: Layer already exists 06:58:22 ea1001c088f6: Layer already exists 06:58:22 b8ac5456b0dd: Layer already exists 06:58:22 e51fbf6eec76: Layer already exists 06:58:22 63ca1fbb43ae: Layer already exists 06:58:22 3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22: digest: sha256:3b96f4bb94a9b2d4d008e0437d13c573f4d099da69e4787ae443ccc8b4c40693 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:58:23 ce3286f04192: Preparing 06:58:23 b8ac5456b0dd: Preparing 06:58:23 e51fbf6eec76: Preparing 06:58:23 ea1001c088f6: Preparing 06:58:23 7b55fc40114d: Preparing 06:58:23 63ca1fbb43ae: Preparing 06:58:23 63ca1fbb43ae: Waiting 06:58:23 ce3286f04192: Layer already exists 06:58:23 e51fbf6eec76: Layer already exists 06:58:23 ea1001c088f6: Layer already exists 06:58:23 b8ac5456b0dd: Layer already exists 06:58:23 7b55fc40114d: Layer already exists 06:58:23 63ca1fbb43ae: Layer already exists 06:58:23 main: digest: sha256:3b96f4bb94a9b2d4d008e0437d13c573f4d099da69e4787ae443ccc8b4c40693 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:23 ===================================================== [Pipeline] echo 06:58:23 taggedImages: 06:58:23 - nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64 06:58:23 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:58:23 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.22 06:58:23 - nexus3.edgexfoundry.org:10004/device-rest:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 06:58:23 - 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 06:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:23 06:58:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:24 latest: Pulling from edgex-lftools-log-publisher 06:58:24 5eb5b503b376: Pulling fs layer 06:58:24 5c69ac0246d0: Pulling fs layer 06:58:24 ec43610c2a17: Pulling fs layer 06:58:24 3a2ae6a8a46f: Pulling fs layer 06:58:24 33b1e0a273af: Pulling fs layer 06:58:24 5d3b04190fa2: Pulling fs layer 06:58:24 2f39f015ded8: Pulling fs layer 06:58:24 33b1e0a273af: Waiting 06:58:24 5d3b04190fa2: Waiting 06:58:24 2f39f015ded8: Waiting 06:58:24 3a2ae6a8a46f: Waiting 06:58:24 5c69ac0246d0: Verifying Checksum 06:58:24 5c69ac0246d0: Download complete 06:58:24 3a2ae6a8a46f: Verifying Checksum 06:58:24 3a2ae6a8a46f: Download complete 06:58:24 33b1e0a273af: Verifying Checksum 06:58:24 33b1e0a273af: Download complete 06:58:24 ec43610c2a17: Verifying Checksum 06:58:24 ec43610c2a17: Download complete 06:58:24 5d3b04190fa2: Verifying Checksum 06:58:24 5d3b04190fa2: Download complete 06:58:24 5eb5b503b376: Download complete 06:58:25 2f39f015ded8: Download complete 06:58:25 5eb5b503b376: Pull complete 06:58:25 5c69ac0246d0: Pull complete 06:58:26 ec43610c2a17: Pull complete 06:58:26 3a2ae6a8a46f: Pull complete 06:58:26 33b1e0a273af: Pull complete 06:58:26 5d3b04190fa2: Pull complete 06:58:30 2f39f015ded8: Pull complete 06:58:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:30 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 06:58:30 $ 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 06:58:34 $ docker top 69b9d8db4958b493400cc0c4ee0c3b38b1701ced7f8af26b18839198adbb2d54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:34 ---> job-cost.sh 06:58:34 lf-activate-venv: SKIPPING 06:58:34 INFO: No Stack... 06:58:35 INFO: Retrieving Pricing Info for: v3-standard-8 06:58:35 INFO: Archiving Costs [Pipeline] sh 06:58:36 + cut -d, -f6 06:58:36 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 06:58:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] 06:58:36 Resource [jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] did not exist. Created. 06:58:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:58:36 + echo total: 0.2199999988079071 [Pipeline] stash 06:58:36 Stashed 1 file(s) [Pipeline] } 06:58:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 06:58:36 $ docker stop --time=1 69b9d8db4958b493400cc0c4ee0c3b38b1701ced7f8af26b18839198adbb2d54 06:58:37 $ docker rm -f --volumes 69b9d8db4958b493400cc0c4ee0c3b38b1701ced7f8af26b18839198adbb2d54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:13:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15917 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 07:13:37 Running in /w/workspace/device-rest-go/174 [Pipeline] { [Pipeline] checkout 07:13:37 The recommended git tool is: git 07:13:45 using credential edgex-jenkins-ssh 07:13:45 Cloning the remote Git repository 07:13:45 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:13:45 > git init /w/workspace/device-rest-go/174 # timeout=10 07:13:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:13:46 > git --version # timeout=10 07:13:46 > git --version # 'git version 2.25.1' 07:13:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:51 Avoid second fetch 07:13:51 Checking out Revision 3b51f885a24fd135da4abf50d3948cd78a691d64 (main) 07:13:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:13:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:51 > git config core.sparsecheckout # timeout=10 07:13:52 Commit message: "Merge pull request #414 from jinlinGuan/golang-1.23" 07:13:51 > git checkout -f 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:13:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:57 Dload Upload Total Spent Left Speed 07:13:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 07:13:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:13:57 + sudo tee /etc/docker/daemon.new 07:13:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:13:57 { 07:13:57 "registry-mirrors": [ 07:13:57 "https://nexus3.edgexfoundry.org:10001" 07:13:57 ], 07:13:57 "bip": "10.250.0.254/24", 07:13:57 "hosts": [ 07:13:57 "tcp://0.0.0.0:5555", 07:13:57 "unix:///var/run/docker.sock" 07:13:57 ], 07:13:57 "mtu": 1458, 07:13:57 "selinux-enabled": true, 07:13:57 "seccomp-profile": "/etc/docker/seccomp.json" 07:13:57 } [Pipeline] sh 07:13:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:13:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:16 provisioning config files... 07:14:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/174@tmp/config540057543612893234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:17 ---> ****-login.sh 07:14:17 nexus3.edgexfoundry.org:10001 07:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:17 Configure a credential helper to remove this warning. See 07:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:17 07:14:17 Login Succeeded 07:14:17 nexus3.edgexfoundry.org:10002 07:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:18 Configure a credential helper to remove this warning. See 07:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:18 07:14:18 Login Succeeded 07:14:18 nexus3.edgexfoundry.org:10003 07:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:18 Configure a credential helper to remove this warning. See 07:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:18 07:14:18 Login Succeeded 07:14:18 nexus3.edgexfoundry.org:10004 07:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:18 Configure a credential helper to remove this warning. See 07:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:18 07:14:18 Login Succeeded 07:14:18 ****.io 07:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:19 Configure a credential helper to remove this warning. See 07:14:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:19 07:14:19 Login Succeeded 07:14:19 ---> ****-login.sh ends [Pipeline] } 07:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:14:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:14:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:14:19 ========================================================= 07:14:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:14:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:20 + 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 . 07:14:20 Sending build context to Docker daemon 140.3kB 07:14:20 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:14:20 Step 2/12 : FROM ${BASE} AS builder 07:14:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:14:20 cf04c63912e1: Pulling fs layer 07:14:20 55b35a11ae5e: Pulling fs layer 07:14:20 a37a00ec5f00: Pulling fs layer 07:14:20 50b3750afda1: Pulling fs layer 07:14:20 4f4fb700ef54: Pulling fs layer 07:14:20 80978eb59214: Pulling fs layer 07:14:20 c9f46d7d2bd2: Pulling fs layer 07:14:20 c5a475d317c9: Pulling fs layer 07:14:20 80978eb59214: Waiting 07:14:20 c9f46d7d2bd2: Waiting 07:14:20 c5a475d317c9: Waiting 07:14:20 50b3750afda1: Waiting 07:14:20 4f4fb700ef54: Waiting 07:14:20 55b35a11ae5e: Verifying Checksum 07:14:20 55b35a11ae5e: Download complete 07:14:20 50b3750afda1: Verifying Checksum 07:14:20 50b3750afda1: Download complete 07:14:20 4f4fb700ef54: Verifying Checksum 07:14:20 4f4fb700ef54: Download complete 07:14:20 80978eb59214: Verifying Checksum 07:14:20 80978eb59214: Download complete 07:14:20 cf04c63912e1: Verifying Checksum 07:14:20 cf04c63912e1: Download complete 07:14:21 c5a475d317c9: Verifying Checksum 07:14:21 c5a475d317c9: Download complete 07:14:21 cf04c63912e1: Pull complete 07:14:22 55b35a11ae5e: Pull complete 07:14:22 a37a00ec5f00: Verifying Checksum 07:14:22 a37a00ec5f00: Download complete 07:14:23 c9f46d7d2bd2: Verifying Checksum 07:14:23 c9f46d7d2bd2: Download complete 07:14:35 a37a00ec5f00: Pull complete 07:14:35 50b3750afda1: Pull complete 07:14:35 4f4fb700ef54: Pull complete 07:14:35 80978eb59214: Pull complete 07:14:44 c9f46d7d2bd2: Pull complete 07:14:45 c5a475d317c9: Pull complete 07:14:45 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:14:45 ---> be29e6b0f0d4 07:14:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:14:47 ---> Running in 5807432eecce 07:14:47 Removing intermediate container 5807432eecce 07:14:47 ---> 88f9f2fd5cef 07:14:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:14:47 ---> Running in 7379e9cf90da 07:14:47 Removing intermediate container 7379e9cf90da 07:14:47 ---> 2358fa76ca02 07:14:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:14:47 ---> Running in dd3e2d4d5353 07:14:47 Removing intermediate container dd3e2d4d5353 07:14:47 ---> c97ce2994f3b 07:14:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:14:47 ---> Running in dca898fbb096 07:14:48 Removing intermediate container dca898fbb096 07:14:48 ---> ea8022342de2 07:14:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:48 ---> Running in c1845304a00c 07:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:14:50 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:14:50 (2/4) Installing libedit (20240517.3.1-r0) 07:14:50 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:14:50 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:14:50 Executing busybox-1.36.1-r29.trigger 07:14:51 OK: 242 MiB in 58 packages 07:14:52 Removing intermediate container c1845304a00c 07:14:52 ---> 789b3f4881d2 07:14:52 Step 8/12 : WORKDIR /device-rest-go 07:14:52 ---> Running in 992362e21c6d 07:14:52 Removing intermediate container 992362e21c6d 07:14:52 ---> bd33933252f7 07:14:52 Step 9/12 : COPY go.mod vendor* ./ 07:14:53 ---> c73b93abf38b 07:14:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:53 ---> Running in 0a5e250aec51 07:16:45 Removing intermediate container 0a5e250aec51 07:16:45 ---> 4ddd6db43d9f 07:16:45 Step 11/12 : COPY . . 07:16:45 ---> 0aecdb50d609 07:16:45 Step 12/12 : RUN $MAKE 07:16:45 ---> Running in f668657566ca 07:16:45 noop 07:16:45 Removing intermediate container f668657566ca 07:16:45 ---> 8052c133a8a5 07:16:45 Successfully built 8052c133a8a5 07:16:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:45 + docker inspect -f . ci-base-image-arm64 07:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:45 prd-ubuntu20.04-docker-arm64-4c-16g-15917 does not seem to be running inside a container 07:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/174 -v /w/workspace/device-rest-go/174:/w/workspace/device-rest-go/174:rw,z -v /w/workspace/device-rest-go/174@tmp:/w/workspace/device-rest-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:16:46 $ docker top 1b5c54da7ade91d1cb2adb52cad4c5e7cff8f1a0577bc99b455c7ee55cd798e1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:47 + go version 07:16:47 go version go1.23.2 linux/arm64 [Pipeline] } 07:16:47 $ docker stop --time=1 1b5c54da7ade91d1cb2adb52cad4c5e7cff8f1a0577bc99b455c7ee55cd798e1 07:16:49 $ docker rm -f --volumes 1b5c54da7ade91d1cb2adb52cad4c5e7cff8f1a0577bc99b455c7ee55cd798e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:49 + docker inspect -f . ci-base-image-arm64 07:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:50 prd-ubuntu20.04-docker-arm64-4c-16g-15917 does not seem to be running inside a container 07:16:50 $ 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/174 -v /w/workspace/device-rest-go/174:/w/workspace/device-rest-go/174:rw,z -v /w/workspace/device-rest-go/174@tmp:/w/workspace/device-rest-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:16:52 $ docker top 51589061d85352849de8e63005cea30769385b607e28a0785fe60b8ea3f921c4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:53 + git config --global --add safe.directory /w/workspace/device-rest-go/174 [Pipeline] fileExists [Pipeline] sh 07:16:53 + make test 07:16:53 go test ./... -coverprofile=coverage.out ./... 07:16:59 ? github.com/edgexfoundry/device-rest-go [no test files] 07:20:21 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 07:20:21 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 07:20:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:20:21 go vet ./... 07:21:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:08 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:21:08 $ docker stop --time=1 51589061d85352849de8e63005cea30769385b607e28a0785fe60b8ea3f921c4 07:21:11 $ docker rm -f --volumes 51589061d85352849de8e63005cea30769385b607e28a0785fe60b8ea3f921c4 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:12 Warning: overwriting stash ‘coverage-report’ 07:21:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:13 + ls -al . 07:21:13 total 252 07:21:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:16 . 07:21:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:13 .. 07:21:13 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 07:13 .dockerignore 07:21:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:13 .git 07:21:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:13 .github 07:21:13 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 07:13 .gitignore 07:21:13 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 07:13 .golangci.yml 07:21:13 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 07:13 Attribution.txt 07:21:13 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 07:13 CHANGELOG.md 07:21:13 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 07:13 Dockerfile 07:21:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 07:13 GOVERNANCE.md 07:21:13 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 07:13 Jenkinsfile 07:21:13 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 07:13 LICENSE 07:21:13 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 07:13 Makefile 07:21:13 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 07:13 OWNERS.md 07:21:13 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 07:13 README.md 07:21:13 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 06:55 VERSION 07:21:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:13 bin 07:21:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:13 cmd 07:21:13 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 07:20 coverage.out 07:21:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:13 driver 07:21:13 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 07:13 go.mod 07:21:13 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 07:13 go.sum 07:21:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:13 openapi 07:21:13 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:14 + 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=3b51f885a24fd135da4abf50d3948cd78a691d64 --label arch=arm64 --label version=3.2.0-dev.22 . 07:21:14 Sending build context to Docker daemon 155.6kB 07:21:14 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:21:14 Step 2/26 : FROM ${BASE} AS builder 07:21:14 ---> 8052c133a8a5 07:21:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:21:14 ---> Running in d26441b9f674 07:21:14 Removing intermediate container d26441b9f674 07:21:14 ---> 347be029d46f 07:21:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:15 ---> Running in 9cdd03528ee0 07:21:15 Removing intermediate container 9cdd03528ee0 07:21:15 ---> b56bc48169fe 07:21:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:21:15 ---> Running in 3bcae4cadcf0 07:21:15 Removing intermediate container 3bcae4cadcf0 07:21:15 ---> 34eb8dbb14b9 07:21:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:21:15 ---> Running in 3095442164d4 07:21:15 Removing intermediate container 3095442164d4 07:21:15 ---> 978b70dfd0bb 07:21:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:16 ---> Running in bb351a51213b 07:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:21:18 OK: 242 MiB in 58 packages 07:21:19 Removing intermediate container bb351a51213b 07:21:19 ---> 0ac94639849c 07:21:19 Step 8/26 : WORKDIR /device-rest-go 07:21:20 ---> Running in 8f99f2f24440 07:21:20 Removing intermediate container 8f99f2f24440 07:21:20 ---> 5ea8fb23034f 07:21:20 Step 9/26 : COPY go.mod vendor* ./ 07:21:20 ---> 08e5adc55c9d 07:21:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:20 ---> Running in 17cb42d59807 07:21:22 Removing intermediate container 17cb42d59807 07:21:22 ---> 098b653c2520 07:21:22 Step 11/26 : COPY . . 07:21:23 ---> e6a151e73956 07:21:23 Step 12/26 : RUN $MAKE 07:21:23 ---> Running in c454193bdf88 07:21:24 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:24:46 Removing intermediate container c454193bdf88 07:24:46 ---> 10ec5a1b2dfa 07:24:46 Step 13/26 : FROM alpine:3.20 07:24:46 3.20: Pulling from library/alpine 07:24:46 cf04c63912e1: Already exists 07:24:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:24:46 Status: Downloaded newer image for alpine:3.20 07:24:46 ---> c157a85ed455 07:24:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:24:46 ---> Running in d59c62106818 07:24:46 Removing intermediate container d59c62106818 07:24:46 ---> bd41689b1ae0 07:24:46 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 07:24:46 ---> Running in d56e4b7b064d 07:24:46 Removing intermediate container d56e4b7b064d 07:24:46 ---> 7a0dc4abbbd3 07:24:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:24:46 ---> Running in cd7d99ea2fa7 07:24:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:24:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:24:47 (1/1) Installing dumb-init (1.2.5-r3) 07:24:47 Executing busybox-1.36.1-r29.trigger 07:24:47 OK: 9 MiB in 15 packages 07:24:48 Removing intermediate container cd7d99ea2fa7 07:24:48 ---> cca96aed1c0e 07:24:48 Step 17/26 : RUN apk --no-cache upgrade 07:24:48 ---> Running in decf37efab29 07:24:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:24:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:24:50 Upgrading critical system libraries and apk-tools: 07:24:50 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:24:50 Executing busybox-1.36.1-r29.trigger 07:24:51 Continuing the upgrade transaction with new apk-tools: 07:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:24:52 OK: 9 MiB in 15 packages 07:24:53 Removing intermediate container decf37efab29 07:24:53 ---> 8193f4307f7c 07:24:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 07:24:55 ---> 185f6c4d178f 07:24:55 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 07:24:55 ---> 8c06ee853812 07:24:55 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 07:24:56 ---> 8629b76a6d53 07:24:56 Step 21/26 : EXPOSE 59986 07:24:56 ---> Running in 67b93b22d5e8 07:24:56 Removing intermediate container 67b93b22d5e8 07:24:56 ---> 16dc6b32648f 07:24:56 Step 22/26 : ENTRYPOINT ["/device-rest"] 07:24:56 ---> Running in 9a6d524c421c 07:24:56 Removing intermediate container 9a6d524c421c 07:24:56 ---> d0f0f4a412af 07:24:56 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:24:56 ---> Running in 4235e40abbc4 07:24:57 Removing intermediate container 4235e40abbc4 07:24:57 ---> 5474214a9539 07:24:57 Step 24/26 : LABEL arch=arm64 07:24:57 ---> Running in cd0d7690334a 07:24:57 Removing intermediate container cd0d7690334a 07:24:57 ---> 92472d69d4f9 07:24:57 Step 25/26 : LABEL git_sha=3b51f885a24fd135da4abf50d3948cd78a691d64 07:24:57 ---> Running in 286af89da86a 07:24:57 Removing intermediate container 286af89da86a 07:24:57 ---> f040ba8f591f 07:24:57 Step 26/26 : LABEL version=3.2.0-dev.22 07:24:57 ---> Running in ab501b74c8fe 07:24:58 Removing intermediate container ab501b74c8fe 07:24:58 ---> 2e994cad6262 07:24:58 [Warning] One or more build-args [ARCH] were not consumed 07:24:58 Successfully built 2e994cad6262 07:24:58 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 07:24:58 provisioning config files... 07:24:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/174@tmp/config2204413314982612229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:58 ---> ****-login.sh 07:24:58 nexus3.edgexfoundry.org:10001 07:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:24:58 Configure a credential helper to remove this warning. See 07:24:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:24:58 07:24:58 Login Succeeded 07:24:58 nexus3.edgexfoundry.org:10002 07:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:24:59 Configure a credential helper to remove this warning. See 07:24:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:24:59 07:24:59 Login Succeeded 07:24:59 nexus3.edgexfoundry.org:10003 07:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:24:59 Configure a credential helper to remove this warning. See 07:24:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:24:59 07:24:59 Login Succeeded 07:24:59 nexus3.edgexfoundry.org:10004 07:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:24:59 Configure a credential helper to remove this warning. See 07:24:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:24:59 07:24:59 Login Succeeded 07:24:59 ****.io 07:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:25:00 Configure a credential helper to remove this warning. See 07:25:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:25:00 07:25:00 Login Succeeded 07:25:00 ---> ****-login.sh ends [Pipeline] } 07:25:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:25:00 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 07:25:00 3b51f885a24fd135da4abf50d3948cd78a691d64 07:25:00 latest 07:25:00 3.2.0-dev.22 07:25:00 3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 07:25:00 main 07:25:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64 07:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:25:01 432c6c8a0b5a: Preparing 07:25:01 3e9e8d831ee1: Preparing 07:25:01 72b7d134dab3: Preparing 07:25:01 c1a370844bf8: Preparing 07:25:01 f2da0de34ec3: Preparing 07:25:01 16113d51b718: Preparing 07:25:01 16113d51b718: Waiting 07:25:01 3e9e8d831ee1: Pushed 07:25:01 432c6c8a0b5a: Pushed 07:25:01 f2da0de34ec3: Pushed 07:25:01 c1a370844bf8: Pushed 07:25:01 16113d51b718: Layer already exists 07:25:08 72b7d134dab3: Pushed 07:25:08 3b51f885a24fd135da4abf50d3948cd78a691d64: digest: sha256:62798eea2c37a8642d9aff43112d2e1f2fab8f7dbdc240728f797ce8ff5aef31 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:25:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:25:08 432c6c8a0b5a: Preparing 07:25:08 3e9e8d831ee1: Preparing 07:25:08 72b7d134dab3: Preparing 07:25:08 c1a370844bf8: Preparing 07:25:08 f2da0de34ec3: Preparing 07:25:08 16113d51b718: Preparing 07:25:08 16113d51b718: Waiting 07:25:08 c1a370844bf8: Layer already exists 07:25:08 432c6c8a0b5a: Layer already exists 07:25:08 f2da0de34ec3: Layer already exists 07:25:08 72b7d134dab3: Layer already exists 07:25:08 3e9e8d831ee1: Layer already exists 07:25:08 16113d51b718: Layer already exists 07:25:08 latest: digest: sha256:62798eea2c37a8642d9aff43112d2e1f2fab8f7dbdc240728f797ce8ff5aef31 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.22 07:25:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:25:09 432c6c8a0b5a: Preparing 07:25:09 3e9e8d831ee1: Preparing 07:25:09 72b7d134dab3: Preparing 07:25:09 c1a370844bf8: Preparing 07:25:09 f2da0de34ec3: Preparing 07:25:09 16113d51b718: Preparing 07:25:09 16113d51b718: Waiting 07:25:09 f2da0de34ec3: Layer already exists 07:25:09 c1a370844bf8: Layer already exists 07:25:09 72b7d134dab3: Layer already exists 07:25:09 3e9e8d831ee1: Layer already exists 07:25:09 432c6c8a0b5a: Layer already exists 07:25:09 16113d51b718: Layer already exists 07:25:09 3.2.0-dev.22: digest: sha256:62798eea2c37a8642d9aff43112d2e1f2fab8f7dbdc240728f797ce8ff5aef31 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 07:25:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:25:10 432c6c8a0b5a: Preparing 07:25:10 3e9e8d831ee1: Preparing 07:25:10 72b7d134dab3: Preparing 07:25:10 c1a370844bf8: Preparing 07:25:10 f2da0de34ec3: Preparing 07:25:10 16113d51b718: Preparing 07:25:10 16113d51b718: Waiting 07:25:10 72b7d134dab3: Layer already exists 07:25:10 c1a370844bf8: Layer already exists 07:25:10 432c6c8a0b5a: Layer already exists 07:25:10 f2da0de34ec3: Layer already exists 07:25:10 3e9e8d831ee1: Layer already exists 07:25:10 16113d51b718: Layer already exists 07:25:10 3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22: digest: sha256:62798eea2c37a8642d9aff43112d2e1f2fab8f7dbdc240728f797ce8ff5aef31 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 07:25:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 07:25:11 432c6c8a0b5a: Preparing 07:25:11 3e9e8d831ee1: Preparing 07:25:11 72b7d134dab3: Preparing 07:25:11 c1a370844bf8: Preparing 07:25:11 f2da0de34ec3: Preparing 07:25:11 16113d51b718: Preparing 07:25:11 16113d51b718: Waiting 07:25:11 432c6c8a0b5a: Layer already exists 07:25:11 72b7d134dab3: Layer already exists 07:25:11 c1a370844bf8: Layer already exists 07:25:11 3e9e8d831ee1: Layer already exists 07:25:11 f2da0de34ec3: Layer already exists 07:25:11 16113d51b718: Layer already exists 07:25:11 main: digest: sha256:62798eea2c37a8642d9aff43112d2e1f2fab8f7dbdc240728f797ce8ff5aef31 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:11 ===================================================== [Pipeline] echo 07:25:11 taggedImages: 07:25:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64 07:25:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 07:25:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.22 07:25:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3b51f885a24fd135da4abf50d3948cd78a691d64-3.2.0-dev.22 07:25:11 - 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 07:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:12 07:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:12 arm64: Pulling from edgex-lftools-log-publisher 07:25:12 8998bd30e6a1: Pulling fs layer 07:25:12 04944245beec: Pulling fs layer 07:25:12 699f458cf7ca: Pulling fs layer 07:25:12 765212b225bb: Pulling fs layer 07:25:12 f23df028b6ca: Pulling fs layer 07:25:12 d65c8cfc05b1: Pulling fs layer 07:25:12 2437ff75d9bd: Pulling fs layer 07:25:12 f23df028b6ca: Waiting 07:25:12 d65c8cfc05b1: Waiting 07:25:12 2437ff75d9bd: Waiting 07:25:12 765212b225bb: Waiting 07:25:13 04944245beec: Verifying Checksum 07:25:13 04944245beec: Download complete 07:25:13 765212b225bb: Verifying Checksum 07:25:13 765212b225bb: Download complete 07:25:13 f23df028b6ca: Download complete 07:25:13 d65c8cfc05b1: Download complete 07:25:13 699f458cf7ca: Verifying Checksum 07:25:13 699f458cf7ca: Download complete 07:25:13 8998bd30e6a1: Verifying Checksum 07:25:13 8998bd30e6a1: Download complete 07:25:15 2437ff75d9bd: Verifying Checksum 07:25:15 2437ff75d9bd: Download complete 07:25:18 8998bd30e6a1: Pull complete 07:25:18 04944245beec: Pull complete 07:25:19 699f458cf7ca: Pull complete 07:25:19 765212b225bb: Pull complete 07:25:20 f23df028b6ca: Pull complete 07:25:20 d65c8cfc05b1: Pull complete 07:25:35 2437ff75d9bd: Pull complete 07:25:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:35 prd-ubuntu20.04-docker-arm64-4c-16g-15917 does not seem to be running inside a container 07:25:35 $ 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/174 -v /w/workspace/device-rest-go/174:/w/workspace/device-rest-go/174:rw,z -v /w/workspace/device-rest-go/174@tmp:/w/workspace/device-rest-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:25:38 $ docker top b333c131be9a474aed754a70caa04608a65bc211bcbacc269958bde70cb1a589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:38 ---> job-cost.sh 07:25:39 lf-activate-venv: SKIPPING 07:25:39 INFO: No Stack... 07:25:39 INFO: Retrieving Pricing Info for: v3-standard-4 07:25:40 INFO: Archiving Costs [Pipeline] sh 07:25:41 + cat /w/workspace/device-rest-go/174/archives/cost.csv 07:25:41 + cut -d, -f6 [Pipeline] lock 07:25:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] 07:25:41 Resource [jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] did not exist. Created. 07:25:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:41 /w/workspace/device-rest-go/174@tmp/durable-b38ff7b8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:42 + echo total: 0.10999999940395355 [Pipeline] stash 07:25:42 Warning: overwriting stash ‘stack-cost’ 07:25:42 Stashed 1 file(s) [Pipeline] } 07:25:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:42 $ docker stop --time=1 b333c131be9a474aed754a70caa04608a65bc211bcbacc269958bde70cb1a589 07:25:43 $ docker rm -f --volumes b333c131be9a474aed754a70caa04608a65bc211bcbacc269958bde70cb1a589 [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 07:25:44 provisioning config files... 07:25:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18051025476773788146tmp [Pipeline] { [Pipeline] sh 07:25:44 + set +x 07:25:44 + curl -s https://codecov.io/bash 07:25:44 + bash -s -- 07:25:44 07:25:44 _____ _ 07:25:44 / ____| | | 07:25:44 | | ___ __| | ___ ___ _____ __ 07:25:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:44 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:44 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:44 Bash-1.0.6 07:25:44 07:25:44 07:25:44 ==> git version 2.25.1 found 07:25:44 ==> 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 07:25:44 Release-Date: 2020-01-08 07:25:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:25:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:25:44 ==> Jenkins CI detected. 07:25:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 07:25:44 project root: . 07:25:44 --> token set from env 07:25:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:44 ==> Running gcov in . (disable via -X gcov) 07:25:44 ==> Python coveragepy not found 07:25:44 ==> Searching for coverage reports in: 07:25:44 + . 07:25:44 -> Found 1 reports 07:25:44 ==> Detecting git/mercurial file structure 07:25:44 ==> Reading reports 07:25:44 + ./coverage.out bytes=14565 07:25:44 ==> Appending adjustments 07:25:44 https://docs.codecov.io/docs/fixing-reports 07:25:44 + Found adjustments 07:25:44 ==> Gzipping contents 07:25:44 4.0K /tmp/codecov.jtFpXT.gz 07:25:44 ==> Uploading reports 07:25:44 url: https://codecov.io 07:25:44 query: branch=main&commit=3b51f885a24fd135da4abf50d3948cd78a691d64&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:44 -> Pinging Codecov 07:25:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3b51f885a24fd135da4abf50d3948cd78a691d64&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:44 -> Uploading to 07:25:44 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/3b51f885a24fd135da4abf50d3948cd78a691d64/7bcf3cb5-9a2e-446a-b543-ecd711bc23bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T072544Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a232609e5e1f31a470eab3afb2d8f31ff1d43e0d96fce172516897ec36996dff 07:25:44 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:44 Dload Upload Total Spent Left Speed 07:25:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 10800 --:--:-- --:--:-- --:--:-- 10800 07:25:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] } 07:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:25:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:25:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:25:45 07:25:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:25:45 latest: Pulling from edgex-devops/edgex-snyk-go 07:25:45 43c4264eed91: Already exists 07:25:45 4cc291be95ef: Already exists 07:25:45 2ac1f1163629: Already exists 07:25:45 5c3c966382ef: Already exists 07:25:45 4f4fb700ef54: Already exists 07:25:45 d9c7d2e4e75e: Pulling fs layer 07:25:45 9c3e1370e548: Pulling fs layer 07:25:46 d9c7d2e4e75e: Download complete 07:25:46 d9c7d2e4e75e: Pull complete 07:25:47 9c3e1370e548: Verifying Checksum 07:25:47 9c3e1370e548: Download complete 07:25:50 9c3e1370e548: Pull complete 07:25:50 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:25:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:50 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:25:50 $ 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 07:25:57 $ docker top 2ec8b694037b704c58ac8ea13a086feb5d9301e724ba528049f03b21bf393c84 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 07:25:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 07:25:57 + set -o pipefail 07:25:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 07:26:04 07:26:04 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 07:26:04 07:26:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/953b79eb-5127-463e-b424-b980f8e22629 07:26:04 07:26:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:26:04 07:26:05 07:26:05 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:26:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:26:05 $ docker stop --time=1 2ec8b694037b704c58ac8ea13a086feb5d9301e724ba528049f03b21bf393c84 07:26:14 $ docker rm -f --volumes 2ec8b694037b704c58ac8ea13a086feb5d9301e724ba528049f03b21bf393c84 [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 07:26:15 + git log --format=format:%s -1 3b51f885a24fd135da4abf50d3948cd78a691d64 [Pipeline] sh 07:26:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:16 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:26:17 $ docker top 60b0f7f82f0b6bf75eb184dd75ccdd1c9db5664446272f317d9dd24b4b1db889 -eo pid,comm 07:26:17 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). 07:26:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:18 [ssh-agent] Looking for ssh-agent implementation... 07:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:18 $ docker exec 60b0f7f82f0b6bf75eb184dd75ccdd1c9db5664446272f317d9dd24b4b1db889 ssh-agent 07:26:18 SSH_AUTH_SOCK=/tmp/ssh-NTwNAYAj6q6M/agent.31 07:26:18 SSH_AGENT_PID=37 07:26:18 Running ssh-add (command line suppressed) 07:26:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9515676043969646703.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9515676043969646703.key) 07:26:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:18 + git semver tag 07:26:19 2024-10-04 07:26:18,946 [run_tag] DEBUG tag force:False 07:26:19 2024-10-04 07:26:18,946 [check_head_tag] DEBUG check head tag 07:26:19 2024-10-04 07:26:18,947 [execute] INFO git cat-file --batch-check 07:26:19 2024-10-04 07:26:18,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:26:19 2024-10-04 07:26:18,952 [execute] INFO git cat-file --batch 07:26:19 2024-10-04 07:26:18,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 07:26:19 2024-10-04 07:26:18,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:19 2024-10-04 07:26:18,975 [execute] INFO git tag -a v3.2.0-dev.22 -m v3.2.0-dev.22 07:26:19 2024-10-04 07:26:18,976 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.22', '-m', 'v3.2.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 07:26:19 2024-10-04 07:26:18,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:19 3.2.0-dev.22 [Pipeline] } 07:26:19 $ docker exec --env ******** --env ******** 60b0f7f82f0b6bf75eb184dd75ccdd1c9db5664446272f317d9dd24b4b1db889 ssh-agent -k 07:26:19 unset SSH_AUTH_SOCK; 07:26:19 unset SSH_AGENT_PID; 07:26:19 echo Agent pid 37 killed; 07:26:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:19 + git semver [Pipeline] } 07:26:19 $ docker stop --time=1 60b0f7f82f0b6bf75eb184dd75ccdd1c9db5664446272f317d9dd24b4b1db889 07:26:21 $ docker rm -f --volumes 60b0f7f82f0b6bf75eb184dd75ccdd1c9db5664446272f317d9dd24b4b1db889 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:21 07:26:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:21 0.23.1-centos7: Pulling from edgex-lftools 07:26:21 ab5ef0e58194: Pulling fs layer 07:26:21 9712f1f96733: Pulling fs layer 07:26:21 63f879dbbcfc: Pulling fs layer 07:26:21 0d9ebad4ef96: Pulling fs layer 07:26:21 e9a5061849ea: Pulling fs layer 07:26:21 d747dcd14b5f: Pulling fs layer 07:26:21 2de7ff778b66: Pulling fs layer 07:26:21 d747dcd14b5f: Waiting 07:26:21 e9a5061849ea: Waiting 07:26:21 2de7ff778b66: Waiting 07:26:21 0d9ebad4ef96: Waiting 07:26:21 9712f1f96733: Download complete 07:26:22 63f879dbbcfc: Verifying Checksum 07:26:22 63f879dbbcfc: Download complete 07:26:22 e9a5061849ea: Verifying Checksum 07:26:22 e9a5061849ea: Download complete 07:26:22 d747dcd14b5f: Verifying Checksum 07:26:22 d747dcd14b5f: Download complete 07:26:22 0d9ebad4ef96: Verifying Checksum 07:26:22 0d9ebad4ef96: Download complete 07:26:22 2de7ff778b66: Verifying Checksum 07:26:22 2de7ff778b66: Download complete 07:26:22 ab5ef0e58194: Verifying Checksum 07:26:22 ab5ef0e58194: Download complete 07:26:25 ab5ef0e58194: Pull complete 07:26:25 9712f1f96733: Pull complete 07:26:26 63f879dbbcfc: Pull complete 07:26:30 0d9ebad4ef96: Pull complete 07:26:31 e9a5061849ea: Pull complete 07:26:31 d747dcd14b5f: Pull complete 07:26:32 2de7ff778b66: Pull complete 07:26:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:26:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:33 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:26:33 $ 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 07:26:42 $ docker top ac3a54147caa54d97cf74d6916e75c632872c77aadd95d35355ac491d0d15448 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:26:42 provisioning config files... 07:26:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8174304065597403416tmp 07:26:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2843803755846964622tmp 07:26:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12549027753150601100tmp [Pipeline] { [Pipeline] echo 07:26:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> sigul-configuration.sh 07:26:43 gpg: directory `/root/.gnupg' created 07:26:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:26:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:26:43 gpg: keyring `/root/.gnupg/secring.gpg' created 07:26:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:26:43 gpg: CAST5 encrypted data 07:26:43 gpg: encrypted with 1 passphrase 07:26:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:26:43 + mkdir /home/jenkins 07:26:43 + mkdir /home/jenkins/sigul [Pipeline] sh 07:26:43 + 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 07:26:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> sigul-install.sh 07:26:43 Sigul already installed; skipping installation. [Pipeline] sh 07:26:44 + git tag --list 07:26:44 v1.0.0 07:26:44 v1.1.0 07:26:44 v1.1.1 07:26:44 v1.1.2 07:26:44 v1.2.0 07:26:44 v1.2.1 07:26:44 v2.0.0 07:26:44 v2.1.0 07:26:44 v2.1.1 07:26:44 v2.2.0 07:26:44 v2.3.0 07:26:44 v3.0 07:26:44 v3.0.0 07:26:44 v3.1 07:26:44 v3.1.0 07:26:44 v3.1.0-dev.1 07:26:44 v3.1.0-dev.10 07:26:44 v3.1.0-dev.11 07:26:44 v3.1.0-dev.12 07:26:44 v3.1.0-dev.13 07:26:44 v3.1.0-dev.14 07:26:44 v3.1.0-dev.15 07:26:44 v3.1.0-dev.16 07:26:44 v3.1.0-dev.17 07:26:44 v3.1.0-dev.18 07:26:44 v3.1.0-dev.19 07:26:44 v3.1.0-dev.2 07:26:44 v3.1.0-dev.20 07:26:44 v3.1.0-dev.21 07:26:44 v3.1.0-dev.22 07:26:44 v3.1.0-dev.23 07:26:44 v3.1.0-dev.24 07:26:44 v3.1.0-dev.25 07:26:44 v3.1.0-dev.26 07:26:44 v3.1.0-dev.27 07:26:44 v3.1.0-dev.28 07:26:44 v3.1.0-dev.29 07:26:44 v3.1.0-dev.3 07:26:44 v3.1.0-dev.30 07:26:44 v3.1.0-dev.31 07:26:44 v3.1.0-dev.32 07:26:44 v3.1.0-dev.4 07:26:44 v3.1.0-dev.5 07:26:44 v3.1.0-dev.6 07:26:44 v3.1.0-dev.7 07:26:44 v3.1.0-dev.8 07:26:44 v3.1.0-dev.9 07:26:44 v3.1.1 07:26:44 v3.2.0-dev.1 07:26:44 v3.2.0-dev.10 07:26:44 v3.2.0-dev.11 07:26:44 v3.2.0-dev.12 07:26:44 v3.2.0-dev.13 07:26:44 v3.2.0-dev.14 07:26:44 v3.2.0-dev.15 07:26:44 v3.2.0-dev.16 07:26:44 v3.2.0-dev.17 07:26:44 v3.2.0-dev.18 07:26:44 v3.2.0-dev.19 07:26:44 v3.2.0-dev.2 07:26:44 v3.2.0-dev.20 07:26:44 v3.2.0-dev.21 07:26:44 v3.2.0-dev.22 07:26:44 v3.2.0-dev.3 07:26:44 v3.2.0-dev.4 07:26:44 v3.2.0-dev.5 07:26:44 v3.2.0-dev.6 07:26:44 v3.2.0-dev.7 07:26:44 v3.2.0-dev.8 07:26:44 v3.2.0-dev.9 [Pipeline] sh 07:26:44 + lftools sign git-tag v3.2.0-dev.22 07:26:45 Signing Git tag with Sigul... 07:26:45 Signing v3.2.0-dev.22 [Pipeline] echo 07:26:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:26:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:26:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:26:45 $ docker stop --time=1 ac3a54147caa54d97cf74d6916e75c632872c77aadd95d35355ac491d0d15448 07:26:47 $ docker rm -f --volumes ac3a54147caa54d97cf74d6916e75c632872c77aadd95d35355ac491d0d15448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:26:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:48 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:26:48 $ 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 07:26:48 $ docker top 906890b9f86c06d90ffe6cc42319d0dd2e0ec1811a1f16dd9f8c01b30f626c77 -eo pid,comm 07:26:48 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). 07:26:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:48 [ssh-agent] Looking for ssh-agent implementation... 07:26:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:48 $ docker exec 906890b9f86c06d90ffe6cc42319d0dd2e0ec1811a1f16dd9f8c01b30f626c77 ssh-agent 07:26:49 SSH_AUTH_SOCK=/tmp/ssh-HA0hnGUTwwFL/agent.33 07:26:49 SSH_AGENT_PID=39 07:26:49 Running ssh-add (command line suppressed) 07:26:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6040915098732337663.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6040915098732337663.key) 07:26:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:49 + git semver bump pre 07:26:49 2024-10-04 07:26:49,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:49 2024-10-04 07:26:49,629 [bump_version] DEBUG bumping version:3.2.0-dev.22 on axis:pre with prefix:dev 07:26:49 2024-10-04 07:26:49,629 [bump_version] DEBUG bumped version:3.2.0-dev.23 07:26:49 2024-10-04 07:26:49,629 [write_version] DEBUG write version:3.2.0-dev.23 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 07:26:49 2024-10-04 07:26:49,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:49 2024-10-04 07:26:49,629 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:49 2024-10-04 07:26:49,631 [execute] INFO git cat-file --batch-check 07:26:49 2024-10-04 07:26:49,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:49 2024-10-04 07:26:49,637 [execute] INFO git cat-file --batch 07:26:49 2024-10-04 07:26:49,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:49 2024-10-04 07:26:49,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:49 3.2.0-dev.23 [Pipeline] } 07:26:49 $ docker exec --env ******** --env ******** 906890b9f86c06d90ffe6cc42319d0dd2e0ec1811a1f16dd9f8c01b30f626c77 ssh-agent -k 07:26:49 unset SSH_AUTH_SOCK; 07:26:49 unset SSH_AGENT_PID; 07:26:49 echo Agent pid 39 killed; 07:26:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:50 + git semver [Pipeline] } 07:26:50 $ docker stop --time=1 906890b9f86c06d90ffe6cc42319d0dd2e0ec1811a1f16dd9f8c01b30f626c77 07:26:51 $ docker rm -f --volumes 906890b9f86c06d90ffe6cc42319d0dd2e0ec1811a1f16dd9f8c01b30f626c77 [Pipeline] // withDockerContainer [Pipeline] sh 07:26:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:52 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:26:52 $ 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 07:26:53 $ docker top 023fb4ad7a587374da51ee5cc17d6b84c7045b1ce723c1c163af7fbc5fd7b58b -eo pid,comm 07:26:53 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). 07:26:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:53 [ssh-agent] Looking for ssh-agent implementation... 07:26:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:53 $ docker exec 023fb4ad7a587374da51ee5cc17d6b84c7045b1ce723c1c163af7fbc5fd7b58b ssh-agent 07:26:53 SSH_AUTH_SOCK=/tmp/ssh-GidmWhGlLuld/agent.32 07:26:53 SSH_AGENT_PID=39 07:26:53 Running ssh-add (command line suppressed) 07:26:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1587668871038063956.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1587668871038063956.key) 07:26:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:53 + git semver push 07:26:54 2024-10-04 07:26:54,016 [run_push] DEBUG push 07:26:54 2024-10-04 07:26:54,016 [execute] INFO git cat-file --batch-check 07:26:54 2024-10-04 07:26:54,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:54 2024-10-04 07:26:54,021 [execute] INFO git rev-list aa1c7a1dc424f4293244aeb71d70ed6dd70414a4 -- 07:26:54 2024-10-04 07:26:54,021 [execute] DEBUG Popen(['git', 'rev-list', 'aa1c7a1dc424f4293244aeb71d70ed6dd70414a4', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:54 2024-10-04 07:26:54,031 [execute] INFO git fetch -v origin 07:26:54 2024-10-04 07:26:54,031 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:26:54 2024-10-04 07:26:54,485 [run_push] DEBUG no remote changes detected 07:26:54 2024-10-04 07:26:54,486 [execute] INFO git push origin semver 07:26:54 2024-10-04 07:26:54,486 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:55 2024-10-04 07:26:55,163 [run_push] DEBUG push all version tags 07:26:55 2024-10-04 07:26:55,164 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:26:55 2024-10-04 07:26:55,164 [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) 07:26:55 2024-10-04 07:26:55,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:26:55 3.2.0-dev.23 [Pipeline] } 07:26:55 $ docker exec --env ******** --env ******** 023fb4ad7a587374da51ee5cc17d6b84c7045b1ce723c1c163af7fbc5fd7b58b ssh-agent -k 07:26:55 unset SSH_AUTH_SOCK; 07:26:55 unset SSH_AGENT_PID; 07:26:55 echo Agent pid 39 killed; 07:26:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:56 + git semver [Pipeline] } 07:26:56 $ docker stop --time=1 023fb4ad7a587374da51ee5cc17d6b84c7045b1ce723c1c163af7fbc5fd7b58b 07:26:58 $ docker rm -f --volumes 023fb4ad7a587374da51ee5cc17d6b84c7045b1ce723c1c163af7fbc5fd7b58b [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 07:26:58 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 07:26:58 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:26:58 total 16 07:26:58 drwxr-xr-x 3 root root 4096 Oct 4 06:58 . 07:26:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:26 .. 07:26:58 drwxr-xr-x 2 root root 4096 Oct 4 06:58 cost 07:26:58 -rw-r--r-- 1 root root 86 Oct 4 06:58 cost.csv 07:26:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 07:26:58 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 07:26:58 total 16 07:26:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:58 . 07:26:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 07:26 .. 07:26:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 06:58 cost 07:26:58 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 06:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:26:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:59 ---> package-listing.sh 07:26:59 ++ facter osfamily 07:26:59 ++ tr '[:upper:]' '[:lower:]' 07:27:00 + OS_FAMILY=debian 07:27:00 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 07:27:00 + START_PACKAGES=/tmp/packages_start.txt 07:27:00 + END_PACKAGES=/tmp/packages_end.txt 07:27:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:27:00 + PACKAGES=/tmp/packages_start.txt 07:27:00 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:27:00 + PACKAGES=/tmp/packages_end.txt 07:27:00 + case "${OS_FAMILY}" in 07:27:00 + dpkg -l 07:27:00 + grep '^ii' 07:27:00 + '[' -f /tmp/packages_start.txt ']' 07:27:00 + '[' -f /tmp/packages_end.txt ']' 07:27:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:27:00 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 07:27:00 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 07:27:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 07:27:00 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 07:27:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:01 prd-ubuntu20.04-docker-8c-8g-15787 does not seem to be running inside a container 07:27:01 $ 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 07:27:01 $ docker top cee5787ec6429f2d1694d21dba23c38f6a77652ea7d617517cee0feba5b52deb -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:01 + touch /tmp/pre-build-complete [Pipeline] sh 07:27:02 + mkdir -p /var/log/sysstat [Pipeline] sh 07:27:02 + ls /var/log/sa-host 07:27:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:02 provisioning config files... 07:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12212306259414802999tmp [Pipeline] { [Pipeline] echo 07:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:27:02 ---> create-netrc.sh [Pipeline] } 07:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:27:03 ---> python-tools-install.sh [Pipeline] echo 07:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:27:03 ---> sudo-logs.sh 07:27:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:27:03 ---> job-cost.sh 07:27:03 lf-activate-venv: SKIPPING 07:27:03 DEBUG: total: 0.2199999988079071 07:27:03 INFO: Retrieving Stack Cost... 07:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 07:27:05 INFO: Archiving Costs [Pipeline] echo 07:27:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:27:05 ---> logs-deploy.sh 07:27:05 lf-activate-venv: SKIPPING 07:27:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/174 07:27:05 INFO: archiving workspace using pattern(s): 07:27:06 Archives upload complete. 07:27:06 INFO: archiving logs to Nexus