Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 291482f778a08bdc345d5637fe0e8ffcfe52633f 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-ssh6382103562151751732.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17645789977656062831.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6981747127234677632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh18301494467250312925.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-ssh4883293035065221759.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24601 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 > 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 Avoid second fetch Checking out Revision 291482f778a08bdc345d5637fe0e8ffcfe52633f (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372)" > git config core.sparsecheckout # timeout=10 > git checkout -f 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 > git rev-list --no-walk e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:00 ========================================================= 20:57:00 EdgeX Global Pipelines Version Info 20:57:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:01 ------------------- 20:57:01 stable info: 20:57:01 ------------------- 20:57:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:57:01 Message: update stable to v1.0.258 20:57:02 ------------------- 20:57:02 experimental info: 20:57:02 ------------------- 20:57:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:57:02 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:57:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:57:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo 20:57:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 291482f [Pipeline] echo 20:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:03 provisioning config files... 20:57:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17456863579444126323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:03 ---> ****-login.sh 20:57:03 nexus3.edgexfoundry.org:10001 20:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:03 Configure a credential helper to remove this warning. See 20:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:03 20:57:03 Login Succeeded 20:57:03 nexus3.edgexfoundry.org:10002 20:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:03 Configure a credential helper to remove this warning. See 20:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:03 20:57:03 Login Succeeded 20:57:03 nexus3.edgexfoundry.org:10003 20:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:04 Configure a credential helper to remove this warning. See 20:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:04 20:57:04 Login Succeeded 20:57:04 nexus3.edgexfoundry.org:10004 20:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:04 Configure a credential helper to remove this warning. See 20:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:04 20:57:04 Login Succeeded 20:57:04 ****.io 20:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:04 Configure a credential helper to remove this warning. See 20:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:04 20:57:04 Login Succeeded 20:57:04 ---> ****-login.sh ends [Pipeline] } 20:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:04 + git rev-list -1 --merges 291482f778a08bdc345d5637fe0e8ffcfe52633f~1..291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo 20:57:04 -----------> git rev-list -1 --merges 291482f778a08bdc345d5637fe0e8ffcfe52633f~1..291482f778a08bdc345d5637fe0e8ffcfe52633f 291482f778a08bdc345d5637fe0e8ffcfe52633f [false] [Pipeline] sh 20:57:05 + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo 20:57:05 ========================================================= 20:57:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:05 + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] echo 20:57:05 [semverPrep] GIT_COMMIT: 291482f778a08bdc345d5637fe0e8ffcfe52633f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372) [Pipeline] echo 20:57:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:06 + grep -v github /etc/ssh/ssh_known_hosts 20:57:06 + [ -e /tmp/ssh_known_hosts ] 20:57:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:57:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:57:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:06 20:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:06 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:06 b85a868b505f: Pulling fs layer 20:57:06 e2be974225ed: Pulling fs layer 20:57:06 339a4e72a1f5: Pulling fs layer 20:57:06 988bab9f4d93: Pulling fs layer 20:57:06 1469e6f7b9e6: Pulling fs layer 20:57:06 eaf3925da568: Pulling fs layer 20:57:06 bab4dde63d76: Pulling fs layer 20:57:06 bde34c3a00c8: Pulling fs layer 20:57:06 b352a97aabf1: Pulling fs layer 20:57:06 4872d77fe225: Pulling fs layer 20:57:06 5851b861e8e6: Pulling fs layer 20:57:06 eaf3925da568: Waiting 20:57:06 bab4dde63d76: Waiting 20:57:06 bde34c3a00c8: Waiting 20:57:06 b352a97aabf1: Waiting 20:57:06 4872d77fe225: Waiting 20:57:06 1469e6f7b9e6: Waiting 20:57:06 5851b861e8e6: Waiting 20:57:06 e2be974225ed: Verifying Checksum 20:57:06 e2be974225ed: Download complete 20:57:06 988bab9f4d93: Download complete 20:57:06 1469e6f7b9e6: Verifying Checksum 20:57:06 1469e6f7b9e6: Download complete 20:57:06 eaf3925da568: Verifying Checksum 20:57:06 eaf3925da568: Download complete 20:57:06 339a4e72a1f5: Verifying Checksum 20:57:06 339a4e72a1f5: Download complete 20:57:06 bde34c3a00c8: Verifying Checksum 20:57:06 bde34c3a00c8: Download complete 20:57:06 b352a97aabf1: Verifying Checksum 20:57:06 b352a97aabf1: Download complete 20:57:06 4872d77fe225: Verifying Checksum 20:57:06 4872d77fe225: Download complete 20:57:06 5851b861e8e6: Verifying Checksum 20:57:06 5851b861e8e6: Download complete 20:57:06 b85a868b505f: Download complete 20:57:07 bab4dde63d76: Verifying Checksum 20:57:07 bab4dde63d76: Download complete 20:57:08 b85a868b505f: Pull complete 20:57:08 e2be974225ed: Pull complete 20:57:09 339a4e72a1f5: Pull complete 20:57:09 988bab9f4d93: Pull complete 20:57:09 1469e6f7b9e6: Pull complete 20:57:09 eaf3925da568: Pull complete 20:57:11 bab4dde63d76: Pull complete 20:57:11 bde34c3a00c8: Pull complete 20:57:11 b352a97aabf1: Pull complete 20:57:11 4872d77fe225: Pull complete 20:57:11 5851b861e8e6: Pull complete 20:57:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:12 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 20:57:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:57:15 $ docker top 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 -eo pid,comm 20:57:15 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). 20:57:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:16 [ssh-agent] Looking for ssh-agent implementation... 20:57:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:16 $ docker exec 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent 20:57:16 SSH_AUTH_SOCK=/tmp/ssh-HuDKXulKVjNz/agent.32 20:57:16 SSH_AGENT_PID=38 20:57:16 Running ssh-add (command line suppressed) 20:57:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7804364238134577579.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7804364238134577579.key) 20:57:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:16 + git tag --points-at HEAD [Pipeline] } 20:57:16 $ docker exec --env ******** --env ******** 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent -k 20:57:16 unset SSH_AUTH_SOCK; 20:57:16 unset SSH_AGENT_PID; 20:57:16 echo Agent pid 38 killed; 20:57:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:16 [ssh-agent] Looking for ssh-agent implementation... 20:57:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:16 $ docker exec 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent 20:57:17 SSH_AUTH_SOCK=/tmp/ssh-QaTwOHjHK5ey/agent.71 20:57:17 SSH_AGENT_PID=77 20:57:17 Running ssh-add (command line suppressed) 20:57:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12591052105413588451.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12591052105413588451.key) 20:57:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:17 + git semver init 20:57:17 2023-12-06 20:57:17,671 [run_init] DEBUG init version:0.0.0 force:False 20:57:17 2023-12-06 20:57:17,672 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:57:17 2023-12-06 20:57:17,672 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:57:17 2023-12-06 20:57:17,672 [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) 20:57:19 2023-12-06 20:57:19,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:57:19 2023-12-06 20:57:19,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:57:19 2023-12-06 20:57:19,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:57:19 2023-12-06 20:57:19,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:57:19 3.2.0-dev.5 [Pipeline] } 20:57:19 $ docker exec --env ******** --env ******** 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 ssh-agent -k 20:57:19 unset SSH_AUTH_SOCK; 20:57:19 unset SSH_AGENT_PID; 20:57:19 echo Agent pid 77 killed; 20:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:20 + git semver [Pipeline] } 20:57:20 $ docker stop --time=1 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 20:57:21 $ docker rm -f --volumes 24efa190120deb14e5a48448c8f29a013b64d31bf0a80adf9533ebcc8488e1b4 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:22 Stashed 1 file(s) [Pipeline] echo 20:57:22 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [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 20:57:22 provisioning config files... 20:57:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13941505731814828781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24600 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:57:23 Running in /w/workspace/device-rest-go/157 [Pipeline] { [Pipeline] checkout 20:57:23 The recommended git tool is: git 20:57:23 ---> ****-login.sh 20:57:23 nexus3.edgexfoundry.org:10001 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10002 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10003 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10004 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 ****.io 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 ---> ****-login.sh ends [Pipeline] } 20:57:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:23 ========================================================= 20:57:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:57:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:57:24 Sending build context to Docker daemon 16.29MB 20:57:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:57:24 Step 2/12 : FROM ${BASE} AS builder 20:57:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:24 7264a8db6415: Pulling fs layer 20:57:24 c4d48a809fc2: Pulling fs layer 20:57:24 4f1c88b9dad5: Pulling fs layer 20:57:24 ad3a456e5733: Pulling fs layer 20:57:24 69c7f0334f64: Pulling fs layer 20:57:24 1f1c1a5573a3: Pulling fs layer 20:57:24 ce7588e14bc9: Pulling fs layer 20:57:24 b5e4710f87ac: Pulling fs layer 20:57:24 ce7588e14bc9: Waiting 20:57:24 1f1c1a5573a3: Waiting 20:57:24 ad3a456e5733: Waiting 20:57:24 69c7f0334f64: Waiting 20:57:24 b5e4710f87ac: Waiting 20:57:24 c4d48a809fc2: Download complete 20:57:24 ad3a456e5733: Download complete 20:57:24 69c7f0334f64: Download complete 20:57:24 7264a8db6415: Verifying Checksum 20:57:24 7264a8db6415: Download complete 20:57:24 1f1c1a5573a3: Verifying Checksum 20:57:24 1f1c1a5573a3: Download complete 20:57:24 7264a8db6415: Pull complete 20:57:24 b5e4710f87ac: Verifying Checksum 20:57:24 b5e4710f87ac: Download complete 20:57:24 c4d48a809fc2: Pull complete 20:57:24 4f1c88b9dad5: Verifying Checksum 20:57:24 4f1c88b9dad5: Download complete 20:57:25 ce7588e14bc9: Verifying Checksum 20:57:25 ce7588e14bc9: Download complete 20:57:27 using credential edgex-jenkins-ssh 20:57:27 Cloning the remote Git repository 20:57:28 4f1c88b9dad5: Pull complete 20:57:28 ad3a456e5733: Pull complete 20:57:28 69c7f0334f64: Pull complete 20:57:28 1f1c1a5573a3: Pull complete 20:57:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:57:28 > git init /w/workspace/device-rest-go/157 # timeout=10 20:57:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:57:28 > git --version # timeout=10 20:57:28 > git --version # 'git version 2.25.1' 20:57:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:31 ce7588e14bc9: Pull complete 20:57:31 b5e4710f87ac: Pull complete 20:57:31 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:57:31 ---> 88b5674ff536 20:57:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:31 Avoid second fetch 20:57:31 Checking out Revision 291482f778a08bdc345d5637fe0e8ffcfe52633f (main) 20:57:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:57:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#372)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:31 > git config core.sparsecheckout # timeout=10 20:57:31 > git checkout -f 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 20:57:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:57:33 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:33 Dload Upload Total Spent Left Speed 20:57:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh 20:57:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:57:33 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 20:57:33 20:57:33 { 20:57:33 "registry-mirrors": [ 20:57:33 "https://nexus3.edgexfoundry.org:10001" 20:57:33 ], 20:57:33 "bip": "10.250.0.254/24", 20:57:33 "hosts": [ 20:57:33 "tcp://0.0.0.0:5555", 20:57:33 "unix:///var/run/docker.sock" 20:57:33 ], 20:57:33 "mtu": 1458, 20:57:33 "selinux-enabled": true, 20:57:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:57:33 } [Pipeline] sh 20:57:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:57:34 + sudo service docker restart 20:57:38 ---> Running in 3e14ac42d78d 20:57:38 Removing intermediate container 3e14ac42d78d 20:57:38 ---> dbe759dd14e0 20:57:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:38 ---> Running in 88723cc3d146 20:57:38 Removing intermediate container 88723cc3d146 20:57:38 ---> 0b2edfcc8a2c 20:57:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:57:38 ---> Running in a32ce30c0f1d 20:57:38 Removing intermediate container a32ce30c0f1d 20:57:38 ---> 06e1b09188eb 20:57:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:38 ---> Running in 0b64860815de 20:57:38 Removing intermediate container 0b64860815de 20:57:38 ---> 3a9807763b04 20:57:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:38 ---> Running in d48a530430af 20:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:57:38 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:57:38 (2/4) Installing libedit (20221030.3.1-r1) 20:57:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:57:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:57:38 Executing busybox-1.36.1-r5.trigger 20:57:38 OK: 268 MiB in 56 packages 20:57:38 Removing intermediate container d48a530430af 20:57:38 ---> f24f9aa67570 20:57:38 Step 8/12 : WORKDIR /device-rest-go 20:57:38 ---> Running in 221bd923a01b 20:57:38 Removing intermediate container 221bd923a01b 20:57:38 ---> 2b1d116b4b4a 20:57:38 Step 9/12 : COPY go.mod vendor* ./ 20:57:38 ---> ac927c34229e 20:57:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:38 ---> Running in 801a0fbf6423 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:52 provisioning config files... 20:57:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/157@tmp/config10796193086455828098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:53 ---> ****-login.sh 20:57:53 nexus3.edgexfoundry.org:10001 20:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:53 Configure a credential helper to remove this warning. See 20:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:53 20:57:53 Login Succeeded 20:57:53 nexus3.edgexfoundry.org:10002 20:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:54 Configure a credential helper to remove this warning. See 20:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:54 20:57:54 Login Succeeded 20:57:54 nexus3.edgexfoundry.org:10003 20:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:54 Configure a credential helper to remove this warning. See 20:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:54 20:57:54 Login Succeeded 20:57:54 nexus3.edgexfoundry.org:10004 20:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:54 Configure a credential helper to remove this warning. See 20:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:54 20:57:54 Login Succeeded 20:57:54 ****.io 20:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:55 Configure a credential helper to remove this warning. See 20:57:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:55 20:57:55 Login Succeeded 20:57:55 ---> ****-login.sh ends [Pipeline] } 20:57:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:55 ========================================================= 20:57:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:57:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:58:01 #0 building with "default" instance using docker driver 20:58:01 20:58:01 #1 [internal] load build definition from Dockerfile 20:58:01 #1 transferring dockerfile: 1.73kB 0.0s done 20:58:01 #1 DONE 0.1s 20:58:01 20:58:01 #2 [internal] load .dockerignore 20:58:01 #2 transferring context: 193B done 20:58:01 #2 DONE 0.1s 20:58:01 20:58:01 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:58:01 #3 DONE 0.1s 20:58:01 20:58:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:58:01 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:58:01 #4 ... 20:58:01 20:58:01 #5 [internal] load build context 20:58:01 #5 transferring context: 95.80kB 0.0s done 20:58:01 #5 DONE 0.1s 20:58:01 20:58:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:58:01 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:58:01 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:58:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.1s 20:58:01 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 20:58:01 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:58:01 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s 20:58:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.3s 20:58:01 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:58:01 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 20:58:01 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 20:58:01 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.3s 20:58:01 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:58:01 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s 20:58:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.4s 20:58:01 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.99MB / 11.40MB 0.4s 20:58:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.6s 20:58:01 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.6s 20:58:01 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 20:58:01 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.7s 20:58:01 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.7s 20:58:01 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 20:58:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.64MB / 63.99MB 0.8s 20:58:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 0.8s 20:58:02 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:58:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 0.9s 20:58:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 0.9s 20:58:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.1s 20:58:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.1s 20:58:02 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:58:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.2s 20:58:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.3s done 20:58:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.4s 20:58:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s 20:58:02 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.8s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 1.9s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.34MB / 97.63MB 2.0s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.1s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s 20:58:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 20:58:08 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 20:58:14 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 20:58:17 Removing intermediate container 801a0fbf6423 20:58:17 ---> 5134710621dc 20:58:17 Step 11/12 : COPY . . 20:58:17 ---> 03160597c9c5 20:58:17 Step 12/12 : RUN $MAKE 20:58:17 ---> Running in 4ea87715b103 20:58:17 noop 20:58:17 Removing intermediate container 4ea87715b103 20:58:17 ---> 3b0059a21885 20:58:17 Successfully built 3b0059a21885 20:58:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:18 + docker inspect -f . ci-base-image-x86_64 20:58:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:18 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 20:58:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:18 $ docker top 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:18 + go version 20:58:18 go version go1.21.0 linux/amd64 [Pipeline] } 20:58:18 $ docker stop --time=1 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f 20:58:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.9s done 20:58:20 $ docker rm -f --volumes 01485e5c229152e1bef14e72dc4cf502ffc3f5ef8235235c2cb43748cccbf73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:20 + docker inspect -f . ci-base-image-x86_64 20:58:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:20 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 20:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:21 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:58:21 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 20:58:21 $ docker top 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 -eo pid,comm 20:58:21 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:58:21 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [Pipeline] { [Pipeline] sh 20:58:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:58:22 + make test 20:58:22 go test ./... -coverprofile=coverage.out ./... 20:58:23 ? github.com/edgexfoundry/device-rest-go [no test files] 20:58:26 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 20:58:30 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 20:58:30 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 20:58:31 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 20:58:31 #4 DONE 30.5s 20:58:31 20:58:31 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 20:58:32 #6 0.701 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:58:32 #6 1.075 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:58:33 #6 2.068 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:58:33 #6 2.087 (2/4) Installing libedit (20221030.3.1-r1) 20:58:33 #6 2.097 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:58:33 #6 2.162 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:58:33 #6 2.188 Executing busybox-1.36.1-r5.trigger 20:58:34 #6 2.223 OK: 271 MiB in 56 packages 20:58:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:58:34 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 20:58:36 #6 DONE 4.0s 20:58:36 20:58:36 #7 [builder 3/7] WORKDIR /device-rest-go 20:58:36 #7 DONE 0.1s 20:58:36 20:58:36 #8 [builder 4/7] COPY go.mod vendor* ./ 20:58:36 #8 DONE 0.1s 20:58:36 20:58:36 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:40 go vet ./... 20:58:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:43 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:58:43 $ docker stop --time=1 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 20:58:47 $ docker rm -f --volumes 6f54bcdd32e76be10a7b7bf5862ba769b7bc08c3173b5cc3140ffed2320ee5c7 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:49 + ls -al . 20:58:49 total 180 20:58:49 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:58 . 20:58:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:56 .. 20:58:49 -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:57 .dockerignore 20:58:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:58 .git 20:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 .github 20:58:49 -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:57 .gitignore 20:58:49 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:57 .golangci.yml 20:58:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:57 .semver 20:58:49 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:57 Attribution.txt 20:58:49 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:57 CHANGELOG.md 20:58:49 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:57 Dockerfile 20:58:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:57 GOVERNANCE.md 20:58:49 -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:57 Jenkinsfile 20:58:49 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:57 LICENSE 20:58:49 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:57 Makefile 20:58:49 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:57 OWNERS.md 20:58:49 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:57 README.md 20:58:49 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:57 VERSION 20:58:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 bin 20:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 cmd 20:58:49 -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 20:58 coverage.out 20:58:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 driver 20:58:49 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:57 go.mod 20:58:49 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:57 go.sum 20:58:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 openapi 20:58:49 -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:49 + 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=291482f778a08bdc345d5637fe0e8ffcfe52633f --label arch=amd64 --label version=3.2.0-dev.5 . 20:58:49 Sending build context to Docker daemon 16.3MB 20:58:49 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:58:49 Step 2/26 : FROM ${BASE} AS builder 20:58:49 ---> 3b0059a21885 20:58:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:58:49 ---> Running in ebe01c705fa0 20:58:49 Removing intermediate container ebe01c705fa0 20:58:49 ---> f6677864af91 20:58:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:49 ---> Running in 08eee7900f2e 20:58:50 Removing intermediate container 08eee7900f2e 20:58:50 ---> 0b5e21a0fc83 20:58:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:50 ---> Running in a23a81897782 20:58:50 Removing intermediate container a23a81897782 20:58:50 ---> 065125d10a33 20:58:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:58:50 ---> Running in 5a3aec361f0c 20:58:50 Removing intermediate container 5a3aec361f0c 20:58:50 ---> 81942281e3a0 20:58:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:50 ---> Running in 510b73d6a4bc 20:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:50 OK: 268 MiB in 56 packages 20:58:51 Removing intermediate container 510b73d6a4bc 20:58:51 ---> 542c3c8a5101 20:58:51 Step 8/26 : WORKDIR /device-rest-go 20:58:51 ---> Running in 7eca4a4ec4d9 20:58:51 Removing intermediate container 7eca4a4ec4d9 20:58:51 ---> 88037042088e 20:58:51 Step 9/26 : COPY go.mod vendor* ./ 20:58:51 ---> 978f9b0adbc6 20:58:51 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:51 ---> Running in e4f7f17d7b13 20:58:52 Removing intermediate container e4f7f17d7b13 20:58:52 ---> fa3763439e82 20:58:52 Step 11/26 : COPY . . 20:58:52 ---> a8a156defc3e 20:58:52 Step 12/26 : RUN $MAKE 20:58:53 ---> Running in 3076aa08f91d 20:58:53 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:59:03 #9 DONE 26.0s 20:59:03 20:59:03 #10 [builder 6/7] COPY . . 20:59:03 #10 DONE 0.1s 20:59:03 20:59:03 #11 [builder 7/7] RUN echo noop 20:59:03 #11 0.599 noop 20:59:03 #11 DONE 0.7s 20:59:03 20:59:03 #12 exporting to image 20:59:03 #12 exporting layers 20:59:15 Removing intermediate container 3076aa08f91d 20:59:15 ---> d62c44609275 20:59:15 Step 13/26 : FROM alpine:3.18 20:59:20 3.18: Pulling from library/alpine 20:59:20 c926b61bad3b: Pulling fs layer 20:59:20 c926b61bad3b: Verifying Checksum 20:59:20 c926b61bad3b: Download complete 20:59:20 c926b61bad3b: Pull complete 20:59:20 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:59:20 Status: Downloaded newer image for alpine:3.18 20:59:20 ---> b541f2080109 20:59:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:59:20 ---> Running in 5f4a2e2c8d20 20:59:20 Removing intermediate container 5f4a2e2c8d20 20:59:20 ---> 1ab10b635e77 20:59:20 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:59:20 ---> Running in e453c812d9b4 20:59:20 Removing intermediate container e453c812d9b4 20:59:20 ---> 90b303edce42 20:59:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:59:20 ---> Running in 324f6382ceef 20:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:21 (1/1) Installing dumb-init (1.2.5-r2) 20:59:21 Executing busybox-1.36.1-r5.trigger 20:59:21 OK: 7 MiB in 16 packages 20:59:23 Removing intermediate container 324f6382ceef 20:59:23 ---> 2cae3c3f1900 20:59:23 Step 17/26 : RUN apk --no-cache upgrade 20:59:24 ---> Running in 916dd5134ce6 20:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:25 OK: 7 MiB in 16 packages 20:59:27 Removing intermediate container 916dd5134ce6 20:59:27 ---> 2b3405ec603f 20:59:27 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:59:27 ---> 3553600c79f1 20:59:27 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:59:27 ---> ef71a2706223 20:59:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:59:28 ---> 4f0546917176 20:59:28 Step 21/26 : EXPOSE 59986 20:59:28 ---> Running in 2f9d18d364fa 20:59:28 Removing intermediate container 2f9d18d364fa 20:59:28 ---> 11c03ee27443 20:59:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:59:28 ---> Running in c9f35a9aef02 20:59:28 Removing intermediate container c9f35a9aef02 20:59:28 ---> d9ae8a5660f0 20:59:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:59:28 ---> Running in 8328375a181d 20:59:28 Removing intermediate container 8328375a181d 20:59:28 ---> 79f14ad4803e 20:59:28 Step 24/26 : LABEL arch=amd64 20:59:28 ---> Running in 6a9b0af91898 20:59:28 Removing intermediate container 6a9b0af91898 20:59:28 ---> c3bc65f2a4ce 20:59:28 Step 25/26 : LABEL git_sha=291482f778a08bdc345d5637fe0e8ffcfe52633f 20:59:28 ---> Running in 19b5ce1dc6de 20:59:28 Removing intermediate container 19b5ce1dc6de 20:59:28 ---> 9587f53cc4e0 20:59:28 Step 26/26 : LABEL version=3.2.0-dev.5 20:59:28 ---> Running in c79de8fef0c6 20:59:28 Removing intermediate container c79de8fef0c6 20:59:28 ---> 80ba16b1f8ea 20:59:28 [Warning] One or more build-args [ARCH] were not consumed 20:59:28 Successfully built 80ba16b1f8ea 20:59:28 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:28 provisioning config files... 20:59:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14230111519374876545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:29 ---> ****-login.sh 20:59:29 nexus3.edgexfoundry.org:10001 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:29 nexus3.edgexfoundry.org:10002 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:29 nexus3.edgexfoundry.org:10003 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:29 nexus3.edgexfoundry.org:10004 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:29 ****.io 20:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:29 Configure a credential helper to remove this warning. See 20:59:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:29 20:59:29 Login Succeeded 20:59:30 ---> ****-login.sh ends 20:59:30 #12 exporting layers 22.9s done 20:59:30 #12 writing image sha256:5584c99a6b037f2673f1d6be1b77e008410ee45fd1f8ae347b92b41d10d8684e done 20:59:30 #12 naming to docker.io/library/ci-base-image-arm64 done 20:59:30 #12 DONE 22.9s [Pipeline] } 20:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] echo 20:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 20:59:30 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:59:30 291482f778a08bdc345d5637fe0e8ffcfe52633f 20:59:30 latest 20:59:30 3.2.0-dev.5 20:59:30 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 20:59:30 main 20:59:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:30 + docker inspect -f . ci-base-image-arm64 20:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:30 prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container 20:59:30 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f 20:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:32 $ docker top fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 20:59:32 + go version 20:59:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f 20:59:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:32 6de53094d1fd: Preparing 20:59:32 c660d2f6a2cf: Preparing 20:59:32 858efc78781f: Preparing 20:59:32 396032a31911: Preparing 20:59:32 244ad5dd7db4: Preparing 20:59:32 9fe9a137fd00: Preparing 20:59:32 9fe9a137fd00: Waiting 20:59:32 396032a31911: Pushed 20:59:32 c660d2f6a2cf: Pushed 20:59:32 6de53094d1fd: Pushed 20:59:32 244ad5dd7db4: Pushed 20:59:32 9fe9a137fd00: Layer already exists 20:59:32 go version go1.21.0 linux/arm64 [Pipeline] } 20:59:32 $ docker stop --time=1 fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c 20:59:34 $ docker rm -f --volumes fdc00deadc1ba805957f6c076b12d99d98adbe090fde657f402d5f7f9c88403c 20:59:34 858efc78781f: Pushed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 20:59:34 291482f778a08bdc345d5637fe0e8ffcfe52633f: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:35 + docker inspect -f . ci-base-image-arm64 20:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:35 prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container 20:59:35 $ 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/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:39 $ docker top a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 20:59:40 + git config --global --add safe.directory /w/workspace/device-rest-go/157 [Pipeline] fileExists [Pipeline] sh 20:59:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:40 6de53094d1fd: Preparing 20:59:40 c660d2f6a2cf: Preparing 20:59:40 858efc78781f: Preparing 20:59:40 396032a31911: Preparing 20:59:40 244ad5dd7db4: Preparing 20:59:40 9fe9a137fd00: Preparing 20:59:40 9fe9a137fd00: Waiting 20:59:40 396032a31911: Layer already exists 20:59:40 6de53094d1fd: Layer already exists 20:59:40 244ad5dd7db4: Layer already exists 20:59:40 858efc78781f: Layer already exists 20:59:40 c660d2f6a2cf: Layer already exists 20:59:40 9fe9a137fd00: Layer already exists 20:59:40 latest: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:40 + make test 20:59:40 go test ./... -coverprofile=coverage.out ./... 20:59:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 20:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:41 6de53094d1fd: Preparing 20:59:41 c660d2f6a2cf: Preparing 20:59:41 858efc78781f: Preparing 20:59:41 396032a31911: Preparing 20:59:41 244ad5dd7db4: Preparing 20:59:41 9fe9a137fd00: Preparing 20:59:41 9fe9a137fd00: Waiting 20:59:41 6de53094d1fd: Layer already exists 20:59:41 396032a31911: Layer already exists 20:59:41 c660d2f6a2cf: Layer already exists 20:59:41 858efc78781f: Layer already exists 20:59:41 244ad5dd7db4: Layer already exists 20:59:41 9fe9a137fd00: Layer already exists 20:59:41 3.2.0-dev.5: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 20:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:41 6de53094d1fd: Preparing 20:59:41 c660d2f6a2cf: Preparing 20:59:41 858efc78781f: Preparing 20:59:41 396032a31911: Preparing 20:59:41 244ad5dd7db4: Preparing 20:59:41 9fe9a137fd00: Preparing 20:59:41 396032a31911: Layer already exists 20:59:41 6de53094d1fd: Layer already exists 20:59:41 858efc78781f: Layer already exists 20:59:41 244ad5dd7db4: Layer already exists 20:59:41 c660d2f6a2cf: Layer already exists 20:59:41 9fe9a137fd00: Layer already exists 20:59:41 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:59:42 6de53094d1fd: Preparing 20:59:42 c660d2f6a2cf: Preparing 20:59:42 858efc78781f: Preparing 20:59:42 396032a31911: Preparing 20:59:42 244ad5dd7db4: Preparing 20:59:42 9fe9a137fd00: Preparing 20:59:42 9fe9a137fd00: Waiting 20:59:42 396032a31911: Layer already exists 20:59:42 858efc78781f: Layer already exists 20:59:42 6de53094d1fd: Layer already exists 20:59:42 244ad5dd7db4: Layer already exists 20:59:42 c660d2f6a2cf: Layer already exists 20:59:42 9fe9a137fd00: Layer already exists 20:59:42 main: digest: sha256:0ce38857af1e08fceee063a2c20bf72c8ca618bc05610bfb7250532a99248395 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:42 ===================================================== [Pipeline] echo 20:59:42 taggedImages: 20:59:42 - nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f 20:59:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:59:42 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.5 20:59:42 - nexus3.edgexfoundry.org:10004/device-rest:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 20:59:42 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:43 20:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:44 latest: Pulling from edgex-lftools-log-publisher 20:59:44 5eb5b503b376: Pulling fs layer 20:59:44 5c69ac0246d0: Pulling fs layer 20:59:44 ec43610c2a17: Pulling fs layer 20:59:44 3a2ae6a8a46f: Pulling fs layer 20:59:44 33b1e0a273af: Pulling fs layer 20:59:44 5d3b04190fa2: Pulling fs layer 20:59:44 2f39f015ded8: Pulling fs layer 20:59:44 3a2ae6a8a46f: Waiting 20:59:44 33b1e0a273af: Waiting 20:59:44 5d3b04190fa2: Waiting 20:59:44 2f39f015ded8: Waiting 20:59:44 5c69ac0246d0: Verifying Checksum 20:59:44 5c69ac0246d0: Download complete 20:59:44 3a2ae6a8a46f: Verifying Checksum 20:59:44 3a2ae6a8a46f: Download complete 20:59:44 33b1e0a273af: Verifying Checksum 20:59:44 33b1e0a273af: Download complete 20:59:44 5d3b04190fa2: Verifying Checksum 20:59:44 5d3b04190fa2: Download complete 20:59:44 ec43610c2a17: Verifying Checksum 20:59:44 ec43610c2a17: Download complete 20:59:44 5eb5b503b376: Verifying Checksum 20:59:44 5eb5b503b376: Download complete 20:59:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:44 2f39f015ded8: Download complete 20:59:45 5eb5b503b376: Pull complete 20:59:45 5c69ac0246d0: Pull complete 20:59:46 ec43610c2a17: Pull complete 20:59:46 3a2ae6a8a46f: Pull complete 20:59:46 33b1e0a273af: Pull complete 20:59:46 5d3b04190fa2: Pull complete 20:59:50 2f39f015ded8: Pull complete 20:59:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:51 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 20:59:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:07 $ docker top df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:07 ---> job-cost.sh 21:00:07 lf-activate-venv: SKIPPING 21:00:07 INFO: No Stack... 21:00:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:08 INFO: Archiving Costs [Pipeline] sh 21:00:08 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:00:08 + cut -d, -f6 [Pipeline] lock 21:00:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] 21:00:08 Resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] did not exist. Created. 21:00:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:08 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:08 Stashed 1 file(s) [Pipeline] } 21:00:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:08 $ docker stop --time=1 df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 21:00:10 $ docker rm -f --volumes df2c0a44906581c89c9fb6090693905f65038e018d54e6aefaac53d0c99f81e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:00:41 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 21:00:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:00:41 go vet ./... 21:00:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:49 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:00:52 $ docker stop --time=1 a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 21:00:55 $ docker rm -f --volumes a31f6613732d34ac4a711072c0805a36796e79a5185bb2dbbc2cbd64feb08155 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:01 Warning: overwriting stash ‘coverage-report’ 21:01:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:06 + ls -al . 21:01:06 total 176 21:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:59 . 21:01:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:57 .. 21:01:06 -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:57 .dockerignore 21:01:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:57 .git 21:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 .github 21:01:06 -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:57 .gitignore 21:01:06 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:57 .golangci.yml 21:01:06 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:57 Attribution.txt 21:01:06 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:57 CHANGELOG.md 21:01:06 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:57 Dockerfile 21:01:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:57 GOVERNANCE.md 21:01:06 -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:57 Jenkinsfile 21:01:06 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:57 LICENSE 21:01:06 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:57 Makefile 21:01:06 -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:57 OWNERS.md 21:01:06 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:57 README.md 21:01:06 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:57 VERSION 21:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 bin 21:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 cmd 21:01:06 -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 21:00 coverage.out 21:01:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:57 driver 21:01:06 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:57 go.mod 21:01:06 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:57 go.sum 21:01:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:57 openapi 21:01:06 -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01: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=291482f778a08bdc345d5637fe0e8ffcfe52633f --label arch=arm64 --label version=3.2.0-dev.5 . 21:01:07 #0 building with "default" instance using docker driver 21:01:07 21:01:07 #1 [internal] load .dockerignore 21:01:07 #1 transferring context: 193B done 21:01:07 #1 DONE 0.0s 21:01:07 21:01:07 #2 [internal] load build definition from Dockerfile 21:01:07 #2 transferring dockerfile: 1.73kB done 21:01:07 #2 DONE 0.0s 21:01:07 21:01:07 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 21:01:07 #3 DONE 0.0s 21:01:07 21:01:07 #4 [internal] load metadata for docker.io/library/alpine:3.18 21:01:07 #4 DONE 0.2s 21:01:07 21:01:07 #5 [internal] load build context 21:01:07 #5 transferring context: 16.04kB 0.0s done 21:01:07 #5 DONE 0.1s 21:01:07 21:01:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 21:01:07 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 21:01:07 #6 ... 21:01:07 21:01:07 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 21:01:07 #7 DONE 0.2s 21:01:07 21:01:07 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 21:01:07 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 21:01:07 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 21:01:07 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 21:01:07 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 21:01:07 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 21:01:08 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 21:01:08 #6 DONE 0.9s 21:01:08 21:01:08 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 21:01:09 #8 0.640 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:09 #8 0.957 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:10 #8 ... 21:01:10 21:01:10 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 21:01:10 #9 0.695 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:10 #9 1.051 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:10 #9 2.055 OK: 271 MiB in 56 packages 21:01:10 #9 DONE 2.4s 21:01:10 21:01:10 #10 [builder 3/7] WORKDIR /device-rest-go 21:01:10 #10 DONE 0.1s 21:01:10 21:01:10 #11 [builder 4/7] COPY go.mod vendor* ./ 21:01:10 #11 DONE 0.2s 21:01:10 21:01:10 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 21:01:10 #8 2.022 (1/1) Installing dumb-init (1.2.5-r2) 21:01:10 #8 2.036 Executing busybox-1.36.1-r5.trigger 21:01:10 #8 2.075 OK: 8 MiB in 16 packages 21:01:11 #8 DONE 2.4s 21:01:11 21:01:11 #12 [stage-1 3/6] RUN apk --no-cache upgrade 21:01:12 #12 ... 21:01:12 21:01:12 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:12 #13 DONE 1.3s 21:01:12 21:01:12 #12 [stage-1 3/6] RUN apk --no-cache upgrade 21:01:12 #12 0.926 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:12 #12 ... 21:01:12 21:01:12 #14 [builder 6/7] COPY . . 21:01:12 #14 DONE 0.2s 21:01:12 21:01:12 #15 [builder 7/7] RUN make build 21:01:12 #15 0.630 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:01:14 #15 ... 21:01:14 21:01:14 #12 [stage-1 3/6] RUN apk --no-cache upgrade 21:01:14 #12 1.392 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:14 #12 2.525 OK: 8 MiB in 16 packages 21:01:14 #12 DONE 2.8s 21:01:14 21:01:14 #15 [builder 7/7] RUN make build 21:02:21 #15 DONE 58.9s 21:02:21 21:02:21 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 21:02:21 #16 DONE 0.3s 21:02:21 21:02:21 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 21:02:21 #17 DONE 0.1s 21:02:21 21:02:21 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 21:02:21 #18 DONE 0.1s 21:02:21 21:02:21 #19 exporting to image 21:02:21 #19 exporting layers 21:02:21 #19 exporting layers 0.3s done 21:02:21 #19 writing image sha256:73d03ad94a70cbf64c6d6f90052f92e0eac3e65d3961808ad7bb57680bb80b3d done 21:02:21 #19 naming to docker.io/library/device-rest-arm64 done 21:02:21 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:22 provisioning config files... 21:02:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/157@tmp/config2015872841597274731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:22 ---> ****-login.sh 21:02:22 nexus3.edgexfoundry.org:10001 21:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:22 Configure a credential helper to remove this warning. See 21:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:22 21:02:22 Login Succeeded 21:02:22 nexus3.edgexfoundry.org:10002 21:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:23 Configure a credential helper to remove this warning. See 21:02:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:23 21:02:23 Login Succeeded 21:02:23 nexus3.edgexfoundry.org:10003 21:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:23 Configure a credential helper to remove this warning. See 21:02:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:23 21:02:23 Login Succeeded 21:02:23 nexus3.edgexfoundry.org:10004 21:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:23 Configure a credential helper to remove this warning. See 21:02:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:23 21:02:23 Login Succeeded 21:02:23 ****.io 21:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:02:24 Configure a credential helper to remove this warning. See 21:02:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:02:24 21:02:24 Login Succeeded 21:02:24 ---> ****-login.sh ends [Pipeline] } 21:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:02:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:02:24 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:02:24 291482f778a08bdc345d5637fe0e8ffcfe52633f 21:02:24 latest 21:02:24 3.2.0-dev.5 21:02:24 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 21:02:24 main 21:02:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:25 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:25 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f 21:02:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:02:25 c3877206c326: Preparing 21:02:25 0d8704ea9df5: Preparing 21:02:25 fe1ac040c0f5: Preparing 21:02:25 b1f7c52bcb1e: Preparing 21:02:25 a442ed19b0f5: Preparing 21:02:25 0faf9b67be60: Preparing 21:02:25 0faf9b67be60: Waiting 21:02:25 0d8704ea9df5: Pushed 21:02:25 b1f7c52bcb1e: Pushed 21:02:25 a442ed19b0f5: Pushed 21:02:25 c3877206c326: Pushed 21:02:25 0faf9b67be60: Layer already exists 21:02:29 fe1ac040c0f5: Pushed 21:02:29 291482f778a08bdc345d5637fe0e8ffcfe52633f: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:02:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:02:33 c3877206c326: Preparing 21:02:33 0d8704ea9df5: Preparing 21:02:33 fe1ac040c0f5: Preparing 21:02:33 b1f7c52bcb1e: Preparing 21:02:33 a442ed19b0f5: Preparing 21:02:33 0faf9b67be60: Preparing 21:02:33 0faf9b67be60: Waiting 21:02:33 b1f7c52bcb1e: Layer already exists 21:02:33 a442ed19b0f5: Layer already exists 21:02:33 0d8704ea9df5: Layer already exists 21:02:33 c3877206c326: Layer already exists 21:02:33 fe1ac040c0f5: Layer already exists 21:02:33 0faf9b67be60: Layer already exists 21:02:33 latest: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:34 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 21:02:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:02:34 c3877206c326: Preparing 21:02:34 0d8704ea9df5: Preparing 21:02:34 fe1ac040c0f5: Preparing 21:02:34 b1f7c52bcb1e: Preparing 21:02:34 a442ed19b0f5: Preparing 21:02:34 0faf9b67be60: Preparing 21:02:34 0faf9b67be60: Waiting 21:02:34 c3877206c326: Layer already exists 21:02:34 a442ed19b0f5: Layer already exists 21:02:34 fe1ac040c0f5: Layer already exists 21:02:34 0d8704ea9df5: Layer already exists 21:02:34 b1f7c52bcb1e: Layer already exists 21:02:34 0faf9b67be60: Layer already exists 21:02:35 3.2.0-dev.5: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 21:02:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:02:36 c3877206c326: Preparing 21:02:36 0d8704ea9df5: Preparing 21:02:36 fe1ac040c0f5: Preparing 21:02:36 b1f7c52bcb1e: Preparing 21:02:36 a442ed19b0f5: Preparing 21:02:36 0faf9b67be60: Preparing 21:02:36 0faf9b67be60: Waiting 21:02:36 a442ed19b0f5: Layer already exists 21:02:36 0d8704ea9df5: Layer already exists 21:02:36 b1f7c52bcb1e: Layer already exists 21:02:36 c3877206c326: Layer already exists 21:02:36 fe1ac040c0f5: Layer already exists 21:02:36 0faf9b67be60: Layer already exists 21:02:36 291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:02:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:02:37 c3877206c326: Preparing 21:02:37 0d8704ea9df5: Preparing 21:02:37 fe1ac040c0f5: Preparing 21:02:37 b1f7c52bcb1e: Preparing 21:02:37 a442ed19b0f5: Preparing 21:02:37 0faf9b67be60: Preparing 21:02:37 0faf9b67be60: Waiting 21:02:37 fe1ac040c0f5: Layer already exists 21:02:37 0d8704ea9df5: Layer already exists 21:02:37 a442ed19b0f5: Layer already exists 21:02:37 b1f7c52bcb1e: Layer already exists 21:02:37 c3877206c326: Layer already exists 21:02:37 0faf9b67be60: Layer already exists 21:02:37 main: digest: sha256:4351f94dbf9386e29edad7ce13713e826e3af3c8906a85516ca7097b37a3eddb size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:02:37 ===================================================== [Pipeline] echo 21:02:37 taggedImages: 21:02:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f 21:02:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:02:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.5 21:02:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:291482f778a08bdc345d5637fe0e8ffcfe52633f-3.2.0-dev.5 21:02:37 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:38 21:02:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:38 arm64: Pulling from edgex-lftools-log-publisher 21:02:38 8998bd30e6a1: Pulling fs layer 21:02:38 04944245beec: Pulling fs layer 21:02:38 699f458cf7ca: Pulling fs layer 21:02:38 765212b225bb: Pulling fs layer 21:02:38 f23df028b6ca: Pulling fs layer 21:02:38 d65c8cfc05b1: Pulling fs layer 21:02:38 2437ff75d9bd: Pulling fs layer 21:02:38 f23df028b6ca: Waiting 21:02:38 d65c8cfc05b1: Waiting 21:02:38 2437ff75d9bd: Waiting 21:02:38 765212b225bb: Waiting 21:02:39 04944245beec: Verifying Checksum 21:02:39 04944245beec: Download complete 21:02:39 765212b225bb: Verifying Checksum 21:02:39 765212b225bb: Download complete 21:02:39 f23df028b6ca: Download complete 21:02:39 d65c8cfc05b1: Verifying Checksum 21:02:39 d65c8cfc05b1: Download complete 21:02:39 699f458cf7ca: Verifying Checksum 21:02:39 699f458cf7ca: Download complete 21:02:39 8998bd30e6a1: Verifying Checksum 21:02:39 8998bd30e6a1: Download complete 21:02:41 2437ff75d9bd: Verifying Checksum 21:02:41 2437ff75d9bd: Download complete 21:02:45 8998bd30e6a1: Pull complete 21:02:47 04944245beec: Pull complete 21:02:49 699f458cf7ca: Pull complete 21:02:49 765212b225bb: Pull complete 21:02:50 f23df028b6ca: Pull complete 21:02:50 d65c8cfc05b1: Pull complete 21:03:17 2437ff75d9bd: Pull complete 21:03:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-24600 does not seem to be running inside a container 21:03:17 $ 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/157 -v /w/workspace/device-rest-go/157:/w/workspace/device-rest-go/157:rw,z -v /w/workspace/device-rest-go/157@tmp:/w/workspace/device-rest-go/157@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:03:18 $ docker top dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:19 ---> job-cost.sh 21:03:19 lf-activate-venv: SKIPPING 21:03:19 INFO: No Stack... 21:03:20 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:21 INFO: Archiving Costs [Pipeline] sh 21:03:21 + cat /w/workspace/device-rest-go/157/archives/cost.csv 21:03:21 + cut -d, -f6 [Pipeline] lock 21:03:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] 21:03:21 Resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] did not exist. Created. 21:03:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:21 /w/workspace/device-rest-go/157@tmp/durable-3bb48e4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:03:22 + echo total: 0.2199999988079071 [Pipeline] stash 21:03:22 Warning: overwriting stash ‘stack-cost’ 21:03:22 Stashed 1 file(s) [Pipeline] } 21:03:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:22 $ docker stop --time=1 dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e 21:03:23 $ docker rm -f --volumes dda6cc331e9129e0c323604b28639d1cc4ef5b638035fc9b0bc6b94a12ff212e [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 21:03:25 provisioning config files... 21:03:25 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1022498885579637463tmp [Pipeline] { [Pipeline] sh 21:03:25 + set +x 21:03:25 + + bash -s -- 21:03:25 curl -s https://codecov.io/bash 21:03:25 21:03:25 _____ _ 21:03:25 / ____| | | 21:03:25 | | ___ __| | ___ ___ _____ __ 21:03:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:03:25 | |___| (_) | (_| | __/ (_| (_) \ V / 21:03:25 \_____\___/ \__,_|\___|\___\___/ \_/ 21:03:25 Bash-1.0.6 21:03:25 21:03:25 21:03:25 ==> git version 2.25.1 found 21:03:25 ==> 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 21:03:25 Release-Date: 2020-01-08 21:03:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:03:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:03:25 ==> Jenkins CI detected. 21:03:25 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:03:25 project root: . 21:03:25 --> token set from env 21:03:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:03:25 ==> Running gcov in . (disable via -X gcov) 21:03:25 ==> Python coveragepy not found 21:03:25 ==> Searching for coverage reports in: 21:03:25 + . 21:03:25 -> Found 1 reports 21:03:25 ==> Detecting git/mercurial file structure 21:03:25 ==> Reading reports 21:03:25 + ./coverage.out bytes=14499 21:03:25 ==> Appending adjustments 21:03:25 https://docs.codecov.io/docs/fixing-reports 21:03:25 + Found adjustments 21:03:25 ==> Gzipping contents 21:03:25 4.0K /tmp/codecov.3MDAny.gz 21:03:25 ==> Uploading reports 21:03:25 url: https://codecov.io 21:03:25 query: branch=main&commit=291482f778a08bdc345d5637fe0e8ffcfe52633f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:25 -> Pinging Codecov 21:03:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=291482f778a08bdc345d5637fe0e8ffcfe52633f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:26 -> Uploading to 21:03:26 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/4E5D53B4F1F92C436F7061BF334D961C/291482f778a08bdc345d5637fe0e8ffcfe52633f/cbea37c8-7c83-4680-85eb-362e30a6ad9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T210325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba114bcc44e9fc7055548c2c13487d0dc92006b179f33b75b76a52fedf213496 21:03:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:26 Dload Upload Total Spent Left Speed 21:03:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8628 --:--:-- --:--:-- --:--:-- 8628 21:03:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] } 21:03:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:03:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:03:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:27 21:03:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:03:27 df9b9388f04a: Pulling fs layer 21:03:27 52dc419b0ee2: Pulling fs layer 21:03:27 25bc292e5bac: Pulling fs layer 21:03:27 114826534d7a: Pulling fs layer 21:03:27 4657fd5d0bcf: Pulling fs layer 21:03:27 6ad1cebc031e: Pulling fs layer 21:03:27 8a3aa393b2d8: Pulling fs layer 21:03:27 4657fd5d0bcf: Waiting 21:03:27 6ad1cebc031e: Waiting 21:03:27 8a3aa393b2d8: Waiting 21:03:27 114826534d7a: Waiting 21:03:27 25bc292e5bac: Verifying Checksum 21:03:27 25bc292e5bac: Download complete 21:03:27 52dc419b0ee2: Verifying Checksum 21:03:27 52dc419b0ee2: Download complete 21:03:27 4657fd5d0bcf: Verifying Checksum 21:03:27 4657fd5d0bcf: Download complete 21:03:27 df9b9388f04a: Verifying Checksum 21:03:27 df9b9388f04a: Download complete 21:03:27 6ad1cebc031e: Verifying Checksum 21:03:27 6ad1cebc031e: Download complete 21:03:27 df9b9388f04a: Pull complete 21:03:27 52dc419b0ee2: Pull complete 21:03:28 25bc292e5bac: Pull complete 21:03:28 114826534d7a: Download complete 21:03:28 8a3aa393b2d8: Verifying Checksum 21:03:28 8a3aa393b2d8: Download complete 21:03:34 114826534d7a: Pull complete 21:03:34 4657fd5d0bcf: Pull complete 21:03:34 6ad1cebc031e: Pull complete 21:03:36 8a3aa393b2d8: Pull complete 21:03:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:37 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:03:44 $ docker top e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b -eo pid,comm [Pipeline] { [Pipeline] echo 21:03:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:03:44 + set -o pipefail 21:03:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:03:50 21:03:50 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:03:50 21:03:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/b1970644-f90e-4b04-9fa4-52fda31f6983 21:03:50 21:03:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:03:50 21:03:50 21:03:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:03:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:03:50 More details here: https://snyk.co/ue1NS 21:03:50 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:03:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:03:50 $ docker stop --time=1 e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b 21:03:55 $ docker rm -f --volumes e7f13de15295957b010a747fe9482932e8897dbe19f65d09bfe9ba34acc7351b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:57 + git log --format=format:%s -1 291482f778a08bdc345d5637fe0e8ffcfe52633f [Pipeline] sh 21:03:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:03:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:58 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:03:58 $ docker top d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:58 [ssh-agent] Looking for ssh-agent implementation... 21:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:59 $ docker exec d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e ssh-agent 21:03:59 SSH_AUTH_SOCK=/tmp/ssh-hj0kEmOMyj7Q/agent.33 21:03:59 SSH_AGENT_PID=39 21:03:59 Running ssh-add (command line suppressed) 21:03:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14376362792306460772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14376362792306460772.key) 21:03:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:59 + git semver tag 21:03:59 2023-12-06 21:03:59,761 [run_tag] DEBUG tag force:False 21:03:59 2023-12-06 21:03:59,761 [check_head_tag] DEBUG check head tag 21:03:59 2023-12-06 21:03:59,762 [execute] INFO git cat-file --batch-check 21:03:59 2023-12-06 21:03:59,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:03:59 2023-12-06 21:03:59,767 [execute] INFO git cat-file --batch 21:03:59 2023-12-06 21:03:59,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:03:59 2023-12-06 21:03:59,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:03:59 2023-12-06 21:03:59,789 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 21:03:59 2023-12-06 21:03:59,789 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:03:59 2023-12-06 21:03:59,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:03:59 3.2.0-dev.5 [Pipeline] } 21:03:59 $ docker exec --env ******** --env ******** d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e ssh-agent -k 21:03:59 unset SSH_AUTH_SOCK; 21:03:59 unset SSH_AGENT_PID; 21:03:59 echo Agent pid 39 killed; 21:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:00 + git semver [Pipeline] } 21:04:00 $ docker stop --time=1 d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e 21:04:02 $ docker rm -f --volumes d7c95dadc82bb58751718c4445bb254dfa7ad0f21f7b7dece3fd00add217965e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:02 21:04:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:03 0.23.1-centos7: Pulling from edgex-lftools 21:04:03 ab5ef0e58194: Pulling fs layer 21:04:03 9712f1f96733: Pulling fs layer 21:04:03 63f879dbbcfc: Pulling fs layer 21:04:03 0d9ebad4ef96: Pulling fs layer 21:04:03 e9a5061849ea: Pulling fs layer 21:04:03 0d9ebad4ef96: Waiting 21:04:03 d747dcd14b5f: Pulling fs layer 21:04:03 2de7ff778b66: Pulling fs layer 21:04:03 e9a5061849ea: Waiting 21:04:03 d747dcd14b5f: Waiting 21:04:03 2de7ff778b66: Waiting 21:04:03 9712f1f96733: Verifying Checksum 21:04:03 9712f1f96733: Download complete 21:04:03 63f879dbbcfc: Verifying Checksum 21:04:03 63f879dbbcfc: Download complete 21:04:03 0d9ebad4ef96: Verifying Checksum 21:04:03 0d9ebad4ef96: Download complete 21:04:03 d747dcd14b5f: Download complete 21:04:03 e9a5061849ea: Verifying Checksum 21:04:03 e9a5061849ea: Download complete 21:04:03 ab5ef0e58194: Verifying Checksum 21:04:03 ab5ef0e58194: Download complete 21:04:03 2de7ff778b66: Verifying Checksum 21:04:03 2de7ff778b66: Download complete 21:04:06 ab5ef0e58194: Pull complete 21:04:06 9712f1f96733: Pull complete 21:04:06 63f879dbbcfc: Pull complete 21:04:11 0d9ebad4ef96: Pull complete 21:04:11 e9a5061849ea: Pull complete 21:04:11 d747dcd14b5f: Pull complete 21:04:12 2de7ff778b66: Pull complete 21:04:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:12 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:04:19 $ docker top cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:04:19 provisioning config files... 21:04:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15706926029338845479tmp 21:04:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13737332365854065183tmp 21:04:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14807649997983062200tmp [Pipeline] { [Pipeline] echo 21:04:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:04:20 ---> sigul-configuration.sh 21:04:20 gpg: directory `/root/.gnupg' created 21:04:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:04:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:04:20 gpg: keyring `/root/.gnupg/secring.gpg' created 21:04:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:04:20 gpg: CAST5 encrypted data 21:04:20 gpg: encrypted with 1 passphrase 21:04:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:04:20 + mkdir /home/jenkins 21:04:20 + mkdir /home/jenkins/sigul [Pipeline] sh 21:04:21 + 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 21:04:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:04:21 ---> sigul-install.sh 21:04:21 Sigul already installed; skipping installation. [Pipeline] sh 21:04:21 + git tag --list 21:04:21 v1.0.0 21:04:21 v1.1.0 21:04:21 v1.1.1 21:04:21 v1.1.2 21:04:21 v1.2.0 21:04:21 v1.2.1 21:04:21 v2.0.0 21:04:21 v2.1.0 21:04:21 v2.1.1 21:04:21 v2.2.0 21:04:21 v2.3.0 21:04:21 v3.0 21:04:21 v3.0.0 21:04:21 v3.1 21:04:21 v3.1.0 21:04:21 v3.1.0-dev.1 21:04:21 v3.1.0-dev.10 21:04:21 v3.1.0-dev.11 21:04:21 v3.1.0-dev.12 21:04:21 v3.1.0-dev.13 21:04:21 v3.1.0-dev.14 21:04:21 v3.1.0-dev.15 21:04:21 v3.1.0-dev.16 21:04:21 v3.1.0-dev.17 21:04:21 v3.1.0-dev.18 21:04:21 v3.1.0-dev.19 21:04:21 v3.1.0-dev.2 21:04:21 v3.1.0-dev.20 21:04:21 v3.1.0-dev.21 21:04:21 v3.1.0-dev.22 21:04:21 v3.1.0-dev.23 21:04:21 v3.1.0-dev.24 21:04:21 v3.1.0-dev.25 21:04:21 v3.1.0-dev.26 21:04:21 v3.1.0-dev.27 21:04:21 v3.1.0-dev.28 21:04:21 v3.1.0-dev.29 21:04:21 v3.1.0-dev.3 21:04:21 v3.1.0-dev.30 21:04:21 v3.1.0-dev.31 21:04:21 v3.1.0-dev.32 21:04:21 v3.1.0-dev.4 21:04:21 v3.1.0-dev.5 21:04:21 v3.1.0-dev.6 21:04:21 v3.1.0-dev.7 21:04:21 v3.1.0-dev.8 21:04:21 v3.1.0-dev.9 21:04:21 v3.2.0-dev.1 21:04:21 v3.2.0-dev.2 21:04:21 v3.2.0-dev.3 21:04:21 v3.2.0-dev.4 21:04:21 v3.2.0-dev.5 [Pipeline] sh 21:04:21 + lftools sign git-tag v3.2.0-dev.5 21:04:22 Signing Git tag with Sigul... 21:04:22 Signing v3.2.0-dev.5 [Pipeline] echo 21:04:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:04:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:04:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:04:23 $ docker stop --time=1 cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 21:04:24 $ docker rm -f --volumes cbc9d63b85c7a609b3af0e7e298387fdf2b3c8bddc5d2eb2badbcfe5521e5f53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:04:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:26 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:26 $ docker top aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 -eo pid,comm 21:04:26 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). 21:04:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:26 [ssh-agent] Looking for ssh-agent implementation... 21:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:27 $ docker exec aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 ssh-agent 21:04:27 SSH_AUTH_SOCK=/tmp/ssh-lLePrbUbOwB2/agent.33 21:04:27 SSH_AGENT_PID=39 21:04:27 Running ssh-add (command line suppressed) 21:04:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16345265788234658739.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16345265788234658739.key) 21:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:27 + git semver bump pre 21:04:27 2023-12-06 21:04:27,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:27 2023-12-06 21:04:27,780 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 21:04:27 2023-12-06 21:04:27,780 [bump_version] DEBUG bumped version:3.2.0-dev.6 21:04:27 2023-12-06 21:04:27,780 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:04:27 2023-12-06 21:04:27,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:27 2023-12-06 21:04:27,780 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:27 2023-12-06 21:04:27,782 [execute] INFO git cat-file --batch-check 21:04:27 2023-12-06 21:04:27,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:27 2023-12-06 21:04:27,787 [execute] INFO git cat-file --batch 21:04:27 2023-12-06 21:04:27,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:27 2023-12-06 21:04:27,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:27 3.2.0-dev.6 [Pipeline] } 21:04:27 $ docker exec --env ******** --env ******** aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 ssh-agent -k 21:04:27 unset SSH_AUTH_SOCK; 21:04:27 unset SSH_AGENT_PID; 21:04:27 echo Agent pid 39 killed; 21:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:28 + git semver [Pipeline] } 21:04:28 $ docker stop --time=1 aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 21:04:30 $ docker rm -f --volumes aff4a98b36dff244d748ec094c8eb808a92b7326f4a9e6e6746ee4ee426f0b64 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:31 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:31 $ docker top 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:31 [ssh-agent] Looking for ssh-agent implementation... 21:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:31 $ docker exec 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 ssh-agent 21:04:31 SSH_AUTH_SOCK=/tmp/ssh-xnQ1bD3mHpvp/agent.32 21:04:31 SSH_AGENT_PID=38 21:04:31 Running ssh-add (command line suppressed) 21:04:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5538875314443734992.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5538875314443734992.key) 21:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:32 + git semver push 21:04:32 2023-12-06 21:04:32,580 [run_push] DEBUG push 21:04:32 2023-12-06 21:04:32,581 [execute] INFO git cat-file --batch-check 21:04:32 2023-12-06 21:04:32,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:32 2023-12-06 21:04:32,585 [execute] INFO git rev-list 402f148e3586df11fded6b20aafad345c0ad9eb5 -- 21:04:32 2023-12-06 21:04:32,586 [execute] DEBUG Popen(['git', 'rev-list', '402f148e3586df11fded6b20aafad345c0ad9eb5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:32 2023-12-06 21:04:32,595 [execute] INFO git fetch -v origin 21:04:32 2023-12-06 21:04:32,596 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:04:33 2023-12-06 21:04:33,130 [run_push] DEBUG no remote changes detected 21:04:33 2023-12-06 21:04:33,130 [execute] INFO git push origin semver 21:04:33 2023-12-06 21:04:33,131 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:34 2023-12-06 21:04:33,891 [run_push] DEBUG push all version tags 21:04:34 2023-12-06 21:04:33,892 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:04:34 2023-12-06 21:04:33,892 [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) 21:04:34 2023-12-06 21:04:34,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:04:34 3.2.0-dev.6 [Pipeline] } 21:04:34 $ docker exec --env ******** --env ******** 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 ssh-agent -k 21:04:34 unset SSH_AUTH_SOCK; 21:04:34 unset SSH_AGENT_PID; 21:04:34 echo Agent pid 38 killed; 21:04:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:35 + git semver [Pipeline] } 21:04:35 $ docker stop --time=1 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 21:04:36 $ docker rm -f --volumes 8caaf9359997fe964ab2ce97707f4b1b952e2543ae6a76ef8350145e4827cb20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:04:38 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:04:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:38 total 16 21:04:38 drwxr-xr-x 3 root root 4096 Dec 6 21:00 . 21:04:38 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 21:04 .. 21:04:38 drwxr-xr-x 2 root root 4096 Dec 6 21:00 cost 21:04:38 -rw-r--r-- 1 root root 86 Dec 6 21:00 cost.csv 21:04:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:38 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:04:38 total 16 21:04:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 21:00 . 21:04:38 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 21:04 .. 21:04:38 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 21:00 cost 21:04:38 -rw-r--r-- 1 jenkins jenkins 86 Dec 6 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:04:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:04:39 ---> package-listing.sh 21:04:39 ++ facter osfamily 21:04:39 ++ tr '[:upper:]' '[:lower:]' 21:04:39 + OS_FAMILY=debian 21:04:39 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:04:39 + START_PACKAGES=/tmp/packages_start.txt 21:04:39 + END_PACKAGES=/tmp/packages_end.txt 21:04:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:04:39 + PACKAGES=/tmp/packages_start.txt 21:04:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:04:39 + PACKAGES=/tmp/packages_end.txt 21:04:39 + case "${OS_FAMILY}" in 21:04:39 + dpkg -l 21:04:39 + grep '^ii' 21:04:39 + '[' -f /tmp/packages_start.txt ']' 21:04:39 + '[' -f /tmp/packages_end.txt ']' 21:04:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:04:39 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:04:39 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:04:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:04:39 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 21:04:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:40 prd-ubuntu20.04-docker-8c-8g-24601 does not seem to be running inside a container 21:04:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:04:41 $ docker top e6bbe645153b32e1de6e34e09f06f5f4e8f31f92ee1304f64aeabcd6dd167136 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:41 + touch /tmp/pre-build-complete [Pipeline] sh 21:04:41 + mkdir -p /var/log/sysstat [Pipeline] sh 21:04:42 + ls /var/log/sa-host 21:04:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:42 provisioning config files... 21:04:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12445594480872294183tmp [Pipeline] { [Pipeline] echo 21:04:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:04:42 ---> create-netrc.sh [Pipeline] } 21:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:04:43 ---> python-tools-install.sh [Pipeline] echo 21:04:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:04:43 ---> sudo-logs.sh 21:04:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:04:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:04:43 ---> job-cost.sh 21:04:43 lf-activate-venv: SKIPPING 21:04:43 DEBUG: total: 0.2199999988079071 21:04:43 INFO: Retrieving Stack Cost... 21:04:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:04:44 INFO: Archiving Costs [Pipeline] echo 21:04:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:04:44 ---> logs-deploy.sh 21:04:44 lf-activate-venv: SKIPPING 21:04:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/157 21:04:44 INFO: archiving workspace using pattern(s): 21:04:45 Archives upload complete. 21:04:45 INFO: archiving logs to Nexus