Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c 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-ssh7032783946557954036.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-ssh17280903747108621195.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-ssh17899206598015287973.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-ssh611020981914836053.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-ssh11208648370999784304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24593 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 e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c (main) Commit message: "build: [Device REST] Add ldflags to strip debug info from binary (#373)" > 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 e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c # timeout=10 > git rev-list --no-walk aba5f4cc438774234c64a3e3d3941f8bbfaf4eba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-06T20:44:11.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-06T20:44:11.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-06T20:44:11.657Z] ========================================================= [2023-12-06T20:44:11.657Z] EdgeX Global Pipelines Version Info [2023-12-06T20:44:11.657Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:44:12.382Z] ------------------- [2023-12-06T20:44:12.382Z] stable info: [2023-12-06T20:44:12.382Z] ------------------- [2023-12-06T20:44:12.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-06T20:44:12.382Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T20:44:12.382Z] Message: update stable to v1.0.258 [2023-12-06T20:44:12.950Z] ------------------- [2023-12-06T20:44:12.950Z] experimental info: [2023-12-06T20:44:12.950Z] ------------------- [2023-12-06T20:44:12.950Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-06T20:44:12.950Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T20:44:12.950Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-06T20:44:13.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-12-06T20:44:13.046Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-12-06T20:44:13.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-06T20:44:13.103Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-06T20:44:13.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-06T20:44:13.160Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-06T20:44:13.188Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-06T20:44:13.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-06T20:44:13.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-06T20:44:13.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-06T20:44:13.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-06T20:44:13.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-12-06T20:44:13.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-06T20:44:13.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-06T20:44:13.431Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-06T20:44:13.460Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-06T20:44:13.488Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T20:44:13.524Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T20:44:13.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-06T20:44:13.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-06T20:44:13.633Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-06T20:44:13.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-06T20:44:13.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-06T20:44:13.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-06T20:44:13.776Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-06T20:44:13.811Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-06T20:44:13.849Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-06T20:44:13.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-12-06T20:44:13.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-12-06T20:44:13.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-12-06T20:44:13.996Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] echo [2023-12-06T20:44:14.037Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8801d5 [Pipeline] echo [2023-12-06T20:44:14.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:44:14.166Z] provisioning config files... [2023-12-06T20:44:14.180Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15093335692457604823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:44:14.523Z] ---> ****-login.sh [2023-12-06T20:44:14.523Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:44:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:14.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:14.784Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:14.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:14.784Z] [2023-12-06T20:44:14.784Z] Login Succeeded [2023-12-06T20:44:14.784Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:44:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:14.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:14.784Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:14.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:14.784Z] [2023-12-06T20:44:14.784Z] Login Succeeded [2023-12-06T20:44:14.784Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:44:15.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:15.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:15.045Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:15.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:15.045Z] [2023-12-06T20:44:15.045Z] Login Succeeded [2023-12-06T20:44:15.045Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:44:15.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:15.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:15.046Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:15.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:15.046Z] [2023-12-06T20:44:15.046Z] Login Succeeded [2023-12-06T20:44:15.046Z] ****.io [2023-12-06T20:44:15.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:15.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:15.306Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:15.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:15.306Z] [2023-12-06T20:44:15.306Z] Login Succeeded [2023-12-06T20:44:15.306Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:44:15.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-06T20:44:15.810Z] + git rev-list -1 --merges e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c~1..e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] echo [2023-12-06T20:44:15.865Z] -----------> git rev-list -1 --merges e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c~1..e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [false] [Pipeline] sh [2023-12-06T20:44:16.167Z] + git log --format=format:%s -1 e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] echo [2023-12-06T20:44:16.182Z] ========================================================= [2023-12-06T20:44:16.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-06T20:44:16.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T20:44:16.552Z] + git log --format=format:%s -1 e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] echo [2023-12-06T20:44:16.562Z] [semverPrep] GIT_COMMIT: e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c, Commit Message: build: [Device REST] Add ldflags to strip debug info from binary (#373) [Pipeline] echo [2023-12-06T20:44:16.591Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-06T20:44:16.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T20:44:16.954Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-06T20:44:16.954Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-06T20:44:16.954Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-06T20:44:16.954Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-06T20:44:16.954Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-06T20:44:16.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:44:17.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:44:17.308Z] [2023-12-06T20:44:17.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:44:17.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:44:17.626Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-06T20:44:17.626Z] b85a868b505f: Pulling fs layer [2023-12-06T20:44:17.626Z] e2be974225ed: Pulling fs layer [2023-12-06T20:44:17.626Z] 339a4e72a1f5: Pulling fs layer [2023-12-06T20:44:17.626Z] 988bab9f4d93: Pulling fs layer [2023-12-06T20:44:17.626Z] 1469e6f7b9e6: Pulling fs layer [2023-12-06T20:44:17.626Z] eaf3925da568: Pulling fs layer [2023-12-06T20:44:17.626Z] bab4dde63d76: Pulling fs layer [2023-12-06T20:44:17.626Z] bde34c3a00c8: Pulling fs layer [2023-12-06T20:44:17.626Z] b352a97aabf1: Pulling fs layer [2023-12-06T20:44:17.626Z] 4872d77fe225: Pulling fs layer [2023-12-06T20:44:17.626Z] 5851b861e8e6: Pulling fs layer [2023-12-06T20:44:17.626Z] bab4dde63d76: Waiting [2023-12-06T20:44:17.626Z] 988bab9f4d93: Waiting [2023-12-06T20:44:17.626Z] 1469e6f7b9e6: Waiting [2023-12-06T20:44:17.626Z] eaf3925da568: Waiting [2023-12-06T20:44:17.626Z] b352a97aabf1: Waiting [2023-12-06T20:44:17.626Z] 4872d77fe225: Waiting [2023-12-06T20:44:17.626Z] 5851b861e8e6: Waiting [2023-12-06T20:44:17.626Z] e2be974225ed: Download complete [2023-12-06T20:44:17.626Z] 988bab9f4d93: Verifying Checksum [2023-12-06T20:44:17.626Z] 988bab9f4d93: Download complete [2023-12-06T20:44:17.626Z] 1469e6f7b9e6: Verifying Checksum [2023-12-06T20:44:17.626Z] 1469e6f7b9e6: Download complete [2023-12-06T20:44:17.626Z] eaf3925da568: Verifying Checksum [2023-12-06T20:44:17.626Z] eaf3925da568: Download complete [2023-12-06T20:44:17.626Z] 339a4e72a1f5: Verifying Checksum [2023-12-06T20:44:17.626Z] 339a4e72a1f5: Download complete [2023-12-06T20:44:17.626Z] bde34c3a00c8: Download complete [2023-12-06T20:44:17.886Z] b352a97aabf1: Verifying Checksum [2023-12-06T20:44:17.886Z] b352a97aabf1: Download complete [2023-12-06T20:44:17.886Z] 4872d77fe225: Verifying Checksum [2023-12-06T20:44:17.886Z] 4872d77fe225: Download complete [2023-12-06T20:44:17.886Z] 5851b861e8e6: Verifying Checksum [2023-12-06T20:44:17.886Z] 5851b861e8e6: Download complete [2023-12-06T20:44:17.886Z] b85a868b505f: Verifying Checksum [2023-12-06T20:44:17.886Z] b85a868b505f: Download complete [2023-12-06T20:44:18.146Z] bab4dde63d76: Verifying Checksum [2023-12-06T20:44:18.146Z] bab4dde63d76: Download complete [2023-12-06T20:44:19.099Z] b85a868b505f: Pull complete [2023-12-06T20:44:19.099Z] e2be974225ed: Pull complete [2023-12-06T20:44:19.667Z] 339a4e72a1f5: Pull complete [2023-12-06T20:44:19.667Z] 988bab9f4d93: Pull complete [2023-12-06T20:44:19.929Z] 1469e6f7b9e6: Pull complete [2023-12-06T20:44:19.929Z] eaf3925da568: Pull complete [2023-12-06T20:44:21.832Z] bab4dde63d76: Pull complete [2023-12-06T20:44:21.832Z] bde34c3a00c8: Pull complete [2023-12-06T20:44:22.092Z] b352a97aabf1: Pull complete [2023-12-06T20:44:22.092Z] 4872d77fe225: Pull complete [2023-12-06T20:44:22.351Z] 5851b861e8e6: Pull complete [2023-12-06T20:44:22.351Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-06T20:44:22.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:44:22.351Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:44:22.643Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:44:22.674Z] $ 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 [2023-12-06T20:44:26.760Z] $ docker top 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 -eo pid,comm [2023-12-06T20:44:26.824Z] 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). [2023-12-06T20:44:26.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T20:44:26.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:44:26.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:44:27.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:44:27.041Z] $ docker exec 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 ssh-agent [2023-12-06T20:44:27.174Z] SSH_AUTH_SOCK=/tmp/ssh-uSlTNXj3yYrw/agent.31 [2023-12-06T20:44:27.174Z] SSH_AGENT_PID=37 [2023-12-06T20:44:27.183Z] Running ssh-add (command line suppressed) [2023-12-06T20:44:27.281Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_363837856064066707.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_363837856064066707.key) [2023-12-06T20:44:27.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:44:27.604Z] + git tag --points-at HEAD [Pipeline] } [2023-12-06T20:44:27.613Z] $ docker exec --env ******** --env ******** 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 ssh-agent -k [2023-12-06T20:44:27.708Z] unset SSH_AUTH_SOCK; [2023-12-06T20:44:27.708Z] unset SSH_AGENT_PID; [2023-12-06T20:44:27.709Z] echo Agent pid 37 killed; [2023-12-06T20:44:27.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-06T20:44:27.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:44:27.783Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:44:27.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:44:27.894Z] $ docker exec 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 ssh-agent [2023-12-06T20:44:28.003Z] SSH_AUTH_SOCK=/tmp/ssh-BGST1pAZRqHn/agent.69 [2023-12-06T20:44:28.003Z] SSH_AGENT_PID=75 [2023-12-06T20:44:28.008Z] Running ssh-add (command line suppressed) [2023-12-06T20:44:28.114Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_321881309468976508.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_321881309468976508.key) [2023-12-06T20:44:28.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:44:28.429Z] + git semver init [2023-12-06T20:44:28.692Z] 2023-12-06 20:44:28,612 [run_init] DEBUG init version:0.0.0 force:False [2023-12-06T20:44:28.692Z] 2023-12-06 20:44:28,613 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-06T20:44:28.692Z] 2023-12-06 20:44:28,613 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-12-06T20:44:28.692Z] 2023-12-06 20:44:28,614 [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) [2023-12-06T20:44:30.601Z] 2023-12-06 20:44:30,417 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-12-06T20:44:30.601Z] 2023-12-06 20:44:30,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-12-06T20:44:30.601Z] 2023-12-06 20:44:30,418 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:44:30.601Z] 2023-12-06 20:44:30,418 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:44:30.601Z] 3.2.0-dev.4 [Pipeline] } [2023-12-06T20:44:30.611Z] $ docker exec --env ******** --env ******** 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 ssh-agent -k [2023-12-06T20:44:30.702Z] unset SSH_AUTH_SOCK; [2023-12-06T20:44:30.702Z] unset SSH_AGENT_PID; [2023-12-06T20:44:30.702Z] echo Agent pid 75 killed; [2023-12-06T20:44:30.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T20:44:31.097Z] + git semver [Pipeline] } [2023-12-06T20:44:31.368Z] $ docker stop --time=1 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 [2023-12-06T20:44:32.676Z] $ docker rm -f --volumes 10b765e506b2a8e565cb43c21840b118436f71b07dca15a17cae4e35132b0c85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:44:33.049Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-06T20:44:33.324Z] Stashed 1 file(s) [Pipeline] echo [2023-12-06T20:44:33.328Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.4 [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 [2023-12-06T20:44:33.672Z] provisioning config files... [2023-12-06T20:44:33.681Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3374877962617764646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:44:34.005Z] ---> ****-login.sh [2023-12-06T20:44:34.005Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:44:34.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:34.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:34.005Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:34.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:34.006Z] [2023-12-06T20:44:34.006Z] Login Succeeded [2023-12-06T20:44:34.006Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:44:34.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:34.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:34.265Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:34.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:34.265Z] [2023-12-06T20:44:34.265Z] Login Succeeded [2023-12-06T20:44:34.265Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:44:34.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:34.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:34.265Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:34.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:34.265Z] [2023-12-06T20:44:34.265Z] Login Succeeded [2023-12-06T20:44:34.265Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:44:34.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:34.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:34.265Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:34.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:34.265Z] [2023-12-06T20:44:34.265Z] Login Succeeded [2023-12-06T20:44:34.265Z] ****.io [2023-12-06T20:44:34.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:44:34.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:44:34.789Z] Configure a credential helper to remove this warning. See [2023-12-06T20:44:34.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:44:34.789Z] [2023-12-06T20:44:34.789Z] Login Succeeded [2023-12-06T20:44:34.789Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:44:34.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T20:44:34.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:44:35.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:44:35.099Z] ========================================================= [2023-12-06T20:44:35.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-06T20:44:35.099Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:44:35.504Z] + 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 . [2023-12-06T20:44:35.504Z] Sending build context to Docker daemon 16.35MB [2023-12-06T20:44:35.504Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T20:44:35.504Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-06T20:44:35.763Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-06T20:44:35.763Z] 7264a8db6415: Pulling fs layer [2023-12-06T20:44:35.763Z] c4d48a809fc2: Pulling fs layer [2023-12-06T20:44:35.763Z] 4f1c88b9dad5: Pulling fs layer [2023-12-06T20:44:35.763Z] ad3a456e5733: Pulling fs layer [2023-12-06T20:44:35.763Z] 69c7f0334f64: Pulling fs layer [2023-12-06T20:44:35.763Z] 1f1c1a5573a3: Pulling fs layer [2023-12-06T20:44:35.763Z] ce7588e14bc9: Pulling fs layer [2023-12-06T20:44:35.763Z] b5e4710f87ac: Pulling fs layer [2023-12-06T20:44:35.763Z] ad3a456e5733: Waiting [2023-12-06T20:44:35.763Z] 69c7f0334f64: Waiting [2023-12-06T20:44:35.763Z] 1f1c1a5573a3: Waiting [2023-12-06T20:44:35.763Z] ce7588e14bc9: Waiting [2023-12-06T20:44:35.763Z] b5e4710f87ac: Waiting [2023-12-06T20:44:35.763Z] c4d48a809fc2: Verifying Checksum [2023-12-06T20:44:35.763Z] ad3a456e5733: Verifying Checksum [2023-12-06T20:44:35.763Z] ad3a456e5733: Download complete [2023-12-06T20:44:35.763Z] 69c7f0334f64: Verifying Checksum [2023-12-06T20:44:35.763Z] 69c7f0334f64: Download complete [2023-12-06T20:44:35.763Z] 7264a8db6415: Verifying Checksum [2023-12-06T20:44:35.763Z] 7264a8db6415: Download complete [2023-12-06T20:44:35.763Z] 1f1c1a5573a3: Verifying Checksum [2023-12-06T20:44:35.763Z] 1f1c1a5573a3: Download complete [2023-12-06T20:44:36.022Z] 7264a8db6415: Pull complete [2023-12-06T20:44:36.022Z] b5e4710f87ac: Verifying Checksum [2023-12-06T20:44:36.022Z] b5e4710f87ac: Download complete [2023-12-06T20:44:36.022Z] c4d48a809fc2: Pull complete [2023-12-06T20:44:36.293Z] 4f1c88b9dad5: Verifying Checksum [2023-12-06T20:44:36.293Z] 4f1c88b9dad5: Download complete [2023-12-06T20:44:36.552Z] ce7588e14bc9: Verifying Checksum [2023-12-06T20:44:36.552Z] ce7588e14bc9: Download complete [2023-12-06T20:44:39.838Z] 4f1c88b9dad5: Pull complete [2023-12-06T20:44:39.838Z] ad3a456e5733: Pull complete [2023-12-06T20:44:39.838Z] 69c7f0334f64: Pull complete [2023-12-06T20:44:39.838Z] 1f1c1a5573a3: Pull complete [2023-12-06T20:44:41.752Z] ce7588e14bc9: Pull complete [2023-12-06T20:44:42.318Z] b5e4710f87ac: Pull complete [2023-12-06T20:44:42.318Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-06T20:44:42.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-06T20:44:42.318Z] ---> 88b5674ff536 [2023-12-06T20:44:42.318Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-06T20:44:48.573Z] Still waiting to schedule task [2023-12-06T20:44:48.573Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-06T20:44:50.462Z] ---> Running in 4837b72086f4 [2023-12-06T20:44:50.463Z] Removing intermediate container 4837b72086f4 [2023-12-06T20:44:50.463Z] ---> a5888b893547 [2023-12-06T20:44:50.463Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-06T20:44:50.463Z] ---> Running in 58a48a5408c5 [2023-12-06T20:44:50.463Z] Removing intermediate container 58a48a5408c5 [2023-12-06T20:44:50.463Z] ---> e8eda2fabc08 [2023-12-06T20:44:50.463Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-06T20:44:50.463Z] ---> Running in dafdd8cf0fd6 [2023-12-06T20:44:50.463Z] Removing intermediate container dafdd8cf0fd6 [2023-12-06T20:44:50.463Z] ---> 314f9fbf1d09 [2023-12-06T20:44:50.463Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-06T20:44:50.463Z] ---> Running in e9c6067a7788 [2023-12-06T20:44:50.463Z] Removing intermediate container e9c6067a7788 [2023-12-06T20:44:50.463Z] ---> ccac9995a76d [2023-12-06T20:44:50.463Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-06T20:44:50.463Z] ---> Running in 64380283fe59 [2023-12-06T20:44:50.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:44:50.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:44:50.723Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-06T20:44:50.723Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-06T20:44:50.723Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-06T20:44:50.723Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-06T20:44:50.723Z] Executing busybox-1.36.1-r5.trigger [2023-12-06T20:44:50.723Z] OK: 268 MiB in 56 packages [2023-12-06T20:44:51.290Z] Removing intermediate container 64380283fe59 [2023-12-06T20:44:51.290Z] ---> 3bd5e8c857a8 [2023-12-06T20:44:51.290Z] Step 8/12 : WORKDIR /device-rest-go [2023-12-06T20:44:51.551Z] ---> Running in e06fc9b8a8be [2023-12-06T20:44:51.551Z] Removing intermediate container e06fc9b8a8be [2023-12-06T20:44:51.551Z] ---> faf380b40ded [2023-12-06T20:44:51.551Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-06T20:44:51.551Z] ---> a496b8a620e3 [2023-12-06T20:44:51.551Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:44:51.551Z] ---> Running in a969b26fd7a0 [2023-12-06T20:45:30.452Z] Removing intermediate container a969b26fd7a0 [2023-12-06T20:45:30.452Z] ---> 6d7582c88676 [2023-12-06T20:45:30.452Z] Step 11/12 : COPY . . [2023-12-06T20:45:31.018Z] ---> aadf1485d736 [2023-12-06T20:45:31.018Z] Step 12/12 : RUN $MAKE [2023-12-06T20:45:31.018Z] ---> Running in a179d2ea9221 [2023-12-06T20:45:31.285Z] noop [2023-12-06T20:45:31.545Z] Removing intermediate container a179d2ea9221 [2023-12-06T20:45:31.545Z] ---> 496846ecee8c [2023-12-06T20:45:31.545Z] Successfully built 496846ecee8c [2023-12-06T20:45:31.545Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:45:31.919Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T20:45:31.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:45:32.037Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:45:32.064Z] $ 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 [2023-12-06T20:45:32.397Z] $ docker top 8451a02935ada10604a127c7b3a5ca741dd1079ccf893c2ed372901ffb2f57cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:45:32.830Z] + go version [2023-12-06T20:45:32.830Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-06T20:45:32.844Z] $ docker stop --time=1 8451a02935ada10604a127c7b3a5ca741dd1079ccf893c2ed372901ffb2f57cb [2023-12-06T20:45:34.126Z] $ docker rm -f --volumes 8451a02935ada10604a127c7b3a5ca741dd1079ccf893c2ed372901ffb2f57cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:45:34.724Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T20:45:34.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:45:34.842Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:45:34.875Z] $ 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 [2023-12-06T20:45:35.201Z] $ docker top d9555fefd710932be7ea42927a35bf92f08fce1889aeb771291a326b8964adb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:45:35.589Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-12-06T20:45:35.907Z] + make test [2023-12-06T20:45:35.907Z] go test ./... -coverprofile=coverage.out ./... [2023-12-06T20:45:37.284Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-06T20:45:47.266Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-06T20:45:47.266Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.2% of statements [2023-12-06T20:45:55.369Z] go vet ./... [2023-12-06T20:45:57.896Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T20:45:57.896Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T20:45:57.896Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T20:45:58.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T20:45:58.199Z] $ docker stop --time=1 d9555fefd710932be7ea42927a35bf92f08fce1889aeb771291a326b8964adb1 [2023-12-06T20:46:02.282Z] $ docker rm -f --volumes d9555fefd710932be7ea42927a35bf92f08fce1889aeb771291a326b8964adb1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:46:02.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T20:46:02.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-06T20:46:03.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T20:46:03.665Z] + ls -al . [2023-12-06T20:46:03.665Z] total 180 [2023-12-06T20:46:03.665Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:45 . [2023-12-06T20:46:03.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:44 .. [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:44 .dockerignore [2023-12-06T20:46:03.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:45 .git [2023-12-06T20:46:03.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:44 .github [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:44 .gitignore [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:44 .golangci.yml [2023-12-06T20:46:03.665Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:44 .semver [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:44 Attribution.txt [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:44 CHANGELOG.md [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:44 Dockerfile [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:44 GOVERNANCE.md [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:44 Jenkinsfile [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:44 LICENSE [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:44 Makefile [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:44 OWNERS.md [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:44 README.md [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:44 VERSION [2023-12-06T20:46:03.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:44 bin [2023-12-06T20:46:03.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:44 cmd [2023-12-06T20:46:03.665Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 20:45 coverage.out [2023-12-06T20:46:03.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:44 driver [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:44 go.mod [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:44 go.sum [2023-12-06T20:46:03.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:44 openapi [2023-12-06T20:46:03.665Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:46:04.020Z] + 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=e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c --label arch=amd64 --label version=3.2.0-dev.4 . [2023-12-06T20:46:04.020Z] Sending build context to Docker daemon 16.36MB [2023-12-06T20:46:04.020Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T20:46:04.020Z] Step 2/26 : FROM ${BASE} AS builder [2023-12-06T20:46:04.020Z] ---> 496846ecee8c [2023-12-06T20:46:04.020Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-12-06T20:46:04.278Z] ---> Running in 5c50e8ae5506 [2023-12-06T20:46:04.537Z] Removing intermediate container 5c50e8ae5506 [2023-12-06T20:46:04.537Z] ---> 76092bc2945e [2023-12-06T20:46:04.537Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-06T20:46:04.537Z] ---> Running in a00e0a291235 [2023-12-06T20:46:04.537Z] Removing intermediate container a00e0a291235 [2023-12-06T20:46:04.537Z] ---> c0de8eb5f53d [2023-12-06T20:46:04.537Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-06T20:46:04.537Z] ---> Running in 66993650ca07 [2023-12-06T20:46:04.537Z] Removing intermediate container 66993650ca07 [2023-12-06T20:46:04.537Z] ---> 43a0675ffece [2023-12-06T20:46:04.537Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-12-06T20:46:04.537Z] ---> Running in a0fe88914277 [2023-12-06T20:46:04.796Z] Removing intermediate container a0fe88914277 [2023-12-06T20:46:04.796Z] ---> 15e83945b4cb [2023-12-06T20:46:04.796Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-06T20:46:04.796Z] ---> Running in b0efe9315b78 [2023-12-06T20:46:05.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:05.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:05.318Z] OK: 268 MiB in 56 packages [2023-12-06T20:46:05.579Z] Removing intermediate container b0efe9315b78 [2023-12-06T20:46:05.579Z] ---> 040fe240471a [2023-12-06T20:46:05.579Z] Step 8/26 : WORKDIR /device-rest-go [2023-12-06T20:46:05.579Z] ---> Running in 481a8e0f3d4c [2023-12-06T20:46:05.579Z] Removing intermediate container 481a8e0f3d4c [2023-12-06T20:46:05.579Z] ---> 89432139429a [2023-12-06T20:46:05.579Z] Step 9/26 : COPY go.mod vendor* ./ [2023-12-06T20:46:05.842Z] ---> 8b049f21a337 [2023-12-06T20:46:05.842Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:46:05.842Z] ---> Running in cdb8c679baef [2023-12-06T20:46:06.408Z] Removing intermediate container cdb8c679baef [2023-12-06T20:46:06.408Z] ---> 805dde8ba738 [2023-12-06T20:46:06.408Z] Step 11/26 : COPY . . [2023-12-06T20:46:07.111Z] ---> 620ded6b5ebb [2023-12-06T20:46:07.111Z] Step 12/26 : RUN $MAKE [2023-12-06T20:46:07.111Z] ---> Running in 53784a3435f0 [2023-12-06T20:46:07.368Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-06T20:46:39.560Z] Removing intermediate container 53784a3435f0 [2023-12-06T20:46:39.560Z] ---> 4a614c737e78 [2023-12-06T20:46:39.560Z] Step 13/26 : FROM alpine:3.18 [2023-12-06T20:46:39.560Z] 3.18: Pulling from library/alpine [2023-12-06T20:46:39.561Z] c926b61bad3b: Pulling fs layer [2023-12-06T20:46:39.561Z] c926b61bad3b: Verifying Checksum [2023-12-06T20:46:39.561Z] c926b61bad3b: Download complete [2023-12-06T20:46:39.561Z] c926b61bad3b: Pull complete [2023-12-06T20:46:39.561Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T20:46:39.561Z] Status: Downloaded newer image for alpine:3.18 [2023-12-06T20:46:39.561Z] ---> b541f2080109 [2023-12-06T20:46:39.561Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-06T20:46:39.561Z] ---> Running in 51ff4e4338c5 [2023-12-06T20:46:39.561Z] Removing intermediate container 51ff4e4338c5 [2023-12-06T20:46:39.561Z] ---> 61f77a2b25ce [2023-12-06T20:46:39.561Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-12-06T20:46:39.561Z] ---> Running in f565bb3d1453 [2023-12-06T20:46:39.561Z] Removing intermediate container f565bb3d1453 [2023-12-06T20:46:39.561Z] ---> d999dda07d15 [2023-12-06T20:46:39.561Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-12-06T20:46:39.561Z] ---> Running in 8f1644598a95 [2023-12-06T20:46:39.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:39.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:39.561Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T20:46:39.561Z] Executing busybox-1.36.1-r5.trigger [2023-12-06T20:46:39.561Z] OK: 7 MiB in 16 packages [2023-12-06T20:46:39.561Z] Removing intermediate container 8f1644598a95 [2023-12-06T20:46:39.561Z] ---> b80505bfad91 [2023-12-06T20:46:39.561Z] Step 17/26 : RUN apk --no-cache upgrade [2023-12-06T20:46:39.561Z] ---> Running in c09181171888 [2023-12-06T20:46:39.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:39.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T20:46:39.561Z] OK: 7 MiB in 16 packages [2023-12-06T20:46:40.128Z] Removing intermediate container c09181171888 [2023-12-06T20:46:40.128Z] ---> f3bbd08f9a8d [2023-12-06T20:46:40.128Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-12-06T20:46:40.733Z] ---> 7315846f0191 [2023-12-06T20:46:40.733Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-12-06T20:46:40.993Z] ---> 6f4053832a5d [2023-12-06T20:46:40.993Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-06T20:46:40.993Z] ---> 6bcd0eee8cb9 [2023-12-06T20:46:40.993Z] Step 21/26 : EXPOSE 59986 [2023-12-06T20:46:40.993Z] ---> Running in 2f4bde8c0ef7 [2023-12-06T20:46:41.251Z] Removing intermediate container 2f4bde8c0ef7 [2023-12-06T20:46:41.251Z] ---> 83c22bc1694b [2023-12-06T20:46:41.251Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-12-06T20:46:41.251Z] ---> Running in 66441edeacd8 [2023-12-06T20:46:41.251Z] Removing intermediate container 66441edeacd8 [2023-12-06T20:46:41.251Z] ---> 8515bee86dfb [2023-12-06T20:46:41.251Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-06T20:46:41.251Z] ---> Running in ba252dc74eea [2023-12-06T20:46:41.251Z] Removing intermediate container ba252dc74eea [2023-12-06T20:46:41.251Z] ---> 0b569928a277 [2023-12-06T20:46:41.251Z] Step 24/26 : LABEL arch=amd64 [2023-12-06T20:46:41.508Z] ---> Running in 1c26ef482eb8 [2023-12-06T20:46:41.508Z] Removing intermediate container 1c26ef482eb8 [2023-12-06T20:46:41.508Z] ---> a7a9a7cdbebe [2023-12-06T20:46:41.508Z] Step 25/26 : LABEL git_sha=e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:46:41.508Z] ---> Running in b9fafdeabc6d [2023-12-06T20:46:41.508Z] Removing intermediate container b9fafdeabc6d [2023-12-06T20:46:41.508Z] ---> ab326d67215c [2023-12-06T20:46:41.508Z] Step 26/26 : LABEL version=3.2.0-dev.4 [2023-12-06T20:46:41.508Z] ---> Running in 0c350c027336 [2023-12-06T20:46:41.767Z] Removing intermediate container 0c350c027336 [2023-12-06T20:46:41.767Z] ---> 0de9a99b7d1c [2023-12-06T20:46:41.767Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-06T20:46:41.767Z] Successfully built 0de9a99b7d1c [2023-12-06T20:46:41.767Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:46:42.015Z] provisioning config files... [2023-12-06T20:46:42.024Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13734966239346007807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:46:42.355Z] ---> ****-login.sh [2023-12-06T20:46:42.355Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:46:42.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:46:42.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:46:42.355Z] Configure a credential helper to remove this warning. See [2023-12-06T20:46:42.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:46:42.355Z] [2023-12-06T20:46:42.355Z] Login Succeeded [2023-12-06T20:46:42.355Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:46:42.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:46:42.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:46:42.356Z] Configure a credential helper to remove this warning. See [2023-12-06T20:46:42.356Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:46:42.356Z] [2023-12-06T20:46:42.356Z] Login Succeeded [2023-12-06T20:46:42.356Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:46:42.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:46:42.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:46:42.614Z] Configure a credential helper to remove this warning. See [2023-12-06T20:46:42.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:46:42.614Z] [2023-12-06T20:46:42.614Z] Login Succeeded [2023-12-06T20:46:42.614Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:46:42.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:46:42.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:46:42.614Z] Configure a credential helper to remove this warning. See [2023-12-06T20:46:42.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:46:42.614Z] [2023-12-06T20:46:42.614Z] Login Succeeded [2023-12-06T20:46:42.614Z] ****.io [2023-12-06T20:46:42.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:46:42.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:46:42.873Z] Configure a credential helper to remove this warning. See [2023-12-06T20:46:42.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:46:42.873Z] [2023-12-06T20:46:42.873Z] Login Succeeded [2023-12-06T20:46:42.873Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:46:42.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:46:43.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:46:43.055Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-12-06T20:46:43.055Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:46:43.055Z] latest [2023-12-06T20:46:43.055Z] 3.2.0-dev.4 [2023-12-06T20:46:43.055Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:46:43.055Z] main [2023-12-06T20:46:43.055Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:46:43.515Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:46:43.892Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:46:43.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:46:43.892Z] 783a69a48530: Preparing [2023-12-06T20:46:43.892Z] 7d9ad44563cd: Preparing [2023-12-06T20:46:43.892Z] 89ab1512c691: Preparing [2023-12-06T20:46:43.892Z] b220dd06b4d1: Preparing [2023-12-06T20:46:43.892Z] 45d1e3eb9294: Preparing [2023-12-06T20:46:43.892Z] 9fe9a137fd00: Preparing [2023-12-06T20:46:43.892Z] 9fe9a137fd00: Waiting [2023-12-06T20:46:43.892Z] b220dd06b4d1: Pushed [2023-12-06T20:46:43.892Z] 45d1e3eb9294: Pushed [2023-12-06T20:46:43.892Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:46:43.892Z] 7d9ad44563cd: Pushed [2023-12-06T20:46:43.892Z] 783a69a48530: Pushed [2023-12-06T20:46:46.422Z] 89ab1512c691: Pushed [2023-12-06T20:46:46.422Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c: digest: sha256:addcba15904d701b43da12a24b4ffdff2c3b3ee0b2c8f94dcc3e514434094238 size: 1572 [2023-12-06T20:47:12.095Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24597 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-12-06T20:47:12.128Z] Running in /w/workspace/device-rest-go/156 [Pipeline] { [Pipeline] checkout [2023-12-06T20:47:15.195Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:18.912Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:19.300Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-06T20:47:19.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:47:19.300Z] 783a69a48530: Preparing [2023-12-06T20:47:19.300Z] 7d9ad44563cd: Preparing [2023-12-06T20:47:19.300Z] 89ab1512c691: Preparing [2023-12-06T20:47:19.300Z] b220dd06b4d1: Preparing [2023-12-06T20:47:19.300Z] 45d1e3eb9294: Preparing [2023-12-06T20:47:19.300Z] 9fe9a137fd00: Preparing [2023-12-06T20:47:19.300Z] 9fe9a137fd00: Waiting [2023-12-06T20:47:19.300Z] 45d1e3eb9294: Layer already exists [2023-12-06T20:47:19.300Z] 89ab1512c691: Layer already exists [2023-12-06T20:47:19.300Z] 7d9ad44563cd: Layer already exists [2023-12-06T20:47:19.300Z] 783a69a48530: Layer already exists [2023-12-06T20:47:19.300Z] b220dd06b4d1: Layer already exists [2023-12-06T20:47:19.300Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:47:19.300Z] latest: digest: sha256:addcba15904d701b43da12a24b4ffdff2c3b3ee0b2c8f94dcc3e514434094238 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:19.693Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:20.086Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.4 [2023-12-06T20:47:20.086Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:47:20.086Z] 783a69a48530: Preparing [2023-12-06T20:47:20.086Z] 7d9ad44563cd: Preparing [2023-12-06T20:47:20.086Z] 89ab1512c691: Preparing [2023-12-06T20:47:20.086Z] b220dd06b4d1: Preparing [2023-12-06T20:47:20.086Z] 45d1e3eb9294: Preparing [2023-12-06T20:47:20.086Z] 9fe9a137fd00: Preparing [2023-12-06T20:47:20.086Z] 9fe9a137fd00: Waiting [2023-12-06T20:47:20.086Z] 89ab1512c691: Layer already exists [2023-12-06T20:47:20.086Z] 783a69a48530: Layer already exists [2023-12-06T20:47:20.086Z] 45d1e3eb9294: Layer already exists [2023-12-06T20:47:20.086Z] b220dd06b4d1: Layer already exists [2023-12-06T20:47:20.086Z] 7d9ad44563cd: Layer already exists [2023-12-06T20:47:20.086Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:47:20.086Z] 3.2.0-dev.4: digest: sha256:addcba15904d701b43da12a24b4ffdff2c3b3ee0b2c8f94dcc3e514434094238 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:20.499Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:20.936Z] using credential edgex-jenkins-ssh [2023-12-06T20:47:20.943Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:47:20.943Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:47:20.943Z] 783a69a48530: Preparing [2023-12-06T20:47:20.943Z] 7d9ad44563cd: Preparing [2023-12-06T20:47:20.943Z] 89ab1512c691: Preparing [2023-12-06T20:47:20.943Z] b220dd06b4d1: Preparing [2023-12-06T20:47:20.943Z] 45d1e3eb9294: Preparing [2023-12-06T20:47:20.943Z] 9fe9a137fd00: Preparing [2023-12-06T20:47:20.943Z] b220dd06b4d1: Layer already exists [2023-12-06T20:47:20.943Z] 783a69a48530: Layer already exists [2023-12-06T20:47:20.943Z] 89ab1512c691: Layer already exists [2023-12-06T20:47:20.943Z] 7d9ad44563cd: Layer already exists [2023-12-06T20:47:20.943Z] 45d1e3eb9294: Layer already exists [2023-12-06T20:47:20.943Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:47:20.943Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4: digest: sha256:addcba15904d701b43da12a24b4ffdff2c3b3ee0b2c8f94dcc3e514434094238 size: 1572 [Pipeline] } [2023-12-06T20:47:20.958Z] Cloning the remote Git repository [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:21.346Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [2023-12-06T20:47:21.015Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-12-06T20:47:21.140Z] > git init /w/workspace/device-rest-go/156 # timeout=10 [2023-12-06T20:47:21.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-12-06T20:47:21.322Z] > git --version # timeout=10 [2023-12-06T20:47:21.344Z] > git --version # 'git version 2.25.1' [2023-12-06T20:47:21.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:21.747Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-12-06T20:47:21.748Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-12-06T20:47:21.748Z] 783a69a48530: Preparing [2023-12-06T20:47:21.748Z] 7d9ad44563cd: Preparing [2023-12-06T20:47:21.748Z] 89ab1512c691: Preparing [2023-12-06T20:47:21.748Z] b220dd06b4d1: Preparing [2023-12-06T20:47:21.748Z] 45d1e3eb9294: Preparing [2023-12-06T20:47:21.748Z] 9fe9a137fd00: Preparing [2023-12-06T20:47:21.748Z] 9fe9a137fd00: Waiting [2023-12-06T20:47:21.748Z] 89ab1512c691: Layer already exists [2023-12-06T20:47:21.748Z] 783a69a48530: Layer already exists [2023-12-06T20:47:21.748Z] 45d1e3eb9294: Layer already exists [2023-12-06T20:47:21.748Z] 7d9ad44563cd: Layer already exists [2023-12-06T20:47:21.748Z] b220dd06b4d1: Layer already exists [2023-12-06T20:47:21.748Z] 9fe9a137fd00: Layer already exists [2023-12-06T20:47:21.748Z] main: digest: sha256:addcba15904d701b43da12a24b4ffdff2c3b3ee0b2c8f94dcc3e514434094238 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:47:21.972Z] ===================================================== [Pipeline] echo [2023-12-06T20:47:22.010Z] taggedImages: [2023-12-06T20:47:22.010Z] - nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:47:22.010Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-12-06T20:47:22.010Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.4 [2023-12-06T20:47:22.010Z] - nexus3.edgexfoundry.org:10004/device-rest:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:47:22.010Z] - 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 [2023-12-06T20:47:22.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:47:22.658Z] [2023-12-06T20:47:22.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-12-06T20:47:21.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2023-12-06T20:47:22.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:47:22.988Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-06T20:47:22.988Z] 5eb5b503b376: Pulling fs layer [2023-12-06T20:47:22.988Z] 5c69ac0246d0: Pulling fs layer [2023-12-06T20:47:22.988Z] ec43610c2a17: Pulling fs layer [2023-12-06T20:47:22.988Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-06T20:47:22.988Z] 33b1e0a273af: Pulling fs layer [2023-12-06T20:47:22.988Z] 5d3b04190fa2: Pulling fs layer [2023-12-06T20:47:22.988Z] 2f39f015ded8: Pulling fs layer [2023-12-06T20:47:22.988Z] 33b1e0a273af: Waiting [2023-12-06T20:47:22.988Z] 5d3b04190fa2: Waiting [2023-12-06T20:47:22.988Z] 2f39f015ded8: Waiting [2023-12-06T20:47:22.988Z] 3a2ae6a8a46f: Waiting [2023-12-06T20:47:22.988Z] 5c69ac0246d0: Download complete [2023-12-06T20:47:22.988Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-06T20:47:22.988Z] 3a2ae6a8a46f: Download complete [2023-12-06T20:47:22.988Z] 33b1e0a273af: Verifying Checksum [2023-12-06T20:47:22.988Z] 33b1e0a273af: Download complete [2023-12-06T20:47:22.988Z] 5d3b04190fa2: Download complete [2023-12-06T20:47:22.988Z] ec43610c2a17: Download complete [2023-12-06T20:47:23.248Z] 5eb5b503b376: Verifying Checksum [2023-12-06T20:47:23.248Z] 5eb5b503b376: Download complete [2023-12-06T20:47:23.817Z] 2f39f015ded8: Download complete [2023-12-06T20:47:24.401Z] 5eb5b503b376: Pull complete [2023-12-06T20:47:24.667Z] 5c69ac0246d0: Pull complete [2023-12-06T20:47:25.178Z] Avoid second fetch [2023-12-06T20:47:25.179Z] Checking out Revision e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c (main) [2023-12-06T20:47:25.236Z] ec43610c2a17: Pull complete [2023-12-06T20:47:25.236Z] 3a2ae6a8a46f: Pull complete [2023-12-06T20:47:24.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-12-06T20:47:24.234Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-06T20:47:25.196Z] > git config core.sparsecheckout # timeout=10 [2023-12-06T20:47:25.268Z] > git checkout -f e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c # timeout=10 [2023-12-06T20:47:25.499Z] 33b1e0a273af: Pull complete [2023-12-06T20:47:25.499Z] 5d3b04190fa2: Pull complete [2023-12-06T20:47:25.843Z] Commit message: "build: [Device REST] Add ldflags to strip debug info from binary (#373)" [2023-12-06T20:47:26.235Z] [2023-12-06T20:47:26.235Z] GitHub has been notified of this commit’s build result [2023-12-06T20:47:26.235Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T20:47:27.042Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-06T20:47:27.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T20:47:27.042Z] Dload Upload Total Spent Left Speed [2023-12-06T20:47:27.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2023-12-06T20:47:27.393Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-06T20:47:27.955Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-06T20:47:27.955Z] + sudo tee /etc/docker/daemon.new [2023-12-06T20:47:27.955Z] { [2023-12-06T20:47:27.955Z] "registry-mirrors": [ [2023-12-06T20:47:27.955Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-06T20:47:27.955Z] ], [2023-12-06T20:47:27.955Z] "bip": "10.250.0.254/24", [2023-12-06T20:47:27.955Z] "hosts": [ [2023-12-06T20:47:27.955Z] "tcp://0.0.0.0:5555", [2023-12-06T20:47:27.955Z] "unix:///var/run/docker.sock" [2023-12-06T20:47:27.955Z] ], [2023-12-06T20:47:27.955Z] "mtu": 1458, [2023-12-06T20:47:27.955Z] "selinux-enabled": true, [2023-12-06T20:47:27.955Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-06T20:47:27.955Z] } [Pipeline] sh [2023-12-06T20:47:28.295Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-06T20:47:28.638Z] + sudo service docker restart [2023-12-06T20:47:29.680Z] 2f39f015ded8: Pull complete [2023-12-06T20:47:29.680Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-06T20:47:29.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:47:29.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:47:30.150Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:47:30.182Z] $ 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 [2023-12-06T20:47:35.798Z] $ docker top 05969e4b5c6bd16844094ece834ce56dc4c5d756c9d3c6929351670299432717 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:47:36.250Z] ---> job-cost.sh [2023-12-06T20:47:36.250Z] lf-activate-venv: SKIPPING [2023-12-06T20:47:36.250Z] INFO: No Stack... [2023-12-06T20:47:36.510Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T20:47:36.769Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T20:47:37.058Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-12-06T20:47:37.058Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T20:47:37.068Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [2023-12-06T20:47:37.073Z] Resource [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] did not exist. Created. [2023-12-06T20:47:37.073Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T20:47:37.444Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T20:47:37.471Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T20:47:37.508Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T20:47:37.589Z] $ docker stop --time=1 05969e4b5c6bd16844094ece834ce56dc4c5d756c9d3c6929351670299432717 [2023-12-06T20:47:38.749Z] $ docker rm -f --volumes 05969e4b5c6bd16844094ece834ce56dc4c5d756c9d3c6929351670299432717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:47:46.939Z] provisioning config files... [2023-12-06T20:47:46.969Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/156@tmp/config14749518456138583775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:47:47.422Z] ---> ****-login.sh [2023-12-06T20:47:47.423Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:47:47.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:47:47.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:47:47.968Z] Configure a credential helper to remove this warning. See [2023-12-06T20:47:47.968Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:47:47.968Z] [2023-12-06T20:47:47.968Z] Login Succeeded [2023-12-06T20:47:47.968Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:47:48.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:47:48.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:47:48.238Z] Configure a credential helper to remove this warning. See [2023-12-06T20:47:48.238Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:47:48.238Z] [2023-12-06T20:47:48.238Z] Login Succeeded [2023-12-06T20:47:48.238Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:47:48.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:47:48.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:47:48.512Z] Configure a credential helper to remove this warning. See [2023-12-06T20:47:48.512Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:47:48.512Z] [2023-12-06T20:47:48.512Z] Login Succeeded [2023-12-06T20:47:48.512Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:47:48.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:47:49.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:47:49.053Z] Configure a credential helper to remove this warning. See [2023-12-06T20:47:49.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:47:49.053Z] [2023-12-06T20:47:49.053Z] Login Succeeded [2023-12-06T20:47:49.053Z] ****.io [2023-12-06T20:47:49.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:47:49.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:47:49.324Z] Configure a credential helper to remove this warning. See [2023-12-06T20:47:49.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:47:49.324Z] [2023-12-06T20:47:49.324Z] Login Succeeded [2023-12-06T20:47:49.594Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:47:49.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T20:47:50.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:47:50.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:47:50.177Z] ========================================================= [2023-12-06T20:47:50.177Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-06T20:47:50.177Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:47:50.668Z] + 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 . [2023-12-06T20:47:52.085Z] #0 building with "default" instance using docker driver [2023-12-06T20:47:52.085Z] [2023-12-06T20:47:52.085Z] #1 [internal] load .dockerignore [2023-12-06T20:47:52.085Z] #1 transferring context: 193B 0.0s done [2023-12-06T20:47:52.085Z] #1 DONE 0.1s [2023-12-06T20:47:52.085Z] [2023-12-06T20:47:52.085Z] #2 [internal] load build definition from Dockerfile [2023-12-06T20:47:52.085Z] #2 transferring dockerfile: 1.73kB 0.0s done [2023-12-06T20:47:52.085Z] #2 DONE 0.1s [2023-12-06T20:47:52.085Z] [2023-12-06T20:47:52.085Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-06T20:47:52.085Z] #3 DONE 0.1s [2023-12-06T20:47:52.085Z] [2023-12-06T20:47:52.085Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T20:47:52.085Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-06T20:47:52.358Z] #4 ... [2023-12-06T20:47:52.358Z] [2023-12-06T20:47:52.358Z] #5 [internal] load build context [2023-12-06T20:47:52.358Z] #5 transferring context: 95.80kB 0.1s done [2023-12-06T20:47:52.358Z] #5 DONE 0.1s [2023-12-06T20:47:52.358Z] [2023-12-06T20:47:52.358Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T20:47:52.358Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s [2023-12-06T20:47:52.358Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-06T20:47:52.358Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-06T20:47:52.358Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-06T20:47:52.358Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.2s [2023-12-06T20:47:52.358Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-06T20:47:52.358Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-06T20:47:52.358Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.47MB / 63.99MB 0.3s [2023-12-06T20:47:52.358Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-06T20:47:52.358Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-06T20:47:52.358Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s [2023-12-06T20:47:52.629Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s [2023-12-06T20:47:52.629Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.60MB / 97.63MB 0.5s [2023-12-06T20:47:52.629Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s [2023-12-06T20:47:52.629Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done [2023-12-06T20:47:52.629Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.6s [2023-12-06T20:47:52.898Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s [2023-12-06T20:47:52.898Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.7s [2023-12-06T20:47:52.898Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.7s [2023-12-06T20:47:52.898Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.61MB / 63.99MB 0.8s [2023-12-06T20:47:52.898Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 0.8s [2023-12-06T20:47:52.898Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.8s done [2023-12-06T20:47:52.898Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-06T20:47:53.175Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.0s [2023-12-06T20:47:53.175Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.26MB / 97.63MB 1.0s [2023-12-06T20:47:53.175Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 1.1s [2023-12-06T20:47:53.175Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.40MB / 97.63MB 1.1s [2023-12-06T20:47:53.175Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-06T20:47:53.175Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.54MB / 63.99MB 1.2s [2023-12-06T20:47:53.447Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.3s [2023-12-06T20:47:53.447Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.3s [2023-12-06T20:47:53.718Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.5s [2023-12-06T20:47:53.718Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.48MB / 97.63MB 1.5s [2023-12-06T20:47:53.718Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s [2023-12-06T20:47:53.718Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.7s [2023-12-06T20:47:53.987Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done [2023-12-06T20:47:53.987Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-06T20:47:53.987Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.9s [2023-12-06T20:47:54.255Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.69MB / 97.63MB 2.1s [2023-12-06T20:47:54.255Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.3s [2023-12-06T20:47:54.526Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 2.4s [2023-12-06T20:47:54.794Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s [2023-12-06T20:47:55.381Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.3s done [2023-12-06T20:47:59.670Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.4s [2023-12-06T20:48:05.028Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s [2023-12-06T20:48:11.688Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.7s done [2023-12-06T20:48:12.273Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-06T20:48:12.273Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-06T20:48:12.273Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-06T20:48:17.609Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-06T20:48:20.952Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done [2023-12-06T20:48:20.952Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-06T20:48:23.550Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done [2023-12-06T20:48:23.550Z] #4 DONE 31.3s [2023-12-06T20:48:23.550Z] [2023-12-06T20:48:23.550Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-06T20:48:24.137Z] #6 0.786 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T20:48:24.723Z] #6 1.215 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T20:48:25.706Z] #6 2.365 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-06T20:48:25.706Z] #6 2.390 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-06T20:48:25.706Z] #6 2.402 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-06T20:48:25.706Z] #6 2.473 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-06T20:48:25.706Z] #6 2.502 Executing busybox-1.36.1-r5.trigger [2023-12-06T20:48:25.993Z] #6 2.542 OK: 271 MiB in 56 packages [2023-12-06T20:48:27.972Z] #6 DONE 4.7s [2023-12-06T20:48:27.972Z] [2023-12-06T20:48:27.972Z] #7 [builder 3/7] WORKDIR /device-rest-go [2023-12-06T20:48:28.240Z] #7 DONE 0.2s [2023-12-06T20:48:28.240Z] [2023-12-06T20:48:28.240Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T20:48:28.508Z] #8 DONE 0.1s [2023-12-06T20:48:28.508Z] [2023-12-06T20:48:28.508Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:48:55.224Z] #9 DONE 23.9s [2023-12-06T20:48:55.224Z] [2023-12-06T20:48:55.224Z] #10 [builder 6/7] COPY . . [2023-12-06T20:48:55.224Z] #10 DONE 0.2s [2023-12-06T20:48:55.224Z] [2023-12-06T20:48:55.224Z] #11 [builder 7/7] RUN echo noop [2023-12-06T20:48:55.224Z] #11 0.693 noop [2023-12-06T20:48:55.224Z] #11 DONE 0.8s [2023-12-06T20:48:55.224Z] [2023-12-06T20:48:55.224Z] #12 exporting to image [2023-12-06T20:48:55.224Z] #12 exporting layers [2023-12-06T20:49:17.286Z] #12 exporting layers 22.6s done [2023-12-06T20:49:17.286Z] #12 writing image sha256:7448bef0b19176bea3268c25c857cf179b7c13e31b42b7fe51414ea8a073325d done [2023-12-06T20:49:17.286Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2023-12-06T20:49:17.286Z] #12 DONE 22.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:49:17.747Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T20:49:17.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:49:17.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-24597 does not seem to be running inside a container [2023-12-06T20:49:18.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/156 -v /w/workspace/device-rest-go/156:/w/workspace/device-rest-go/156:rw,z -v /w/workspace/device-rest-go/156@tmp:/w/workspace/device-rest-go/156@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 [2023-12-06T20:49:19.185Z] $ docker top 7ae62271990c18457a9747fe38c6a2a9519f7a004446b6fb6bb5f23b9fbfa5bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:49:19.724Z] + go version [2023-12-06T20:49:19.994Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-06T20:49:20.013Z] $ docker stop --time=1 7ae62271990c18457a9747fe38c6a2a9519f7a004446b6fb6bb5f23b9fbfa5bd [2023-12-06T20:49:21.545Z] $ docker rm -f --volumes 7ae62271990c18457a9747fe38c6a2a9519f7a004446b6fb6bb5f23b9fbfa5bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:49:22.388Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T20:49:22.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:49:22.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-24597 does not seem to be running inside a container [2023-12-06T20:49:22.689Z] $ 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/156 -v /w/workspace/device-rest-go/156:/w/workspace/device-rest-go/156:rw,z -v /w/workspace/device-rest-go/156@tmp:/w/workspace/device-rest-go/156@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 [2023-12-06T20:49:23.669Z] $ docker top dee3aa92bcd078caeb8ec1789db3c1871b679776a3bcdf230bbaf413c3e77451 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:49:24.206Z] + git config --global --add safe.directory /w/workspace/device-rest-go/156 [Pipeline] fileExists [Pipeline] sh [2023-12-06T20:49:24.579Z] + make test [2023-12-06T20:49:24.579Z] go test ./... -coverprofile=coverage.out ./... [2023-12-06T20:49:28.835Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-12-06T20:50:36.727Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-12-06T20:50:36.727Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 33.2% of statements [2023-12-06T20:50:36.727Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-06T20:50:36.727Z] go vet ./... [2023-12-06T20:50:49.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T20:50:49.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T20:50:49.068Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T20:50:49.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T20:50:49.138Z] $ docker stop --time=1 dee3aa92bcd078caeb8ec1789db3c1871b679776a3bcdf230bbaf413c3e77451 [2023-12-06T20:50:51.067Z] $ docker rm -f --volumes dee3aa92bcd078caeb8ec1789db3c1871b679776a3bcdf230bbaf413c3e77451 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:50:52.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T20:50:52.522Z] Warning: overwriting stash ‘coverage-report’ [2023-12-06T20:50:53.113Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T20:50:53.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T20:50:54.060Z] + ls -al . [2023-12-06T20:50:54.061Z] total 176 [2023-12-06T20:50:54.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:49 . [2023-12-06T20:50:54.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:47 .. [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 6 20:47 .dockerignore [2023-12-06T20:50:54.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:47 .git [2023-12-06T20:50:54.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:47 .github [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 6 20:47 .gitignore [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:47 .golangci.yml [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 10300 Dec 6 20:47 Attribution.txt [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 17685 Dec 6 20:47 CHANGELOG.md [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 1687 Dec 6 20:47 Dockerfile [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:47 GOVERNANCE.md [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 6 20:47 Jenkinsfile [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:47 LICENSE [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 2016 Dec 6 20:47 Makefile [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 6 20:47 OWNERS.md [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 3989 Dec 6 20:47 README.md [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:44 VERSION [2023-12-06T20:50:54.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:47 bin [2023-12-06T20:50:54.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:47 cmd [2023-12-06T20:50:54.061Z] -rw-r--r-- 1 jenkins jenkins 14499 Dec 6 20:50 coverage.out [2023-12-06T20:50:54.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:47 driver [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 3886 Dec 6 20:47 go.mod [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 6 20:47 go.sum [2023-12-06T20:50:54.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:47 openapi [2023-12-06T20:50:54.061Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 6 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:50:54.502Z] + 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=e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c --label arch=arm64 --label version=3.2.0-dev.4 . [2023-12-06T20:50:55.476Z] #0 building with "default" instance using docker driver [2023-12-06T20:50:55.476Z] [2023-12-06T20:50:55.476Z] #1 [internal] load .dockerignore [2023-12-06T20:50:55.476Z] #1 transferring context: 193B 0.0s done [2023-12-06T20:50:55.476Z] #1 DONE 0.0s [2023-12-06T20:50:55.476Z] [2023-12-06T20:50:55.476Z] #2 [internal] load build definition from Dockerfile [2023-12-06T20:50:55.476Z] #2 transferring dockerfile: 1.73kB 0.0s done [2023-12-06T20:50:55.476Z] #2 DONE 0.1s [2023-12-06T20:50:55.476Z] [2023-12-06T20:50:55.476Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-06T20:50:55.476Z] #3 DONE 0.0s [2023-12-06T20:50:55.476Z] [2023-12-06T20:50:55.476Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-06T20:50:55.844Z] #4 DONE 0.3s [2023-12-06T20:50:55.844Z] [2023-12-06T20:50:55.844Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T20:50:55.844Z] #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-06T20:50:55.844Z] #5 ... [2023-12-06T20:50:55.844Z] [2023-12-06T20:50:55.844Z] #6 [internal] load build context [2023-12-06T20:50:55.844Z] #6 transferring context: 16.04kB 0.0s done [2023-12-06T20:50:55.844Z] #6 DONE 0.1s [2023-12-06T20:50:55.844Z] [2023-12-06T20:50:55.844Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T20:50:55.844Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.29MB / 3.33MB 0.1s [2023-12-06T20:50:55.844Z] #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-06T20:50:55.844Z] #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-06T20:50:55.844Z] #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-06T20:50:56.124Z] #5 ... [2023-12-06T20:50:56.124Z] [2023-12-06T20:50:56.124Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-06T20:50:56.124Z] #7 DONE 0.3s [2023-12-06T20:50:56.124Z] [2023-12-06T20:50:56.124Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T20:50:56.124Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-06T20:50:56.124Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-06T20:50:56.728Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-06T20:50:57.004Z] #5 DONE 1.1s [2023-12-06T20:50:57.004Z] [2023-12-06T20:50:57.004Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-06T20:50:57.601Z] #8 0.776 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T20:50:57.947Z] #8 1.138 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T20:50:58.949Z] #8 ... [2023-12-06T20:50:58.949Z] [2023-12-06T20:50:58.949Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-06T20:50:58.949Z] #9 0.802 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T20:50:58.949Z] #9 1.287 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T20:50:58.949Z] #9 2.618 OK: 271 MiB in 56 packages [2023-12-06T20:50:58.949Z] #9 DONE 3.0s [2023-12-06T20:50:59.224Z] [2023-12-06T20:50:59.224Z] #10 [builder 3/7] WORKDIR /device-rest-go [2023-12-06T20:50:59.224Z] #10 DONE 0.1s [2023-12-06T20:50:59.224Z] [2023-12-06T20:50:59.224Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T20:50:59.224Z] #11 DONE 0.2s [2023-12-06T20:50:59.224Z] [2023-12-06T20:50:59.224Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:50:59.904Z] #12 ... [2023-12-06T20:50:59.904Z] [2023-12-06T20:50:59.904Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-06T20:50:59.904Z] #8 2.651 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T20:50:59.904Z] #8 2.665 Executing busybox-1.36.1-r5.trigger [2023-12-06T20:50:59.904Z] #8 2.699 OK: 8 MiB in 16 packages [2023-12-06T20:50:59.904Z] #8 DONE 3.1s [2023-12-06T20:50:59.904Z] [2023-12-06T20:50:59.904Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-06T20:51:00.891Z] #13 0.876 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T20:51:00.891Z] #13 ... [2023-12-06T20:51:00.891Z] [2023-12-06T20:51:00.891Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T20:51:00.891Z] #12 DONE 1.6s [2023-12-06T20:51:00.891Z] [2023-12-06T20:51:00.891Z] #14 [builder 6/7] COPY . . [2023-12-06T20:51:00.891Z] #14 DONE 0.1s [2023-12-06T20:51:00.891Z] [2023-12-06T20:51:00.891Z] #15 [builder 7/7] RUN make build [2023-12-06T20:51:01.855Z] #15 0.766 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-12-06T20:51:06.116Z] #15 ... [2023-12-06T20:51:06.116Z] [2023-12-06T20:51:06.116Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-06T20:51:06.117Z] #13 1.297 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T20:51:06.117Z] #13 2.557 OK: 8 MiB in 16 packages [2023-12-06T20:51:06.117Z] #13 DONE 5.9s [2023-12-06T20:51:06.117Z] [2023-12-06T20:51:06.117Z] #15 [builder 7/7] RUN make build [2023-12-06T20:52:42.807Z] #15 DONE 91.3s [2023-12-06T20:52:42.807Z] [2023-12-06T20:52:42.807Z] #16 [stage-1 4/6] COPY --from=builder /device-rest-go/cmd / [2023-12-06T20:52:42.807Z] #16 DONE 0.3s [2023-12-06T20:52:42.807Z] [2023-12-06T20:52:42.807Z] #17 [stage-1 5/6] COPY --from=builder /device-rest-go/LICENSE / [2023-12-06T20:52:42.807Z] #17 DONE 0.1s [2023-12-06T20:52:42.807Z] [2023-12-06T20:52:42.807Z] #18 [stage-1 6/6] COPY --from=builder /device-rest-go/Attribution.txt / [2023-12-06T20:52:42.807Z] #18 DONE 0.1s [2023-12-06T20:52:42.807Z] [2023-12-06T20:52:42.807Z] #19 exporting to image [2023-12-06T20:52:42.807Z] #19 exporting layers [2023-12-06T20:52:42.807Z] #19 exporting layers 0.3s done [2023-12-06T20:52:42.807Z] #19 writing image sha256:23cbf829b54654bfa50b6375d2d3cf5ec9d9754504b590ccf131ba2e5047d0bd done [2023-12-06T20:52:42.807Z] #19 naming to docker.io/library/device-rest-arm64 0.0s done [2023-12-06T20:52:42.807Z] #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 [2023-12-06T20:52:43.264Z] provisioning config files... [2023-12-06T20:52:43.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/156@tmp/config1794863949209766675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:52:43.688Z] ---> ****-login.sh [2023-12-06T20:52:43.688Z] nexus3.edgexfoundry.org:10001 [2023-12-06T20:52:43.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:52:43.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:52:43.959Z] Configure a credential helper to remove this warning. See [2023-12-06T20:52:43.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:52:43.959Z] [2023-12-06T20:52:43.959Z] Login Succeeded [2023-12-06T20:52:43.959Z] nexus3.edgexfoundry.org:10002 [2023-12-06T20:52:44.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:52:44.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:52:44.229Z] Configure a credential helper to remove this warning. See [2023-12-06T20:52:44.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:52:44.229Z] [2023-12-06T20:52:44.229Z] Login Succeeded [2023-12-06T20:52:44.229Z] nexus3.edgexfoundry.org:10003 [2023-12-06T20:52:44.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:52:44.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:52:44.781Z] Configure a credential helper to remove this warning. See [2023-12-06T20:52:44.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:52:44.781Z] [2023-12-06T20:52:44.781Z] Login Succeeded [2023-12-06T20:52:44.781Z] nexus3.edgexfoundry.org:10004 [2023-12-06T20:52:44.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:52:45.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:52:45.051Z] Configure a credential helper to remove this warning. See [2023-12-06T20:52:45.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:52:45.051Z] [2023-12-06T20:52:45.051Z] Login Succeeded [2023-12-06T20:52:45.051Z] ****.io [2023-12-06T20:52:45.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T20:52:45.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T20:52:45.585Z] Configure a credential helper to remove this warning. See [2023-12-06T20:52:45.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T20:52:45.585Z] [2023-12-06T20:52:45.585Z] Login Succeeded [2023-12-06T20:52:45.585Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T20:52:45.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:52:45.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T20:52:45.857Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-12-06T20:52:45.857Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:52:45.857Z] latest [2023-12-06T20:52:45.857Z] 3.2.0-dev.4 [2023-12-06T20:52:45.857Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:52:45.857Z] main [2023-12-06T20:52:45.857Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:46.416Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:46.893Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:52:46.893Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T20:52:46.893Z] b536215b8aee: Preparing [2023-12-06T20:52:46.893Z] 351383e6f01f: Preparing [2023-12-06T20:52:46.893Z] 2225445bab8b: Preparing [2023-12-06T20:52:46.893Z] d6b35cd80758: Preparing [2023-12-06T20:52:46.893Z] 81e91931fd5e: Preparing [2023-12-06T20:52:46.893Z] 0faf9b67be60: Preparing [2023-12-06T20:52:46.893Z] 0faf9b67be60: Waiting [2023-12-06T20:52:47.161Z] 351383e6f01f: Pushed [2023-12-06T20:52:47.161Z] d6b35cd80758: Pushed [2023-12-06T20:52:47.161Z] 81e91931fd5e: Pushed [2023-12-06T20:52:47.161Z] b536215b8aee: Pushed [2023-12-06T20:52:47.161Z] 0faf9b67be60: Layer already exists [2023-12-06T20:52:51.422Z] 2225445bab8b: Pushed [2023-12-06T20:52:51.692Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c: digest: sha256:1fb35ef6faa8f56d01c12088b5423c1a581e1aca2a9e1b4eeb93e22a0681d6e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:52.168Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:52.635Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-06T20:52:52.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T20:52:52.635Z] b536215b8aee: Preparing [2023-12-06T20:52:52.635Z] 351383e6f01f: Preparing [2023-12-06T20:52:52.635Z] 2225445bab8b: Preparing [2023-12-06T20:52:52.635Z] d6b35cd80758: Preparing [2023-12-06T20:52:52.635Z] 81e91931fd5e: Preparing [2023-12-06T20:52:52.635Z] 0faf9b67be60: Preparing [2023-12-06T20:52:52.635Z] 0faf9b67be60: Waiting [2023-12-06T20:52:52.635Z] d6b35cd80758: Layer already exists [2023-12-06T20:52:52.635Z] b536215b8aee: Layer already exists [2023-12-06T20:52:52.635Z] 81e91931fd5e: Layer already exists [2023-12-06T20:52:52.635Z] 351383e6f01f: Layer already exists [2023-12-06T20:52:52.635Z] 2225445bab8b: Layer already exists [2023-12-06T20:52:52.635Z] 0faf9b67be60: Layer already exists [2023-12-06T20:52:52.901Z] latest: digest: sha256:1fb35ef6faa8f56d01c12088b5423c1a581e1aca2a9e1b4eeb93e22a0681d6e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:53.382Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:53.857Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.4 [2023-12-06T20:52:53.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T20:52:53.857Z] b536215b8aee: Preparing [2023-12-06T20:52:53.857Z] 351383e6f01f: Preparing [2023-12-06T20:52:53.857Z] 2225445bab8b: Preparing [2023-12-06T20:52:53.857Z] d6b35cd80758: Preparing [2023-12-06T20:52:53.857Z] 81e91931fd5e: Preparing [2023-12-06T20:52:53.857Z] 0faf9b67be60: Preparing [2023-12-06T20:52:53.857Z] 0faf9b67be60: Waiting [2023-12-06T20:52:53.857Z] b536215b8aee: Layer already exists [2023-12-06T20:52:53.857Z] 2225445bab8b: Layer already exists [2023-12-06T20:52:53.857Z] 351383e6f01f: Layer already exists [2023-12-06T20:52:53.857Z] 81e91931fd5e: Layer already exists [2023-12-06T20:52:53.857Z] d6b35cd80758: Layer already exists [2023-12-06T20:52:53.857Z] 0faf9b67be60: Layer already exists [2023-12-06T20:52:54.123Z] 3.2.0-dev.4: digest: sha256:1fb35ef6faa8f56d01c12088b5423c1a581e1aca2a9e1b4eeb93e22a0681d6e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:54.597Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:55.063Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:52:55.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T20:52:55.064Z] b536215b8aee: Preparing [2023-12-06T20:52:55.064Z] 351383e6f01f: Preparing [2023-12-06T20:52:55.064Z] 2225445bab8b: Preparing [2023-12-06T20:52:55.064Z] d6b35cd80758: Preparing [2023-12-06T20:52:55.064Z] 81e91931fd5e: Preparing [2023-12-06T20:52:55.064Z] 0faf9b67be60: Preparing [2023-12-06T20:52:55.064Z] 0faf9b67be60: Waiting [2023-12-06T20:52:55.064Z] 2225445bab8b: Layer already exists [2023-12-06T20:52:55.064Z] d6b35cd80758: Layer already exists [2023-12-06T20:52:55.064Z] 351383e6f01f: Layer already exists [2023-12-06T20:52:55.064Z] 81e91931fd5e: Layer already exists [2023-12-06T20:52:55.064Z] b536215b8aee: Layer already exists [2023-12-06T20:52:55.064Z] 0faf9b67be60: Layer already exists [2023-12-06T20:52:55.330Z] e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4: digest: sha256:1fb35ef6faa8f56d01c12088b5423c1a581e1aca2a9e1b4eeb93e22a0681d6e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:55.806Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:56.284Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-12-06T20:52:56.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-12-06T20:52:56.284Z] b536215b8aee: Preparing [2023-12-06T20:52:56.284Z] 351383e6f01f: Preparing [2023-12-06T20:52:56.284Z] 2225445bab8b: Preparing [2023-12-06T20:52:56.284Z] d6b35cd80758: Preparing [2023-12-06T20:52:56.284Z] 81e91931fd5e: Preparing [2023-12-06T20:52:56.284Z] 0faf9b67be60: Preparing [2023-12-06T20:52:56.284Z] 0faf9b67be60: Waiting [2023-12-06T20:52:56.284Z] 351383e6f01f: Layer already exists [2023-12-06T20:52:56.284Z] 2225445bab8b: Layer already exists [2023-12-06T20:52:56.284Z] b536215b8aee: Layer already exists [2023-12-06T20:52:56.284Z] d6b35cd80758: Layer already exists [2023-12-06T20:52:56.284Z] 81e91931fd5e: Layer already exists [2023-12-06T20:52:56.284Z] 0faf9b67be60: Layer already exists [2023-12-06T20:52:56.549Z] main: digest: sha256:1fb35ef6faa8f56d01c12088b5423c1a581e1aca2a9e1b4eeb93e22a0681d6e7 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-12-06T20:52:56.888Z] ===================================================== [Pipeline] echo [2023-12-06T20:52:56.943Z] taggedImages: [2023-12-06T20:52:56.944Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [2023-12-06T20:52:56.944Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-12-06T20:52:56.944Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.4 [2023-12-06T20:52:56.944Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c-3.2.0-dev.4 [2023-12-06T20:52:56.944Z] - 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 [2023-12-06T20:52:57.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T20:52:57.587Z] [2023-12-06T20:52:57.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:52:57.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T20:53:02.204Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-06T20:53:02.205Z] 8998bd30e6a1: Pulling fs layer [2023-12-06T20:53:02.205Z] 04944245beec: Pulling fs layer [2023-12-06T20:53:02.205Z] 699f458cf7ca: Pulling fs layer [2023-12-06T20:53:02.205Z] 765212b225bb: Pulling fs layer [2023-12-06T20:53:02.205Z] f23df028b6ca: Pulling fs layer [2023-12-06T20:53:02.205Z] d65c8cfc05b1: Pulling fs layer [2023-12-06T20:53:02.205Z] 2437ff75d9bd: Pulling fs layer [2023-12-06T20:53:02.205Z] d65c8cfc05b1: Waiting [2023-12-06T20:53:02.205Z] 2437ff75d9bd: Waiting [2023-12-06T20:53:02.205Z] f23df028b6ca: Waiting [2023-12-06T20:53:02.205Z] 765212b225bb: Waiting [2023-12-06T20:53:02.205Z] 04944245beec: Verifying Checksum [2023-12-06T20:53:02.205Z] 04944245beec: Download complete [2023-12-06T20:53:02.205Z] 765212b225bb: Download complete [2023-12-06T20:53:02.205Z] f23df028b6ca: Verifying Checksum [2023-12-06T20:53:02.205Z] f23df028b6ca: Download complete [2023-12-06T20:53:02.205Z] d65c8cfc05b1: Download complete [2023-12-06T20:53:02.205Z] 699f458cf7ca: Verifying Checksum [2023-12-06T20:53:02.205Z] 699f458cf7ca: Download complete [2023-12-06T20:53:02.481Z] 8998bd30e6a1: Verifying Checksum [2023-12-06T20:53:02.481Z] 8998bd30e6a1: Download complete [2023-12-06T20:53:04.427Z] 2437ff75d9bd: Verifying Checksum [2023-12-06T20:53:04.427Z] 2437ff75d9bd: Download complete [2023-12-06T20:53:08.693Z] 8998bd30e6a1: Pull complete [2023-12-06T20:53:09.280Z] 04944245beec: Pull complete [2023-12-06T20:53:11.230Z] 699f458cf7ca: Pull complete [2023-12-06T20:53:11.230Z] 765212b225bb: Pull complete [2023-12-06T20:53:11.815Z] f23df028b6ca: Pull complete [2023-12-06T20:53:12.083Z] d65c8cfc05b1: Pull complete [2023-12-06T20:53:38.756Z] 2437ff75d9bd: Pull complete [2023-12-06T20:53:38.756Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-06T20:53:38.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T20:53:38.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:53:39.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-24597 does not seem to be running inside a container [2023-12-06T20:53:39.169Z] $ 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/156 -v /w/workspace/device-rest-go/156:/w/workspace/device-rest-go/156:rw,z -v /w/workspace/device-rest-go/156@tmp:/w/workspace/device-rest-go/156@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 [2023-12-06T20:53:41.350Z] $ docker top 154345efaf4295114ad4c7e8c5a657e31f656752ea08e667b78dcaf6e8434e0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:53:41.924Z] ---> job-cost.sh [2023-12-06T20:53:42.190Z] lf-activate-venv: SKIPPING [2023-12-06T20:53:42.190Z] INFO: No Stack... [2023-12-06T20:53:42.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T20:53:43.414Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T20:53:43.726Z] + cat /w/workspace/device-rest-go/156/archives/cost.csv [2023-12-06T20:53:43.726Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T20:53:43.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [2023-12-06T20:53:43.789Z] Resource [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] did not exist. Created. [2023-12-06T20:53:43.789Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T20:53:44.221Z] /w/workspace/device-rest-go/156@tmp/durable-541ad88f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-06T20:53:44.541Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T20:53:44.557Z] Warning: overwriting stash ‘stack-cost’ [2023-12-06T20:53:44.602Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T20:53:44.628Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T20:53:44.735Z] $ docker stop --time=1 154345efaf4295114ad4c7e8c5a657e31f656752ea08e667b78dcaf6e8434e0e [2023-12-06T20:53:46.100Z] $ docker rm -f --volumes 154345efaf4295114ad4c7e8c5a657e31f656752ea08e667b78dcaf6e8434e0e [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 [2023-12-06T20:53:47.373Z] provisioning config files... [2023-12-06T20:53:47.381Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5039797463402808420tmp [Pipeline] { [Pipeline] sh [2023-12-06T20:53:47.762Z] + set +x [2023-12-06T20:53:47.762Z] + curl -s https://codecov.io/bash [2023-12-06T20:53:47.762Z] + bash -s -- [2023-12-06T20:53:47.762Z] [2023-12-06T20:53:47.762Z] _____ _ [2023-12-06T20:53:47.762Z] / ____| | | [2023-12-06T20:53:47.762Z] | | ___ __| | ___ ___ _____ __ [2023-12-06T20:53:47.762Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-06T20:53:47.762Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-06T20:53:47.762Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-06T20:53:47.762Z] Bash-1.0.6 [2023-12-06T20:53:47.762Z] [2023-12-06T20:53:47.762Z] [2023-12-06T20:53:47.762Z] ==> git version 2.25.1 found [2023-12-06T20:53:47.763Z] ==> 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 [2023-12-06T20:53:47.763Z] Release-Date: 2020-01-08 [2023-12-06T20:53:47.763Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-06T20:53:47.763Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-06T20:53:47.763Z] ==> Jenkins CI detected. [2023-12-06T20:53:47.763Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-12-06T20:53:47.763Z] project root: . [2023-12-06T20:53:47.763Z] --> token set from env [2023-12-06T20:53:47.763Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-06T20:53:47.763Z] ==> Running gcov in . (disable via -X gcov) [2023-12-06T20:53:47.763Z] ==> Python coveragepy not found [2023-12-06T20:53:47.763Z] ==> Searching for coverage reports in: [2023-12-06T20:53:47.763Z] + . [2023-12-06T20:53:47.763Z] -> Found 1 reports [2023-12-06T20:53:47.763Z] ==> Detecting git/mercurial file structure [2023-12-06T20:53:47.763Z] ==> Reading reports [2023-12-06T20:53:47.763Z] + ./coverage.out bytes=14499 [2023-12-06T20:53:47.763Z] ==> Appending adjustments [2023-12-06T20:53:47.763Z] https://docs.codecov.io/docs/fixing-reports [2023-12-06T20:53:48.022Z] + Found adjustments [2023-12-06T20:53:48.022Z] ==> Gzipping contents [2023-12-06T20:53:48.022Z] 4.0K /tmp/codecov.51lN0Q.gz [2023-12-06T20:53:48.022Z] ==> Uploading reports [2023-12-06T20:53:48.022Z] url: https://codecov.io [2023-12-06T20:53:48.022Z] query: branch=main&commit=e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-06T20:53:48.022Z] -> Pinging Codecov [2023-12-06T20:53:48.022Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-12-06T20:53:48.022Z] -> Uploading to [2023-12-06T20:53:48.022Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-06/4E5D53B4F1F92C436F7061BF334D961C/e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c/dff3cee9-cc0f-4152-8138-c22ae0d15550.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T205347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=105bb805c948cfa84655e5f2d735a934ec6ff131bc90ced389d894b29aa84e8e [2023-12-06T20:53:48.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T20:53:48.022Z] Dload Upload Total Spent Left Speed [2023-12-06T20:53:48.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8564 --:--:-- --:--:-- --:--:-- 8564 [2023-12-06T20:53:48.280Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] } [2023-12-06T20:53:48.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-12-06T20:53:48.761Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-12-06T20:53:48.774Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:53:49.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T20:53:49.213Z] [2023-12-06T20:53:49.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:53:49.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T20:53:49.556Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-12-06T20:53:49.556Z] df9b9388f04a: Pulling fs layer [2023-12-06T20:53:49.556Z] 52dc419b0ee2: Pulling fs layer [2023-12-06T20:53:49.556Z] 25bc292e5bac: Pulling fs layer [2023-12-06T20:53:49.556Z] 114826534d7a: Pulling fs layer [2023-12-06T20:53:49.556Z] 4657fd5d0bcf: Pulling fs layer [2023-12-06T20:53:49.556Z] 6ad1cebc031e: Pulling fs layer [2023-12-06T20:53:49.557Z] 8a3aa393b2d8: Pulling fs layer [2023-12-06T20:53:49.557Z] 4657fd5d0bcf: Waiting [2023-12-06T20:53:49.557Z] 6ad1cebc031e: Waiting [2023-12-06T20:53:49.557Z] 8a3aa393b2d8: Waiting [2023-12-06T20:53:49.557Z] 114826534d7a: Waiting [2023-12-06T20:53:49.557Z] 25bc292e5bac: Verifying Checksum [2023-12-06T20:53:49.557Z] 25bc292e5bac: Download complete [2023-12-06T20:53:49.557Z] 52dc419b0ee2: Verifying Checksum [2023-12-06T20:53:49.557Z] 52dc419b0ee2: Download complete [2023-12-06T20:53:49.557Z] 4657fd5d0bcf: Verifying Checksum [2023-12-06T20:53:49.557Z] 4657fd5d0bcf: Download complete [2023-12-06T20:53:49.557Z] df9b9388f04a: Verifying Checksum [2023-12-06T20:53:49.815Z] df9b9388f04a: Pull complete [2023-12-06T20:53:49.815Z] 6ad1cebc031e: Verifying Checksum [2023-12-06T20:53:49.815Z] 6ad1cebc031e: Download complete [2023-12-06T20:53:49.815Z] 52dc419b0ee2: Pull complete [2023-12-06T20:53:50.073Z] 25bc292e5bac: Pull complete [2023-12-06T20:53:50.568Z] 114826534d7a: Verifying Checksum [2023-12-06T20:53:50.568Z] 114826534d7a: Download complete [2023-12-06T20:53:50.568Z] 8a3aa393b2d8: Verifying Checksum [2023-12-06T20:53:50.568Z] 8a3aa393b2d8: Download complete [2023-12-06T20:53:53.847Z] 114826534d7a: Pull complete [2023-12-06T20:53:53.847Z] 4657fd5d0bcf: Pull complete [2023-12-06T20:53:54.105Z] 6ad1cebc031e: Pull complete [2023-12-06T20:53:56.629Z] 8a3aa393b2d8: Pull complete [2023-12-06T20:53:56.629Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-12-06T20:53:56.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-12-06T20:53:56.629Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:53:56.892Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:53:56.917Z] $ 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 [2023-12-06T20:54:02.347Z] $ docker top 5a7fce4ad5b7a303649d50a73941ee9f02fc4e73d52425c68ca46c88417e50c1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-12-06T20:54:02.513Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-12-06T20:54:02.790Z] + set -o pipefail [2023-12-06T20:54:02.790Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-12-06T20:54:08.058Z] [2023-12-06T20:54:08.058Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-12-06T20:54:08.058Z] [2023-12-06T20:54:08.058Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/198e98a8-492f-4abc-9661-c18bb0a35e8b [2023-12-06T20:54:08.058Z] [2023-12-06T20:54:08.058Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-12-06T20:54:08.058Z] [2023-12-06T20:54:08.058Z] [2023-12-06T20:54:08.058Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-12-06T20:54:08.058Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-12-06T20:54:08.058Z] More details here: https://snyk.co/ue1NS [2023-12-06T20:54:08.058Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-12-06T20:54:08.058Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-12-06T20:54:08.064Z] $ docker stop --time=1 5a7fce4ad5b7a303649d50a73941ee9f02fc4e73d52425c68ca46c88417e50c1 [2023-12-06T20:54:13.841Z] $ docker rm -f --volumes 5a7fce4ad5b7a303649d50a73941ee9f02fc4e73d52425c68ca46c88417e50c1 [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 [2023-12-06T20:54:15.326Z] + git log --format=format:%s -1 e8801d5f3cf8faa02e7ac3ec7c6c286ffbcb414c [Pipeline] sh [2023-12-06T20:54:15.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T20:54:15.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:15.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:54:15.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:54:16.127Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:54:16.154Z] $ 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 [2023-12-06T20:54:16.627Z] $ docker top ae3873e56607a423c76d9438d13da57dbd8266cab01072576782176e1b752e8f -eo pid,comm [2023-12-06T20:54:16.676Z] 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). [2023-12-06T20:54:16.676Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T20:54:16.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:54:16.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:54:17.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:54:17.027Z] $ docker exec ae3873e56607a423c76d9438d13da57dbd8266cab01072576782176e1b752e8f ssh-agent [2023-12-06T20:54:17.149Z] SSH_AUTH_SOCK=/tmp/ssh-ZpUhRUXr8nLZ/agent.32 [2023-12-06T20:54:17.149Z] SSH_AGENT_PID=38 [2023-12-06T20:54:17.155Z] Running ssh-add (command line suppressed) [2023-12-06T20:54:17.256Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13306308110705763831.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13306308110705763831.key) [2023-12-06T20:54:17.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:54:17.625Z] + git semver tag [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,800 [run_tag] DEBUG tag force:False [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,800 [check_head_tag] DEBUG check head tag [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,801 [execute] INFO git cat-file --batch-check [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,806 [execute] INFO git cat-file --batch [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,822 [execute] INFO git tag -a v3.2.0-dev.4 -m v3.2.0-dev.4 [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,822 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.4', '-m', 'v3.2.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-12-06T20:54:17.885Z] 2023-12-06 20:54:17,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:17.885Z] 3.2.0-dev.4 [Pipeline] } [2023-12-06T20:54:17.889Z] $ docker exec --env ******** --env ******** ae3873e56607a423c76d9438d13da57dbd8266cab01072576782176e1b752e8f ssh-agent -k [2023-12-06T20:54:17.983Z] unset SSH_AUTH_SOCK; [2023-12-06T20:54:17.983Z] unset SSH_AGENT_PID; [2023-12-06T20:54:17.983Z] echo Agent pid 38 killed; [2023-12-06T20:54:17.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T20:54:18.504Z] + git semver [Pipeline] } [2023-12-06T20:54:18.773Z] $ docker stop --time=1 ae3873e56607a423c76d9438d13da57dbd8266cab01072576782176e1b752e8f [2023-12-06T20:54:20.053Z] $ docker rm -f --volumes ae3873e56607a423c76d9438d13da57dbd8266cab01072576782176e1b752e8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:20.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T20:54:20.706Z] [2023-12-06T20:54:20.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:21.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T20:54:21.056Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-12-06T20:54:21.056Z] ab5ef0e58194: Pulling fs layer [2023-12-06T20:54:21.056Z] 9712f1f96733: Pulling fs layer [2023-12-06T20:54:21.056Z] 63f879dbbcfc: Pulling fs layer [2023-12-06T20:54:21.056Z] 0d9ebad4ef96: Pulling fs layer [2023-12-06T20:54:21.056Z] e9a5061849ea: Pulling fs layer [2023-12-06T20:54:21.056Z] d747dcd14b5f: Pulling fs layer [2023-12-06T20:54:21.056Z] 2de7ff778b66: Pulling fs layer [2023-12-06T20:54:21.056Z] 0d9ebad4ef96: Waiting [2023-12-06T20:54:21.056Z] e9a5061849ea: Waiting [2023-12-06T20:54:21.056Z] 2de7ff778b66: Waiting [2023-12-06T20:54:21.056Z] d747dcd14b5f: Waiting [2023-12-06T20:54:21.056Z] 9712f1f96733: Verifying Checksum [2023-12-06T20:54:21.056Z] 9712f1f96733: Download complete [2023-12-06T20:54:21.314Z] 63f879dbbcfc: Verifying Checksum [2023-12-06T20:54:21.314Z] 63f879dbbcfc: Download complete [2023-12-06T20:54:21.572Z] e9a5061849ea: Verifying Checksum [2023-12-06T20:54:21.572Z] e9a5061849ea: Download complete [2023-12-06T20:54:21.572Z] 0d9ebad4ef96: Verifying Checksum [2023-12-06T20:54:21.572Z] 0d9ebad4ef96: Download complete [2023-12-06T20:54:21.572Z] d747dcd14b5f: Verifying Checksum [2023-12-06T20:54:21.572Z] d747dcd14b5f: Download complete [2023-12-06T20:54:21.572Z] ab5ef0e58194: Verifying Checksum [2023-12-06T20:54:21.572Z] ab5ef0e58194: Download complete [2023-12-06T20:54:21.572Z] 2de7ff778b66: Verifying Checksum [2023-12-06T20:54:21.572Z] 2de7ff778b66: Download complete [2023-12-06T20:54:24.099Z] ab5ef0e58194: Pull complete [2023-12-06T20:54:24.358Z] 9712f1f96733: Pull complete [2023-12-06T20:54:24.922Z] 63f879dbbcfc: Pull complete [2023-12-06T20:54:29.106Z] 0d9ebad4ef96: Pull complete [2023-12-06T20:54:29.106Z] e9a5061849ea: Pull complete [2023-12-06T20:54:29.106Z] d747dcd14b5f: Pull complete [2023-12-06T20:54:30.037Z] 2de7ff778b66: Pull complete [2023-12-06T20:54:30.037Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-12-06T20:54:30.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-12-06T20:54:30.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:54:30.329Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:54:30.352Z] $ 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 [2023-12-06T20:54:38.399Z] $ docker top cb88d493caa5a52a6d64c05077dc3f799bd7c6f57f967d52c384c30c2a106015 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:54:38.578Z] provisioning config files... [2023-12-06T20:54:38.585Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config383595855704250367tmp [2023-12-06T20:54:38.595Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15241434754501006252tmp [2023-12-06T20:54:38.605Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1661260306884454113tmp [Pipeline] { [Pipeline] echo [2023-12-06T20:54:38.700Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:54:38.991Z] ---> sigul-configuration.sh [2023-12-06T20:54:38.991Z] gpg: directory `/root/.gnupg' created [2023-12-06T20:54:38.991Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-12-06T20:54:38.991Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-12-06T20:54:38.991Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-12-06T20:54:38.991Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-12-06T20:54:38.991Z] gpg: CAST5 encrypted data [2023-12-06T20:54:38.991Z] gpg: encrypted with 1 passphrase [2023-12-06T20:54:38.991Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-12-06T20:54:39.282Z] + mkdir /home/jenkins [2023-12-06T20:54:39.282Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-12-06T20:54:39.571Z] + 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 [2023-12-06T20:54:39.584Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:54:39.874Z] ---> sigul-install.sh [2023-12-06T20:54:39.874Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-12-06T20:54:40.170Z] + git tag --list [2023-12-06T20:54:40.170Z] v1.0.0 [2023-12-06T20:54:40.170Z] v1.1.0 [2023-12-06T20:54:40.170Z] v1.1.1 [2023-12-06T20:54:40.170Z] v1.1.2 [2023-12-06T20:54:40.170Z] v1.2.0 [2023-12-06T20:54:40.170Z] v1.2.1 [2023-12-06T20:54:40.170Z] v2.0.0 [2023-12-06T20:54:40.170Z] v2.1.0 [2023-12-06T20:54:40.170Z] v2.1.1 [2023-12-06T20:54:40.170Z] v2.2.0 [2023-12-06T20:54:40.170Z] v2.3.0 [2023-12-06T20:54:40.170Z] v3.0 [2023-12-06T20:54:40.170Z] v3.0.0 [2023-12-06T20:54:40.170Z] v3.1 [2023-12-06T20:54:40.170Z] v3.1.0 [2023-12-06T20:54:40.170Z] v3.1.0-dev.1 [2023-12-06T20:54:40.170Z] v3.1.0-dev.10 [2023-12-06T20:54:40.170Z] v3.1.0-dev.11 [2023-12-06T20:54:40.170Z] v3.1.0-dev.12 [2023-12-06T20:54:40.170Z] v3.1.0-dev.13 [2023-12-06T20:54:40.170Z] v3.1.0-dev.14 [2023-12-06T20:54:40.170Z] v3.1.0-dev.15 [2023-12-06T20:54:40.170Z] v3.1.0-dev.16 [2023-12-06T20:54:40.170Z] v3.1.0-dev.17 [2023-12-06T20:54:40.170Z] v3.1.0-dev.18 [2023-12-06T20:54:40.170Z] v3.1.0-dev.19 [2023-12-06T20:54:40.170Z] v3.1.0-dev.2 [2023-12-06T20:54:40.170Z] v3.1.0-dev.20 [2023-12-06T20:54:40.170Z] v3.1.0-dev.21 [2023-12-06T20:54:40.170Z] v3.1.0-dev.22 [2023-12-06T20:54:40.170Z] v3.1.0-dev.23 [2023-12-06T20:54:40.170Z] v3.1.0-dev.24 [2023-12-06T20:54:40.170Z] v3.1.0-dev.25 [2023-12-06T20:54:40.170Z] v3.1.0-dev.26 [2023-12-06T20:54:40.170Z] v3.1.0-dev.27 [2023-12-06T20:54:40.170Z] v3.1.0-dev.28 [2023-12-06T20:54:40.170Z] v3.1.0-dev.29 [2023-12-06T20:54:40.170Z] v3.1.0-dev.3 [2023-12-06T20:54:40.170Z] v3.1.0-dev.30 [2023-12-06T20:54:40.170Z] v3.1.0-dev.31 [2023-12-06T20:54:40.170Z] v3.1.0-dev.32 [2023-12-06T20:54:40.170Z] v3.1.0-dev.4 [2023-12-06T20:54:40.170Z] v3.1.0-dev.5 [2023-12-06T20:54:40.170Z] v3.1.0-dev.6 [2023-12-06T20:54:40.170Z] v3.1.0-dev.7 [2023-12-06T20:54:40.170Z] v3.1.0-dev.8 [2023-12-06T20:54:40.170Z] v3.1.0-dev.9 [2023-12-06T20:54:40.170Z] v3.2.0-dev.1 [2023-12-06T20:54:40.170Z] v3.2.0-dev.2 [2023-12-06T20:54:40.171Z] v3.2.0-dev.3 [2023-12-06T20:54:40.171Z] v3.2.0-dev.4 [Pipeline] sh [2023-12-06T20:54:40.465Z] + lftools sign git-tag v3.2.0-dev.4 [2023-12-06T20:54:41.034Z] Signing Git tag with Sigul... [2023-12-06T20:54:41.034Z] Signing v3.2.0-dev.4 [Pipeline] echo [2023-12-06T20:54:41.308Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:54:41.600Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-12-06T20:54:41.607Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-12-06T20:54:41.729Z] $ docker stop --time=1 cb88d493caa5a52a6d64c05077dc3f799bd7c6f57f967d52c384c30c2a106015 [2023-12-06T20:54:43.017Z] $ docker rm -f --volumes cb88d493caa5a52a6d64c05077dc3f799bd7c6f57f967d52c384c30c2a106015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-12-06T20:54:43.921Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T20:54:43.921Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:44.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:54:44.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:54:44.449Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:54:44.474Z] $ 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 [2023-12-06T20:54:45.265Z] $ docker top f206af6d73db6719a1721c865a04d7aec20dc9fa7f1a0ae07cd7c8d44d8a7b12 -eo pid,comm [2023-12-06T20:54:45.315Z] 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). [2023-12-06T20:54:45.315Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T20:54:45.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:54:45.521Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:54:45.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:54:45.630Z] $ docker exec f206af6d73db6719a1721c865a04d7aec20dc9fa7f1a0ae07cd7c8d44d8a7b12 ssh-agent [2023-12-06T20:54:45.733Z] SSH_AUTH_SOCK=/tmp/ssh-dD43DqDeVSTu/agent.32 [2023-12-06T20:54:45.733Z] SSH_AGENT_PID=38 [2023-12-06T20:54:45.737Z] Running ssh-add (command line suppressed) [2023-12-06T20:54:45.830Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1479517125079970173.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1479517125079970173.key) [2023-12-06T20:54:45.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:54:46.188Z] + git semver bump pre [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,351 [bump_version] DEBUG bumping version:3.2.0-dev.4 on axis:pre with prefix:dev [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,352 [bump_version] DEBUG bumped version:3.2.0-dev.5 [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,352 [write_version] DEBUG write version:3.2.0-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,352 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,353 [execute] INFO git cat-file --batch-check [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,359 [execute] INFO git cat-file --batch [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T20:54:46.447Z] 2023-12-06 20:54:46,363 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:46.447Z] 3.2.0-dev.5 [Pipeline] } [2023-12-06T20:54:46.453Z] $ docker exec --env ******** --env ******** f206af6d73db6719a1721c865a04d7aec20dc9fa7f1a0ae07cd7c8d44d8a7b12 ssh-agent -k [2023-12-06T20:54:46.543Z] unset SSH_AUTH_SOCK; [2023-12-06T20:54:46.543Z] unset SSH_AGENT_PID; [2023-12-06T20:54:46.543Z] echo Agent pid 38 killed; [2023-12-06T20:54:46.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T20:54:47.083Z] + git semver [Pipeline] } [2023-12-06T20:54:47.349Z] $ docker stop --time=1 f206af6d73db6719a1721c865a04d7aec20dc9fa7f1a0ae07cd7c8d44d8a7b12 [2023-12-06T20:54:48.619Z] $ docker rm -f --volumes f206af6d73db6719a1721c865a04d7aec20dc9fa7f1a0ae07cd7c8d44d8a7b12 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T20:54:49.244Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T20:54:49.244Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:49.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T20:54:49.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:54:49.829Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:54:49.858Z] $ 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 [2023-12-06T20:54:50.192Z] $ docker top 9c72e26767b9a98c12a4afb8f0188822a87667df1e2fd595465189c98aaac87d -eo pid,comm [2023-12-06T20:54:50.240Z] 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). [2023-12-06T20:54:50.240Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T20:54:50.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T20:54:50.456Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T20:54:50.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T20:54:50.562Z] $ docker exec 9c72e26767b9a98c12a4afb8f0188822a87667df1e2fd595465189c98aaac87d ssh-agent [2023-12-06T20:54:50.662Z] SSH_AUTH_SOCK=/tmp/ssh-Oh6dWSSIqVZE/agent.32 [2023-12-06T20:54:50.662Z] SSH_AGENT_PID=38 [2023-12-06T20:54:50.666Z] Running ssh-add (command line suppressed) [2023-12-06T20:54:50.751Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8429924540893151781.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8429924540893151781.key) [2023-12-06T20:54:50.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T20:54:51.105Z] + git semver push [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,270 [run_push] DEBUG push [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,270 [execute] INFO git cat-file --batch-check [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,274 [execute] INFO git rev-list 55ee06166030ffed157eb8fff9ff352f93d4791c -- [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,274 [execute] DEBUG Popen(['git', 'rev-list', '55ee06166030ffed157eb8fff9ff352f93d4791c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,283 [execute] INFO git fetch -v origin [2023-12-06T20:54:51.365Z] 2023-12-06 20:54:51,283 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-12-06T20:54:51.935Z] 2023-12-06 20:54:51,859 [run_push] DEBUG no remote changes detected [2023-12-06T20:54:51.935Z] 2023-12-06 20:54:51,859 [execute] INFO git push origin semver [2023-12-06T20:54:51.935Z] 2023-12-06 20:54:51,860 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-12-06T20:54:52.872Z] 2023-12-06 20:54:52,703 [run_push] DEBUG push all version tags [2023-12-06T20:54:52.872Z] 2023-12-06 20:54:52,704 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-12-06T20:54:52.872Z] 2023-12-06 20:54:52,704 [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) [2023-12-06T20:54:53.808Z] 2023-12-06 20:54:53,480 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-12-06T20:54:53.808Z] 3.2.0-dev.5 [Pipeline] } [2023-12-06T20:54:53.814Z] $ docker exec --env ******** --env ******** 9c72e26767b9a98c12a4afb8f0188822a87667df1e2fd595465189c98aaac87d ssh-agent -k [2023-12-06T20:54:53.904Z] unset SSH_AUTH_SOCK; [2023-12-06T20:54:53.905Z] unset SSH_AGENT_PID; [2023-12-06T20:54:53.905Z] echo Agent pid 38 killed; [2023-12-06T20:54:53.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T20:54:54.435Z] + git semver [Pipeline] } [2023-12-06T20:54:54.703Z] $ docker stop --time=1 9c72e26767b9a98c12a4afb8f0188822a87667df1e2fd595465189c98aaac87d [2023-12-06T20:54:55.992Z] $ docker rm -f --volumes 9c72e26767b9a98c12a4afb8f0188822a87667df1e2fd595465189c98aaac87d [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 [2023-12-06T20:54:57.490Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-12-06T20:54:57.490Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T20:54:57.490Z] total 16 [2023-12-06T20:54:57.490Z] drwxr-xr-x 3 root root 4096 Dec 6 20:47 . [2023-12-06T20:54:57.490Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 20:54 .. [2023-12-06T20:54:57.490Z] drwxr-xr-x 2 root root 4096 Dec 6 20:47 cost [2023-12-06T20:54:57.490Z] -rw-r--r-- 1 root root 86 Dec 6 20:47 cost.csv [2023-12-06T20:54:57.490Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T20:54:57.490Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-12-06T20:54:57.490Z] total 16 [2023-12-06T20:54:57.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:47 . [2023-12-06T20:54:57.490Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 20:54 .. [2023-12-06T20:54:57.490Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 20:47 cost [2023-12-06T20:54:57.490Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 6 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:54:57.779Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:54:58.634Z] ---> package-listing.sh [2023-12-06T20:54:58.634Z] ++ facter osfamily [2023-12-06T20:54:58.634Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-06T20:54:58.894Z] + OS_FAMILY=debian [2023-12-06T20:54:58.894Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-12-06T20:54:58.894Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-06T20:54:58.894Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-06T20:54:58.894Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-06T20:54:58.894Z] + PACKAGES=/tmp/packages_start.txt [2023-12-06T20:54:58.894Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-06T20:54:58.894Z] + PACKAGES=/tmp/packages_end.txt [2023-12-06T20:54:58.894Z] + case "${OS_FAMILY}" in [2023-12-06T20:54:58.894Z] + dpkg -l [2023-12-06T20:54:58.894Z] + grep '^ii' [2023-12-06T20:54:58.894Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-06T20:54:58.894Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-06T20:54:58.894Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-06T20:54:58.894Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-12-06T20:54:58.894Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-12-06T20:54:58.894Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-12-06T20:54:58.905Z] 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 [2023-12-06T20:54:59.182Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T20:54:59.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T20:54:59.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T20:54:59.975Z] prd-ubuntu20.04-docker-8c-8g-24593 does not seem to be running inside a container [2023-12-06T20:55:00.001Z] $ 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 [2023-12-06T20:55:00.270Z] $ docker top 7489ebd460a94d2d43dc6a31a861edfadc7e2780782c7e87965b102c2acb58d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T20:55:00.752Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-06T20:55:01.034Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-06T20:55:01.316Z] + ls /var/log/sa-host [2023-12-06T20:55:01.316Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T20:55:01.435Z] provisioning config files... [2023-12-06T20:55:01.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config388752442896155899tmp [Pipeline] { [Pipeline] echo [2023-12-06T20:55:01.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:55:01.855Z] ---> create-netrc.sh [Pipeline] } [2023-12-06T20:55:01.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:55:02.346Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-06T20:55:02.355Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:55:02.642Z] ---> sudo-logs.sh [2023-12-06T20:55:02.642Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-06T20:55:02.729Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:55:03.012Z] ---> job-cost.sh [2023-12-06T20:55:03.012Z] lf-activate-venv: SKIPPING [2023-12-06T20:55:03.012Z] DEBUG: total: 0.2199999988079071 [2023-12-06T20:55:03.012Z] INFO: Retrieving Stack Cost... [2023-12-06T20:55:03.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T20:55:03.840Z] INFO: Archiving Costs [Pipeline] echo [2023-12-06T20:55:03.851Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T20:55:04.134Z] ---> logs-deploy.sh [2023-12-06T20:55:04.134Z] lf-activate-venv: SKIPPING [2023-12-06T20:55:04.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/156 [2023-12-06T20:55:04.134Z] INFO: archiving workspace using pattern(s): [2023-12-06T20:55:05.069Z] Archives upload complete. [2023-12-06T20:55:05.069Z] INFO: archiving logs to Nexus