Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8257fd91468d3a13c9b08aa2e5cf32be113d097a 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-ssh13080621789825430423.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-ssh11486961726128132874.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-ssh2917847968707966272.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-ssh12307673108022431322.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-ssh3232654515813962334.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25890 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 8257fd91468d3a13c9b08aa2e5cf32be113d097a (main) Commit message: "Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-list --no-walk d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:44:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:44:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:44:34 ========================================================= 07:44:34 EdgeX Global Pipelines Version Info 07:44:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:44:35 ------------------- 07:44:35 stable info: 07:44:35 ------------------- 07:44:35 Commited By: Ginny Guan ginny@iotechsys.com 07:44:35 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:44:35 Message: update stable to v1.0.265 07:44:35 ------------------- 07:44:35 experimental info: 07:44:35 ------------------- 07:44:35 Commited By: Cherry Wang cherry@iotechsys.com 07:44:35 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:44:35 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:44:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8257fd9 [Pipeline] echo 07:44:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:36 provisioning config files... 07:44:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12035689680505176837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:37 ---> ****-login.sh 07:44:37 nexus3.edgexfoundry.org:10001 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 nexus3.edgexfoundry.org:10002 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 nexus3.edgexfoundry.org:10003 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 nexus3.edgexfoundry.org:10004 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 ****.io 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 ---> ****-login.sh ends [Pipeline] } 07:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:44:38 + git rev-list -1 --merges 8257fd91468d3a13c9b08aa2e5cf32be113d097a~1..8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo 07:44:38 -----------> git rev-list -1 --merges 8257fd91468d3a13c9b08aa2e5cf32be113d097a~1..8257fd91468d3a13c9b08aa2e5cf32be113d097a 8257fd91468d3a13c9b08aa2e5cf32be113d097a 07:44:38 8257fd91468d3a13c9b08aa2e5cf32be113d097a [false] [Pipeline] sh 07:44:38 + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo 07:44:38 ========================================================= 07:44:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:44:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:38 + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo 07:44:39 [semverPrep] GIT_COMMIT: 8257fd91468d3a13c9b08aa2e5cf32be113d097a, Commit Message: Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2 [Pipeline] echo 07:44:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:44:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:44:39 + grep -v github /etc/ssh/ssh_known_hosts 07:44:39 + [ -e /tmp/ssh_known_hosts ] 07:44:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:44:39 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 07:44:39 -a /etc/ssh/ssh_known_hosts 07:44:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:39 07:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:44:40 b85a868b505f: Pulling fs layer 07:44:40 e2be974225ed: Pulling fs layer 07:44:40 339a4e72a1f5: Pulling fs layer 07:44:40 988bab9f4d93: Pulling fs layer 07:44:40 1469e6f7b9e6: Pulling fs layer 07:44:40 eaf3925da568: Pulling fs layer 07:44:40 bab4dde63d76: Pulling fs layer 07:44:40 bde34c3a00c8: Pulling fs layer 07:44:40 b352a97aabf1: Pulling fs layer 07:44:40 4872d77fe225: Pulling fs layer 07:44:40 5851b861e8e6: Pulling fs layer 07:44:40 1469e6f7b9e6: Waiting 07:44:40 eaf3925da568: Waiting 07:44:40 bab4dde63d76: Waiting 07:44:40 bde34c3a00c8: Waiting 07:44:40 b352a97aabf1: Waiting 07:44:40 4872d77fe225: Waiting 07:44:40 5851b861e8e6: Waiting 07:44:40 988bab9f4d93: Waiting 07:44:40 e2be974225ed: Download complete 07:44:40 988bab9f4d93: Verifying Checksum 07:44:40 988bab9f4d93: Download complete 07:44:40 1469e6f7b9e6: Verifying Checksum 07:44:40 1469e6f7b9e6: Download complete 07:44:40 eaf3925da568: Verifying Checksum 07:44:40 eaf3925da568: Download complete 07:44:40 339a4e72a1f5: Verifying Checksum 07:44:40 339a4e72a1f5: Download complete 07:44:40 bde34c3a00c8: Verifying Checksum 07:44:40 bde34c3a00c8: Download complete 07:44:40 b352a97aabf1: Verifying Checksum 07:44:40 b352a97aabf1: Download complete 07:44:40 4872d77fe225: Verifying Checksum 07:44:40 4872d77fe225: Download complete 07:44:40 5851b861e8e6: Download complete 07:44:40 b85a868b505f: Verifying Checksum 07:44:40 b85a868b505f: Download complete 07:44:40 bab4dde63d76: Verifying Checksum 07:44:40 bab4dde63d76: Download complete 07:44:41 b85a868b505f: Pull complete 07:44:41 e2be974225ed: Pull complete 07:44:42 339a4e72a1f5: Pull complete 07:44:42 988bab9f4d93: Pull complete 07:44:42 1469e6f7b9e6: Pull complete 07:44:42 eaf3925da568: Pull complete 07:44:44 bab4dde63d76: Pull complete 07:44:44 bde34c3a00c8: Pull complete 07:44:44 b352a97aabf1: Pull complete 07:44:44 4872d77fe225: Pull complete 07:44:44 5851b861e8e6: Pull complete 07:44:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:44 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 07:44:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:44:47 $ docker top 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c -eo pid,comm 07:44:47 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:44:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:44:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:44:47 [ssh-agent] Looking for ssh-agent implementation... 07:44:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:44:47 $ docker exec 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent 07:44:47 SSH_AUTH_SOCK=/tmp/ssh-07WPhKJ2014z/agent.32 07:44:47 SSH_AGENT_PID=38 07:44:47 Running ssh-add (command line suppressed) 07:44:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17080911938733264841.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17080911938733264841.key) 07:44:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:44:48 + git tag --points-at HEAD [Pipeline] } 07:44:48 $ docker exec --env ******** --env ******** 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent -k 07:44:48 unset SSH_AUTH_SOCK; 07:44:48 unset SSH_AGENT_PID; 07:44:48 echo Agent pid 38 killed; 07:44:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:44:48 [ssh-agent] Looking for ssh-agent implementation... 07:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:44:48 $ docker exec 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent 07:44:48 SSH_AUTH_SOCK=/tmp/ssh-iacE5l9f5dZx/agent.71 07:44:48 SSH_AGENT_PID=77 07:44:48 Running ssh-add (command line suppressed) 07:44:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2995806343017886014.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2995806343017886014.key) 07:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:44:49 + git semver init 07:44:49 2024-11-08 07:44:49,185 [run_init] DEBUG init version:0.0.0 force:False 07:44:49 2024-11-08 07:44:49,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 07:44:49 2024-11-08 07:44:49,186 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 07:44:49 2024-11-08 07:44:49,186 [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) 07:44:50 2024-11-08 07:44:50,439 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 07:44:50 2024-11-08 07:44:50,440 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 07:44:50 2024-11-08 07:44:50,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:44:50 2024-11-08 07:44:50,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 07:44:50 4.0.0-dev.3 [Pipeline] } 07:44:50 $ docker exec --env ******** --env ******** 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent -k 07:44:50 unset SSH_AUTH_SOCK; 07:44:50 unset SSH_AGENT_PID; 07:44:50 echo Agent pid 77 killed; 07:44:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:44:51 + git semver [Pipeline] } 07:44:51 $ docker stop --time=1 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c 07:44:52 $ docker rm -f --volumes 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c [Pipeline] // withDockerContainer [Pipeline] sh 07:44:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:44:53 Stashed 1 file(s) [Pipeline] echo 07:44:53 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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 07:44:53 provisioning config files... 07:44:53 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6131069860158072290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:53 ---> ****-login.sh 07:44:53 nexus3.edgexfoundry.org:10001 07:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:53 Configure a credential helper to remove this warning. See 07:44:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:53 07:44:53 Login Succeeded 07:44:53 nexus3.edgexfoundry.org:10002 07:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:53 Configure a credential helper to remove this warning. See 07:44:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:53 07:44:53 Login Succeeded 07:44:53 nexus3.edgexfoundry.org:10003 07:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:54 Configure a credential helper to remove this warning. See 07:44:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:54 07:44:54 Login Succeeded 07:44:54 nexus3.edgexfoundry.org:10004 07:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:54 Configure a credential helper to remove this warning. See 07:44:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:54 07:44:54 Login Succeeded 07:44:54 ****.io 07:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:54 Configure a credential helper to remove this warning. See 07:44:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:54 07:44:54 Login Succeeded 07:44:54 ---> ****-login.sh ends [Pipeline] } 07:44:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:54 ========================================================= 07:44:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:44:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:54 + 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 . 07:44:54 Sending build context to Docker daemon 16.64MB 07:44:54 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:44:54 Step 2/12 : FROM ${BASE} AS builder 07:44:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:44:54 43c4264eed91: Pulling fs layer 07:44:54 4cc291be95ef: Pulling fs layer 07:44:54 2ac1f1163629: Pulling fs layer 07:44:54 5c3c966382ef: Pulling fs layer 07:44:54 4f4fb700ef54: Pulling fs layer 07:44:54 5d5c8e513c77: Pulling fs layer 07:44:54 9f66e0745190: Pulling fs layer 07:44:54 f49a43e4bbc0: Pulling fs layer 07:44:54 561ebcabdf7f: Pulling fs layer 07:44:54 9f66e0745190: Waiting 07:44:54 f49a43e4bbc0: Waiting 07:44:54 5c3c966382ef: Waiting 07:44:54 4f4fb700ef54: Waiting 07:44:54 5d5c8e513c77: Waiting 07:44:54 4cc291be95ef: Verifying Checksum 07:44:54 4cc291be95ef: Download complete 07:44:55 4f4fb700ef54: Verifying Checksum 07:44:55 4f4fb700ef54: Download complete 07:44:55 5d5c8e513c77: Verifying Checksum 07:44:55 5d5c8e513c77: Download complete 07:44:55 43c4264eed91: Download complete 07:44:55 9f66e0745190: Verifying Checksum 07:44:55 9f66e0745190: Download complete 07:44:55 43c4264eed91: Pull complete 07:44:55 4cc291be95ef: Pull complete 07:44:55 561ebcabdf7f: Verifying Checksum 07:44:55 2ac1f1163629: Verifying Checksum 07:44:55 2ac1f1163629: Download complete 07:44:55 f49a43e4bbc0: Verifying Checksum 07:44:55 f49a43e4bbc0: Download complete 07:44:59 2ac1f1163629: Pull complete 07:44:59 5c3c966382ef: Pull complete 07:44:59 4f4fb700ef54: Pull complete 07:44:59 5d5c8e513c77: Pull complete 07:44:59 9f66e0745190: Pull complete 07:45:01 f49a43e4bbc0: Pull complete 07:45:01 561ebcabdf7f: Pull complete 07:45:01 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:45:01 ---> 3a752c3f9dda 07:45:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:45:06 ---> Running in 36d5e806e74b 07:45:06 Removing intermediate container 36d5e806e74b 07:45:06 ---> 128d96bfa972 07:45:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:06 ---> Running in b916f1060e5e 07:45:06 Removing intermediate container b916f1060e5e 07:45:06 ---> 67f468cc3a41 07:45:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:45:06 ---> Running in c3a9f02832de 07:45:06 Removing intermediate container c3a9f02832de 07:45:06 ---> 99069300a26a 07:45:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:45:06 ---> Running in 7cbf0a8818f8 07:45:06 Removing intermediate container 7cbf0a8818f8 07:45:06 ---> a03446d96d73 07:45:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:45:06 ---> Running in d2e5eb9a5f56 07:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:45:07 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:45:07 (2/4) Installing libedit (20240517.3.1-r0) 07:45:07 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:45:07 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:45:07 Executing busybox-1.36.1-r29.trigger 07:45:07 OK: 250 MiB in 58 packages 07:45:08 Removing intermediate container d2e5eb9a5f56 07:45:08 ---> d448d292b9b9 07:45:08 Step 8/12 : WORKDIR /device-rest-go 07:45:08 ---> Running in ba60e2aad78f 07:45:08 Removing intermediate container ba60e2aad78f 07:45:08 ---> 0bfaa0bc4a5f 07:45:08 Step 9/12 : COPY go.mod vendor* ./ 07:45:08 ---> c68f14110b8e 07:45:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:08 ---> Running in d9619c09631c 07:45:08 Still waiting to schedule task 07:45:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-25891’ is offline 07:45:56 Removing intermediate container d9619c09631c 07:45:56 ---> be2eab83ff72 07:45:56 Step 11/12 : COPY . . 07:45:56 ---> e5dfe0d48bc7 07:45:56 Step 12/12 : RUN $MAKE 07:45:56 ---> Running in 6ff7b77d7240 07:45:56 noop 07:45:56 Removing intermediate container 6ff7b77d7240 07:45:56 ---> c43003e267f7 07:45:56 Successfully built c43003e267f7 07:45:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:56 + docker inspect -f . ci-base-image-x86_64 07:45:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:56 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 07:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:45:56 $ docker top 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:57 + go version 07:45:57 go version go1.23.2 linux/amd64 [Pipeline] } 07:45:57 $ docker stop --time=1 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 07:45:58 $ docker rm -f --volumes 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:59 + docker inspect -f . ci-base-image-x86_64 07:45:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:01 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 07:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:46:04 $ docker top 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 07:46:06 + make test 07:46:06 go test ./... -coverprofile=coverage.out ./... 07:46:08 ? github.com/edgexfoundry/device-rest-go [no test files] 07:46:30 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 07:46:30 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 07:46:40 go vet ./... 07:46:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:46:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:46:45 ./bin/test-attribution-txt.sh [Pipeline] echo 07:46:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:46:45 $ docker stop --time=1 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 07:46:48 $ docker rm -f --volumes 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:49 + ls -al . 07:46:49 total 244 07:46:49 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 07:46 . 07:46:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 07:44 .. 07:46:49 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 07:44 .dockerignore 07:46:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:46 .git 07:46:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 .github 07:46:49 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 07:44 .gitignore 07:46:49 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 07:44 .golangci.yml 07:46:49 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 07:44 .semver 07:46:49 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 07:44 Attribution.txt 07:46:49 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 07:44 CHANGELOG.md 07:46:49 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 07:44 Dockerfile 07:46:49 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 07:44 GOVERNANCE.md 07:46:49 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 07:44 Jenkinsfile 07:46:49 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 07:44 LICENSE 07:46:49 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 07:44 Makefile 07:46:49 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 07:44 OWNERS.md 07:46:49 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 07:44 README.md 07:46:49 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 07:44 VERSION 07:46:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:44 bin 07:46:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 cmd 07:46:49 -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 07:46 coverage.out 07:46:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:44 driver 07:46:49 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 07:44 go.mod 07:46:49 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 07:44 go.sum 07:46:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 openapi 07:46:49 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:50 + 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=8257fd91468d3a13c9b08aa2e5cf32be113d097a --label arch=amd64 --label version=4.0.0-dev.3 . 07:46:50 Sending build context to Docker daemon 16.66MB 07:46:50 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:46:50 Step 2/26 : FROM ${BASE} AS builder 07:46:50 ---> c43003e267f7 07:46:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:46:50 ---> Running in 1d96f05bc6e7 07:46:50 Removing intermediate container 1d96f05bc6e7 07:46:50 ---> 6faf3bd12894 07:46:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:50 ---> Running in 78c4109c396a 07:46:50 Removing intermediate container 78c4109c396a 07:46:50 ---> 7d4d8a2baacb 07:46:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:46:50 ---> Running in 5a7899c3535d 07:46:50 Removing intermediate container 5a7899c3535d 07:46:50 ---> ce05206307f7 07:46:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:46:50 ---> Running in 41b284d5c345 07:46:50 Removing intermediate container 41b284d5c345 07:46:50 ---> 6c66b09fe263 07:46:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:50 ---> Running in 156673c736f3 07:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:46:51 OK: 250 MiB in 58 packages 07:46:51 Removing intermediate container 156673c736f3 07:46:51 ---> 08a2b0167979 07:46:51 Step 8/26 : WORKDIR /device-rest-go 07:46:51 ---> Running in 0b2d31a97ba5 07:46:51 Removing intermediate container 0b2d31a97ba5 07:46:51 ---> 5b8ff327580a 07:46:51 Step 9/26 : COPY go.mod vendor* ./ 07:46:51 ---> 83f5266e7d4e 07:46:51 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:51 ---> Running in 76578f0c89b6 07:46:53 Removing intermediate container 76578f0c89b6 07:46:53 ---> 862426eeeaa1 07:46:53 Step 11/26 : COPY . . 07:46:53 ---> c7efc207abf6 07:46:53 Step 12/26 : RUN $MAKE 07:46:53 ---> Running in 176875760aab 07:46:53 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 07:47:25 Removing intermediate container 176875760aab 07:47:25 ---> f12c995697c3 07:47:25 Step 13/26 : FROM alpine:3.20 07:47:25 3.20: Pulling from library/alpine 07:47:25 43c4264eed91: Already exists 07:47:25 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:47:25 Status: Downloaded newer image for alpine:3.20 07:47:25 ---> 91ef0af61f39 07:47:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:47:25 ---> Running in 173d37e6f246 07:47:25 Removing intermediate container 173d37e6f246 07:47:25 ---> c8a47df02f24 07:47:25 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 07:47:25 ---> Running in bae25b3e0e89 07:47:25 Removing intermediate container bae25b3e0e89 07:47:25 ---> fd07881eafec 07:47:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:47:25 ---> Running in 3c9a325a4655 07:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:25 (1/1) Installing dumb-init (1.2.5-r3) 07:47:25 Executing busybox-1.36.1-r29.trigger 07:47:25 OK: 8 MiB in 15 packages 07:47:25 Removing intermediate container 3c9a325a4655 07:47:25 ---> 08d047863f9b 07:47:25 Step 17/26 : RUN apk --no-cache upgrade 07:47:25 ---> Running in 6f24e78ff473 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:26 Upgrading critical system libraries and apk-tools: 07:47:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:47:26 Executing busybox-1.36.1-r29.trigger 07:47:26 Continuing the upgrade transaction with new apk-tools: 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:27 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:47:27 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:47:27 OK: 8 MiB in 15 packages 07:47:27 Removing intermediate container 6f24e78ff473 07:47:27 ---> ad3cf37c7e1c 07:47:27 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 07:47:28 ---> e8f929e760e6 07:47:28 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 07:47:28 ---> c2f8e9067266 07:47:28 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 07:47:28 ---> 2c6aea43f1b6 07:47:28 Step 21/26 : EXPOSE 59986 07:47:28 ---> Running in 42ada60559b5 07:47:28 Removing intermediate container 42ada60559b5 07:47:28 ---> 23fb224055de 07:47:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 07:47:28 ---> Running in 58ce3e26ed9f 07:47:29 Removing intermediate container 58ce3e26ed9f 07:47:29 ---> cd1f3c64605c 07:47:29 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:47:29 ---> Running in d41e8258f5a6 07:47:29 Removing intermediate container d41e8258f5a6 07:47:29 ---> b2bb47fd2dbc 07:47:29 Step 24/26 : LABEL arch=amd64 07:47:29 ---> Running in 725826cb484c 07:47:29 Removing intermediate container 725826cb484c 07:47:29 ---> 9ddbd9f25812 07:47:29 Step 25/26 : LABEL git_sha=8257fd91468d3a13c9b08aa2e5cf32be113d097a 07:47:29 ---> Running in 79c97634dd30 07:47:29 Removing intermediate container 79c97634dd30 07:47:29 ---> 70420b1ff27b 07:47:29 Step 26/26 : LABEL version=4.0.0-dev.3 07:47:29 ---> Running in 5c43da821574 07:47:29 Removing intermediate container 5c43da821574 07:47:29 ---> c7212d72950c 07:47:29 [Warning] One or more build-args [ARCH] were not consumed 07:47:29 Successfully built c7212d72950c 07:47:29 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:29 provisioning config files... 07:47:29 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15585338153595944621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:29 ---> ****-login.sh 07:47:29 nexus3.edgexfoundry.org:10001 07:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:29 Configure a credential helper to remove this warning. See 07:47:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:29 07:47:29 Login Succeeded 07:47:29 nexus3.edgexfoundry.org:10002 07:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:29 Configure a credential helper to remove this warning. See 07:47:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:29 07:47:29 Login Succeeded 07:47:29 nexus3.edgexfoundry.org:10003 07:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:30 Configure a credential helper to remove this warning. See 07:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:30 07:47:30 Login Succeeded 07:47:30 nexus3.edgexfoundry.org:10004 07:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:30 Configure a credential helper to remove this warning. See 07:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:30 07:47:30 Login Succeeded 07:47:30 ****.io 07:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:30 Configure a credential helper to remove this warning. See 07:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:30 07:47:30 Login Succeeded 07:47:30 ---> ****-login.sh ends [Pipeline] } 07:47:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:30 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 07:47:30 8257fd91468d3a13c9b08aa2e5cf32be113d097a 07:47:30 latest 07:47:30 4.0.0-dev.3 07:47:30 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 07:47:30 main 07:47:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:31 + docker push nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a 07:47:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:47:31 26ca4d7c0dd4: Preparing 07:47:31 3ffcfcfc870b: Preparing 07:47:31 4750adb8d33e: Preparing 07:47:31 1e455e05eab1: Preparing 07:47:31 367b6b769faf: Preparing 07:47:31 63ca1fbb43ae: Preparing 07:47:31 63ca1fbb43ae: Waiting 07:47:31 367b6b769faf: Pushed 07:47:31 26ca4d7c0dd4: Pushed 07:47:31 3ffcfcfc870b: Pushed 07:47:31 63ca1fbb43ae: Layer already exists 07:47:31 1e455e05eab1: Pushed 07:47:34 4750adb8d33e: Pushed 07:47:34 8257fd91468d3a13c9b08aa2e5cf32be113d097a: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 07:47:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:47:35 26ca4d7c0dd4: Preparing 07:47:35 3ffcfcfc870b: Preparing 07:47:35 4750adb8d33e: Preparing 07:47:35 1e455e05eab1: Preparing 07:47:35 367b6b769faf: Preparing 07:47:35 63ca1fbb43ae: Preparing 07:47:35 367b6b769faf: Layer already exists 07:47:35 26ca4d7c0dd4: Layer already exists 07:47:35 3ffcfcfc870b: Layer already exists 07:47:35 1e455e05eab1: Layer already exists 07:47:35 4750adb8d33e: Layer already exists 07:47:35 63ca1fbb43ae: Layer already exists 07:47:35 latest: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25893 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 07:47:35 Running in /w/workspace/device-rest-go/180 [Pipeline] { 07:47:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 [Pipeline] checkout [Pipeline] } 07:47:38 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 07:47:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:47:39 26ca4d7c0dd4: Preparing 07:47:39 3ffcfcfc870b: Preparing 07:47:39 4750adb8d33e: Preparing 07:47:39 1e455e05eab1: Preparing 07:47:39 367b6b769faf: Preparing 07:47:39 63ca1fbb43ae: Preparing 07:47:39 63ca1fbb43ae: Waiting 07:47:39 367b6b769faf: Layer already exists 07:47:39 3ffcfcfc870b: Layer already exists 07:47:39 1e455e05eab1: Layer already exists 07:47:39 4750adb8d33e: Layer already exists 07:47:39 26ca4d7c0dd4: Layer already exists 07:47:39 63ca1fbb43ae: Layer already exists 07:47:39 4.0.0-dev.3: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 07:47:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:47:39 26ca4d7c0dd4: Preparing 07:47:39 3ffcfcfc870b: Preparing 07:47:39 4750adb8d33e: Preparing 07:47:39 1e455e05eab1: Preparing 07:47:39 367b6b769faf: Preparing 07:47:39 63ca1fbb43ae: Preparing 07:47:39 63ca1fbb43ae: Waiting 07:47:39 26ca4d7c0dd4: Layer already exists 07:47:39 4750adb8d33e: Layer already exists 07:47:39 367b6b769faf: Layer already exists 07:47:39 3ffcfcfc870b: Layer already exists 07:47:39 1e455e05eab1: Layer already exists 07:47:39 63ca1fbb43ae: Layer already exists 07:47:39 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 07:47:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 07:47:40 26ca4d7c0dd4: Preparing 07:47:40 3ffcfcfc870b: Preparing 07:47:40 4750adb8d33e: Preparing 07:47:40 1e455e05eab1: Preparing 07:47:40 367b6b769faf: Preparing 07:47:40 63ca1fbb43ae: Preparing 07:47:40 63ca1fbb43ae: Waiting 07:47:40 26ca4d7c0dd4: Layer already exists 07:47:40 3ffcfcfc870b: Layer already exists 07:47:40 367b6b769faf: Layer already exists 07:47:40 4750adb8d33e: Layer already exists 07:47:40 1e455e05eab1: Layer already exists 07:47:40 63ca1fbb43ae: Layer already exists 07:47:40 main: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:40 ===================================================== [Pipeline] echo 07:47:40 taggedImages: 07:47:40 - nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a 07:47:40 - nexus3.edgexfoundry.org:10004/device-rest:latest 07:47:40 - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 07:47:40 - nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 07:47:40 - 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 07:47:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:41 07:47:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:41 latest: Pulling from edgex-lftools-log-publisher 07:47:41 5eb5b503b376: Pulling fs layer 07:47:41 5c69ac0246d0: Pulling fs layer 07:47:41 ec43610c2a17: Pulling fs layer 07:47:41 3a2ae6a8a46f: Pulling fs layer 07:47:41 33b1e0a273af: Pulling fs layer 07:47:41 5d3b04190fa2: Pulling fs layer 07:47:41 2f39f015ded8: Pulling fs layer 07:47:41 3a2ae6a8a46f: Waiting 07:47:41 33b1e0a273af: Waiting 07:47:41 5d3b04190fa2: Waiting 07:47:41 2f39f015ded8: Waiting 07:47:41 5c69ac0246d0: Verifying Checksum 07:47:41 5c69ac0246d0: Download complete 07:47:41 3a2ae6a8a46f: Verifying Checksum 07:47:41 3a2ae6a8a46f: Download complete 07:47:41 33b1e0a273af: Verifying Checksum 07:47:41 33b1e0a273af: Download complete 07:47:41 5d3b04190fa2: Verifying Checksum 07:47:41 5d3b04190fa2: Download complete 07:47:41 ec43610c2a17: Verifying Checksum 07:47:41 ec43610c2a17: Download complete 07:47:41 5eb5b503b376: Verifying Checksum 07:47:41 5eb5b503b376: Download complete 07:47:42 2f39f015ded8: Download complete 07:47:43 5eb5b503b376: Pull complete 07:47:43 5c69ac0246d0: Pull complete 07:47:43 ec43610c2a17: Pull complete 07:47:43 3a2ae6a8a46f: Pull complete 07:47:44 33b1e0a273af: Pull complete 07:47:44 5d3b04190fa2: Pull complete 07:47:45 using credential edgex-jenkins-ssh 07:47:45 Cloning the remote Git repository 07:47:45 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:47:45 > git init /w/workspace/device-rest-go/180 # timeout=10 07:47:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:47:45 > git --version # timeout=10 07:47:45 > git --version # 'git version 2.25.1' 07:47:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:48 2f39f015ded8: Pull complete 07:47:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:48 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 07:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:47:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:47:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:50 Avoid second fetch 07:47:50 Checking out Revision 8257fd91468d3a13c9b08aa2e5cf32be113d097a (main) 07:47:50 > git config core.sparsecheckout # timeout=10 07:47:50 > git checkout -f 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 07:47:51 Commit message: "Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2" 07:47:51 $ docker top fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:52 ---> job-cost.sh 07:47:52 lf-activate-venv: SKIPPING 07:47:52 INFO: No Stack... 07:47:52 INFO: Retrieving Pricing Info for: v3-standard-8 07:47:52 INFO: Archiving Costs [Pipeline] sh 07:47:53 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 07:47:53 + cut -d, -f6 [Pipeline] lock 07:47:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] 07:47:53 Resource [jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] did not exist. Created. 07:47:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:47:53 + echo total: 0.2199999988079071 [Pipeline] stash 07:47:53 Stashed 1 file(s) [Pipeline] } 07:47:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 07:47:53 $ docker stop --time=1 fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef 07:47:54 $ docker rm -f --volumes fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:47:56 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:56 Dload Upload Total Spent Left Speed 07:47:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:47:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:47:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:47:58 + sudo tee /etc/docker/daemon.new 07:47:58 { 07:47:58 "registry-mirrors": [ 07:47:58 "https://nexus3.edgexfoundry.org:10001" 07:47:58 ], 07:47:58 "bip": "10.250.0.254/24", 07:47:58 "hosts": [ 07:47:58 "tcp://0.0.0.0:5555", 07:47:58 "unix:///var/run/docker.sock" 07:47:58 ], 07:47:58 "mtu": 1458, 07:47:58 "selinux-enabled": true, 07:47:58 "seccomp-profile": "/etc/docker/seccomp.json" 07:47:58 } [Pipeline] sh 07:47:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:47:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:17 provisioning config files... 07:48:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/180@tmp/config8327963639528657954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:18 ---> ****-login.sh 07:48:18 nexus3.edgexfoundry.org:10001 07:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:18 Configure a credential helper to remove this warning. See 07:48:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:18 07:48:18 Login Succeeded 07:48:18 nexus3.edgexfoundry.org:10002 07:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:19 Configure a credential helper to remove this warning. See 07:48:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:19 07:48:19 Login Succeeded 07:48:19 nexus3.edgexfoundry.org:10003 07:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:19 Configure a credential helper to remove this warning. See 07:48:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:19 07:48:19 Login Succeeded 07:48:19 nexus3.edgexfoundry.org:10004 07:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:20 Configure a credential helper to remove this warning. See 07:48:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:20 07:48:20 Login Succeeded 07:48:20 ****.io 07:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:20 Configure a credential helper to remove this warning. See 07:48:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:20 07:48:20 Login Succeeded 07:48:20 ---> ****-login.sh ends [Pipeline] } 07:48:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:48:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:48:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:48:21 ========================================================= 07:48:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:48:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:21 + 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:48:21 Sending build context to Docker daemon 140.8kB 07:48:21 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 07:48:21 Step 2/12 : FROM ${BASE} AS builder 07:48:22 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:48:22 cf04c63912e1: Pulling fs layer 07:48:22 55b35a11ae5e: Pulling fs layer 07:48:22 a37a00ec5f00: Pulling fs layer 07:48:22 50b3750afda1: Pulling fs layer 07:48:22 4f4fb700ef54: Pulling fs layer 07:48:22 50b3750afda1: Waiting 07:48:22 80978eb59214: Pulling fs layer 07:48:22 4f4fb700ef54: Waiting 07:48:22 c9f46d7d2bd2: Pulling fs layer 07:48:22 80978eb59214: Waiting 07:48:22 c5a475d317c9: Pulling fs layer 07:48:22 c9f46d7d2bd2: Waiting 07:48:22 c5a475d317c9: Waiting 07:48:22 55b35a11ae5e: Verifying Checksum 07:48:22 55b35a11ae5e: Download complete 07:48:22 50b3750afda1: Verifying Checksum 07:48:22 50b3750afda1: Download complete 07:48:22 4f4fb700ef54: Verifying Checksum 07:48:22 4f4fb700ef54: Download complete 07:48:22 80978eb59214: Verifying Checksum 07:48:22 80978eb59214: Download complete 07:48:22 cf04c63912e1: Verifying Checksum 07:48:22 cf04c63912e1: Download complete 07:48:23 c5a475d317c9: Verifying Checksum 07:48:23 c5a475d317c9: Download complete 07:48:25 cf04c63912e1: Pull complete 07:48:25 a37a00ec5f00: Download complete 07:48:25 55b35a11ae5e: Pull complete 07:48:26 c9f46d7d2bd2: Verifying Checksum 07:48:26 c9f46d7d2bd2: Download complete 07:48:41 a37a00ec5f00: Pull complete 07:48:41 50b3750afda1: Pull complete 07:48:41 4f4fb700ef54: Pull complete 07:48:41 80978eb59214: Pull complete 07:48:50 c9f46d7d2bd2: Pull complete 07:48:51 c5a475d317c9: Pull complete 07:48:51 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:48:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:48:51 ---> be29e6b0f0d4 07:48:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:48:52 ---> Running in 68dd1fd286ea 07:48:52 Removing intermediate container 68dd1fd286ea 07:48:52 ---> 17a01eebfcb2 07:48:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:52 ---> Running in ab5371d049b8 07:48:52 Removing intermediate container ab5371d049b8 07:48:52 ---> 42105bfc1bf1 07:48:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:48:53 ---> Running in 1cf671caba30 07:48:53 Removing intermediate container 1cf671caba30 07:48:53 ---> 4430966eb099 07:48:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:48:53 ---> Running in 22f3eb1c5728 07:48:54 Removing intermediate container 22f3eb1c5728 07:48:54 ---> 5444942784b2 07:48:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:54 ---> Running in 5c59819f873c 07:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:48:58 (1/4) Installing openssh-keygen (9.7_p1-r4) 07:48:58 (2/4) Installing libedit (20240517.3.1-r0) 07:48:58 (3/4) Installing openssh-client-common (9.7_p1-r4) 07:48:58 (4/4) Installing openssh-client-default (9.7_p1-r4) 07:48:58 Executing busybox-1.36.1-r29.trigger 07:48:58 OK: 242 MiB in 58 packages 07:48:59 Removing intermediate container 5c59819f873c 07:48:59 ---> 129e7aed5d0a 07:48:59 Step 8/12 : WORKDIR /device-rest-go 07:48:59 ---> Running in 9d42f4692ae5 07:48:59 Removing intermediate container 9d42f4692ae5 07:48:59 ---> 1999d21de68d 07:48:59 Step 9/12 : COPY go.mod vendor* ./ 07:49:00 ---> 1073232498e1 07:49:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:00 ---> Running in e7ffdef0a1f1 07:50:52 Removing intermediate container e7ffdef0a1f1 07:50:52 ---> f43e9d98a04d 07:50:52 Step 11/12 : COPY . . 07:50:52 ---> a71ef257337e 07:50:52 Step 12/12 : RUN $MAKE 07:50:52 ---> Running in 9178a5506aa2 07:50:52 noop 07:50:53 Removing intermediate container 9178a5506aa2 07:50:53 ---> 2ed480b2f06c 07:50:53 Successfully built 2ed480b2f06c 07:50:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:53 + docker inspect -f . ci-base-image-arm64 07:50:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:54 prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container 07:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:50:55 $ docker top 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:56 + go version 07:50:56 go version go1.23.2 linux/arm64 [Pipeline] } 07:50:56 $ docker stop --time=1 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 07:50:58 $ docker rm -f --volumes 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:58 + docker inspect -f . ci-base-image-arm64 07:50:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:58 prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container 07:50:58 $ 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/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:51:00 $ docker top 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:01 + git config --global --add safe.directory /w/workspace/device-rest-go/180 [Pipeline] fileExists [Pipeline] sh 07:51:01 + make test 07:51:01 go test ./... -coverprofile=coverage.out ./... 07:51:08 ? github.com/edgexfoundry/device-rest-go [no test files] 07:55:00 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 07:55:03 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 07:55:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:55:03 go vet ./... 07:56:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:56:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:56:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:56:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:56:00 $ docker stop --time=1 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 07:56:02 $ docker rm -f --volumes 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:56:04 Warning: overwriting stash ‘coverage-report’ 07:56:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:06 + ls -al . 07:56:06 total 240 07:56:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:51 . 07:56:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 07:47 .. 07:56:06 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 07:47 .dockerignore 07:56:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:47 .git 07:56:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 .github 07:56:06 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 07:47 .gitignore 07:56:06 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 07:47 .golangci.yml 07:56:06 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 07:47 Attribution.txt 07:56:06 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 07:47 CHANGELOG.md 07:56:06 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 07:47 Dockerfile 07:56:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 07:47 GOVERNANCE.md 07:56:06 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 07:47 Jenkinsfile 07:56:06 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 07:47 LICENSE 07:56:06 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 07:47 Makefile 07:56:06 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 07:47 OWNERS.md 07:56:06 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 07:47 README.md 07:56:06 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 07:44 VERSION 07:56:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:47 bin 07:56:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 cmd 07:56:06 -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 07:55 coverage.out 07:56:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:47 driver 07:56:06 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 07:47 go.mod 07:56:06 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 07:47 go.sum 07:56:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 openapi 07:56:06 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:06 + 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=8257fd91468d3a13c9b08aa2e5cf32be113d097a --label arch=arm64 --label version=4.0.0-dev.3 . 07:56:06 Sending build context to Docker daemon 156.2kB 07:56:06 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:56:06 Step 2/26 : FROM ${BASE} AS builder 07:56:06 ---> 2ed480b2f06c 07:56:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:56:07 ---> Running in f6f8c5816cbc 07:56:07 Removing intermediate container f6f8c5816cbc 07:56:07 ---> 1d8e820a3404 07:56:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:56:07 ---> Running in 1cb90ea4dbc5 07:56:08 Removing intermediate container 1cb90ea4dbc5 07:56:08 ---> 961b9182e6a9 07:56:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:56:08 ---> Running in b5461eb5cbba 07:56:08 Removing intermediate container b5461eb5cbba 07:56:08 ---> 8d16a11c6a8e 07:56:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:56:08 ---> Running in d1be3b718d02 07:56:08 Removing intermediate container d1be3b718d02 07:56:08 ---> d1b2004c9ec3 07:56:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:08 ---> Running in 935516c8e68b 07:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:56:12 OK: 242 MiB in 58 packages 07:56:13 Removing intermediate container 935516c8e68b 07:56:13 ---> 3e59c36e8da1 07:56:13 Step 8/26 : WORKDIR /device-rest-go 07:56:13 ---> Running in 73e2606ff459 07:56:14 Removing intermediate container 73e2606ff459 07:56:14 ---> 4faa7f1e1a53 07:56:14 Step 9/26 : COPY go.mod vendor* ./ 07:56:14 ---> 0775054822e1 07:56:14 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:14 ---> Running in 7652227a4e3c 07:56:17 Removing intermediate container 7652227a4e3c 07:56:17 ---> 96fffaf362e5 07:56:17 Step 11/26 : COPY . . 07:56:17 ---> 637a9ab9668e 07:56:17 Step 12/26 : RUN $MAKE 07:56:17 ---> Running in 1879b52a71e2 07:56:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:00:11 Removing intermediate container 1879b52a71e2 08:00:11 ---> 1ec95d435bd5 08:00:11 Step 13/26 : FROM alpine:3.20 08:00:11 3.20: Pulling from library/alpine 08:00:11 cf04c63912e1: Already exists 08:00:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:00:11 Status: Downloaded newer image for alpine:3.20 08:00:11 ---> c157a85ed455 08:00:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:00:11 ---> Running in 2bd8f702211f 08:00:11 Removing intermediate container 2bd8f702211f 08:00:11 ---> be38cefc6585 08:00:11 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:00:11 ---> Running in 6d4ffd8c9634 08:00:11 Removing intermediate container 6d4ffd8c9634 08:00:11 ---> d4977d7c75bb 08:00:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:00:11 ---> Running in 9b047659dbde 08:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:00:11 (1/1) Installing dumb-init (1.2.5-r3) 08:00:11 Executing busybox-1.36.1-r29.trigger 08:00:11 OK: 9 MiB in 15 packages 08:00:12 Removing intermediate container 9b047659dbde 08:00:12 ---> 3ae66f23a9c0 08:00:12 Step 17/26 : RUN apk --no-cache upgrade 08:00:12 ---> Running in e07c6978c5ba 08:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:00:16 Upgrading critical system libraries and apk-tools: 08:00:16 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:00:16 Executing busybox-1.36.1-r29.trigger 08:00:16 Continuing the upgrade transaction with new apk-tools: 08:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:00:18 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 08:00:18 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 08:00:18 OK: 9 MiB in 15 packages 08:00:20 Removing intermediate container e07c6978c5ba 08:00:20 ---> 14552b5667a7 08:00:20 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:00:21 ---> 91e54b85cc65 08:00:21 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:00:22 ---> 3122423b66fb 08:00:22 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:00:22 ---> e1c09491a6fd 08:00:22 Step 21/26 : EXPOSE 59986 08:00:22 ---> Running in 1f41022aa825 08:00:23 Removing intermediate container 1f41022aa825 08:00:23 ---> 2dfcd3dccebd 08:00:23 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:00:23 ---> Running in 25d50bdfd74c 08:00:23 Removing intermediate container 25d50bdfd74c 08:00:23 ---> 4a1fc685668c 08:00:23 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:00:23 ---> Running in b748ef19b95d 08:00:23 Removing intermediate container b748ef19b95d 08:00:23 ---> 9a3ef76cbbd3 08:00:23 Step 24/26 : LABEL arch=arm64 08:00:23 ---> Running in 39b004aa06e5 08:00:24 Removing intermediate container 39b004aa06e5 08:00:24 ---> 45775cfeb66a 08:00:24 Step 25/26 : LABEL git_sha=8257fd91468d3a13c9b08aa2e5cf32be113d097a 08:00:24 ---> Running in e098307ce1f5 08:00:24 Removing intermediate container e098307ce1f5 08:00:24 ---> d5d003512963 08:00:24 Step 26/26 : LABEL version=4.0.0-dev.3 08:00:24 ---> Running in 73844b50c321 08:00:25 Removing intermediate container 73844b50c321 08:00:25 ---> f785c80ba728 08:00:25 [Warning] One or more build-args [ARCH] were not consumed 08:00:25 Successfully built f785c80ba728 08:00:25 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:00:25 provisioning config files... 08:00:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/180@tmp/config8021898959020703668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:25 ---> ****-login.sh 08:00:25 nexus3.edgexfoundry.org:10001 08:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:00:26 Configure a credential helper to remove this warning. See 08:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:00:26 08:00:26 Login Succeeded 08:00:26 nexus3.edgexfoundry.org:10002 08:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:00:26 Configure a credential helper to remove this warning. See 08:00:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:00:26 08:00:26 Login Succeeded 08:00:26 nexus3.edgexfoundry.org:10003 08:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:00:27 Configure a credential helper to remove this warning. See 08:00:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:00:27 08:00:27 Login Succeeded 08:00:27 nexus3.edgexfoundry.org:10004 08:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:00:27 Configure a credential helper to remove this warning. See 08:00:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:00:27 08:00:27 Login Succeeded 08:00:27 ****.io 08:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:00:28 Configure a credential helper to remove this warning. See 08:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:00:28 08:00:28 Login Succeeded 08:00:28 ---> ****-login.sh ends [Pipeline] } 08:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:00:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:00:28 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:00:28 8257fd91468d3a13c9b08aa2e5cf32be113d097a 08:00:28 latest 08:00:28 4.0.0-dev.3 08:00:28 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 08:00:28 main 08:00:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:28 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a 08:00:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:00:28 1c9782a008d8: Preparing 08:00:28 936a02ebbd85: Preparing 08:00:28 b3ed039e97db: Preparing 08:00:28 53a6f4593dca: Preparing 08:00:28 89fb0c8b2bfd: Preparing 08:00:28 16113d51b718: Preparing 08:00:28 16113d51b718: Waiting 08:00:29 936a02ebbd85: Pushed 08:00:29 1c9782a008d8: Pushed 08:00:29 89fb0c8b2bfd: Pushed 08:00:29 16113d51b718: Layer already exists 08:00:30 53a6f4593dca: Pushed 08:00:37 b3ed039e97db: Pushed 08:00:37 8257fd91468d3a13c9b08aa2e5cf32be113d097a: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:00:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:00:38 1c9782a008d8: Preparing 08:00:38 936a02ebbd85: Preparing 08:00:38 b3ed039e97db: Preparing 08:00:38 53a6f4593dca: Preparing 08:00:38 89fb0c8b2bfd: Preparing 08:00:38 16113d51b718: Preparing 08:00:38 16113d51b718: Waiting 08:00:38 936a02ebbd85: Layer already exists 08:00:38 b3ed039e97db: Layer already exists 08:00:38 53a6f4593dca: Layer already exists 08:00:38 1c9782a008d8: Layer already exists 08:00:38 89fb0c8b2bfd: Layer already exists 08:00:38 16113d51b718: Layer already exists 08:00:38 latest: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 08:00:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:00:39 1c9782a008d8: Preparing 08:00:39 936a02ebbd85: Preparing 08:00:39 b3ed039e97db: Preparing 08:00:39 53a6f4593dca: Preparing 08:00:39 89fb0c8b2bfd: Preparing 08:00:39 16113d51b718: Preparing 08:00:39 16113d51b718: Waiting 08:00:39 53a6f4593dca: Layer already exists 08:00:39 b3ed039e97db: Layer already exists 08:00:39 89fb0c8b2bfd: Layer already exists 08:00:39 1c9782a008d8: Layer already exists 08:00:39 936a02ebbd85: Layer already exists 08:00:39 16113d51b718: Layer already exists 08:00:39 4.0.0-dev.3: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 08:00:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:00:40 1c9782a008d8: Preparing 08:00:40 936a02ebbd85: Preparing 08:00:40 b3ed039e97db: Preparing 08:00:40 53a6f4593dca: Preparing 08:00:40 89fb0c8b2bfd: Preparing 08:00:40 16113d51b718: Preparing 08:00:40 16113d51b718: Waiting 08:00:40 1c9782a008d8: Layer already exists 08:00:40 936a02ebbd85: Layer already exists 08:00:40 b3ed039e97db: Layer already exists 08:00:40 53a6f4593dca: Layer already exists 08:00:40 89fb0c8b2bfd: Layer already exists 08:00:40 16113d51b718: Layer already exists 08:00:40 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 08:00:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:00:41 1c9782a008d8: Preparing 08:00:41 936a02ebbd85: Preparing 08:00:41 b3ed039e97db: Preparing 08:00:41 53a6f4593dca: Preparing 08:00:41 89fb0c8b2bfd: Preparing 08:00:41 16113d51b718: Preparing 08:00:41 16113d51b718: Waiting 08:00:41 b3ed039e97db: Layer already exists 08:00:41 1c9782a008d8: Layer already exists 08:00:41 936a02ebbd85: Layer already exists 08:00:41 89fb0c8b2bfd: Layer already exists 08:00:41 53a6f4593dca: Layer already exists 08:00:41 16113d51b718: Layer already exists 08:00:41 main: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:00:41 ===================================================== [Pipeline] echo 08:00:41 taggedImages: 08:00:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a 08:00:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:00:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 08:00:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 08:00:41 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:00:41 08:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:00:42 arm64: Pulling from edgex-lftools-log-publisher 08:00:42 8998bd30e6a1: Pulling fs layer 08:00:42 04944245beec: Pulling fs layer 08:00:42 699f458cf7ca: Pulling fs layer 08:00:42 765212b225bb: Pulling fs layer 08:00:42 f23df028b6ca: Pulling fs layer 08:00:42 d65c8cfc05b1: Pulling fs layer 08:00:42 2437ff75d9bd: Pulling fs layer 08:00:42 765212b225bb: Waiting 08:00:42 f23df028b6ca: Waiting 08:00:42 d65c8cfc05b1: Waiting 08:00:42 2437ff75d9bd: Waiting 08:00:42 04944245beec: Verifying Checksum 08:00:42 04944245beec: Download complete 08:00:42 765212b225bb: Verifying Checksum 08:00:42 765212b225bb: Download complete 08:00:42 f23df028b6ca: Download complete 08:00:42 d65c8cfc05b1: Verifying Checksum 08:00:42 d65c8cfc05b1: Download complete 08:00:42 699f458cf7ca: Verifying Checksum 08:00:42 699f458cf7ca: Download complete 08:00:42 8998bd30e6a1: Verifying Checksum 08:00:45 2437ff75d9bd: Verifying Checksum 08:00:45 2437ff75d9bd: Download complete 08:00:47 8998bd30e6a1: Pull complete 08:00:48 04944245beec: Pull complete 08:00:49 699f458cf7ca: Pull complete 08:00:49 765212b225bb: Pull complete 08:00:50 f23df028b6ca: Pull complete 08:00:50 d65c8cfc05b1: Pull complete 08:01:09 2437ff75d9bd: Pull complete 08:01:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:01:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:09 prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container 08:01:09 $ 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/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:01:12 $ docker top 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:13 ---> job-cost.sh 08:01:13 lf-activate-venv: SKIPPING 08:01:13 INFO: No Stack... 08:01:13 INFO: Retrieving Pricing Info for: v3-standard-4 08:01:14 INFO: Archiving Costs [Pipeline] sh 08:01:14 + cut -d, -f6 08:01:15 + cat /w/workspace/device-rest-go/180/archives/cost.csv [Pipeline] lock 08:01:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] 08:01:15 Resource [jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] did not exist. Created. 08:01:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:01:15 /w/workspace/device-rest-go/180@tmp/durable-a146dc6e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:01:16 + echo total: 0.10999999940395355 [Pipeline] stash 08:01:16 Warning: overwriting stash ‘stack-cost’ 08:01:16 Stashed 1 file(s) [Pipeline] } 08:01:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 08:01:16 $ docker stop --time=1 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 08:01:18 $ docker rm -f --volumes 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 [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 08:01:19 provisioning config files... 08:01:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4291077653207960725tmp [Pipeline] { [Pipeline] sh 08:01:19 + set +x 08:01:19 + bash -s -- 08:01:19 + curl -s https://codecov.io/bash 08:01:19 08:01:19 _____ _ 08:01:19 / ____| | | 08:01:19 | | ___ __| | ___ ___ _____ __ 08:01:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:01:19 | |___| (_) | (_| | __/ (_| (_) \ V / 08:01:19 \_____\___/ \__,_|\___|\___\___/ \_/ 08:01:19 Bash-1.0.6 08:01:19 08:01:19 08:01:19 ==> git version 2.25.1 found 08:01:19 ==> 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 08:01:19 Release-Date: 2020-01-08 08:01:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:01:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:01:19 ==> Jenkins CI detected. 08:01:19 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 08:01:19 project root: . 08:01:19 --> token set from env 08:01:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:01:19 ==> Running gcov in . (disable via -X gcov) 08:01:19 ==> Python coveragepy not found 08:01:19 ==> Searching for coverage reports in: 08:01:19 + . 08:01:19 -> Found 1 reports 08:01:19 ==> Detecting git/mercurial file structure 08:01:19 ==> Reading reports 08:01:19 + ./coverage.out bytes=14565 08:01:19 ==> Appending adjustments 08:01:19 https://docs.codecov.io/docs/fixing-reports 08:01:19 + Found adjustments 08:01:19 ==> Gzipping contents 08:01:19 4.0K /tmp/codecov.o6qBUU.gz 08:01:19 ==> Uploading reports 08:01:19 url: https://codecov.io 08:01:19 query: branch=main&commit=8257fd91468d3a13c9b08aa2e5cf32be113d097a&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:01:19 -> Pinging Codecov 08:01:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8257fd91468d3a13c9b08aa2e5cf32be113d097a&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:01:20 -> Uploading to 08:01:20 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/8257fd91468d3a13c9b08aa2e5cf32be113d097a/be3fa0e4-c253-4a99-8524-de572ebd319a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T080119Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e3c000542a418a0c75a74a885488ccdb443fbe60eb9d0ea4b379c6e0cdb19191 08:01:20 % Total % Received % Xferd Average Speed Time Time Time Current 08:01:20 Dload Upload Total Spent Left Speed 08:01:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 11187 --:--:-- --:--:-- --:--:-- 11133 100 2327 0 0 100 2327 0 10674 --:--:-- --:--:-- --:--:-- 10625 08:01:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } 08:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:01:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:01:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:01:20 08:01:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:01:21 latest: Pulling from edgex-devops/edgex-snyk-go 08:01:21 43c4264eed91: Already exists 08:01:21 4cc291be95ef: Already exists 08:01:21 2ac1f1163629: Already exists 08:01:21 5c3c966382ef: Already exists 08:01:21 4f4fb700ef54: Already exists 08:01:21 d9c7d2e4e75e: Pulling fs layer 08:01:21 9c3e1370e548: Pulling fs layer 08:01:21 d9c7d2e4e75e: Verifying Checksum 08:01:21 d9c7d2e4e75e: Download complete 08:01:21 d9c7d2e4e75e: Pull complete 08:01:22 9c3e1370e548: Verifying Checksum 08:01:22 9c3e1370e548: Download complete 08:01:24 9c3e1370e548: Pull complete 08:01:24 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:01:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:01:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:24 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:01:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:01:26 $ docker top 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 08:01:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 08:01:27 + set -o pipefail 08:01:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 08:01:35 08:01:35 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 08:01:35 08:01:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/d3c38ba2-354c-4b6c-b08e-07b317eead52 08:01:35 08:01:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:01:35 08:01:35 08:01:35 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:01:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:01:35 $ docker stop --time=1 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 08:01:39 $ docker rm -f --volumes 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 [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 08:01:40 + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] sh 08:01:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:01:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:41 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:01:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:01:42 $ docker top 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e -eo pid,comm 08:01:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:01:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:42 [ssh-agent] Looking for ssh-agent implementation... 08:01:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:42 $ docker exec 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e ssh-agent 08:01:42 SSH_AUTH_SOCK=/tmp/ssh-qbZX4PiBxQRH/agent.32 08:01:42 SSH_AGENT_PID=38 08:01:42 Running ssh-add (command line suppressed) 08:01:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16328998515796371181.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16328998515796371181.key) 08:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:43 + git semver tag 08:01:43 2024-11-08 08:01:43,198 [run_tag] DEBUG tag force:False 08:01:43 2024-11-08 08:01:43,198 [check_head_tag] DEBUG check head tag 08:01:43 2024-11-08 08:01:43,199 [execute] INFO git cat-file --batch-check 08:01:43 2024-11-08 08:01:43,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 08:01:43 2024-11-08 08:01:43,203 [execute] INFO git cat-file --batch 08:01:43 2024-11-08 08:01:43,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 08:01:43 2024-11-08 08:01:43,226 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:01:43 2024-11-08 08:01:43,226 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 08:01:43 2024-11-08 08:01:43,227 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:01:43 2024-11-08 08:01:43,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:01:43 4.0.0-dev.3 [Pipeline] } 08:01:43 $ docker exec --env ******** --env ******** 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e ssh-agent -k 08:01:43 unset SSH_AUTH_SOCK; 08:01:43 unset SSH_AGENT_PID; 08:01:43 echo Agent pid 38 killed; 08:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:01:43 + git semver [Pipeline] } 08:01:44 $ docker stop --time=1 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e 08:01:45 $ docker rm -f --volumes 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:01:45 08:01:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:01:46 0.23.1-centos7: Pulling from edgex-lftools 08:01:46 ab5ef0e58194: Pulling fs layer 08:01:46 9712f1f96733: Pulling fs layer 08:01:46 63f879dbbcfc: Pulling fs layer 08:01:46 0d9ebad4ef96: Pulling fs layer 08:01:46 e9a5061849ea: Pulling fs layer 08:01:46 d747dcd14b5f: Pulling fs layer 08:01:46 2de7ff778b66: Pulling fs layer 08:01:46 0d9ebad4ef96: Waiting 08:01:46 d747dcd14b5f: Waiting 08:01:46 2de7ff778b66: Waiting 08:01:46 e9a5061849ea: Waiting 08:01:46 9712f1f96733: Verifying Checksum 08:01:46 9712f1f96733: Download complete 08:01:46 63f879dbbcfc: Verifying Checksum 08:01:46 63f879dbbcfc: Download complete 08:01:46 0d9ebad4ef96: Verifying Checksum 08:01:46 0d9ebad4ef96: Download complete 08:01:46 d747dcd14b5f: Verifying Checksum 08:01:46 d747dcd14b5f: Download complete 08:01:46 e9a5061849ea: Verifying Checksum 08:01:46 e9a5061849ea: Download complete 08:01:46 ab5ef0e58194: Verifying Checksum 08:01:46 ab5ef0e58194: Download complete 08:01:46 2de7ff778b66: Verifying Checksum 08:01:46 2de7ff778b66: Download complete 08:01:49 ab5ef0e58194: Pull complete 08:01:49 9712f1f96733: Pull complete 08:01:49 63f879dbbcfc: Pull complete 08:01:54 0d9ebad4ef96: Pull complete 08:01:54 e9a5061849ea: Pull complete 08:01:54 d747dcd14b5f: Pull complete 08:01:54 2de7ff778b66: Pull complete 08:01:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:01:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:54 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:01:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:01:59 $ docker top 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:01:59 provisioning config files... 08:01:59 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13821410076611869241tmp 08:01:59 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12895390293170012976tmp 08:01:59 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12217513504644997381tmp [Pipeline] { [Pipeline] echo 08:01:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:01:59 ---> sigul-configuration.sh 08:01:59 gpg: directory `/root/.gnupg' created 08:01:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:01:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:01:59 gpg: keyring `/root/.gnupg/secring.gpg' created 08:01:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:01:59 gpg: CAST5 encrypted data 08:01:59 gpg: encrypted with 1 passphrase 08:01:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:01:59 + mkdir /home/jenkins 08:01:59 + mkdir /home/jenkins/sigul [Pipeline] sh 08:02:00 + 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 08:02:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:02:00 ---> sigul-install.sh 08:02:00 Sigul already installed; skipping installation. [Pipeline] sh 08:02:00 + git tag --list 08:02:00 v1.0.0 08:02:00 v1.1.0 08:02:00 v1.1.1 08:02:00 v1.1.2 08:02:00 v1.2.0 08:02:00 v1.2.1 08:02:00 v2.0.0 08:02:00 v2.1.0 08:02:00 v2.1.1 08:02:00 v2.2.0 08:02:00 v2.3.0 08:02:00 v3.0 08:02:00 v3.0.0 08:02:00 v3.1 08:02:00 v3.1.0 08:02:00 v3.1.0-dev.1 08:02:00 v3.1.0-dev.10 08:02:00 v3.1.0-dev.11 08:02:00 v3.1.0-dev.12 08:02:00 v3.1.0-dev.13 08:02:00 v3.1.0-dev.14 08:02:00 v3.1.0-dev.15 08:02:00 v3.1.0-dev.16 08:02:00 v3.1.0-dev.17 08:02:00 v3.1.0-dev.18 08:02:00 v3.1.0-dev.19 08:02:00 v3.1.0-dev.2 08:02:00 v3.1.0-dev.20 08:02:00 v3.1.0-dev.21 08:02:00 v3.1.0-dev.22 08:02:00 v3.1.0-dev.23 08:02:00 v3.1.0-dev.24 08:02:00 v3.1.0-dev.25 08:02:00 v3.1.0-dev.26 08:02:00 v3.1.0-dev.27 08:02:00 v3.1.0-dev.28 08:02:00 v3.1.0-dev.29 08:02:00 v3.1.0-dev.3 08:02:00 v3.1.0-dev.30 08:02:00 v3.1.0-dev.31 08:02:00 v3.1.0-dev.32 08:02:00 v3.1.0-dev.4 08:02:00 v3.1.0-dev.5 08:02:00 v3.1.0-dev.6 08:02:00 v3.1.0-dev.7 08:02:00 v3.1.0-dev.8 08:02:00 v3.1.0-dev.9 08:02:00 v3.1.1 08:02:00 v3.2.0-dev.1 08:02:00 v3.2.0-dev.10 08:02:00 v3.2.0-dev.11 08:02:00 v3.2.0-dev.12 08:02:00 v3.2.0-dev.13 08:02:00 v3.2.0-dev.14 08:02:00 v3.2.0-dev.15 08:02:00 v3.2.0-dev.16 08:02:00 v3.2.0-dev.17 08:02:00 v3.2.0-dev.18 08:02:00 v3.2.0-dev.19 08:02:00 v3.2.0-dev.2 08:02:00 v3.2.0-dev.20 08:02:00 v3.2.0-dev.21 08:02:00 v3.2.0-dev.22 08:02:00 v3.2.0-dev.23 08:02:00 v3.2.0-dev.24 08:02:00 v3.2.0-dev.25 08:02:00 v3.2.0-dev.3 08:02:00 v3.2.0-dev.4 08:02:00 v3.2.0-dev.5 08:02:00 v3.2.0-dev.6 08:02:00 v3.2.0-dev.7 08:02:00 v3.2.0-dev.8 08:02:00 v3.2.0-dev.9 08:02:00 v4.0.0-dev.1 08:02:00 v4.0.0-dev.2 08:02:00 v4.0.0-dev.3 [Pipeline] sh 08:02:01 + lftools sign git-tag v4.0.0-dev.3 08:02:01 Signing Git tag with Sigul... 08:02:01 Signing v4.0.0-dev.3 [Pipeline] echo 08:02:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:02:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:02:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:02:02 $ docker stop --time=1 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 08:02:03 $ docker rm -f --volumes 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:02:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:02:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:04 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:02:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:02:04 $ docker top 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 -eo pid,comm 08:02:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:02:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:02:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:05 [ssh-agent] Looking for ssh-agent implementation... 08:02:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:05 $ docker exec 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 ssh-agent 08:02:05 SSH_AUTH_SOCK=/tmp/ssh-dktxUq8br6jK/agent.32 08:02:05 SSH_AGENT_PID=38 08:02:05 Running ssh-add (command line suppressed) 08:02:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14188422673487479066.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14188422673487479066.key) 08:02:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:05 + git semver bump pre 08:02:05 2024-11-08 08:02:05,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:02:05 2024-11-08 08:02:05,805 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 08:02:05 2024-11-08 08:02:05,805 [bump_version] DEBUG bumped version:4.0.0-dev.4 08:02:05 2024-11-08 08:02:05,805 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 08:02:05 2024-11-08 08:02:05,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:02:05 2024-11-08 08:02:05,805 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:02:05 2024-11-08 08:02:05,807 [execute] INFO git cat-file --batch-check 08:02:05 2024-11-08 08:02:05,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:02:05 2024-11-08 08:02:05,812 [execute] INFO git cat-file --batch 08:02:05 2024-11-08 08:02:05,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:02:05 2024-11-08 08:02:05,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:02:05 4.0.0-dev.4 [Pipeline] } 08:02:05 $ docker exec --env ******** --env ******** 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 ssh-agent -k 08:02:05 unset SSH_AUTH_SOCK; 08:02:05 unset SSH_AGENT_PID; 08:02:05 echo Agent pid 38 killed; 08:02:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:02:06 + git semver [Pipeline] } 08:02:06 $ docker stop --time=1 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 08:02:07 $ docker rm -f --volumes 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 [Pipeline] // withDockerContainer [Pipeline] sh 08:02:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:02:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:08 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:02:09 $ docker top ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 -eo pid,comm 08:02:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:02:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:02:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:02:09 [ssh-agent] Looking for ssh-agent implementation... 08:02:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:02:09 $ docker exec ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 ssh-agent 08:02:09 SSH_AUTH_SOCK=/tmp/ssh-1mCSxvwHkUWd/agent.32 08:02:09 SSH_AGENT_PID=38 08:02:09 Running ssh-add (command line suppressed) 08:02:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16999102812100759634.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16999102812100759634.key) 08:02:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:02:09 + git semver push 08:02:10 2024-11-08 08:02:10,124 [run_push] DEBUG push 08:02:10 2024-11-08 08:02:10,124 [execute] INFO git cat-file --batch-check 08:02:10 2024-11-08 08:02:10,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:02:10 2024-11-08 08:02:10,129 [execute] INFO git rev-list cfce092dec13fa9964428400713c8468aa6288d3 -- 08:02:10 2024-11-08 08:02:10,129 [execute] DEBUG Popen(['git', 'rev-list', 'cfce092dec13fa9964428400713c8468aa6288d3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:02:10 2024-11-08 08:02:10,140 [execute] INFO git fetch -v origin 08:02:10 2024-11-08 08:02:10,141 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:02:10 2024-11-08 08:02:10,585 [run_push] DEBUG no remote changes detected 08:02:10 2024-11-08 08:02:10,586 [execute] INFO git push origin semver 08:02:10 2024-11-08 08:02:10,586 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:02:11 2024-11-08 08:02:11,285 [run_push] DEBUG push all version tags 08:02:11 2024-11-08 08:02:11,285 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:02:11 2024-11-08 08:02:11,286 [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) 08:02:11 2024-11-08 08:02:11,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:02:11 4.0.0-dev.4 [Pipeline] } 08:02:11 $ docker exec --env ******** --env ******** ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 ssh-agent -k 08:02:12 unset SSH_AUTH_SOCK; 08:02:12 unset SSH_AGENT_PID; 08:02:12 echo Agent pid 38 killed; 08:02:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:02:12 + git semver [Pipeline] } 08:02:12 $ docker stop --time=1 ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 08:02:13 $ docker rm -f --volumes ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 [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 08:02:14 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 08:02:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:02:14 total 16 08:02:14 drwxr-xr-x 3 root root 4096 Nov 8 07:47 . 08:02:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:02 .. 08:02:14 drwxr-xr-x 2 root root 4096 Nov 8 07:47 cost 08:02:14 -rw-r--r-- 1 root root 86 Nov 8 07:47 cost.csv 08:02:14 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 08:02:14 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:02:14 total 16 08:02:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 07:47 . 08:02:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:02 .. 08:02:14 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 07:47 cost 08:02:14 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 07:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:02:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:02:15 ---> package-listing.sh 08:02:15 ++ facter osfamily 08:02:15 ++ tr '[:upper:]' '[:lower:]' 08:02:15 + OS_FAMILY=debian 08:02:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:02:15 + START_PACKAGES=/tmp/packages_start.txt 08:02:15 + END_PACKAGES=/tmp/packages_end.txt 08:02:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:02:15 + PACKAGES=/tmp/packages_start.txt 08:02:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:02:15 + PACKAGES=/tmp/packages_end.txt 08:02:15 + case "${OS_FAMILY}" in 08:02:15 + dpkg -l 08:02:15 + grep '^ii' 08:02:15 + '[' -f /tmp/packages_start.txt ']' 08:02:15 + '[' -f /tmp/packages_end.txt ']' 08:02:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:02:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:02:15 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:02:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:02:15 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 08:02:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:16 prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container 08:02:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:02:17 $ docker top 3931891312de264e1fa2f0038a8a1ad003ed9dfa6468bfa7cf256fc5a2f3fe4d -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:17 + touch /tmp/pre-build-complete [Pipeline] sh 08:02:17 + mkdir -p /var/log/sysstat [Pipeline] sh 08:02:18 + ls /var/log/sa-host 08:02:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:18 provisioning config files... 08:02:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16217594892678889987tmp [Pipeline] { [Pipeline] echo 08:02:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:02:18 ---> create-netrc.sh [Pipeline] } 08:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:02:18 ---> python-tools-install.sh [Pipeline] echo 08:02:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:02:19 ---> sudo-logs.sh 08:02:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:02:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:02:19 ---> job-cost.sh 08:02:19 lf-activate-venv: SKIPPING 08:02:19 DEBUG: total: 0.2199999988079071 08:02:19 INFO: Retrieving Stack Cost... 08:02:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:02:20 INFO: Archiving Costs [Pipeline] echo 08:02:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:02:20 ---> logs-deploy.sh 08:02:20 lf-activate-venv: SKIPPING 08:02:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/180 08:02:20 INFO: archiving workspace using pattern(s): 08:02:21 Archives upload complete. 08:02:21 INFO: archiving logs to Nexus