Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cffe0b5ee40638c8d708b56c712b7f43e21f16e4 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-ssh16323604832753196043.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-ssh2562639530308509724.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-ssh12716826754551778386.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-ssh10541501868248933345.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-ssh15972021289015793248.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25115 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 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (main) Commit message: "Merge pull request #374 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" > 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 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 > git rev-list --no-walk 291482f778a08bdc345d5637fe0e8ffcfe52633f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:28:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:28:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:28:34 ========================================================= 02:28:34 EdgeX Global Pipelines Version Info 02:28:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:28:34 ------------------- 02:28:34 stable info: 02:28:34 ------------------- 02:28:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:28:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:34 Message: update stable to v1.0.258 02:28:35 ------------------- 02:28:35 experimental info: 02:28:35 ------------------- 02:28:35 Commited By: **** collab-it+edgex@linuxfoundation.org 02:28:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:28:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cffe0b5 [Pipeline] echo 02:28:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:36 provisioning config files... 02:28:36 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2721823970293479174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:37 ---> ****-login.sh 02:28:37 nexus3.edgexfoundry.org:10001 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10002 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10003 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10004 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 ****.io 02:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:38 Configure a credential helper to remove this warning. See 02:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:38 02:28:38 Login Succeeded 02:28:38 ---> ****-login.sh ends [Pipeline] } 02:28:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:28:38 + git rev-list -1 --merges cffe0b5ee40638c8d708b56c712b7f43e21f16e4~1..cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] echo 02:28:38 -----------> git rev-list -1 --merges cffe0b5ee40638c8d708b56c712b7f43e21f16e4~1..cffe0b5ee40638c8d708b56c712b7f43e21f16e4 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:28:38 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [false] [Pipeline] sh 02:28:39 + git log --format=format:%s -1 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] echo 02:28:39 ========================================================= 02:28:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:39 + git log --format=format:%s -1 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] echo 02:28:39 [semverPrep] GIT_COMMIT: cffe0b5ee40638c8d708b56c712b7f43e21f16e4, Commit Message: Merge pull request #374 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4 [Pipeline] echo 02:28:39 [semverPrep] This is not a build commit. [Pipeline] sh 02:28:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:28:39 + grep -v github /etc/ssh/ssh_known_hosts 02:28:39 + [ -e /tmp/ssh_known_hosts ] 02:28:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:28:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:28:39 + sudo tee -a /etc/ssh/ssh_known_hosts 02:28:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:40 02:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:40 0.1.4: Pulling from edgex-devops/py-git-semver 02:28:40 b85a868b505f: Pulling fs layer 02:28:40 e2be974225ed: Pulling fs layer 02:28:40 339a4e72a1f5: Pulling fs layer 02:28:40 988bab9f4d93: Pulling fs layer 02:28:40 1469e6f7b9e6: Pulling fs layer 02:28:40 eaf3925da568: Pulling fs layer 02:28:40 bab4dde63d76: Pulling fs layer 02:28:40 bde34c3a00c8: Pulling fs layer 02:28:40 b352a97aabf1: Pulling fs layer 02:28:40 4872d77fe225: Pulling fs layer 02:28:40 5851b861e8e6: Pulling fs layer 02:28:40 bab4dde63d76: Waiting 02:28:40 bde34c3a00c8: Waiting 02:28:40 b352a97aabf1: Waiting 02:28:40 988bab9f4d93: Waiting 02:28:40 eaf3925da568: Waiting 02:28:40 4872d77fe225: Waiting 02:28:40 5851b861e8e6: Waiting 02:28:40 1469e6f7b9e6: Waiting 02:28:40 e2be974225ed: Verifying Checksum 02:28:40 e2be974225ed: Download complete 02:28:40 988bab9f4d93: Verifying Checksum 02:28:40 988bab9f4d93: Download complete 02:28:40 1469e6f7b9e6: Verifying Checksum 02:28:40 1469e6f7b9e6: Download complete 02:28:40 eaf3925da568: Verifying Checksum 02:28:40 eaf3925da568: Download complete 02:28:40 339a4e72a1f5: Verifying Checksum 02:28:40 339a4e72a1f5: Download complete 02:28:40 bde34c3a00c8: Verifying Checksum 02:28:40 bde34c3a00c8: Download complete 02:28:40 b352a97aabf1: Verifying Checksum 02:28:40 b352a97aabf1: Download complete 02:28:40 4872d77fe225: Verifying Checksum 02:28:40 4872d77fe225: Download complete 02:28:40 5851b861e8e6: Verifying Checksum 02:28:40 5851b861e8e6: Download complete 02:28:40 b85a868b505f: Verifying Checksum 02:28:40 b85a868b505f: Download complete 02:28:41 bab4dde63d76: Verifying Checksum 02:28:41 bab4dde63d76: Download complete 02:28:42 b85a868b505f: Pull complete 02:28:42 e2be974225ed: Pull complete 02:28:42 339a4e72a1f5: Pull complete 02:28:42 988bab9f4d93: Pull complete 02:28:43 1469e6f7b9e6: Pull complete 02:28:43 eaf3925da568: Pull complete 02:28:45 bab4dde63d76: Pull complete 02:28:45 bde34c3a00c8: Pull complete 02:28:45 b352a97aabf1: Pull complete 02:28:45 4872d77fe225: Pull complete 02:28:45 5851b861e8e6: Pull complete 02:28:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:45 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:28:45 $ 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 02:28:52 $ docker top 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 -eo pid,comm 02:28:52 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). 02:28:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:53 [ssh-agent] Looking for ssh-agent implementation... 02:28:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:53 $ docker exec 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 ssh-agent 02:28:53 SSH_AUTH_SOCK=/tmp/ssh-x0L5e9BtmIgF/agent.14 02:28:53 SSH_AGENT_PID=20 02:28:53 Running ssh-add (command line suppressed) 02:28:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5036810392386032655.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5036810392386032655.key) 02:28:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:53 + git tag --points-at HEAD [Pipeline] } 02:28:53 $ docker exec --env ******** --env ******** 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 ssh-agent -k 02:28:53 unset SSH_AUTH_SOCK; 02:28:53 unset SSH_AGENT_PID; 02:28:53 echo Agent pid 20 killed; 02:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:54 [ssh-agent] Looking for ssh-agent implementation... 02:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:54 $ docker exec 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 ssh-agent 02:28:54 SSH_AUTH_SOCK=/tmp/ssh-ZXHcb0RJ1dAh/agent.70 02:28:54 SSH_AGENT_PID=76 02:28:54 Running ssh-add (command line suppressed) 02:28:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12119069368699288298.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12119069368699288298.key) 02:28:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:54 + git semver init 02:28:54 2023-12-15 02:28:54,852 [run_init] DEBUG init version:0.0.0 force:False 02:28:54 2023-12-15 02:28:54,852 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:28:54 2023-12-15 02:28:54,853 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:28:54 2023-12-15 02:28:54,853 [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) 02:28:56 2023-12-15 02:28:56,631 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:28:56 2023-12-15 02:28:56,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:28:56 2023-12-15 02:28:56,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:28:56 2023-12-15 02:28:56,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:28:56 3.2.0-dev.6 [Pipeline] } 02:28:56 $ docker exec --env ******** --env ******** 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 ssh-agent -k 02:28:56 unset SSH_AUTH_SOCK; 02:28:56 unset SSH_AGENT_PID; 02:28:56 echo Agent pid 76 killed; 02:28:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:28:57 + git semver [Pipeline] } 02:28:57 $ docker stop --time=1 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 02:28:59 $ docker rm -f --volumes 2fb14a204115e2ba4921c0c0be281a06a95eb0e62cd87c2c1ee557020ec3d9c6 [Pipeline] // withDockerContainer [Pipeline] sh 02:28:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:28:59 Stashed 1 file(s) [Pipeline] echo 02:28:59 [edgeXSemver]: initialized semver on version 3.2.0-dev.6 [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 02:29:00 provisioning config files... 02:29:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2535041361099984402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:00 ---> ****-login.sh 02:29:00 nexus3.edgexfoundry.org:10001 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 nexus3.edgexfoundry.org:10002 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 nexus3.edgexfoundry.org:10003 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 nexus3.edgexfoundry.org:10004 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 ****.io 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:01 Configure a credential helper to remove this warning. See 02:29:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:01 02:29:01 Login Succeeded 02:29:01 ---> ****-login.sh ends [Pipeline] } 02:29:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:01 ========================================================= 02:29:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:29:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:01 + 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 . 02:29:01 Sending build context to Docker daemon 16.3MB 02:29:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:29:01 Step 2/12 : FROM ${BASE} AS builder 02:29:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:29:01 7264a8db6415: Pulling fs layer 02:29:01 c4d48a809fc2: Pulling fs layer 02:29:01 4f1c88b9dad5: Pulling fs layer 02:29:01 ad3a456e5733: Pulling fs layer 02:29:01 69c7f0334f64: Pulling fs layer 02:29:01 1f1c1a5573a3: Pulling fs layer 02:29:01 ce7588e14bc9: Pulling fs layer 02:29:01 b5e4710f87ac: Pulling fs layer 02:29:01 69c7f0334f64: Waiting 02:29:01 1f1c1a5573a3: Waiting 02:29:01 b5e4710f87ac: Waiting 02:29:01 ad3a456e5733: Waiting 02:29:01 ce7588e14bc9: Waiting 02:29:01 c4d48a809fc2: Verifying Checksum 02:29:01 c4d48a809fc2: Download complete 02:29:02 ad3a456e5733: Verifying Checksum 02:29:02 ad3a456e5733: Download complete 02:29:02 69c7f0334f64: Verifying Checksum 02:29:02 69c7f0334f64: Download complete 02:29:02 7264a8db6415: Verifying Checksum 02:29:02 7264a8db6415: Download complete 02:29:02 1f1c1a5573a3: Verifying Checksum 02:29:02 1f1c1a5573a3: Download complete 02:29:02 7264a8db6415: Pull complete 02:29:02 b5e4710f87ac: Verifying Checksum 02:29:02 b5e4710f87ac: Download complete 02:29:02 c4d48a809fc2: Pull complete 02:29:02 4f1c88b9dad5: Verifying Checksum 02:29:02 4f1c88b9dad5: Download complete 02:29:02 ce7588e14bc9: Verifying Checksum 02:29:02 ce7588e14bc9: Download complete 02:29:06 4f1c88b9dad5: Pull complete 02:29:06 ad3a456e5733: Pull complete 02:29:06 69c7f0334f64: Pull complete 02:29:06 1f1c1a5573a3: Pull complete 02:29:07 ce7588e14bc9: Pull complete 02:29:08 b5e4710f87ac: Pull complete 02:29:08 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:29:08 ---> 88b5674ff536 02:29:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:29:14 Still waiting to schedule task 02:29:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:29:16 ---> Running in 62d820c1c994 02:29:16 Removing intermediate container 62d820c1c994 02:29:16 ---> 5465d4d067d4 02:29:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:29:16 ---> Running in e39c37c84d70 02:29:16 Removing intermediate container e39c37c84d70 02:29:16 ---> b2433b09059c 02:29:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:29:16 ---> Running in 59371961feef 02:29:16 Removing intermediate container 59371961feef 02:29:16 ---> 7c43e7e749e3 02:29:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:29:16 ---> Running in a391e5e1ca59 02:29:16 Removing intermediate container a391e5e1ca59 02:29:16 ---> 0181da0847db 02:29:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:29:16 ---> Running in 4690e7e10f98 02:29:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:29:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:29:16 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:29:16 (2/4) Installing libedit (20221030.3.1-r1) 02:29:16 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:29:16 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:29:16 Executing busybox-1.36.1-r5.trigger 02:29:16 OK: 268 MiB in 56 packages 02:29:17 Removing intermediate container 4690e7e10f98 02:29:17 ---> 0edc4ad65af7 02:29:17 Step 8/12 : WORKDIR /device-rest-go 02:29:17 ---> Running in dfbe41e4699c 02:29:17 Removing intermediate container dfbe41e4699c 02:29:17 ---> 032f9613d556 02:29:17 Step 9/12 : COPY go.mod vendor* ./ 02:29:17 ---> e8d8b8d58764 02:29:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:17 ---> Running in 58a4baed9f44 02:30:04 Removing intermediate container 58a4baed9f44 02:30:04 ---> 5d36e2ab39ed 02:30:04 Step 11/12 : COPY . . 02:30:04 ---> 008ab29350b0 02:30:04 Step 12/12 : RUN $MAKE 02:30:04 ---> Running in 6e84961e2c14 02:30:04 noop 02:30:04 Removing intermediate container 6e84961e2c14 02:30:04 ---> 2a5e878b586b 02:30:04 Successfully built 2a5e878b586b 02:30:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:04 + docker inspect -f . ci-base-image-x86_64 02:30:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:04 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:30:04 $ 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 02:30:05 $ docker top 500bb4a582a76ba59723b1c16cf9b47fa9f61789136e789a8fe404a32e4d49b5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:05 + go version 02:30:05 go version go1.21.0 linux/amd64 [Pipeline] } 02:30:05 $ docker stop --time=1 500bb4a582a76ba59723b1c16cf9b47fa9f61789136e789a8fe404a32e4d49b5 02:30:06 $ docker rm -f --volumes 500bb4a582a76ba59723b1c16cf9b47fa9f61789136e789a8fe404a32e4d49b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:07 + docker inspect -f . ci-base-image-x86_64 02:30:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:07 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:30:07 $ 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 02:30:08 $ docker top 94371abde087e8148d6f3e4393fb83245133e93c80f4df8455a486b914c0d47d -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:30:08 + make test 02:30:08 go test ./... -coverprofile=coverage.out ./... 02:30:10 ? github.com/edgexfoundry/device-rest-go [no test files] 02:30:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:30:20 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 02:30:27 go vet ./... 02:30:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:30:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:30:29 ./bin/test-attribution-txt.sh [Pipeline] echo 02:30:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:30:29 $ docker stop --time=1 94371abde087e8148d6f3e4393fb83245133e93c80f4df8455a486b914c0d47d 02:30:33 $ docker rm -f --volumes 94371abde087e8148d6f3e4393fb83245133e93c80f4df8455a486b914c0d47d [Pipeline] // withDockerContainer [Pipeline] sh 02:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:30:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:30:35 + ls -al . 02:30:35 total 180 02:30:35 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:30 . 02:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:28 .. 02:30:35 -rw-rw-r-- 1 jenkins jenkins 151 Dec 15 02:28 .dockerignore 02:30:35 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:30 .git 02:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 .github 02:30:35 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:28 .gitignore 02:30:35 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:28 .golangci.yml 02:30:35 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:28 .semver 02:30:35 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 15 02:28 Attribution.txt 02:30:35 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 15 02:28 CHANGELOG.md 02:30:35 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 15 02:28 Dockerfile 02:30:35 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:28 GOVERNANCE.md 02:30:35 -rw-rw-r-- 1 jenkins jenkins 680 Dec 15 02:28 Jenkinsfile 02:30:35 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:28 LICENSE 02:30:35 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 15 02:28 Makefile 02:30:35 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:28 OWNERS.md 02:30:35 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 15 02:28 README.md 02:30:35 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 02:28 VERSION 02:30:35 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:28 bin 02:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 cmd 02:30:35 -rw-r--r-- 1 jenkins jenkins 14499 Dec 15 02:30 coverage.out 02:30:35 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:28 driver 02:30:35 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 15 02:28 go.mod 02:30:35 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:28 go.sum 02:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:28 openapi 02:30:35 -rw-rw-r-- 1 jenkins jenkins 713 Dec 15 02:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:35 + 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=cffe0b5ee40638c8d708b56c712b7f43e21f16e4 --label arch=amd64 --label version=3.2.0-dev.6 . 02:30:35 Sending build context to Docker daemon 16.32MB 02:30:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:30:35 Step 2/26 : FROM ${BASE} AS builder 02:30:35 ---> 2a5e878b586b 02:30:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:30:36 ---> Running in 347e79510ccd 02:30:36 Removing intermediate container 347e79510ccd 02:30:36 ---> 649c9e76e7bb 02:30:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:36 ---> Running in 1c177e5d4003 02:30:36 Removing intermediate container 1c177e5d4003 02:30:36 ---> fb03cd42612c 02:30:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:30:36 ---> Running in 27dc15b5f6c0 02:30:36 Removing intermediate container 27dc15b5f6c0 02:30:36 ---> 9d93621fdc3c 02:30:36 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:30:36 ---> Running in e92668eecbaf 02:30:36 Removing intermediate container e92668eecbaf 02:30:36 ---> 16b3411300d5 02:30:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:36 ---> Running in 8ff277134f6b 02:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:36 OK: 268 MiB in 56 packages 02:30:37 Removing intermediate container 8ff277134f6b 02:30:37 ---> 3ab3caa980a6 02:30:37 Step 8/26 : WORKDIR /device-rest-go 02:30:37 ---> Running in 6ffc4276dd38 02:30:37 Removing intermediate container 6ffc4276dd38 02:30:37 ---> d32391249c81 02:30:37 Step 9/26 : COPY go.mod vendor* ./ 02:30:37 ---> caa35f14159c 02:30:37 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:37 ---> Running in a35b22833542 02:30:37 Removing intermediate container a35b22833542 02:30:37 ---> 6cd666e9a61f 02:30:37 Step 11/26 : COPY . . 02:30:38 ---> 228e4fd83a28 02:30:38 Step 12/26 : RUN $MAKE 02:30:38 ---> Running in dd86d291125f 02:30:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:31:00 Removing intermediate container dd86d291125f 02:31:00 ---> d9f115d3fb7e 02:31:00 Step 13/26 : FROM alpine:3.18 02:31:00 3.18: Pulling from library/alpine 02:31:00 c926b61bad3b: Pulling fs layer 02:31:00 c926b61bad3b: Verifying Checksum 02:31:00 c926b61bad3b: Download complete 02:31:01 c926b61bad3b: Pull complete 02:31:01 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:31:01 Status: Downloaded newer image for alpine:3.18 02:31:01 ---> b541f2080109 02:31:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:31:02 ---> Running in 1ff9ca5c8ec1 02:31:02 Removing intermediate container 1ff9ca5c8ec1 02:31:02 ---> 6fe35bb13789 02:31:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:31:03 ---> Running in f8c5293992a1 02:31:03 Removing intermediate container f8c5293992a1 02:31:03 ---> c2a6838cb88a 02:31:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:31:04 ---> Running in e7ce7e30e29e 02:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:05 (1/1) Installing dumb-init (1.2.5-r2) 02:31:05 Executing busybox-1.36.1-r5.trigger 02:31:05 OK: 7 MiB in 16 packages 02:31:05 Removing intermediate container e7ce7e30e29e 02:31:05 ---> a110fbb65bcf 02:31:05 Step 17/26 : RUN apk --no-cache upgrade 02:31:05 ---> Running in 5a50afc70ee2 02:31:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:06 OK: 7 MiB in 16 packages 02:31:06 Removing intermediate container 5a50afc70ee2 02:31:06 ---> c73a272387ac 02:31:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:31:07 ---> 899c5dd1b98b 02:31:07 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:31:07 ---> e439ef7c9083 02:31:07 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:31:07 ---> 5777066f2834 02:31:07 Step 21/26 : EXPOSE 59986 02:31:07 ---> Running in 8e6ca49ef3b8 02:31:07 Removing intermediate container 8e6ca49ef3b8 02:31:07 ---> f8a2ab5afb18 02:31:07 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:31:07 ---> Running in 22a6590e3730 02:31:07 Removing intermediate container 22a6590e3730 02:31:07 ---> 8d6d53ff0b9e 02:31:07 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:31:07 ---> Running in 04bd95f18627 02:31:07 Removing intermediate container 04bd95f18627 02:31:07 ---> f3376efa5b2b 02:31:07 Step 24/26 : LABEL arch=amd64 02:31:07 ---> Running in 9b09dca31d68 02:31:07 Removing intermediate container 9b09dca31d68 02:31:07 ---> cdaed5273f12 02:31:07 Step 25/26 : LABEL git_sha=cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:31:07 ---> Running in a452a8281d9d 02:31:07 Removing intermediate container a452a8281d9d 02:31:07 ---> 0ed84624bb84 02:31:07 Step 26/26 : LABEL version=3.2.0-dev.6 02:31:07 ---> Running in 81c535701aba 02:31:08 Removing intermediate container 81c535701aba 02:31:08 ---> e3720b7d2e09 02:31:08 [Warning] One or more build-args [ARCH] were not consumed 02:31:08 Successfully built e3720b7d2e09 02:31:08 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:08 provisioning config files... 02:31:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14207476015801975890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:08 ---> ****-login.sh 02:31:08 nexus3.edgexfoundry.org:10001 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:08 Configure a credential helper to remove this warning. See 02:31:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:08 02:31:08 Login Succeeded 02:31:08 nexus3.edgexfoundry.org:10002 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:08 Configure a credential helper to remove this warning. See 02:31:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:08 02:31:08 Login Succeeded 02:31:08 nexus3.edgexfoundry.org:10003 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:08 Configure a credential helper to remove this warning. See 02:31:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:08 02:31:08 Login Succeeded 02:31:08 nexus3.edgexfoundry.org:10004 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:08 Configure a credential helper to remove this warning. See 02:31:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:08 02:31:08 Login Succeeded 02:31:08 ****.io 02:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:09 Configure a credential helper to remove this warning. See 02:31:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:09 02:31:09 Login Succeeded 02:31:09 ---> ****-login.sh ends [Pipeline] } 02:31:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:31:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:09 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:31:09 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:31:09 latest 02:31:09 3.2.0-dev.6 02:31:09 cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:31:09 main 02:31:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:09 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:10 + docker push nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:31:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:31:10 b69588ab147c: Preparing 02:31:10 1d6942005e59: Preparing 02:31:10 b9b8b9f20e0e: Preparing 02:31:10 c89bd0a4ef57: Preparing 02:31:10 61c837a2996c: Preparing 02:31:10 9fe9a137fd00: Preparing 02:31:10 9fe9a137fd00: Waiting 02:31:10 c89bd0a4ef57: Pushed 02:31:10 b69588ab147c: Pushed 02:31:10 61c837a2996c: Pushed 02:31:10 1d6942005e59: Pushed 02:31:10 9fe9a137fd00: Layer already exists 02:31:12 b9b8b9f20e0e: Pushed 02:31:12 cffe0b5ee40638c8d708b56c712b7f43e21f16e4: digest: sha256:bf2851dba0f70421cf4b7fd5003542716483e061adc0ffe2736e1816aa31c871 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:31:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:31:12 b69588ab147c: Preparing 02:31:12 1d6942005e59: Preparing 02:31:12 b9b8b9f20e0e: Preparing 02:31:12 c89bd0a4ef57: Preparing 02:31:12 61c837a2996c: Preparing 02:31:12 9fe9a137fd00: Preparing 02:31:12 9fe9a137fd00: Waiting 02:31:12 1d6942005e59: Layer already exists 02:31:12 61c837a2996c: Layer already exists 02:31:12 c89bd0a4ef57: Layer already exists 02:31:12 b69588ab147c: Layer already exists 02:31:12 b9b8b9f20e0e: Layer already exists 02:31:12 9fe9a137fd00: Layer already exists 02:31:12 latest: digest: sha256:bf2851dba0f70421cf4b7fd5003542716483e061adc0ffe2736e1816aa31c871 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.6 02:31:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:31:13 b69588ab147c: Preparing 02:31:13 1d6942005e59: Preparing 02:31:13 b9b8b9f20e0e: Preparing 02:31:13 c89bd0a4ef57: Preparing 02:31:13 61c837a2996c: Preparing 02:31:13 9fe9a137fd00: Preparing 02:31:13 9fe9a137fd00: Waiting 02:31:13 b9b8b9f20e0e: Layer already exists 02:31:13 c89bd0a4ef57: Layer already exists 02:31:13 61c837a2996c: Layer already exists 02:31:13 1d6942005e59: Layer already exists 02:31:13 b69588ab147c: Layer already exists 02:31:13 9fe9a137fd00: Layer already exists 02:31:13 3.2.0-dev.6: digest: sha256:bf2851dba0f70421cf4b7fd5003542716483e061adc0ffe2736e1816aa31c871 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:31:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:31:14 b69588ab147c: Preparing 02:31:14 1d6942005e59: Preparing 02:31:14 b9b8b9f20e0e: Preparing 02:31:14 c89bd0a4ef57: Preparing 02:31:14 61c837a2996c: Preparing 02:31:14 9fe9a137fd00: Preparing 02:31:14 b69588ab147c: Layer already exists 02:31:14 c89bd0a4ef57: Layer already exists 02:31:14 b9b8b9f20e0e: Layer already exists 02:31:14 61c837a2996c: Layer already exists 02:31:14 1d6942005e59: Layer already exists 02:31:14 9fe9a137fd00: Layer already exists 02:31:14 cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6: digest: sha256:bf2851dba0f70421cf4b7fd5003542716483e061adc0ffe2736e1816aa31c871 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:31:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:31:15 b69588ab147c: Preparing 02:31:15 1d6942005e59: Preparing 02:31:15 b9b8b9f20e0e: Preparing 02:31:15 c89bd0a4ef57: Preparing 02:31:15 61c837a2996c: Preparing 02:31:15 9fe9a137fd00: Preparing 02:31:15 9fe9a137fd00: Waiting 02:31:15 1d6942005e59: Layer already exists 02:31:15 b69588ab147c: Layer already exists 02:31:15 b9b8b9f20e0e: Layer already exists 02:31:15 61c837a2996c: Layer already exists 02:31:15 c89bd0a4ef57: Layer already exists 02:31:15 9fe9a137fd00: Layer already exists 02:31:15 main: digest: sha256:bf2851dba0f70421cf4b7fd5003542716483e061adc0ffe2736e1816aa31c871 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:31:15 ===================================================== [Pipeline] echo 02:31:15 taggedImages: 02:31:15 - nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:31:15 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:31:15 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.6 02:31:15 - nexus3.edgexfoundry.org:10004/device-rest:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:31:15 - 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 02:31:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:16 02:31:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:16 latest: Pulling from edgex-lftools-log-publisher 02:31:16 5eb5b503b376: Pulling fs layer 02:31:16 5c69ac0246d0: Pulling fs layer 02:31:16 ec43610c2a17: Pulling fs layer 02:31:16 3a2ae6a8a46f: Pulling fs layer 02:31:16 33b1e0a273af: Pulling fs layer 02:31:16 5d3b04190fa2: Pulling fs layer 02:31:16 2f39f015ded8: Pulling fs layer 02:31:16 3a2ae6a8a46f: Waiting 02:31:16 33b1e0a273af: Waiting 02:31:16 5d3b04190fa2: Waiting 02:31:16 2f39f015ded8: Waiting 02:31:16 5c69ac0246d0: Download complete 02:31:16 3a2ae6a8a46f: Download complete 02:31:16 33b1e0a273af: Verifying Checksum 02:31:16 33b1e0a273af: Download complete 02:31:16 ec43610c2a17: Verifying Checksum 02:31:16 ec43610c2a17: Download complete 02:31:16 5d3b04190fa2: Verifying Checksum 02:31:16 5d3b04190fa2: Download complete 02:31:16 5eb5b503b376: Verifying Checksum 02:31:16 5eb5b503b376: Download complete 02:31:17 2f39f015ded8: Download complete 02:31:17 5eb5b503b376: Pull complete 02:31:18 5c69ac0246d0: Pull complete 02:31:18 ec43610c2a17: Pull complete 02:31:18 3a2ae6a8a46f: Pull complete 02:31:18 33b1e0a273af: Pull complete 02:31:18 5d3b04190fa2: Pull complete 02:31:22 2f39f015ded8: Pull complete 02:31:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:31:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:23 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:31:23 $ 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 02:31:29 $ docker top a84b87d8d50879fe9df5db5d3a1928ffc608671ead78414864ba04544d1a4631 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:29 ---> job-cost.sh 02:31:29 lf-activate-venv: SKIPPING 02:31:29 INFO: No Stack... 02:31:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:31:30 INFO: Archiving Costs [Pipeline] sh 02:31:30 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:31:30 + cut -d, -f6 [Pipeline] lock 02:31:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] 02:31:30 Resource [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] did not exist. Created. 02:31:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:31 + echo total: 0.2199999988079071 [Pipeline] stash 02:31:31 Stashed 1 file(s) [Pipeline] } 02:31:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:31 $ docker stop --time=1 a84b87d8d50879fe9df5db5d3a1928ffc608671ead78414864ba04544d1a4631 02:31:32 $ docker rm -f --volumes a84b87d8d50879fe9df5db5d3a1928ffc608671ead78414864ba04544d1a4631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:31:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25122 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:31:55 Running in /w/workspace/device-rest-go/158 [Pipeline] { [Pipeline] checkout 02:31:55 The recommended git tool is: git 02:32:02 using credential edgex-jenkins-ssh 02:32:02 Cloning the remote Git repository 02:32:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:32:03 > git init /w/workspace/device-rest-go/158 # timeout=10 02:32:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:32:03 > git --version # timeout=10 02:32:03 > git --version # 'git version 2.25.1' 02:32:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:32:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:32:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:32:07 Avoid second fetch 02:32:07 Checking out Revision cffe0b5ee40638c8d708b56c712b7f43e21f16e4 (main) 02:32:08 Commit message: "Merge pull request #374 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.4" 02:32:07 > git config core.sparsecheckout # timeout=10 02:32:07 > git checkout -f cffe0b5ee40638c8d708b56c712b7f43e21f16e4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:32:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:32:09 Dload Upload Total Spent Left Speed 02:32:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 02:32:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:32:10 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 02:32:10 02:32:10 { 02:32:10 "registry-mirrors": [ 02:32:10 "https://nexus3.edgexfoundry.org:10001" 02:32:10 ], 02:32:10 "bip": "10.250.0.254/24", 02:32:10 "hosts": [ 02:32:10 "tcp://0.0.0.0:5555", 02:32:10 "unix:///var/run/docker.sock" 02:32:10 ], 02:32:10 "mtu": 1458, 02:32:10 "selinux-enabled": true, 02:32:10 "seccomp-profile": "/etc/docker/seccomp.json" 02:32:10 } [Pipeline] sh 02:32:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:32:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:29 provisioning config files... 02:32:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/158@tmp/config2508592236913955690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:29 ---> ****-login.sh 02:32:29 nexus3.edgexfoundry.org:10001 02:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:30 Configure a credential helper to remove this warning. See 02:32:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:30 02:32:30 Login Succeeded 02:32:30 nexus3.edgexfoundry.org:10002 02:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:30 Configure a credential helper to remove this warning. See 02:32:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:30 02:32:30 Login Succeeded 02:32:30 nexus3.edgexfoundry.org:10003 02:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:30 Configure a credential helper to remove this warning. See 02:32:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:30 02:32:30 Login Succeeded 02:32:30 nexus3.edgexfoundry.org:10004 02:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:31 Configure a credential helper to remove this warning. See 02:32:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:31 02:32:31 Login Succeeded 02:32:31 ****.io 02:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:31 Configure a credential helper to remove this warning. See 02:32:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:31 02:32:31 Login Succeeded 02:32:31 ---> ****-login.sh ends [Pipeline] } 02:32:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:32:32 ========================================================= 02:32:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:32:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:32 + 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 . 02:32:34 #0 building with "default" instance using docker driver 02:32:34 02:32:34 #1 [internal] load .dockerignore 02:32:34 #1 transferring context: 193B 0.0s done 02:32:34 #1 DONE 0.1s 02:32:34 02:32:34 #2 [internal] load build definition from Dockerfile 02:32:34 #2 transferring dockerfile: 1.73kB done 02:32:34 #2 DONE 0.1s 02:32:34 02:32:34 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:32:34 #3 DONE 0.1s 02:32:34 02:32:34 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:32:34 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 02:32:34 #4 ... 02:32:34 02:32:34 #5 [internal] load build context 02:32:34 #5 transferring context: 95.80kB 0.1s done 02:32:34 #5 DONE 0.1s 02:32:34 02:32:34 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:32:34 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 02:32:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 02:32:34 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 02:32:34 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 02:32:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 02:32:34 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 02:32:34 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 02:32:34 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 02:32:34 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 02:32:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 02:32:34 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 02:32:34 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.14MB / 63.99MB 0.5s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 02:32:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.71MB / 11.40MB 0.5s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.7s 02:32:35 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 13.63MB / 97.63MB 0.7s 02:32:35 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.64MB / 63.99MB 0.9s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.9s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 1.0s 02:32:35 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 1.1s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.77MB / 97.63MB 1.1s 02:32:35 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.3s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.3s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.45MB / 63.99MB 1.4s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 43.86MB / 97.63MB 1.4s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.5s 02:32:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 02:32:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.6s 02:32:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 02:32:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.7s 02:32:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 02:32:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.98MB / 97.63MB 1.9s 02:32:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.45MB / 97.63MB 2.1s 02:32:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.3s 02:32:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.45MB / 97.63MB 2.5s 02:32:37 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.7s done 02:32:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 02:32:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 02:32:55 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.6s done 02:32:56 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 02:32:56 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 02:32:56 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 02:32:56 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 02:33:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 02:33:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 02:33:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 02:33:09 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 02:33:09 #4 DONE 35.3s 02:33:09 02:33:09 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:33:10 #6 0.814 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:33:11 #6 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:33:12 #6 2.647 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:33:12 #6 2.675 (2/4) Installing libedit (20221030.3.1-r1) 02:33:12 #6 2.689 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:33:12 #6 2.762 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:33:12 #6 2.791 Executing busybox-1.36.1-r5.trigger 02:33:12 #6 2.835 OK: 271 MiB in 56 packages 02:33:14 #6 DONE 4.9s 02:33:14 02:33:14 #7 [builder 3/7] WORKDIR /device-rest-go 02:33:14 #7 DONE 0.1s 02:33:14 02:33:14 #8 [builder 4/7] COPY go.mod vendor* ./ 02:33:15 #8 DONE 0.2s 02:33:15 02:33:15 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:41 #9 DONE 23.9s 02:33:41 02:33:41 #10 [builder 6/7] COPY . . 02:33:41 #10 DONE 0.1s 02:33:41 02:33:41 #11 [builder 7/7] RUN echo noop 02:33:41 #11 0.718 noop 02:33:41 #11 DONE 0.8s 02:33:41 02:33:41 #12 exporting to image 02:33:41 #12 exporting layers 02:34:08 #12 exporting layers 26.5s done 02:34:08 #12 writing image sha256:3d5065a3b64236eeecd09c922be522cde357a326587a07be6425cc68a340b578 done 02:34:08 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:34:08 #12 DONE 26.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:09 + docker inspect -f . ci-base-image-arm64 02:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:09 prd-ubuntu20.04-docker-arm64-4c-16g-25122 does not seem to be running inside a container 02:34:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/158 -v /w/workspace/device-rest-go/158:/w/workspace/device-rest-go/158:rw,z -v /w/workspace/device-rest-go/158@tmp:/w/workspace/device-rest-go/158@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 02:34:11 $ docker top dea499eb1b1b77df35db1a1f225107ccec54e63d3f3d30a9433434e7cb001aec -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:12 + go version 02:34:12 go version go1.21.0 linux/arm64 [Pipeline] } 02:34:12 $ docker stop --time=1 dea499eb1b1b77df35db1a1f225107ccec54e63d3f3d30a9433434e7cb001aec 02:34:13 $ docker rm -f --volumes dea499eb1b1b77df35db1a1f225107ccec54e63d3f3d30a9433434e7cb001aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:14 + docker inspect -f . ci-base-image-arm64 02:34:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:14 prd-ubuntu20.04-docker-arm64-4c-16g-25122 does not seem to be running inside a container 02:34:14 $ 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/158 -v /w/workspace/device-rest-go/158:/w/workspace/device-rest-go/158:rw,z -v /w/workspace/device-rest-go/158@tmp:/w/workspace/device-rest-go/158@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 02:34:15 $ docker top 6210cb40c10e20f7f7de51b14aa1c472547304aec46c684a08c1ba6d5a19ecfa -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:16 + git config --global --add safe.directory /w/workspace/device-rest-go/158 [Pipeline] fileExists [Pipeline] sh 02:34:16 + make test 02:34:16 go test ./... -coverprofile=coverage.out ./... 02:34:25 ? github.com/edgexfoundry/device-rest-go [no test files] 02:35:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 02:35:33 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 02:35:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:35:33 go vet ./... 02:35:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:43 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:35:43 $ docker stop --time=1 6210cb40c10e20f7f7de51b14aa1c472547304aec46c684a08c1ba6d5a19ecfa 02:35:45 $ docker rm -f --volumes 6210cb40c10e20f7f7de51b14aa1c472547304aec46c684a08c1ba6d5a19ecfa [Pipeline] // withDockerContainer [Pipeline] sh 02:35:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:46 Warning: overwriting stash ‘coverage-report’ 02:35:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:48 + ls -al . 02:35:48 total 176 02:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:34 . 02:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:32 .. 02:35:48 -rw-rw-r-- 1 jenkins jenkins 151 Dec 15 02:32 .dockerignore 02:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:32 .git 02:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 .github 02:35:48 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:32 .gitignore 02:35:48 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:32 .golangci.yml 02:35:48 -rw-rw-r-- 1 jenkins jenkins 10300 Dec 15 02:32 Attribution.txt 02:35:48 -rw-rw-r-- 1 jenkins jenkins 17685 Dec 15 02:32 CHANGELOG.md 02:35:48 -rw-rw-r-- 1 jenkins jenkins 1687 Dec 15 02:32 Dockerfile 02:35:48 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:32 GOVERNANCE.md 02:35:48 -rw-rw-r-- 1 jenkins jenkins 680 Dec 15 02:32 Jenkinsfile 02:35:48 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:32 LICENSE 02:35:48 -rw-rw-r-- 1 jenkins jenkins 2016 Dec 15 02:32 Makefile 02:35:48 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:32 OWNERS.md 02:35:48 -rw-rw-r-- 1 jenkins jenkins 3989 Dec 15 02:32 README.md 02:35:48 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 02:28 VERSION 02:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:32 bin 02:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 cmd 02:35:48 -rw-r--r-- 1 jenkins jenkins 14499 Dec 15 02:35 coverage.out 02:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:32 driver 02:35:48 -rw-rw-r-- 1 jenkins jenkins 3886 Dec 15 02:32 go.mod 02:35:48 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:32 go.sum 02:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:32 openapi 02:35:48 -rw-rw-r-- 1 jenkins jenkins 713 Dec 15 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:48 + 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=cffe0b5ee40638c8d708b56c712b7f43e21f16e4 --label arch=arm64 --label version=3.2.0-dev.6 . 02:35:49 #0 building with "default" instance using docker driver 02:35:49 02:35:49 #1 [internal] load .dockerignore 02:35:49 #1 transferring context: 193B done 02:35:49 #1 DONE 0.0s 02:35:49 02:35:49 #2 [internal] load build definition from Dockerfile 02:35:49 #2 transferring dockerfile: 1.73kB 0.0s done 02:35:49 #2 DONE 0.0s 02:35:49 02:35:49 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:35:49 #3 DONE 0.0s 02:35:49 02:35:49 #4 [internal] load metadata for docker.io/library/alpine:3.18 02:35:49 #4 DONE 0.3s 02:35:49 02:35:49 #5 [internal] load build context 02:35:49 #5 transferring context: 16.04kB 0.0s done 02:35:49 #5 DONE 0.1s 02:35:49 02:35:49 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:35:49 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 02:35:49 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 02:35:49 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 02:35:49 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 02:35:49 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.72MB / 3.33MB 0.1s 02:35:50 #6 ... 02:35:50 02:35:50 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:35:50 #7 DONE 0.3s 02:35:50 02:35:50 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:35:50 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 02:35:50 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 02:35:50 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 02:35:50 #6 DONE 1.0s 02:35:50 02:35:50 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:51 #8 0.659 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:51 #8 1.030 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:52 #8 ... 02:35:52 02:35:52 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:35:52 #9 0.790 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:52 #9 1.262 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:52 #9 2.644 OK: 271 MiB in 56 packages 02:35:52 #9 DONE 3.0s 02:35:53 02:35:53 #10 [builder 3/7] WORKDIR /device-rest-go 02:35:53 #10 DONE 0.1s 02:35:53 02:35:53 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:53 #8 2.320 (1/1) Installing dumb-init (1.2.5-r2) 02:35:53 #8 2.336 Executing busybox-1.36.1-r5.trigger 02:35:53 #8 2.377 OK: 8 MiB in 16 packages 02:35:53 #8 ... 02:35:53 02:35:53 #11 [builder 4/7] COPY go.mod vendor* ./ 02:35:53 #11 DONE 0.2s 02:35:53 02:35:53 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:35:53 #8 DONE 2.8s 02:35:53 02:35:53 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:54 #12 0.924 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:55 #12 ... 02:35:55 02:35:55 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:55 #13 DONE 1.5s 02:35:55 02:35:55 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:55 #12 1.334 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:55 #12 ... 02:35:55 02:35:55 #14 [builder 6/7] COPY . . 02:35:55 #14 DONE 0.2s 02:35:55 02:35:55 #15 [builder 7/7] RUN make build 02:35:55 #15 0.746 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 02:35:56 #15 ... 02:35:56 02:35:56 #12 [stage-1 3/6] RUN apk --no-cache upgrade 02:35:56 #12 2.673 OK: 8 MiB in 16 packages 02:35:56 #12 DONE 3.0s 02:35:56 02:35:56 #15 [builder 7/7] RUN make build 02:37:33 #15 DONE 85.0s 02:37:33 02:37:33 #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / 02:37:33 #16 DONE 0.3s 02:37:33 02:37:33 #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / 02:37:33 #17 DONE 0.1s 02:37:33 02:37:33 #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / 02:37:33 #18 DONE 0.1s 02:37:33 02:37:33 #19 exporting to image 02:37:33 #19 exporting layers 02:37:33 #19 exporting layers 0.4s done 02:37:33 #19 writing image sha256:d3126139e317ee6ed27ee80698fa28ebbd332fb9421730ac43da15cc74309e13 done 02:37:33 #19 naming to docker.io/library/device-rest-arm64 0.0s done 02:37:33 #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 02:37:34 provisioning config files... 02:37:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/158@tmp/config7702770830726138707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:34 ---> ****-login.sh 02:37:34 nexus3.edgexfoundry.org:10001 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 nexus3.edgexfoundry.org:10002 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:35 Configure a credential helper to remove this warning. See 02:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:35 02:37:35 Login Succeeded 02:37:35 nexus3.edgexfoundry.org:10003 02:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:35 Configure a credential helper to remove this warning. See 02:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:35 02:37:35 Login Succeeded 02:37:35 nexus3.edgexfoundry.org:10004 02:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:35 Configure a credential helper to remove this warning. See 02:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:35 02:37:35 Login Succeeded 02:37:35 ****.io 02:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:37:36 Configure a credential helper to remove this warning. See 02:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:37:36 02:37:36 Login Succeeded 02:37:36 ---> ****-login.sh ends [Pipeline] } 02:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:37:36 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:37:36 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:37:36 latest 02:37:36 3.2.0-dev.6 02:37:36 cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:37:36 main 02:37:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:37:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:37:37 acdf04072621: Preparing 02:37:37 570081fd5910: Preparing 02:37:37 c1ce2ca63841: Preparing 02:37:37 e7c1802d99e0: Preparing 02:37:37 54d497a5aac1: Preparing 02:37:37 0faf9b67be60: Preparing 02:37:37 0faf9b67be60: Waiting 02:37:37 e7c1802d99e0: Pushed 02:37:37 570081fd5910: Pushed 02:37:37 acdf04072621: Pushed 02:37:37 54d497a5aac1: Pushed 02:37:37 0faf9b67be60: Layer already exists 02:37:42 c1ce2ca63841: Pushed 02:37:44 cffe0b5ee40638c8d708b56c712b7f43e21f16e4: digest: sha256:8a54c3ff6b199ad7d4c96764e5d95d76b1ba2e404b3ea1f83b6a4c1d024a7fe6 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:37:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:37:45 acdf04072621: Preparing 02:37:45 570081fd5910: Preparing 02:37:45 c1ce2ca63841: Preparing 02:37:45 e7c1802d99e0: Preparing 02:37:45 54d497a5aac1: Preparing 02:37:45 0faf9b67be60: Preparing 02:37:45 0faf9b67be60: Waiting 02:37:45 acdf04072621: Layer already exists 02:37:45 570081fd5910: Layer already exists 02:37:45 54d497a5aac1: Layer already exists 02:37:45 c1ce2ca63841: Layer already exists 02:37:45 e7c1802d99e0: Layer already exists 02:37:45 0faf9b67be60: Layer already exists 02:37:45 latest: digest: sha256:8a54c3ff6b199ad7d4c96764e5d95d76b1ba2e404b3ea1f83b6a4c1d024a7fe6 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.6 02:37:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:37:46 acdf04072621: Preparing 02:37:46 570081fd5910: Preparing 02:37:46 c1ce2ca63841: Preparing 02:37:46 e7c1802d99e0: Preparing 02:37:46 54d497a5aac1: Preparing 02:37:46 0faf9b67be60: Preparing 02:37:46 0faf9b67be60: Waiting 02:37:46 54d497a5aac1: Layer already exists 02:37:46 c1ce2ca63841: Layer already exists 02:37:46 acdf04072621: Layer already exists 02:37:46 e7c1802d99e0: Layer already exists 02:37:46 570081fd5910: Layer already exists 02:37:46 0faf9b67be60: Layer already exists 02:37:46 3.2.0-dev.6: digest: sha256:8a54c3ff6b199ad7d4c96764e5d95d76b1ba2e404b3ea1f83b6a4c1d024a7fe6 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:37:47 acdf04072621: Preparing 02:37:47 570081fd5910: Preparing 02:37:47 c1ce2ca63841: Preparing 02:37:47 e7c1802d99e0: Preparing 02:37:47 54d497a5aac1: Preparing 02:37:47 0faf9b67be60: Preparing 02:37:47 acdf04072621: Layer already exists 02:37:47 e7c1802d99e0: Layer already exists 02:37:47 570081fd5910: Layer already exists 02:37:47 c1ce2ca63841: Layer already exists 02:37:47 54d497a5aac1: Layer already exists 02:37:47 0faf9b67be60: Layer already exists 02:37:47 cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6: digest: sha256:8a54c3ff6b199ad7d4c96764e5d95d76b1ba2e404b3ea1f83b6a4c1d024a7fe6 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:37:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:37:48 acdf04072621: Preparing 02:37:48 570081fd5910: Preparing 02:37:48 c1ce2ca63841: Preparing 02:37:48 e7c1802d99e0: Preparing 02:37:48 54d497a5aac1: Preparing 02:37:48 0faf9b67be60: Preparing 02:37:48 0faf9b67be60: Waiting 02:37:48 e7c1802d99e0: Layer already exists 02:37:48 54d497a5aac1: Layer already exists 02:37:48 c1ce2ca63841: Layer already exists 02:37:48 acdf04072621: Layer already exists 02:37:48 570081fd5910: Layer already exists 02:37:48 0faf9b67be60: Layer already exists 02:37:48 main: digest: sha256:8a54c3ff6b199ad7d4c96764e5d95d76b1ba2e404b3ea1f83b6a4c1d024a7fe6 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:37:49 ===================================================== [Pipeline] echo 02:37:49 taggedImages: 02:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4 02:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.6 02:37:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:cffe0b5ee40638c8d708b56c712b7f43e21f16e4-3.2.0-dev.6 02:37:49 - 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 02:37:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:50 02:37:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:50 arm64: Pulling from edgex-lftools-log-publisher 02:37:50 8998bd30e6a1: Pulling fs layer 02:37:50 04944245beec: Pulling fs layer 02:37:50 699f458cf7ca: Pulling fs layer 02:37:50 765212b225bb: Pulling fs layer 02:37:50 f23df028b6ca: Pulling fs layer 02:37:50 d65c8cfc05b1: Pulling fs layer 02:37:50 2437ff75d9bd: Pulling fs layer 02:37:50 765212b225bb: Waiting 02:37:50 f23df028b6ca: Waiting 02:37:50 2437ff75d9bd: Waiting 02:37:50 d65c8cfc05b1: Waiting 02:37:50 04944245beec: Download complete 02:37:50 765212b225bb: Verifying Checksum 02:37:50 765212b225bb: Download complete 02:37:50 f23df028b6ca: Verifying Checksum 02:37:50 f23df028b6ca: Download complete 02:37:50 d65c8cfc05b1: Verifying Checksum 02:37:50 d65c8cfc05b1: Download complete 02:37:50 699f458cf7ca: Verifying Checksum 02:37:50 699f458cf7ca: Download complete 02:37:51 8998bd30e6a1: Verifying Checksum 02:37:51 8998bd30e6a1: Download complete 02:37:53 2437ff75d9bd: Verifying Checksum 02:37:53 2437ff75d9bd: Download complete 02:37:58 8998bd30e6a1: Pull complete 02:37:58 04944245beec: Pull complete 02:38:00 699f458cf7ca: Pull complete 02:38:00 765212b225bb: Pull complete 02:38:01 f23df028b6ca: Pull complete 02:38:01 d65c8cfc05b1: Pull complete 02:38:28 2437ff75d9bd: Pull complete 02:38:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:38:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:28 prd-ubuntu20.04-docker-arm64-4c-16g-25122 does not seem to be running inside a container 02:38:28 $ 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/158 -v /w/workspace/device-rest-go/158:/w/workspace/device-rest-go/158:rw,z -v /w/workspace/device-rest-go/158@tmp:/w/workspace/device-rest-go/158@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 02:38:31 $ docker top 4df0ed0fe0606c2d475d5a33c94634d0f28e90d4f0892ccbde710ec4f6e7e969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:31 ---> job-cost.sh 02:38:31 lf-activate-venv: SKIPPING 02:38:31 INFO: No Stack... 02:38:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:38:33 INFO: Archiving Costs [Pipeline] sh 02:38:33 + cat /w/workspace/device-rest-go/158/archives/cost.csv 02:38:33 + cut -d, -f6 [Pipeline] lock 02:38:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] 02:38:33 Resource [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] did not exist. Created. 02:38:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:38:33 /w/workspace/device-rest-go/158@tmp/durable-4f2d3133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:38:34 + echo total: 0.2199999988079071 [Pipeline] stash 02:38:34 Warning: overwriting stash ‘stack-cost’ 02:38:34 Stashed 1 file(s) [Pipeline] } 02:38:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 02:38:34 $ docker stop --time=1 4df0ed0fe0606c2d475d5a33c94634d0f28e90d4f0892ccbde710ec4f6e7e969 02:38:35 $ docker rm -f --volumes 4df0ed0fe0606c2d475d5a33c94634d0f28e90d4f0892ccbde710ec4f6e7e969 [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 02:38:37 provisioning config files... 02:38:37 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config89825958225126878tmp [Pipeline] { [Pipeline] sh 02:38:37 + set +x 02:38:37 + curl -s https://codecov.io/bash 02:38:37 + bash -s -- 02:38:37 02:38:37 _____ _ 02:38:37 / ____| | | 02:38:37 | | ___ __| | ___ ___ _____ __ 02:38:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:38:37 | |___| (_) | (_| | __/ (_| (_) \ V / 02:38:37 \_____\___/ \__,_|\___|\___\___/ \_/ 02:38:37 Bash-1.0.6 02:38:37 02:38:37 02:38:37 ==> git version 2.25.1 found 02:38:37 ==> 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 02:38:37 Release-Date: 2020-01-08 02:38:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:38:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:38:37 ==> Jenkins CI detected. 02:38:37 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:38:37 project root: . 02:38:37 --> token set from env 02:38:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:38:37 ==> Running gcov in . (disable via -X gcov) 02:38:37 ==> Python coveragepy not found 02:38:37 ==> Searching for coverage reports in: 02:38:37 + . 02:38:37 -> Found 1 reports 02:38:37 ==> Detecting git/mercurial file structure 02:38:37 ==> Reading reports 02:38:37 + ./coverage.out bytes=14499 02:38:37 ==> Appending adjustments 02:38:37 https://docs.codecov.io/docs/fixing-reports 02:38:37 + Found adjustments 02:38:37 ==> Gzipping contents 02:38:37 4.0K /tmp/codecov.y1ocOj.gz 02:38:37 ==> Uploading reports 02:38:37 url: https://codecov.io 02:38:37 query: branch=main&commit=cffe0b5ee40638c8d708b56c712b7f43e21f16e4&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:37 -> Pinging Codecov 02:38:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=cffe0b5ee40638c8d708b56c712b7f43e21f16e4&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:38:37 -> Uploading to 02:38:37 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/4E5D53B4F1F92C436F7061BF334D961C/cffe0b5ee40638c8d708b56c712b7f43e21f16e4/e986110c-83b6-4a3a-bc58-2fdfbf0349cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T023837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1bb1278464869156e4ea5888335f2fabe6eadf6c12c2482ca94c404d19436a5 02:38:37 % Total % Received % Xferd Average Speed Time Time Time Current 02:38:37 Dload Upload Total Spent Left Speed 02:38:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9876 --:--:-- --:--:-- --:--:-- 9918 02:38:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] } 02:38:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:38:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:38:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:39 02:38:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:38:39 df9b9388f04a: Pulling fs layer 02:38:39 52dc419b0ee2: Pulling fs layer 02:38:39 25bc292e5bac: Pulling fs layer 02:38:39 114826534d7a: Pulling fs layer 02:38:39 114826534d7a: Waiting 02:38:39 4657fd5d0bcf: Pulling fs layer 02:38:39 6ad1cebc031e: Pulling fs layer 02:38:39 4657fd5d0bcf: Waiting 02:38:39 8a3aa393b2d8: Pulling fs layer 02:38:39 6ad1cebc031e: Waiting 02:38:39 8a3aa393b2d8: Waiting 02:38:39 25bc292e5bac: Verifying Checksum 02:38:39 25bc292e5bac: Download complete 02:38:39 52dc419b0ee2: Verifying Checksum 02:38:39 52dc419b0ee2: Download complete 02:38:39 4657fd5d0bcf: Verifying Checksum 02:38:39 4657fd5d0bcf: Download complete 02:38:39 df9b9388f04a: Verifying Checksum 02:38:39 6ad1cebc031e: Verifying Checksum 02:38:39 6ad1cebc031e: Download complete 02:38:39 df9b9388f04a: Pull complete 02:38:39 52dc419b0ee2: Pull complete 02:38:39 25bc292e5bac: Pull complete 02:38:40 114826534d7a: Verifying Checksum 02:38:40 114826534d7a: Download complete 02:38:40 8a3aa393b2d8: Verifying Checksum 02:38:40 8a3aa393b2d8: Download complete 02:38:43 114826534d7a: Pull complete 02:38:43 4657fd5d0bcf: Pull complete 02:38:43 6ad1cebc031e: Pull complete 02:38:46 8a3aa393b2d8: Pull complete 02:38:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:46 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:38:46 $ 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 02:38:52 $ docker top fe95ad0f73060f5dcb6e5d4a08b5a41e97efd9d665d1e1707e9bd3b5591ca8d4 -eo pid,comm [Pipeline] { [Pipeline] echo 02:38:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:38:52 + set -o pipefail 02:38:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:38:58 02:38:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 02:38:58 02:38:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0f483543-0311-48e4-9ea0-e10860d75dea 02:38:58 02:38:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:38:58 02:38:58 02:38:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:38:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:38:58 More details here: https://snyk.co/ue1NS 02:38:58 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:38:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:38:58 $ docker stop --time=1 fe95ad0f73060f5dcb6e5d4a08b5a41e97efd9d665d1e1707e9bd3b5591ca8d4 02:39:02 $ docker rm -f --volumes fe95ad0f73060f5dcb6e5d4a08b5a41e97efd9d665d1e1707e9bd3b5591ca8d4 [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 02:39:04 + git log --format=format:%s -1 cffe0b5ee40638c8d708b56c712b7f43e21f16e4 [Pipeline] sh 02:39:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:04 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:39:05 $ docker top 1c43d9d3a940c14093833818e118351a3a82bc4bb17cc9ec674181c90fc86ea5 -eo pid,comm 02:39:05 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). 02:39:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:05 [ssh-agent] Looking for ssh-agent implementation... 02:39:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:05 $ docker exec 1c43d9d3a940c14093833818e118351a3a82bc4bb17cc9ec674181c90fc86ea5 ssh-agent 02:39:05 SSH_AUTH_SOCK=/tmp/ssh-vrmEg34Sn671/agent.32 02:39:05 SSH_AGENT_PID=38 02:39:05 Running ssh-add (command line suppressed) 02:39:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4562207557152628686.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4562207557152628686.key) 02:39:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:06 + git semver tag 02:39:06 2023-12-15 02:39:06,583 [run_tag] DEBUG tag force:False 02:39:06 2023-12-15 02:39:06,583 [check_head_tag] DEBUG check head tag 02:39:06 2023-12-15 02:39:06,584 [execute] INFO git cat-file --batch-check 02:39:06 2023-12-15 02:39:06,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:39:06 2023-12-15 02:39:06,589 [execute] INFO git cat-file --batch 02:39:06 2023-12-15 02:39:06,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 02:39:06 2023-12-15 02:39:06,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:06 2023-12-15 02:39:06,607 [execute] INFO git tag -a v3.2.0-dev.6 -m v3.2.0-dev.6 02:39:06 2023-12-15 02:39:06,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.6', '-m', 'v3.2.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 02:39:06 2023-12-15 02:39:06,612 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:06 3.2.0-dev.6 [Pipeline] } 02:39:06 $ docker exec --env ******** --env ******** 1c43d9d3a940c14093833818e118351a3a82bc4bb17cc9ec674181c90fc86ea5 ssh-agent -k 02:39:06 unset SSH_AUTH_SOCK; 02:39:06 unset SSH_AGENT_PID; 02:39:06 echo Agent pid 38 killed; 02:39:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:07 + git semver [Pipeline] } 02:39:07 $ docker stop --time=1 1c43d9d3a940c14093833818e118351a3a82bc4bb17cc9ec674181c90fc86ea5 02:39:08 $ docker rm -f --volumes 1c43d9d3a940c14093833818e118351a3a82bc4bb17cc9ec674181c90fc86ea5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:09 02:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:09 0.23.1-centos7: Pulling from edgex-lftools 02:39:09 ab5ef0e58194: Pulling fs layer 02:39:09 9712f1f96733: Pulling fs layer 02:39:09 63f879dbbcfc: Pulling fs layer 02:39:09 0d9ebad4ef96: Pulling fs layer 02:39:09 e9a5061849ea: Pulling fs layer 02:39:09 d747dcd14b5f: Pulling fs layer 02:39:09 2de7ff778b66: Pulling fs layer 02:39:09 d747dcd14b5f: Waiting 02:39:09 0d9ebad4ef96: Waiting 02:39:09 e9a5061849ea: Waiting 02:39:09 9712f1f96733: Verifying Checksum 02:39:09 9712f1f96733: Download complete 02:39:10 63f879dbbcfc: Verifying Checksum 02:39:10 63f879dbbcfc: Download complete 02:39:10 0d9ebad4ef96: Verifying Checksum 02:39:10 0d9ebad4ef96: Download complete 02:39:10 d747dcd14b5f: Verifying Checksum 02:39:10 d747dcd14b5f: Download complete 02:39:10 ab5ef0e58194: Verifying Checksum 02:39:10 ab5ef0e58194: Download complete 02:39:10 e9a5061849ea: Verifying Checksum 02:39:10 e9a5061849ea: Download complete 02:39:10 2de7ff778b66: Download complete 02:39:13 ab5ef0e58194: Pull complete 02:39:13 9712f1f96733: Pull complete 02:39:13 63f879dbbcfc: Pull complete 02:39:17 0d9ebad4ef96: Pull complete 02:39:17 e9a5061849ea: Pull complete 02:39:17 d747dcd14b5f: Pull complete 02:39:18 2de7ff778b66: Pull complete 02:39:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:39:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:19 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:39:19 $ 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 02:39:25 $ docker top d05271c29d9110fc173041a943d5beb2265b580d7cef3a1a65d4ec9851e644de -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:39:25 provisioning config files... 02:39:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15586306319383010214tmp 02:39:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17601493479775487946tmp 02:39:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6938677590496610437tmp [Pipeline] { [Pipeline] echo 02:39:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:39:25 ---> sigul-configuration.sh 02:39:25 gpg: directory `/root/.gnupg' created 02:39:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:39:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:39:25 gpg: keyring `/root/.gnupg/secring.gpg' created 02:39:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:39:25 gpg: CAST5 encrypted data 02:39:25 gpg: encrypted with 1 passphrase 02:39:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:39:25 + mkdir /home/jenkins 02:39:25 + mkdir /home/jenkins/sigul [Pipeline] sh 02:39:26 + 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 02:39:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:39:26 ---> sigul-install.sh 02:39:26 Sigul already installed; skipping installation. [Pipeline] sh 02:39:26 + git tag --list 02:39:26 v1.0.0 02:39:26 v1.1.0 02:39:26 v1.1.1 02:39:26 v1.1.2 02:39:26 v1.2.0 02:39:26 v1.2.1 02:39:26 v2.0.0 02:39:26 v2.1.0 02:39:26 v2.1.1 02:39:26 v2.2.0 02:39:26 v2.3.0 02:39:26 v3.0 02:39:26 v3.0.0 02:39:26 v3.1 02:39:26 v3.1.0 02:39:26 v3.1.0-dev.1 02:39:26 v3.1.0-dev.10 02:39:26 v3.1.0-dev.11 02:39:26 v3.1.0-dev.12 02:39:26 v3.1.0-dev.13 02:39:26 v3.1.0-dev.14 02:39:26 v3.1.0-dev.15 02:39:26 v3.1.0-dev.16 02:39:26 v3.1.0-dev.17 02:39:26 v3.1.0-dev.18 02:39:26 v3.1.0-dev.19 02:39:26 v3.1.0-dev.2 02:39:26 v3.1.0-dev.20 02:39:26 v3.1.0-dev.21 02:39:26 v3.1.0-dev.22 02:39:26 v3.1.0-dev.23 02:39:26 v3.1.0-dev.24 02:39:26 v3.1.0-dev.25 02:39:26 v3.1.0-dev.26 02:39:26 v3.1.0-dev.27 02:39:26 v3.1.0-dev.28 02:39:26 v3.1.0-dev.29 02:39:26 v3.1.0-dev.3 02:39:26 v3.1.0-dev.30 02:39:26 v3.1.0-dev.31 02:39:26 v3.1.0-dev.32 02:39:26 v3.1.0-dev.4 02:39:26 v3.1.0-dev.5 02:39:26 v3.1.0-dev.6 02:39:26 v3.1.0-dev.7 02:39:26 v3.1.0-dev.8 02:39:26 v3.1.0-dev.9 02:39:26 v3.2.0-dev.1 02:39:26 v3.2.0-dev.2 02:39:26 v3.2.0-dev.3 02:39:26 v3.2.0-dev.4 02:39:26 v3.2.0-dev.5 02:39:26 v3.2.0-dev.6 [Pipeline] sh 02:39:27 + lftools sign git-tag v3.2.0-dev.6 02:39:27 Signing Git tag with Sigul... 02:39:27 Signing v3.2.0-dev.6 [Pipeline] echo 02:39:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:39:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:39:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:39:28 $ docker stop --time=1 d05271c29d9110fc173041a943d5beb2265b580d7cef3a1a65d4ec9851e644de 02:39:29 $ docker rm -f --volumes d05271c29d9110fc173041a943d5beb2265b580d7cef3a1a65d4ec9851e644de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:39:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:31 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:39:31 $ docker top 8dbae6015a7c323e39b3ccef8e764e3d0e6e0c5c3b3496269f77808b4ca91d8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:31 [ssh-agent] Looking for ssh-agent implementation... 02:39:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:31 $ docker exec 8dbae6015a7c323e39b3ccef8e764e3d0e6e0c5c3b3496269f77808b4ca91d8e ssh-agent 02:39:31 SSH_AUTH_SOCK=/tmp/ssh-7y1NYG3Ag1TB/agent.32 02:39:31 SSH_AGENT_PID=38 02:39:31 Running ssh-add (command line suppressed) 02:39:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14653076343494006953.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14653076343494006953.key) 02:39:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:32 + git semver bump pre 02:39:32 2023-12-15 02:39:32,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:32 2023-12-15 02:39:32,660 [bump_version] DEBUG bumping version:3.2.0-dev.6 on axis:pre with prefix:dev 02:39:32 2023-12-15 02:39:32,660 [bump_version] DEBUG bumped version:3.2.0-dev.7 02:39:32 2023-12-15 02:39:32,660 [write_version] DEBUG write version:3.2.0-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 02:39:32 2023-12-15 02:39:32,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:32 2023-12-15 02:39:32,660 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:32 2023-12-15 02:39:32,662 [execute] INFO git cat-file --batch-check 02:39:32 2023-12-15 02:39:32,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:32 2023-12-15 02:39:32,667 [execute] INFO git cat-file --batch 02:39:32 2023-12-15 02:39:32,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:32 2023-12-15 02:39:32,671 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:32 3.2.0-dev.7 [Pipeline] } 02:39:32 $ docker exec --env ******** --env ******** 8dbae6015a7c323e39b3ccef8e764e3d0e6e0c5c3b3496269f77808b4ca91d8e ssh-agent -k 02:39:32 unset SSH_AUTH_SOCK; 02:39:32 unset SSH_AGENT_PID; 02:39:32 echo Agent pid 38 killed; 02:39:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:33 + git semver [Pipeline] } 02:39:33 $ docker stop --time=1 8dbae6015a7c323e39b3ccef8e764e3d0e6e0c5c3b3496269f77808b4ca91d8e 02:39:35 $ docker rm -f --volumes 8dbae6015a7c323e39b3ccef8e764e3d0e6e0c5c3b3496269f77808b4ca91d8e [Pipeline] // withDockerContainer [Pipeline] sh 02:39:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:36 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:39:36 $ 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 02:39:36 $ docker top 5c0d357ae0c232117ede33a403c3b9acfd43beba8539efc2cf6765511e37ffa8 -eo pid,comm 02:39:36 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). 02:39:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:36 [ssh-agent] Looking for ssh-agent implementation... 02:39:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:37 $ docker exec 5c0d357ae0c232117ede33a403c3b9acfd43beba8539efc2cf6765511e37ffa8 ssh-agent 02:39:37 SSH_AUTH_SOCK=/tmp/ssh-sAt3xSdh6yFq/agent.32 02:39:37 SSH_AGENT_PID=38 02:39:37 Running ssh-add (command line suppressed) 02:39:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10460653244051165118.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10460653244051165118.key) 02:39:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:37 + git semver push 02:39:37 2023-12-15 02:39:37,846 [run_push] DEBUG push 02:39:37 2023-12-15 02:39:37,846 [execute] INFO git cat-file --batch-check 02:39:37 2023-12-15 02:39:37,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:39:37 2023-12-15 02:39:37,851 [execute] INFO git rev-list 670a5fe9fbfec0d49b0f785a9178ce85fd174961 -- 02:39:37 2023-12-15 02:39:37,852 [execute] DEBUG Popen(['git', 'rev-list', '670a5fe9fbfec0d49b0f785a9178ce85fd174961', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:37 2023-12-15 02:39:37,862 [execute] INFO git fetch -v origin 02:39:37 2023-12-15 02:39:37,862 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:39:38 2023-12-15 02:39:38,399 [run_push] DEBUG no remote changes detected 02:39:38 2023-12-15 02:39:38,400 [execute] INFO git push origin semver 02:39:38 2023-12-15 02:39:38,400 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:39:39 2023-12-15 02:39:39,186 [run_push] DEBUG push all version tags 02:39:39 2023-12-15 02:39:39,187 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:39:39 2023-12-15 02:39:39,187 [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) 02:39:40 2023-12-15 02:39:39,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:39:40 3.2.0-dev.7 [Pipeline] } 02:39:40 $ docker exec --env ******** --env ******** 5c0d357ae0c232117ede33a403c3b9acfd43beba8539efc2cf6765511e37ffa8 ssh-agent -k 02:39:40 unset SSH_AUTH_SOCK; 02:39:40 unset SSH_AGENT_PID; 02:39:40 echo Agent pid 38 killed; 02:39:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:40 + git semver [Pipeline] } 02:39:40 $ docker stop --time=1 5c0d357ae0c232117ede33a403c3b9acfd43beba8539efc2cf6765511e37ffa8 02:39:42 $ docker rm -f --volumes 5c0d357ae0c232117ede33a403c3b9acfd43beba8539efc2cf6765511e37ffa8 [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 02:39:43 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:39:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:39:43 total 16 02:39:43 drwxr-xr-x 3 root root 4096 Dec 15 02:31 . 02:39:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:43 drwxr-xr-x 2 root root 4096 Dec 15 02:31 cost 02:39:43 -rw-r--r-- 1 root root 86 Dec 15 02:31 cost.csv 02:39:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:39:43 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:39:43 total 16 02:39:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:31 . 02:39:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:39 .. 02:39:43 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:31 cost 02:39:43 -rw-r--r-- 1 jenkins jenkins 86 Dec 15 02:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:39:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:44 ---> package-listing.sh 02:39:44 ++ facter osfamily 02:39:44 ++ tr '[:upper:]' '[:lower:]' 02:39:44 + OS_FAMILY=debian 02:39:44 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:39:44 + START_PACKAGES=/tmp/packages_start.txt 02:39:44 + END_PACKAGES=/tmp/packages_end.txt 02:39:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:44 + PACKAGES=/tmp/packages_start.txt 02:39:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:39:44 + PACKAGES=/tmp/packages_end.txt 02:39:44 + case "${OS_FAMILY}" in 02:39:44 + dpkg -l 02:39:45 + grep '^ii' 02:39:45 + '[' -f /tmp/packages_start.txt ']' 02:39:45 + '[' -f /tmp/packages_end.txt ']' 02:39:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:39:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:39:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:39:45 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 02:39:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:46 prd-ubuntu20.04-docker-8c-8g-25115 does not seem to be running inside a container 02:39:46 $ 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 02:39:46 $ docker top 8a54182806570a2c01b5474729053f5bc63554560d60f32a67ee7e457cddb60d -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:46 + touch /tmp/pre-build-complete [Pipeline] sh 02:39:47 + mkdir -p /var/log/sysstat [Pipeline] sh 02:39:47 + ls /var/log/sa-host 02:39:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:47 provisioning config files... 02:39:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6344998644286537499tmp [Pipeline] { [Pipeline] echo 02:39:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:39:48 ---> create-netrc.sh [Pipeline] } 02:39:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:39:48 ---> python-tools-install.sh [Pipeline] echo 02:39:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:39:48 ---> sudo-logs.sh 02:39:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:39:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:39:49 ---> job-cost.sh 02:39:49 lf-activate-venv: SKIPPING 02:39:49 DEBUG: total: 0.2199999988079071 02:39:49 INFO: Retrieving Stack Cost... 02:39:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:39:50 INFO: Archiving Costs [Pipeline] echo 02:39:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:39:50 ---> logs-deploy.sh 02:39:50 lf-activate-venv: SKIPPING 02:39:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/158 02:39:50 INFO: archiving workspace using pattern(s): 02:39:51 Archives upload complete. 02:39:51 INFO: archiving logs to Nexus