Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0856413c2ad12273c2d5131e25a64bc5110c06e7 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-ssh12752099502493863874.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-ssh14754368940462020543.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-ssh16527586398453397560.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-ssh2049688821283665177.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-ssh12662170276038292248.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26448 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0856413c2ad12273c2d5131e25a64bc5110c06e7 (main) Commit message: "Merge pull request #378 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 > git rev-list --no-walk cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:54:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:54:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:54:13 ========================================================= 08:54:13 EdgeX Global Pipelines Version Info 08:54:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:54:14 ------------------- 08:54:14 stable info: 08:54:14 ------------------- 08:54:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:54:14 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:54:14 Message: update stable to v1.0.258 08:54:14 ------------------- 08:54:14 experimental info: 08:54:14 ------------------- 08:54:14 Commited By: **** collab-it+edgex@linuxfoundation.org 08:54:14 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:54:14 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:54:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:54:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:54:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:54:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] echo 08:54:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0856413 [Pipeline] echo 08:54:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:54:16 provisioning config files... 08:54:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3992653065758572282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:16 ---> ****-login.sh 08:54:16 nexus3.edgexfoundry.org:10001 08:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:17 Configure a credential helper to remove this warning. See 08:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:17 08:54:17 Login Succeeded 08:54:17 nexus3.edgexfoundry.org:10002 08:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:17 Configure a credential helper to remove this warning. See 08:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:17 08:54:17 Login Succeeded 08:54:17 nexus3.edgexfoundry.org:10003 08:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:17 Configure a credential helper to remove this warning. See 08:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:17 08:54:17 Login Succeeded 08:54:17 nexus3.edgexfoundry.org:10004 08:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:17 Configure a credential helper to remove this warning. See 08:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:17 08:54:17 Login Succeeded 08:54:17 ****.io 08:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:17 Configure a credential helper to remove this warning. See 08:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:17 08:54:17 Login Succeeded 08:54:17 ---> ****-login.sh ends [Pipeline] } 08:54:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:54:18 + git rev-list -1 --merges 0856413c2ad12273c2d5131e25a64bc5110c06e7~1..0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] echo 08:54:18 -----------> git rev-list -1 --merges 0856413c2ad12273c2d5131e25a64bc5110c06e7~1..0856413c2ad12273c2d5131e25a64bc5110c06e7 0856413c2ad12273c2d5131e25a64bc5110c06e7 08:54:18 0856413c2ad12273c2d5131e25a64bc5110c06e7 [false] [Pipeline] sh 08:54:18 + git log --format=format:%s -1 0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] echo 08:54:18 ========================================================= 08:54:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:54:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:19 + git log --format=format:%s -1 0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] echo 08:54:19 [semverPrep] GIT_COMMIT: 0856413c2ad12273c2d5131e25a64bc5110c06e7, Commit Message: Merge pull request #378 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6 [Pipeline] echo 08:54:19 [semverPrep] This is not a build commit. [Pipeline] sh 08:54:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:54:19 + grep -v github /etc/ssh/ssh_known_hosts 08:54:19 + [ -e /tmp/ssh_known_hosts ] 08:54:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:54:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:54:19 + sudo tee -a /etc/ssh/ssh_known_hosts 08:54:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:54:20 08:54:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:54:20 0.1.4: Pulling from edgex-devops/py-git-semver 08:54:20 b85a868b505f: Pulling fs layer 08:54:20 e2be974225ed: Pulling fs layer 08:54:20 339a4e72a1f5: Pulling fs layer 08:54:20 988bab9f4d93: Pulling fs layer 08:54:20 1469e6f7b9e6: Pulling fs layer 08:54:20 eaf3925da568: Pulling fs layer 08:54:20 bab4dde63d76: Pulling fs layer 08:54:20 988bab9f4d93: Waiting 08:54:20 bde34c3a00c8: Pulling fs layer 08:54:20 b352a97aabf1: Pulling fs layer 08:54:20 4872d77fe225: Pulling fs layer 08:54:20 bab4dde63d76: Waiting 08:54:20 5851b861e8e6: Pulling fs layer 08:54:20 5851b861e8e6: Waiting 08:54:20 bde34c3a00c8: Waiting 08:54:20 b352a97aabf1: Waiting 08:54:20 4872d77fe225: Waiting 08:54:20 e2be974225ed: Verifying Checksum 08:54:20 e2be974225ed: Download complete 08:54:20 988bab9f4d93: Verifying Checksum 08:54:20 988bab9f4d93: Download complete 08:54:20 1469e6f7b9e6: Verifying Checksum 08:54:20 1469e6f7b9e6: Download complete 08:54:20 339a4e72a1f5: Verifying Checksum 08:54:20 339a4e72a1f5: Download complete 08:54:20 eaf3925da568: Download complete 08:54:20 bde34c3a00c8: Download complete 08:54:20 b352a97aabf1: Download complete 08:54:20 4872d77fe225: Verifying Checksum 08:54:20 4872d77fe225: Download complete 08:54:20 5851b861e8e6: Download complete 08:54:20 b85a868b505f: Verifying Checksum 08:54:20 b85a868b505f: Download complete 08:54:20 bab4dde63d76: Verifying Checksum 08:54:21 b85a868b505f: Pull complete 08:54:22 e2be974225ed: Pull complete 08:54:22 339a4e72a1f5: Pull complete 08:54:22 988bab9f4d93: Pull complete 08:54:22 1469e6f7b9e6: Pull complete 08:54:22 eaf3925da568: Pull complete 08:54:24 bab4dde63d76: Pull complete 08:54:24 bde34c3a00c8: Pull complete 08:54:25 b352a97aabf1: Pull complete 08:54:25 4872d77fe225: Pull complete 08:54:25 5851b861e8e6: Pull complete 08:54:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:54:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:25 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 08:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:54:29 $ docker top 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 -eo pid,comm 08:54:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:54:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:54:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:54:29 [ssh-agent] Looking for ssh-agent implementation... 08:54:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:54:29 $ docker exec 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 ssh-agent 08:54:29 SSH_AUTH_SOCK=/tmp/ssh-8j9phaf0c2bW/agent.33 08:54:29 SSH_AGENT_PID=39 08:54:29 Running ssh-add (command line suppressed) 08:54:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2862301855556527605.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2862301855556527605.key) 08:54:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:54:29 + git tag --points-at HEAD [Pipeline] } 08:54:29 $ docker exec --env ******** --env ******** 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 ssh-agent -k 08:54:29 unset SSH_AUTH_SOCK; 08:54:29 unset SSH_AGENT_PID; 08:54:29 echo Agent pid 39 killed; 08:54:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:54:30 [ssh-agent] Looking for ssh-agent implementation... 08:54:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:54:30 $ docker exec 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 ssh-agent 08:54:30 SSH_AUTH_SOCK=/tmp/ssh-IUEpvnM1lz7b/agent.71 08:54:30 SSH_AGENT_PID=77 08:54:30 Running ssh-add (command line suppressed) 08:54:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3935922554358158097.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3935922554358158097.key) 08:54:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:54:30 + git semver init 08:54:30 2023-12-30 08:54:30,776 [run_init] DEBUG init version:0.0.0 force:False 08:54:30 2023-12-30 08:54:30,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 08:54:30 2023-12-30 08:54:30,776 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:54:30 2023-12-30 08:54:30,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:54:32 2023-12-30 08:54:32,287 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 08:54:32 2023-12-30 08:54:32,287 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 08:54:32 2023-12-30 08:54:32,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:54:32 2023-12-30 08:54:32,288 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:54:32 3.2.0-dev.7 [Pipeline] } 08:54:32 $ docker exec --env ******** --env ******** 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 ssh-agent -k 08:54:32 unset SSH_AUTH_SOCK; 08:54:32 unset SSH_AGENT_PID; 08:54:32 echo Agent pid 77 killed; 08:54:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:54:33 + git semver [Pipeline] } 08:54:33 $ docker stop --time=1 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 08:54:34 $ docker rm -f --volumes 7d8ff6ed22a6067c96ab981f870d307ffd640a43ed79eedf38c60932dc07c207 [Pipeline] // withDockerContainer [Pipeline] sh 08:54:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:54:35 Stashed 1 file(s) [Pipeline] echo 08:54:35 [edgeXSemver]: initialized semver on version 3.2.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:54:35 provisioning config files... 08:54:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config630476358245952330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:36 ---> ****-login.sh 08:54:36 nexus3.edgexfoundry.org:10001 08:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:36 Configure a credential helper to remove this warning. See 08:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:36 08:54:36 Login Succeeded 08:54:36 nexus3.edgexfoundry.org:10002 08:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:36 Configure a credential helper to remove this warning. See 08:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:36 08:54:36 Login Succeeded 08:54:36 nexus3.edgexfoundry.org:10003 08:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:36 Configure a credential helper to remove this warning. See 08:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:36 08:54:36 Login Succeeded 08:54:36 nexus3.edgexfoundry.org:10004 08:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:36 Configure a credential helper to remove this warning. See 08:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:36 08:54:36 Login Succeeded 08:54:36 ****.io 08:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:54:36 Configure a credential helper to remove this warning. See 08:54:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:54:36 08:54:36 Login Succeeded 08:54:36 ---> ****-login.sh ends [Pipeline] } 08:54:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:54:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:54:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:54:36 ========================================================= 08:54:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:54:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:37 + 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 . 08:54:37 Sending build context to Docker daemon 16.31MB 08:54:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:54:37 Step 2/12 : FROM ${BASE} AS builder 08:54:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:54:37 7264a8db6415: Pulling fs layer 08:54:37 c4d48a809fc2: Pulling fs layer 08:54:37 4f1c88b9dad5: Pulling fs layer 08:54:37 ad3a456e5733: Pulling fs layer 08:54:37 69c7f0334f64: Pulling fs layer 08:54:37 1f1c1a5573a3: Pulling fs layer 08:54:37 ce7588e14bc9: Pulling fs layer 08:54:37 b5e4710f87ac: Pulling fs layer 08:54:37 69c7f0334f64: Waiting 08:54:37 1f1c1a5573a3: Waiting 08:54:37 ce7588e14bc9: Waiting 08:54:37 b5e4710f87ac: Waiting 08:54:37 ad3a456e5733: Waiting 08:54:37 c4d48a809fc2: Download complete 08:54:37 ad3a456e5733: Verifying Checksum 08:54:37 ad3a456e5733: Download complete 08:54:37 69c7f0334f64: Verifying Checksum 08:54:37 69c7f0334f64: Download complete 08:54:37 7264a8db6415: Verifying Checksum 08:54:37 7264a8db6415: Download complete 08:54:37 1f1c1a5573a3: Verifying Checksum 08:54:37 1f1c1a5573a3: Download complete 08:54:37 7264a8db6415: Pull complete 08:54:37 b5e4710f87ac: Verifying Checksum 08:54:37 b5e4710f87ac: Download complete 08:54:37 c4d48a809fc2: Pull complete 08:54:37 4f1c88b9dad5: Verifying Checksum 08:54:37 4f1c88b9dad5: Download complete 08:54:38 ce7588e14bc9: Verifying Checksum 08:54:38 ce7588e14bc9: Download complete 08:54:41 4f1c88b9dad5: Pull complete 08:54:41 ad3a456e5733: Pull complete 08:54:41 69c7f0334f64: Pull complete 08:54:41 1f1c1a5573a3: Pull complete 08:54:44 ce7588e14bc9: Pull complete 08:54:44 b5e4710f87ac: Pull complete 08:54:44 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:54:44 ---> 88b5674ff536 08:54:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:54:50 ---> Running in 1c4fd2410191 08:54:50 Removing intermediate container 1c4fd2410191 08:54:50 ---> f8e2716e4ac5 08:54:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:54:50 ---> Running in 462c62147579 08:54:50 Still waiting to schedule task 08:54:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:54:51 Removing intermediate container 462c62147579 08:54:51 ---> 7fec96fdf61e 08:54:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:54:51 ---> Running in ef416ed12736 08:54:51 Removing intermediate container ef416ed12736 08:54:51 ---> 3d1ef0c8c54b 08:54:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:54:51 ---> Running in 7ef5332e52b9 08:54:51 Removing intermediate container 7ef5332e52b9 08:54:51 ---> 8ed8e4cfa84d 08:54:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:51 ---> Running in 795b3a5127c2 08:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:54:51 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:54:51 (2/4) Installing libedit (20221030.3.1-r1) 08:54:51 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:54:51 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:54:52 Executing busybox-1.36.1-r5.trigger 08:54:52 OK: 268 MiB in 56 packages 08:54:52 Removing intermediate container 795b3a5127c2 08:54:52 ---> 42b7ac5d68e6 08:54:52 Step 8/12 : WORKDIR /device-rest-go 08:54:52 ---> Running in 360fda030a4d 08:54:52 Removing intermediate container 360fda030a4d 08:54:52 ---> 9de1cfddab11 08:54:52 Step 9/12 : COPY go.mod vendor* ./ 08:54:52 ---> 3fe1f586217a 08:54:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:54:52 ---> Running in 6ac9c7a0eb46 08:55:41 Removing intermediate container 6ac9c7a0eb46 08:55:41 ---> 8f20f47934bd 08:55:41 Step 11/12 : COPY . . 08:55:41 ---> b2577fb8b3a3 08:55:41 Step 12/12 : RUN $MAKE 08:55:41 ---> Running in 9efa7806d13c 08:55:41 noop 08:55:41 Removing intermediate container 9efa7806d13c 08:55:41 ---> c08b469e50b9 08:55:41 Successfully built c08b469e50b9 08:55:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:41 + docker inspect -f . ci-base-image-x86_64 08:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:41 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 08:55:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:43 $ docker top eae0ec3fdbb50767c7c0c9c36ca7ca0758ce8bdad5b9f47429887005cc4594e7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:43 + go version 08:55:43 go version go1.21.0 linux/amd64 [Pipeline] } 08:55:43 $ docker stop --time=1 eae0ec3fdbb50767c7c0c9c36ca7ca0758ce8bdad5b9f47429887005cc4594e7 08:55:46 $ docker rm -f --volumes eae0ec3fdbb50767c7c0c9c36ca7ca0758ce8bdad5b9f47429887005cc4594e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:46 + docker inspect -f . ci-base-image-x86_64 08:55:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:46 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 08:55:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:47 $ docker top 89c542884fa744a613a9f1118d5ad32772937ef21416fc13cf6b109d7f7dcdbb -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 08:55:48 + make test 08:55:48 go test ./... -coverprofile=coverage.out ./... 08:55:49 ? github.com/edgexfoundry/device-rest-go [no test files] 08:56:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:56:01 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 08:56:07 go vet ./... 08:56:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:56:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:56:11 ./bin/test-attribution-txt.sh [Pipeline] echo 08:56:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:56:11 $ docker stop --time=1 89c542884fa744a613a9f1118d5ad32772937ef21416fc13cf6b109d7f7dcdbb 08:56:16 $ docker rm -f --volumes 89c542884fa744a613a9f1118d5ad32772937ef21416fc13cf6b109d7f7dcdbb [Pipeline] // withDockerContainer [Pipeline] sh 08:56:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:56:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:56:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:56:18 + ls -al . 08:56:18 total 180 08:56:18 drwxrwxr-x 9 jenkins jenkins 4096 Dec 30 08:55 . 08:56:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:54 .. 08:56:18 -rw-rw-r-- 1 jenkins jenkins 151 Dec 30 08:54 .dockerignore 08:56:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:55 .git 08:56:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:54 .github 08:56:18 -rw-rw-r-- 1 jenkins jenkins 264 Dec 30 08:54 .gitignore 08:56:18 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:54 .golangci.yml 08:56:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:54 .semver 08:56:18 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 30 08:54 Attribution.txt 08:56:18 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 30 08:54 CHANGELOG.md 08:56:18 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 30 08:54 Dockerfile 08:56:18 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:54 GOVERNANCE.md 08:56:18 -rw-rw-r-- 1 jenkins jenkins 680 Dec 30 08:54 Jenkinsfile 08:56:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:54 LICENSE 08:56:18 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 30 08:54 Makefile 08:56:18 -rw-rw-r-- 1 jenkins jenkins 620 Dec 30 08:54 OWNERS.md 08:56:18 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 30 08:54 README.md 08:56:18 -rw-rw-r-- 1 jenkins jenkins 11 Dec 30 08:54 VERSION 08:56:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:54 bin 08:56:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:54 cmd 08:56:18 -rw-r--r-- 1 jenkins jenkins 14499 Dec 30 08:55 coverage.out 08:56:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:54 driver 08:56:18 -rw-rw-r-- 1 jenkins jenkins 3887 Dec 30 08:54 go.mod 08:56:18 -rw-rw-r-- 1 jenkins jenkins 34595 Dec 30 08:54 go.sum 08:56:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:54 openapi 08:56:18 -rw-rw-r-- 1 jenkins jenkins 713 Dec 30 08:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:18 + 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=0856413c2ad12273c2d5131e25a64bc5110c06e7 --label arch=amd64 --label version=3.2.0-dev.7 . 08:56:18 Sending build context to Docker daemon 16.32MB 08:56:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:56:18 Step 2/26 : FROM ${BASE} AS builder 08:56:18 ---> c08b469e50b9 08:56:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:56:18 ---> Running in 62be21d87f18 08:56:18 Removing intermediate container 62be21d87f18 08:56:18 ---> 4103dee65b56 08:56:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:56:18 ---> Running in 367adf35fd92 08:56:19 Removing intermediate container 367adf35fd92 08:56:19 ---> 44d6f605aa74 08:56:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:56:19 ---> Running in f606c258cc92 08:56:19 Removing intermediate container f606c258cc92 08:56:19 ---> 46657273b0f0 08:56:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:56:19 ---> Running in 31b97a916c68 08:56:19 Removing intermediate container 31b97a916c68 08:56:19 ---> 888b63f6e0fd 08:56:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:19 ---> Running in e762fc1e71fa 08:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:56:19 OK: 268 MiB in 56 packages 08:56:20 Removing intermediate container e762fc1e71fa 08:56:20 ---> 1c08f7765aca 08:56:20 Step 8/26 : WORKDIR /device-rest-go 08:56:20 ---> Running in db98de5207e4 08:56:20 Removing intermediate container db98de5207e4 08:56:20 ---> d2455546d50d 08:56:20 Step 9/26 : COPY go.mod vendor* ./ 08:56:20 ---> 09df0a979a68 08:56:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:56:20 ---> Running in ff4ccf175940 08:56:21 Removing intermediate container ff4ccf175940 08:56:21 ---> bf59d1451054 08:56:21 Step 11/26 : COPY . . 08:56:22 ---> 46e5acdcdf53 08:56:22 Step 12/26 : RUN $MAKE 08:56:22 ---> Running in cbf8c849a1c8 08:56:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 08:56:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26450 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 08:56:30 Running in /w/workspace/device-rest-go/159 [Pipeline] { [Pipeline] checkout 08:56:34 The recommended git tool is: git 08:56:42 using credential edgex-jenkins-ssh 08:56:42 Cloning the remote Git repository 08:56:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:56:42 > git init /w/workspace/device-rest-go/159 # timeout=10 08:56:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:56:42 > git --version # timeout=10 08:56:43 > git --version # 'git version 2.25.1' 08:56:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:56:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:56:46 Avoid second fetch 08:56:46 Checking out Revision 0856413c2ad12273c2d5131e25a64bc5110c06e7 (main) 08:56:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:56:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:56:46 > git config core.sparsecheckout # timeout=10 08:56:46 > git checkout -f 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 08:56:47 Commit message: "Merge pull request #378 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:56:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:56:48 % Total % Received % Xferd Average Speed Time Time Time Current 08:56:48 Dload Upload Total Spent Left Speed 08:56:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 91033 0 --:--:-- --:--:-- --:--:-- 90286 100 12682 100 12682 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 08:56:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:56:48 Removing intermediate container cbf8c849a1c8 08:56:48 ---> 9533b6372e8e 08:56:48 Step 13/26 : FROM alpine:3.18 08:56:48 3.18: Pulling from library/alpine 08:56:48 c926b61bad3b: Pulling fs layer 08:56:48 c926b61bad3b: Verifying Checksum 08:56:48 c926b61bad3b: Download complete 08:56:48 c926b61bad3b: Pull complete 08:56:48 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:56:48 Status: Downloaded newer image for alpine:3.18 08:56:48 ---> b541f2080109 08:56:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:56:48 ---> Running in c1c1bb329e5a 08:56:48 Removing intermediate container c1c1bb329e5a 08:56:48 ---> 94187d341a5b 08:56:48 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:56:48 ---> Running in d50f849499c3 08:56:48 Removing intermediate container d50f849499c3 08:56:48 ---> 84983c6f230d 08:56:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:56:48 ---> Running in d3f245e013c3 08:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:56:48 (1/1) Installing dumb-init (1.2.5-r2) 08:56:48 Executing busybox-1.36.1-r5.trigger 08:56:48 OK: 7 MiB in 16 packages 08:56:48 Removing intermediate container d3f245e013c3 08:56:48 ---> 395fcab28192 08:56:48 Step 17/26 : RUN apk --no-cache upgrade 08:56:48 ---> Running in 51d340122d88 08:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:56:48 OK: 7 MiB in 16 packages 08:56:48 Removing intermediate container 51d340122d88 08:56:48 ---> 9aa0227754f0 08:56:48 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:56:48 ---> 5bab90dc4f27 08:56:48 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:56:48 ---> e5421f3d6ab5 08:56:48 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:56:48 ---> 8f36b3ddba9c 08:56:48 Step 21/26 : EXPOSE 59986 08:56:48 ---> Running in cb731199541c 08:56:48 Removing intermediate container cb731199541c 08:56:48 ---> c4b219667986 08:56:48 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:56:48 ---> Running in 88b28ee437cf 08:56:48 Removing intermediate container 88b28ee437cf 08:56:48 ---> a7c0f6bc2582 08:56:48 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:56:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:56:48 + sudo tee /etc/docker/daemon.new 08:56:48 { 08:56:48 "registry-mirrors": [ 08:56:48 "https://nexus3.edgexfoundry.org:10001" 08:56:48 ], 08:56:48 "bip": "10.250.0.254/24", 08:56:48 "hosts": [ 08:56:48 "tcp://0.0.0.0:5555", 08:56:48 "unix:///var/run/docker.sock" 08:56:48 ], 08:56:48 "mtu": 1458, 08:56:48 "selinux-enabled": true, 08:56:48 "seccomp-profile": "/etc/docker/seccomp.json" 08:56:48 } [Pipeline] sh 08:56:48 ---> Running in 4b22e3deb89a 08:56:48 Removing intermediate container 4b22e3deb89a 08:56:48 ---> 6b273a66b3e9 08:56:48 Step 24/26 : LABEL arch=amd64 08:56:48 ---> Running in 39fd607b5cf3 08:56:48 Removing intermediate container 39fd607b5cf3 08:56:48 ---> ae663cda02ee 08:56:48 Step 25/26 : LABEL git_sha=0856413c2ad12273c2d5131e25a64bc5110c06e7 08:56:48 ---> Running in ba09705b0a0c 08:56:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:56:49 Removing intermediate container ba09705b0a0c 08:56:49 ---> 0bec7527e73d 08:56:49 Step 26/26 : LABEL version=3.2.0-dev.7 08:56:49 ---> Running in c4b96f9ec143 08:56:49 Removing intermediate container c4b96f9ec143 08:56:49 ---> d300f1a9ec09 08:56:49 [Warning] One or more build-args [ARCH] were not consumed 08:56:49 Successfully built d300f1a9ec09 08:56:49 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 08:56:49 + sudo service docker restart [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:56:49 provisioning config files... 08:56:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7020753386365803563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:49 ---> ****-login.sh 08:56:49 nexus3.edgexfoundry.org:10001 08:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:49 Configure a credential helper to remove this warning. See 08:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:49 08:56:49 Login Succeeded 08:56:49 nexus3.edgexfoundry.org:10002 08:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:49 Configure a credential helper to remove this warning. See 08:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:49 08:56:49 Login Succeeded 08:56:49 nexus3.edgexfoundry.org:10003 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 nexus3.edgexfoundry.org:10004 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 ****.io 08:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:56:50 Configure a credential helper to remove this warning. See 08:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:56:50 08:56:50 Login Succeeded 08:56:50 ---> ****-login.sh ends [Pipeline] } 08:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:56:50 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:56:50 0856413c2ad12273c2d5131e25a64bc5110c06e7 08:56:50 latest 08:56:50 3.2.0-dev.7 08:56:50 0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 08:56:50 main 08:56:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7 08:56:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:56:51 1bf60067650a: Preparing 08:56:51 0c1bcd23488c: Preparing 08:56:51 f022ec146e27: Preparing 08:56:51 8ee2258d51d4: Preparing 08:56:51 7a4c302befc5: Preparing 08:56:51 9fe9a137fd00: Preparing 08:56:51 9fe9a137fd00: Waiting 08:56:51 7a4c302befc5: Pushed 08:56:51 8ee2258d51d4: Pushed 08:56:51 1bf60067650a: Pushed 08:56:51 0c1bcd23488c: Pushed 08:56:51 9fe9a137fd00: Layer already exists 08:56:53 f022ec146e27: Pushed 08:56:53 0856413c2ad12273c2d5131e25a64bc5110c06e7: digest: sha256:66928e01c80288c4947d7a2b71c0327902332ea319d8d22bea456e3a3833ded9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:56:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:56:54 1bf60067650a: Preparing 08:56:54 0c1bcd23488c: Preparing 08:56:54 f022ec146e27: Preparing 08:56:54 8ee2258d51d4: Preparing 08:56:54 7a4c302befc5: Preparing 08:56:54 9fe9a137fd00: Preparing 08:56:54 9fe9a137fd00: Waiting 08:56:54 8ee2258d51d4: Layer already exists 08:56:54 f022ec146e27: Layer already exists 08:56:54 7a4c302befc5: Layer already exists 08:56:54 1bf60067650a: Layer already exists 08:56:54 0c1bcd23488c: Layer already exists 08:56:54 9fe9a137fd00: Layer already exists 08:56:54 latest: digest: sha256:66928e01c80288c4947d7a2b71c0327902332ea319d8d22bea456e3a3833ded9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.7 08:56:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:56:54 1bf60067650a: Preparing 08:56:54 0c1bcd23488c: Preparing 08:56:54 f022ec146e27: Preparing 08:56:54 8ee2258d51d4: Preparing 08:56:54 7a4c302befc5: Preparing 08:56:54 9fe9a137fd00: Preparing 08:56:54 9fe9a137fd00: Waiting 08:56:54 f022ec146e27: Layer already exists 08:56:54 0c1bcd23488c: Layer already exists 08:56:54 8ee2258d51d4: Layer already exists 08:56:54 1bf60067650a: Layer already exists 08:56:54 7a4c302befc5: Layer already exists 08:56:54 9fe9a137fd00: Layer already exists 08:56:54 3.2.0-dev.7: digest: sha256:66928e01c80288c4947d7a2b71c0327902332ea319d8d22bea456e3a3833ded9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 08:56:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:56:55 1bf60067650a: Preparing 08:56:55 0c1bcd23488c: Preparing 08:56:55 f022ec146e27: Preparing 08:56:55 8ee2258d51d4: Preparing 08:56:55 7a4c302befc5: Preparing 08:56:55 9fe9a137fd00: Preparing 08:56:55 9fe9a137fd00: Waiting 08:56:55 0c1bcd23488c: Layer already exists 08:56:55 f022ec146e27: Layer already exists 08:56:55 7a4c302befc5: Layer already exists 08:56:55 8ee2258d51d4: Layer already exists 08:56:55 1bf60067650a: Layer already exists 08:56:55 9fe9a137fd00: Layer already exists 08:56:55 0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7: digest: sha256:66928e01c80288c4947d7a2b71c0327902332ea319d8d22bea456e3a3833ded9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 08:56:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:56:56 1bf60067650a: Preparing 08:56:56 0c1bcd23488c: Preparing 08:56:56 f022ec146e27: Preparing 08:56:56 8ee2258d51d4: Preparing 08:56:56 7a4c302befc5: Preparing 08:56:56 9fe9a137fd00: Preparing 08:56:56 9fe9a137fd00: Waiting 08:56:56 f022ec146e27: Layer already exists 08:56:56 8ee2258d51d4: Layer already exists 08:56:56 0c1bcd23488c: Layer already exists 08:56:56 7a4c302befc5: Layer already exists 08:56:56 1bf60067650a: Layer already exists 08:56:56 9fe9a137fd00: Layer already exists 08:56:56 main: digest: sha256:66928e01c80288c4947d7a2b71c0327902332ea319d8d22bea456e3a3833ded9 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:56:56 ===================================================== [Pipeline] echo 08:56:56 taggedImages: 08:56:56 - nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7 08:56:56 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:56:56 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.7 08:56:56 - nexus3.edgexfoundry.org:10004/device-rest:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 08:56:56 - 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 08:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:56:57 08:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:56:57 latest: Pulling from edgex-lftools-log-publisher 08:56:57 5eb5b503b376: Pulling fs layer 08:56:57 5c69ac0246d0: Pulling fs layer 08:56:57 ec43610c2a17: Pulling fs layer 08:56:57 3a2ae6a8a46f: Pulling fs layer 08:56:57 33b1e0a273af: Pulling fs layer 08:56:57 5d3b04190fa2: Pulling fs layer 08:56:57 2f39f015ded8: Pulling fs layer 08:56:57 3a2ae6a8a46f: Waiting 08:56:57 33b1e0a273af: Waiting 08:56:57 5d3b04190fa2: Waiting 08:56:58 5c69ac0246d0: Download complete 08:56:58 3a2ae6a8a46f: Verifying Checksum 08:56:58 3a2ae6a8a46f: Download complete 08:56:58 ec43610c2a17: Verifying Checksum 08:56:58 ec43610c2a17: Download complete 08:56:58 33b1e0a273af: Verifying Checksum 08:56:58 33b1e0a273af: Download complete 08:56:58 5d3b04190fa2: Verifying Checksum 08:56:58 5d3b04190fa2: Download complete 08:56:58 5eb5b503b376: Verifying Checksum 08:56:58 5eb5b503b376: Download complete 08:56:58 2f39f015ded8: Verifying Checksum 08:56:58 2f39f015ded8: Download complete 08:56:59 5eb5b503b376: Pull complete 08:56:59 5c69ac0246d0: Pull complete 08:57:00 ec43610c2a17: Pull complete 08:57:00 3a2ae6a8a46f: Pull complete 08:57:01 33b1e0a273af: Pull complete 08:57:01 5d3b04190fa2: Pull complete 08:57:06 2f39f015ded8: Pull complete 08:57:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:57:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:06 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 08:57:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:57:18 $ docker top 5803dbc11d070789e6138c661867984cbf668ff274c38bffcd96b912097fabfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 08:57:19 provisioning config files... 08:57:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/159@tmp/config14011656168140515597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:19 ---> job-cost.sh 08:57:19 lf-activate-venv: SKIPPING 08:57:19 INFO: No Stack... 08:57:19 ---> ****-login.sh 08:57:19 nexus3.edgexfoundry.org:10001 08:57:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:20 INFO: Archiving Costs [Pipeline] sh 08:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:20 Configure a credential helper to remove this warning. See 08:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:20 08:57:20 Login Succeeded 08:57:20 nexus3.edgexfoundry.org:10002 08:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:20 Configure a credential helper to remove this warning. See 08:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:20 08:57:20 Login Succeeded 08:57:20 nexus3.edgexfoundry.org:10003 08:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:20 Configure a credential helper to remove this warning. See 08:57:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:20 08:57:20 Login Succeeded 08:57:20 nexus3.edgexfoundry.org:10004 08:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:21 Configure a credential helper to remove this warning. See 08:57:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:21 08:57:21 Login Succeeded 08:57:21 ****.io 08:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:21 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:57:21 + cut -d, -f6 [Pipeline] lock 08:57:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] 08:57:21 Resource [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] did not exist. Created. 08:57:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:57:21 Configure a credential helper to remove this warning. See 08:57:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:57:21 08:57:21 Login Succeeded 08:57:21 ---> ****-login.sh ends [Pipeline] } 08:57:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 08:57:21 + echo total: 0.2199999988079071 [Pipeline] unstash [Pipeline] stash 08:57:21 Stashed 1 file(s) [Pipeline] } 08:57:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 08:57:22 $ docker stop --time=1 5803dbc11d070789e6138c661867984cbf668ff274c38bffcd96b912097fabfc 08:57:23 $ docker rm -f --volumes 5803dbc11d070789e6138c661867984cbf668ff274c38bffcd96b912097fabfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] echo 08:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:57:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] echo 08:57:23 ========================================================= 08:57:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:57:23 ========================================================= [Pipeline] fileExists [Pipeline] // stage [Pipeline] } [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:24 + 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 . 08:57:25 #0 building with "default" instance using docker driver 08:57:25 08:57:25 #1 [internal] load build definition from Dockerfile 08:57:25 #1 transferring dockerfile: 1.73kB 0.0s done 08:57:25 #1 DONE 0.1s 08:57:25 08:57:25 #2 [internal] load .dockerignore 08:57:25 #2 transferring context: 193B done 08:57:25 #2 DONE 0.1s 08:57:25 08:57:25 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:57:26 #3 DONE 0.1s 08:57:26 08:57:26 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:57:26 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 08:57:26 #4 ... 08:57:26 08:57:26 #5 [internal] load build context 08:57:26 #5 transferring context: 95.81kB 0.1s done 08:57:26 #5 DONE 0.1s 08:57:26 08:57:26 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:57:26 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 08:57:26 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 08:57:26 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 08:57:26 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 08:57:26 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 08:57:26 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.61MB / 63.99MB 0.3s 08:57:26 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 08:57:26 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 08:57:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.44kB / 97.63MB 0.3s 08:57:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.4s 08:57:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.4s 08:57:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.4s 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 0.5s 08:57:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.5s 08:57:26 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 08:57:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.96MB / 97.63MB 0.6s 08:57:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.65MB / 63.99MB 0.8s 08:57:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.03MB / 97.63MB 0.8s 08:57:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 0.9s 08:57:26 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 08:57:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.14MB / 63.99MB 1.1s 08:57:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.1s 08:57:26 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 08:57:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.2s 08:57:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.83MB / 97.63MB 1.4s 08:57:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.69MB / 97.63MB 1.7s 08:57:27 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 1.8s 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.9s 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 2.1s 08:57:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 2.2s 08:57:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.45MB / 97.63MB 2.3s 08:57:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 08:57:33 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.1s 08:57:39 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 08:57:45 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.8s done 08:57:46 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 08:57:46 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 08:57:46 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 08:57:52 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 08:57:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 08:57:55 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 08:57:57 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 08:57:58 #4 DONE 32.1s 08:57:58 08:57:58 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 08:57:58 #6 0.805 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:57:59 #6 1.261 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:58:00 #6 2.609 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:58:00 #6 2.638 (2/4) Installing libedit (20221030.3.1-r1) 08:58:00 #6 2.650 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:58:00 #6 2.721 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:58:00 #6 2.750 Executing busybox-1.36.1-r5.trigger 08:58:00 #6 2.795 OK: 271 MiB in 56 packages 08:58:02 #6 DONE 4.9s 08:58:02 08:58:02 #7 [builder 3/7] WORKDIR /device-rest-go 08:58:02 #7 DONE 0.1s 08:58:03 08:58:03 #8 [builder 4/7] COPY go.mod vendor* ./ 08:58:03 #8 DONE 0.1s 08:58:03 08:58:03 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:58:30 #9 DONE 23.8s 08:58:30 08:58:30 #10 [builder 6/7] COPY . . 08:58:30 #10 DONE 0.1s 08:58:30 08:58:30 #11 [builder 7/7] RUN echo noop 08:58:30 #11 0.634 noop 08:58:30 #11 DONE 0.7s 08:58:30 08:58:30 #12 exporting to image 08:58:30 #12 exporting layers 08:58:52 #12 exporting layers 22.4s done 08:58:52 #12 writing image sha256:9ac76c52dd113c5440899d1ae78b26c32225d0d5fbe17ef3bcf7241eaed6b6ae done 08:58:52 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 08:58:52 #12 DONE 22.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:52 + docker inspect -f . ci-base-image-arm64 08:58:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:52 prd-ubuntu20.04-docker-arm64-4c-16g-26450 does not seem to be running inside a container 08:58:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/159 -v /w/workspace/device-rest-go/159:/w/workspace/device-rest-go/159:rw,z -v /w/workspace/device-rest-go/159@tmp:/w/workspace/device-rest-go/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:58:54 $ docker top 7451ee8a818fac4d1766282d1dcb21275c7ebcd797aab31dc1dd65db54329556 -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:54 + go version 08:58:54 go version go1.21.0 linux/arm64 [Pipeline] } 08:58:55 $ docker stop --time=1 7451ee8a818fac4d1766282d1dcb21275c7ebcd797aab31dc1dd65db54329556 08:58:56 $ docker rm -f --volumes 7451ee8a818fac4d1766282d1dcb21275c7ebcd797aab31dc1dd65db54329556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:57 + docker inspect -f . ci-base-image-arm64 08:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:57 prd-ubuntu20.04-docker-arm64-4c-16g-26450 does not seem to be running inside a container 08:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/159 -v /w/workspace/device-rest-go/159:/w/workspace/device-rest-go/159:rw,z -v /w/workspace/device-rest-go/159@tmp:/w/workspace/device-rest-go/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:58:58 $ docker top d0d52710e20c550bd39fbf7b3534bbcc8d132cb63dd7d8df2ae4f94ddf74121d -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:59 + git config --global --add safe.directory /w/workspace/device-rest-go/159 [Pipeline] fileExists [Pipeline] sh 08:58:59 + make test 08:58:59 go test ./... -coverprofile=coverage.out ./... 08:59:06 ? github.com/edgexfoundry/device-rest-go [no test files] 09:00:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:00:03 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 09:00:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:00:03 go vet ./... 09:00:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:00:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:00:17 ./bin/test-attribution-txt.sh [Pipeline] echo 09:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:00:17 $ docker stop --time=1 d0d52710e20c550bd39fbf7b3534bbcc8d132cb63dd7d8df2ae4f94ddf74121d 09:00:20 $ docker rm -f --volumes d0d52710e20c550bd39fbf7b3534bbcc8d132cb63dd7d8df2ae4f94ddf74121d [Pipeline] // withDockerContainer [Pipeline] sh 09:00:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:00:21 Warning: overwriting stash ‘coverage-report’ 09:00:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:00:23 + ls -al . 09:00:23 total 176 09:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:59 . 09:00:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 30 08:56 .. 09:00:23 -rw-rw-r-- 1 jenkins jenkins 151 Dec 30 08:56 .dockerignore 09:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 30 08:56 .git 09:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 .github 09:00:23 -rw-rw-r-- 1 jenkins jenkins 264 Dec 30 08:56 .gitignore 09:00:23 -rw-rw-r-- 1 jenkins jenkins 41 Dec 30 08:56 .golangci.yml 09:00:23 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 30 08:56 Attribution.txt 09:00:23 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 30 08:56 CHANGELOG.md 09:00:23 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 30 08:56 Dockerfile 09:00:23 -rw-rw-r-- 1 jenkins jenkins 677 Dec 30 08:56 GOVERNANCE.md 09:00:23 -rw-rw-r-- 1 jenkins jenkins 680 Dec 30 08:56 Jenkinsfile 09:00:23 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 30 08:56 LICENSE 09:00:23 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 30 08:56 Makefile 09:00:23 -rw-rw-r-- 1 jenkins jenkins 620 Dec 30 08:56 OWNERS.md 09:00:23 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 30 08:56 README.md 09:00:23 -rw-rw-r-- 1 jenkins jenkins 11 Dec 30 08:54 VERSION 09:00:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:56 bin 09:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 cmd 09:00:23 -rw-r--r-- 1 jenkins jenkins 14499 Dec 30 08:59 coverage.out 09:00:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 30 08:56 driver 09:00:23 -rw-rw-r-- 1 jenkins jenkins 3887 Dec 30 08:56 go.mod 09:00:23 -rw-rw-r-- 1 jenkins jenkins 34595 Dec 30 08:56 go.sum 09:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 30 08:56 openapi 09:00:23 -rw-rw-r-- 1 jenkins jenkins 713 Dec 30 08:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:23 + 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=0856413c2ad12273c2d5131e25a64bc5110c06e7 --label arch=arm64 --label version=3.2.0-dev.7 . 09:00:24 #0 building with "default" instance using docker driver 09:00:24 09:00:24 #1 [internal] load .dockerignore 09:00:24 #1 transferring context: 193B done 09:00:24 #1 DONE 0.0s 09:00:24 09:00:24 #2 [internal] load build definition from Dockerfile 09:00:24 #2 transferring dockerfile: 1.73kB done 09:00:24 #2 DONE 0.0s 09:00:24 09:00:24 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 09:00:24 #3 DONE 0.0s 09:00:24 09:00:24 #4 [internal] load metadata for docker.io/library/alpine:3.18 09:00:24 #4 DONE 0.2s 09:00:25 09:00:25 #5 [internal] load build context 09:00:25 #5 transferring context: 16.04kB 0.0s done 09:00:25 #5 DONE 0.0s 09:00:25 09:00:25 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:00:25 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 09:00:25 #6 ... 09:00:25 09:00:25 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 09:00:25 #7 DONE 0.2s 09:00:25 09:00:25 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 09:00:25 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 09:00:25 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 09:00:25 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 09:00:25 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 09:00:25 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 09:00:25 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 09:00:25 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 09:00:25 #6 DONE 1.0s 09:00:25 09:00:25 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 09:00:25 #8 0.811 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:00:26 #8 1.318 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:00:27 #8 2.763 OK: 271 MiB in 56 packages 09:00:28 #8 DONE 3.1s 09:00:28 09:00:28 #9 [builder 3/7] WORKDIR /device-rest-go 09:00:28 #9 DONE 0.1s 09:00:28 09:00:28 #10 [builder 4/7] COPY go.mod vendor* ./ 09:00:28 #10 DONE 0.2s 09:00:28 09:00:28 #11 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 09:00:28 #11 0.657 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:00:28 #11 1.054 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:00:28 #11 2.316 (1/1) Installing dumb-init (1.2.5-r2) 09:00:28 #11 2.326 Executing busybox-1.36.1-r5.trigger 09:00:28 #11 2.352 OK: 8 MiB in 16 packages 09:00:28 #11 DONE 2.7s 09:00:28 09:00:28 #12 [stage-1 3/6] RUN apk --no-cache upgrade 09:00:29 #12 0.941 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:00:30 #12 1.331 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:00:31 #12 2.493 OK: 8 MiB in 16 packages 09:00:33 #12 DONE 4.7s 09:00:33 09:00:33 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:00:33 #13 DONE 4.8s 09:00:33 09:00:33 #14 [builder 6/7] COPY . . 09:00:33 #14 DONE 0.2s 09:00:33 09:00:33 #15 [builder 7/7] RUN make build 09:00:34 #15 0.679 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-rest ./cmd 09:01:56 #15 DONE 73.2s 09:01:56 09:01:56 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 09:01:56 #16 DONE 0.3s 09:01:56 09:01:56 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 09:01:56 #17 DONE 0.1s 09:01:56 09:01:56 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 09:01:56 #18 DONE 0.1s 09:01:56 09:01:56 #19 exporting to image 09:01:56 #19 exporting layers 09:01:56 #19 exporting layers 0.4s done 09:01:56 #19 writing image sha256:c6bc43ee6f5c4676ecbd86b15b1f330406fc97b6c2b84279e4623244900657c8 done 09:01:56 #19 naming to docker.io/library/device-rest-arm64 0.0s done 09:01:56 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:56 provisioning config files... 09:01:56 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/159@tmp/config1893655798045908927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:57 ---> ****-login.sh 09:01:57 nexus3.edgexfoundry.org:10001 09:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:01:57 Configure a credential helper to remove this warning. See 09:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:01:57 09:01:57 Login Succeeded 09:01:57 nexus3.edgexfoundry.org:10002 09:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:01:57 Configure a credential helper to remove this warning. See 09:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:01:57 09:01:57 Login Succeeded 09:01:57 nexus3.edgexfoundry.org:10003 09:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:01:57 Configure a credential helper to remove this warning. See 09:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:01:57 09:01:57 Login Succeeded 09:01:57 nexus3.edgexfoundry.org:10004 09:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:01:58 Configure a credential helper to remove this warning. See 09:01:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:01:58 09:01:58 Login Succeeded 09:01:58 ****.io 09:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:01:58 Configure a credential helper to remove this warning. See 09:01:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:01:58 09:01:58 Login Succeeded 09:01:58 ---> ****-login.sh ends [Pipeline] } 09:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:01:59 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:01:59 0856413c2ad12273c2d5131e25a64bc5110c06e7 09:01:59 latest 09:01:59 3.2.0-dev.7 09:01:59 0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 09:01:59 main 09:01:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7 09:02:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:02:00 3e82872d6d34: Preparing 09:02:00 01b7fdceb49e: Preparing 09:02:00 7ed92fcbedb9: Preparing 09:02:00 418fed215aa2: Preparing 09:02:00 46f50070920b: Preparing 09:02:00 0faf9b67be60: Preparing 09:02:00 0faf9b67be60: Waiting 09:02:00 01b7fdceb49e: Pushed 09:02:00 46f50070920b: Pushed 09:02:00 418fed215aa2: Pushed 09:02:00 3e82872d6d34: Pushed 09:02:00 0faf9b67be60: Layer already exists 09:02:05 7ed92fcbedb9: Pushed 09:02:05 0856413c2ad12273c2d5131e25a64bc5110c06e7: digest: sha256:7a064db42e2c06cbad21d71843b1810c0925cb89ed4b1d9507c8e42fc0d55466 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:02:06 3e82872d6d34: Preparing 09:02:06 01b7fdceb49e: Preparing 09:02:06 7ed92fcbedb9: Preparing 09:02:06 418fed215aa2: Preparing 09:02:06 46f50070920b: Preparing 09:02:06 0faf9b67be60: Preparing 09:02:06 0faf9b67be60: Waiting 09:02:06 418fed215aa2: Layer already exists 09:02:06 46f50070920b: Layer already exists 09:02:06 3e82872d6d34: Layer already exists 09:02:06 7ed92fcbedb9: Layer already exists 09:02:06 01b7fdceb49e: Layer already exists 09:02:06 0faf9b67be60: Layer already exists 09:02:06 latest: digest: sha256:7a064db42e2c06cbad21d71843b1810c0925cb89ed4b1d9507c8e42fc0d55466 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.7 09:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:02:07 3e82872d6d34: Preparing 09:02:07 01b7fdceb49e: Preparing 09:02:07 7ed92fcbedb9: Preparing 09:02:07 418fed215aa2: Preparing 09:02:07 46f50070920b: Preparing 09:02:07 0faf9b67be60: Preparing 09:02:07 0faf9b67be60: Waiting 09:02:07 46f50070920b: Layer already exists 09:02:07 01b7fdceb49e: Layer already exists 09:02:07 7ed92fcbedb9: Layer already exists 09:02:07 418fed215aa2: Layer already exists 09:02:07 3e82872d6d34: Layer already exists 09:02:07 0faf9b67be60: Layer already exists 09:02:07 3.2.0-dev.7: digest: sha256:7a064db42e2c06cbad21d71843b1810c0925cb89ed4b1d9507c8e42fc0d55466 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 09:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:02:08 3e82872d6d34: Preparing 09:02:08 01b7fdceb49e: Preparing 09:02:08 7ed92fcbedb9: Preparing 09:02:08 418fed215aa2: Preparing 09:02:08 46f50070920b: Preparing 09:02:08 0faf9b67be60: Preparing 09:02:08 0faf9b67be60: Waiting 09:02:08 01b7fdceb49e: Layer already exists 09:02:08 3e82872d6d34: Layer already exists 09:02:08 7ed92fcbedb9: Layer already exists 09:02:08 46f50070920b: Layer already exists 09:02:08 418fed215aa2: Layer already exists 09:02:08 0faf9b67be60: Layer already exists 09:02:09 0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7: digest: sha256:7a064db42e2c06cbad21d71843b1810c0925cb89ed4b1d9507c8e42fc0d55466 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 09:02:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:02:10 3e82872d6d34: Preparing 09:02:10 01b7fdceb49e: Preparing 09:02:10 7ed92fcbedb9: Preparing 09:02:10 418fed215aa2: Preparing 09:02:10 46f50070920b: Preparing 09:02:10 0faf9b67be60: Preparing 09:02:10 0faf9b67be60: Waiting 09:02:10 418fed215aa2: Layer already exists 09:02:10 3e82872d6d34: Layer already exists 09:02:10 7ed92fcbedb9: Layer already exists 09:02:10 46f50070920b: Layer already exists 09:02:10 01b7fdceb49e: Layer already exists 09:02:10 0faf9b67be60: Layer already exists 09:02:10 main: digest: sha256:7a064db42e2c06cbad21d71843b1810c0925cb89ed4b1d9507c8e42fc0d55466 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:02:10 ===================================================== [Pipeline] echo 09:02:10 taggedImages: 09:02:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7 09:02:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:02:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.7 09:02:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0856413c2ad12273c2d5131e25a64bc5110c06e7-3.2.0-dev.7 09:02:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:02:11 09:02:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:02:15 arm64: Pulling from edgex-lftools-log-publisher 09:02:15 8998bd30e6a1: Pulling fs layer 09:02:15 04944245beec: Pulling fs layer 09:02:15 699f458cf7ca: Pulling fs layer 09:02:15 765212b225bb: Pulling fs layer 09:02:15 f23df028b6ca: Pulling fs layer 09:02:15 d65c8cfc05b1: Pulling fs layer 09:02:15 2437ff75d9bd: Pulling fs layer 09:02:15 f23df028b6ca: Waiting 09:02:15 d65c8cfc05b1: Waiting 09:02:15 2437ff75d9bd: Waiting 09:02:15 765212b225bb: Waiting 09:02:15 04944245beec: Download complete 09:02:15 765212b225bb: Download complete 09:02:15 f23df028b6ca: Verifying Checksum 09:02:15 f23df028b6ca: Download complete 09:02:15 d65c8cfc05b1: Verifying Checksum 09:02:15 d65c8cfc05b1: Download complete 09:02:15 699f458cf7ca: Verifying Checksum 09:02:15 699f458cf7ca: Download complete 09:02:15 8998bd30e6a1: Verifying Checksum 09:02:15 8998bd30e6a1: Download complete 09:02:17 2437ff75d9bd: Download complete 09:02:22 8998bd30e6a1: Pull complete 09:02:22 04944245beec: Pull complete 09:02:24 699f458cf7ca: Pull complete 09:02:24 765212b225bb: Pull complete 09:02:30 f23df028b6ca: Pull complete 09:02:30 d65c8cfc05b1: Pull complete 09:02:57 2437ff75d9bd: Pull complete 09:02:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-26450 does not seem to be running inside a container 09:02:57 $ 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/159 -v /w/workspace/device-rest-go/159:/w/workspace/device-rest-go/159:rw,z -v /w/workspace/device-rest-go/159@tmp:/w/workspace/device-rest-go/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:03:02 $ docker top 06aa6decbaf211f6e62bba28ff523e7799ead9b24c7bf38471d86f1269338bcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:02 ---> job-cost.sh 09:03:02 lf-activate-venv: SKIPPING 09:03:02 INFO: No Stack... 09:03:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:03:04 INFO: Archiving Costs [Pipeline] sh 09:03:04 + cat /w/workspace/device-rest-go/159/archives/cost.csv 09:03:04 + cut -d, -f6 [Pipeline] lock 09:03:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] 09:03:04 Resource [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] did not exist. Created. 09:03:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:03:05 /w/workspace/device-rest-go/159@tmp/durable-dbe8bb20/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:03:05 + echo total: 0.2199999988079071 [Pipeline] stash 09:03:05 Warning: overwriting stash ‘stack-cost’ 09:03:05 Stashed 1 file(s) [Pipeline] } 09:03:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 09:03:05 $ docker stop --time=1 06aa6decbaf211f6e62bba28ff523e7799ead9b24c7bf38471d86f1269338bcd 09:03:07 $ docker rm -f --volumes 06aa6decbaf211f6e62bba28ff523e7799ead9b24c7bf38471d86f1269338bcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:03:09 provisioning config files... 09:03:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15540563356273350497tmp [Pipeline] { [Pipeline] sh 09:03:09 + set +x 09:03:09 + + bash -s -- 09:03:09 curl -s https://codecov.io/bash 09:03:09 09:03:09 _____ _ 09:03:09 / ____| | | 09:03:09 | | ___ __| | ___ ___ _____ __ 09:03:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:03:09 | |___| (_) | (_| | __/ (_| (_) \ V / 09:03:09 \_____\___/ \__,_|\___|\___\___/ \_/ 09:03:09 Bash-1.0.6 09:03:09 09:03:09 09:03:09 ==> git version 2.25.1 found 09:03:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:03:09 Release-Date: 2020-01-08 09:03:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:03:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:03:09 ==> Jenkins CI detected. 09:03:09 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 09:03:09 project root: . 09:03:09 --> token set from env 09:03:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:03:09 ==> Running gcov in . (disable via -X gcov) 09:03:09 ==> Python coveragepy not found 09:03:09 ==> Searching for coverage reports in: 09:03:09 + . 09:03:09 -> Found 1 reports 09:03:09 ==> Detecting git/mercurial file structure 09:03:09 ==> Reading reports 09:03:09 + ./coverage.out bytes=14499 09:03:09 ==> Appending adjustments 09:03:09 https://docs.codecov.io/docs/fixing-reports 09:03:10 + Found adjustments 09:03:10 ==> Gzipping contents 09:03:10 4.0K /tmp/codecov.byeqtl.gz 09:03:10 ==> Uploading reports 09:03:10 url: https://codecov.io 09:03:10 query: branch=main&commit=0856413c2ad12273c2d5131e25a64bc5110c06e7&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:10 -> Pinging Codecov 09:03:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=0856413c2ad12273c2d5131e25a64bc5110c06e7&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:03:10 -> Uploading to 09:03:10 https://storage.googleapis.com/codecov/v4/raw/2023-12-30/4E5D53B4F1F92C436F7061BF334D961C/0856413c2ad12273c2d5131e25a64bc5110c06e7/85209660-37b7-4967-a4e6-ae068cbadedc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231230%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231230T090309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c9d9ea9bfd57032054a86a0bab0d474b79488658d5707ffa7f8fa7eee892e0a 09:03:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:10 Dload Upload Total Spent Left Speed 09:03:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10315 --:--:-- --:--:-- --:--:-- 10269 09:03:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] } 09:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:03:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:03:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:03:11 09:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:03:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:03:11 df9b9388f04a: Pulling fs layer 09:03:11 52dc419b0ee2: Pulling fs layer 09:03:11 25bc292e5bac: Pulling fs layer 09:03:11 114826534d7a: Pulling fs layer 09:03:11 4657fd5d0bcf: Pulling fs layer 09:03:11 6ad1cebc031e: Pulling fs layer 09:03:11 8a3aa393b2d8: Pulling fs layer 09:03:11 4657fd5d0bcf: Waiting 09:03:11 6ad1cebc031e: Waiting 09:03:11 8a3aa393b2d8: Waiting 09:03:11 114826534d7a: Waiting 09:03:11 25bc292e5bac: Verifying Checksum 09:03:11 25bc292e5bac: Download complete 09:03:11 52dc419b0ee2: Verifying Checksum 09:03:11 52dc419b0ee2: Download complete 09:03:11 4657fd5d0bcf: Verifying Checksum 09:03:11 4657fd5d0bcf: Download complete 09:03:11 df9b9388f04a: Download complete 09:03:11 6ad1cebc031e: Verifying Checksum 09:03:11 6ad1cebc031e: Download complete 09:03:11 df9b9388f04a: Pull complete 09:03:11 52dc419b0ee2: Pull complete 09:03:12 25bc292e5bac: Pull complete 09:03:12 114826534d7a: Verifying Checksum 09:03:12 114826534d7a: Download complete 09:03:12 8a3aa393b2d8: Verifying Checksum 09:03:12 8a3aa393b2d8: Download complete 09:03:16 114826534d7a: Pull complete 09:03:16 4657fd5d0bcf: Pull complete 09:03:16 6ad1cebc031e: Pull complete 09:03:19 8a3aa393b2d8: Pull complete 09:03:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:03:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:19 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09:03:19 $ 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 09:03:25 $ docker top 123353ff9ce4ea44c0bad9c4192fdc2c96c67e5303f71dd7fdfe6f43de8890a5 -eo pid,comm [Pipeline] { [Pipeline] echo 09:03:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 09:03:25 + set -o pipefail 09:03:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 09:03:35 09:03:35 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 09:03:35 09:03:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/3f250d34-a9f8-4799-8f1e-d762b6946eda 09:03:35 09:03:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:03:35 09:03:35 09:03:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:03:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:03:35 More details here: https://snyk.co/ue1NS 09:03:35 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:03:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:03:35 $ docker stop --time=1 123353ff9ce4ea44c0bad9c4192fdc2c96c67e5303f71dd7fdfe6f43de8890a5 09:03:40 $ docker rm -f --volumes 123353ff9ce4ea44c0bad9c4192fdc2c96c67e5303f71dd7fdfe6f43de8890a5 [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 09:03:42 + git log --format=format:%s -1 0856413c2ad12273c2d5131e25a64bc5110c06e7 [Pipeline] sh 09:03:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:03:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:43 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09:03:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:03:43 $ docker top eaad911fe6a541c2efe2e8d6e6eb573c6a3963b8a5f20f5c9f3f0730f63f80d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:43 [ssh-agent] Looking for ssh-agent implementation... 09:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:44 $ docker exec eaad911fe6a541c2efe2e8d6e6eb573c6a3963b8a5f20f5c9f3f0730f63f80d2 ssh-agent 09:03:44 SSH_AUTH_SOCK=/tmp/ssh-iLTa1eg8id7W/agent.32 09:03:44 SSH_AGENT_PID=38 09:03:44 Running ssh-add (command line suppressed) 09:03:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16633082517972896653.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16633082517972896653.key) 09:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:44 + git semver tag 09:03:44 2023-12-30 09:03:44,760 [run_tag] DEBUG tag force:False 09:03:44 2023-12-30 09:03:44,760 [check_head_tag] DEBUG check head tag 09:03:44 2023-12-30 09:03:44,761 [execute] INFO git cat-file --batch-check 09:03:44 2023-12-30 09:03:44,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:03:44 2023-12-30 09:03:44,764 [execute] INFO git cat-file --batch 09:03:44 2023-12-30 09:03:44,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:03:44 2023-12-30 09:03:44,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:03:44 2023-12-30 09:03:44,781 [execute] INFO git tag -a v3.2.0-dev.7 -m v3.2.0-dev.7 09:03:44 2023-12-30 09:03:44,781 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.7', '-m', 'v3.2.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 09:03:44 2023-12-30 09:03:44,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:03:44 3.2.0-dev.7 [Pipeline] } 09:03:44 $ docker exec --env ******** --env ******** eaad911fe6a541c2efe2e8d6e6eb573c6a3963b8a5f20f5c9f3f0730f63f80d2 ssh-agent -k 09:03:44 unset SSH_AUTH_SOCK; 09:03:44 unset SSH_AGENT_PID; 09:03:44 echo Agent pid 38 killed; 09:03:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:45 + git semver [Pipeline] } 09:03:45 $ docker stop --time=1 eaad911fe6a541c2efe2e8d6e6eb573c6a3963b8a5f20f5c9f3f0730f63f80d2 09:03:47 $ docker rm -f --volumes eaad911fe6a541c2efe2e8d6e6eb573c6a3963b8a5f20f5c9f3f0730f63f80d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:03:47 09:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:03:48 0.23.1-centos7: Pulling from edgex-lftools 09:03:48 ab5ef0e58194: Pulling fs layer 09:03:48 9712f1f96733: Pulling fs layer 09:03:48 63f879dbbcfc: Pulling fs layer 09:03:48 0d9ebad4ef96: Pulling fs layer 09:03:48 e9a5061849ea: Pulling fs layer 09:03:48 d747dcd14b5f: Pulling fs layer 09:03:48 2de7ff778b66: Pulling fs layer 09:03:48 e9a5061849ea: Waiting 09:03:48 d747dcd14b5f: Waiting 09:03:48 2de7ff778b66: Waiting 09:03:48 0d9ebad4ef96: Waiting 09:03:48 9712f1f96733: Verifying Checksum 09:03:48 9712f1f96733: Download complete 09:03:48 63f879dbbcfc: Verifying Checksum 09:03:48 63f879dbbcfc: Download complete 09:03:48 0d9ebad4ef96: Verifying Checksum 09:03:48 0d9ebad4ef96: Download complete 09:03:48 d747dcd14b5f: Download complete 09:03:48 ab5ef0e58194: Verifying Checksum 09:03:48 ab5ef0e58194: Download complete 09:03:48 e9a5061849ea: Verifying Checksum 09:03:48 e9a5061849ea: Download complete 09:03:48 2de7ff778b66: Verifying Checksum 09:03:48 2de7ff778b66: Download complete 09:03:52 ab5ef0e58194: Pull complete 09:03:52 9712f1f96733: Pull complete 09:03:53 63f879dbbcfc: Pull complete 09:03:58 0d9ebad4ef96: Pull complete 09:03:58 e9a5061849ea: Pull complete 09:03:58 d747dcd14b5f: Pull complete 09:04:00 2de7ff778b66: Pull complete 09:04:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:04:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:00 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:04:15 $ docker top cc0fa81754a25ad635282bbb45b33a8026ce0a6cbf3c7f77a0d48b3ecc2c3c3b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:04:15 provisioning config files... 09:04:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11591269271029753089tmp 09:04:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14378489864978737883tmp 09:04:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12495881276238449762tmp [Pipeline] { [Pipeline] echo 09:04:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:04:15 ---> sigul-configuration.sh 09:04:15 gpg: directory `/root/.gnupg' created 09:04:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:04:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:04:15 gpg: keyring `/root/.gnupg/secring.gpg' created 09:04:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:04:15 gpg: CAST5 encrypted data 09:04:15 gpg: encrypted with 1 passphrase 09:04:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:04:16 + mkdir /home/jenkins 09:04:16 + mkdir /home/jenkins/sigul [Pipeline] sh 09:04:16 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:04:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:04:16 ---> sigul-install.sh 09:04:16 Sigul already installed; skipping installation. [Pipeline] sh 09:04:17 + git tag --list 09:04:17 v1.0.0 09:04:17 v1.1.0 09:04:17 v1.1.1 09:04:17 v1.1.2 09:04:17 v1.2.0 09:04:17 v1.2.1 09:04:17 v2.0.0 09:04:17 v2.1.0 09:04:17 v2.1.1 09:04:17 v2.2.0 09:04:17 v2.3.0 09:04:17 v3.0 09:04:17 v3.0.0 09:04:17 v3.1 09:04:17 v3.1.0 09:04:17 v3.1.0-dev.1 09:04:17 v3.1.0-dev.10 09:04:17 v3.1.0-dev.11 09:04:17 v3.1.0-dev.12 09:04:17 v3.1.0-dev.13 09:04:17 v3.1.0-dev.14 09:04:17 v3.1.0-dev.15 09:04:17 v3.1.0-dev.16 09:04:17 v3.1.0-dev.17 09:04:17 v3.1.0-dev.18 09:04:17 v3.1.0-dev.19 09:04:17 v3.1.0-dev.2 09:04:17 v3.1.0-dev.20 09:04:17 v3.1.0-dev.21 09:04:17 v3.1.0-dev.22 09:04:17 v3.1.0-dev.23 09:04:17 v3.1.0-dev.24 09:04:17 v3.1.0-dev.25 09:04:17 v3.1.0-dev.26 09:04:17 v3.1.0-dev.27 09:04:17 v3.1.0-dev.28 09:04:17 v3.1.0-dev.29 09:04:17 v3.1.0-dev.3 09:04:17 v3.1.0-dev.30 09:04:17 v3.1.0-dev.31 09:04:17 v3.1.0-dev.32 09:04:17 v3.1.0-dev.4 09:04:17 v3.1.0-dev.5 09:04:17 v3.1.0-dev.6 09:04:17 v3.1.0-dev.7 09:04:17 v3.1.0-dev.8 09:04:17 v3.1.0-dev.9 09:04:17 v3.2.0-dev.1 09:04:17 v3.2.0-dev.2 09:04:17 v3.2.0-dev.3 09:04:17 v3.2.0-dev.4 09:04:17 v3.2.0-dev.5 09:04:17 v3.2.0-dev.6 09:04:17 v3.2.0-dev.7 [Pipeline] sh 09:04:17 + lftools sign git-tag v3.2.0-dev.7 09:04:17 Signing Git tag with Sigul... 09:04:17 Signing v3.2.0-dev.7 [Pipeline] echo 09:04:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:04:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:04:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:04:18 $ docker stop --time=1 cc0fa81754a25ad635282bbb45b33a8026ce0a6cbf3c7f77a0d48b3ecc2c3c3b 09:04:20 $ docker rm -f --volumes cc0fa81754a25ad635282bbb45b33a8026ce0a6cbf3c7f77a0d48b3ecc2c3c3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:21 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:04:22 $ docker top 8b5a5eba3749911c17725f5477f5d128e7bc13dea5d2a725a74f52ac8e80f8b5 -eo pid,comm 09:04:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:04:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:22 [ssh-agent] Looking for ssh-agent implementation... 09:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:22 $ docker exec 8b5a5eba3749911c17725f5477f5d128e7bc13dea5d2a725a74f52ac8e80f8b5 ssh-agent 09:04:22 SSH_AUTH_SOCK=/tmp/ssh-q7342ATbdZWE/agent.32 09:04:22 SSH_AGENT_PID=38 09:04:22 Running ssh-add (command line suppressed) 09:04:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8260292825242022451.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8260292825242022451.key) 09:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:23 + git semver bump pre 09:04:23 2023-12-30 09:04:23,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 2023-12-30 09:04:23,164 [bump_version] DEBUG bumping version:3.2.0-dev.7 on axis:pre with prefix:dev 09:04:23 2023-12-30 09:04:23,164 [bump_version] DEBUG bumped version:3.2.0-dev.8 09:04:23 2023-12-30 09:04:23,164 [write_version] DEBUG write version:3.2.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 09:04:23 2023-12-30 09:04:23,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 2023-12-30 09:04:23,164 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 2023-12-30 09:04:23,166 [execute] INFO git cat-file --batch-check 09:04:23 2023-12-30 09:04:23,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:23 2023-12-30 09:04:23,171 [execute] INFO git cat-file --batch 09:04:23 2023-12-30 09:04:23,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:23 2023-12-30 09:04:23,176 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:23 3.2.0-dev.8 [Pipeline] } 09:04:23 $ docker exec --env ******** --env ******** 8b5a5eba3749911c17725f5477f5d128e7bc13dea5d2a725a74f52ac8e80f8b5 ssh-agent -k 09:04:23 unset SSH_AUTH_SOCK; 09:04:23 unset SSH_AGENT_PID; 09:04:23 echo Agent pid 38 killed; 09:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:23 + git semver [Pipeline] } 09:04:24 $ docker stop --time=1 8b5a5eba3749911c17725f5477f5d128e7bc13dea5d2a725a74f52ac8e80f8b5 09:04:25 $ docker rm -f --volumes 8b5a5eba3749911c17725f5477f5d128e7bc13dea5d2a725a74f52ac8e80f8b5 [Pipeline] // withDockerContainer [Pipeline] sh 09:04:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:04:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:26 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09: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 09:04:27 $ docker top 2cd21514de579b44ce3f4a7a5e331820eb304b8a587146209e6c270a043c7d6f -eo pid,comm 09:04:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:04:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:04:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:04:27 [ssh-agent] Looking for ssh-agent implementation... 09:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:04:27 $ docker exec 2cd21514de579b44ce3f4a7a5e331820eb304b8a587146209e6c270a043c7d6f ssh-agent 09:04:27 SSH_AUTH_SOCK=/tmp/ssh-SgwxmZxULq5s/agent.31 09:04:27 SSH_AGENT_PID=37 09:04:27 Running ssh-add (command line suppressed) 09:04:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4873039784775438044.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4873039784775438044.key) 09:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:04:28 + git semver push 09:04:28 2023-12-30 09:04:28,419 [run_push] DEBUG push 09:04:28 2023-12-30 09:04:28,420 [execute] INFO git cat-file --batch-check 09:04:28 2023-12-30 09:04:28,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:04:28 2023-12-30 09:04:28,423 [execute] INFO git rev-list 0f2895e876e1fb1c78f51ff18b2212afef4da1b9 -- 09:04:28 2023-12-30 09:04:28,424 [execute] DEBUG Popen(['git', 'rev-list', '0f2895e876e1fb1c78f51ff18b2212afef4da1b9', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:28 2023-12-30 09:04:28,432 [execute] INFO git fetch -v origin 09:04:28 2023-12-30 09:04:28,432 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:04:29 2023-12-30 09:04:28,958 [run_push] DEBUG no remote changes detected 09:04:29 2023-12-30 09:04:28,959 [execute] INFO git push origin semver 09:04:29 2023-12-30 09:04:28,959 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:04:30 2023-12-30 09:04:29,690 [run_push] DEBUG push all version tags 09:04:30 2023-12-30 09:04:29,690 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:04:30 2023-12-30 09:04:29,691 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 09:04:30 2023-12-30 09:04:30,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:04:30 3.2.0-dev.8 [Pipeline] } 09:04:30 $ docker exec --env ******** --env ******** 2cd21514de579b44ce3f4a7a5e331820eb304b8a587146209e6c270a043c7d6f ssh-agent -k 09:04:30 unset SSH_AUTH_SOCK; 09:04:30 unset SSH_AGENT_PID; 09:04:30 echo Agent pid 37 killed; 09:04:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:04:31 + git semver [Pipeline] } 09:04:31 $ docker stop --time=1 2cd21514de579b44ce3f4a7a5e331820eb304b8a587146209e6c270a043c7d6f 09:04:32 $ docker rm -f --volumes 2cd21514de579b44ce3f4a7a5e331820eb304b8a587146209e6c270a043c7d6f [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 09:04:34 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:04:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:04:34 total 16 09:04:34 drwxr-xr-x 3 root root 4096 Dec 30 08:57 . 09:04:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 30 09:04 .. 09:04:34 drwxr-xr-x 2 root root 4096 Dec 30 08:57 cost 09:04:34 -rw-r--r-- 1 root root 86 Dec 30 08:57 cost.csv 09:04:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:04:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:04:34 total 16 09:04:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 30 08:57 . 09:04:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 30 09:04 .. 09:04:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 30 08:57 cost 09:04:34 -rw-r--r-- 1 jenkins jenkins 86 Dec 30 08:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:04:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:04:35 ---> package-listing.sh 09:04:35 ++ facter osfamily 09:04:35 ++ tr '[:upper:]' '[:lower:]' 09:04:35 + OS_FAMILY=debian 09:04:35 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:04:35 + START_PACKAGES=/tmp/packages_start.txt 09:04:35 + END_PACKAGES=/tmp/packages_end.txt 09:04:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:04:35 + PACKAGES=/tmp/packages_start.txt 09:04:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:04:35 + PACKAGES=/tmp/packages_end.txt 09:04:35 + case "${OS_FAMILY}" in 09:04:35 + dpkg -l 09:04:35 + grep '^ii' 09:04:35 + '[' -f /tmp/packages_start.txt ']' 09:04:35 + '[' -f /tmp/packages_end.txt ']' 09:04:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:04:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:04:35 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:04:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:04:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:04:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:36 prd-ubuntu20.04-docker-8c-8g-26448 does not seem to be running inside a container 09:04:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:04:37 $ docker top 1401ad89edb948eeb6668d909f8f037b7844b958f463dc8b53f38c6f7845cf31 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:37 + touch /tmp/pre-build-complete [Pipeline] sh 09:04:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:04:38 + ls /var/log/sa-host 09:04:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:38 provisioning config files... 09:04:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1959320667664390973tmp [Pipeline] { [Pipeline] echo 09:04:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:04:38 ---> create-netrc.sh [Pipeline] } 09:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:04:39 ---> python-tools-install.sh [Pipeline] echo 09:04:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:04:39 ---> sudo-logs.sh 09:04:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:04:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:04:39 ---> job-cost.sh 09:04:39 lf-activate-venv: SKIPPING 09:04:39 DEBUG: total: 0.2199999988079071 09:04:39 INFO: Retrieving Stack Cost... 09:04:40 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:40 INFO: Archiving Costs [Pipeline] echo 09:04:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:04:40 ---> logs-deploy.sh 09:04:40 lf-activate-venv: SKIPPING 09:04:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/159 09:04:40 INFO: archiving workspace using pattern(s): 09:04:41 Archives upload complete. 09:04:41 INFO: archiving logs to Nexus