Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96614595ba73594199dee70385f2da41578defd7 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-ssh17300991929724997878.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-ssh5049027945849769703.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-ssh17705366558633351667.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-ssh12417396650078370581.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-ssh8102387188924935012.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9098 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 96614595ba73594199dee70385f2da41578defd7 (main) Commit message: "Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" > 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 96614595ba73594199dee70385f2da41578defd7 # timeout=10 > git rev-list --no-walk 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-29T03:46:47.512Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-29T03:46:47.589Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-29T03:46:47.619Z] ========================================================= [2023-11-29T03:46:47.619Z] EdgeX Global Pipelines Version Info [2023-11-29T03:46:47.619Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:46:48.343Z] ------------------- [2023-11-29T03:46:48.343Z] stable info: [2023-11-29T03:46:48.343Z] ------------------- [2023-11-29T03:46:48.343Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-29T03:46:48.343Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-29T03:46:48.343Z] Message: update stable to v1.0.258 [2023-11-29T03:46:48.918Z] ------------------- [2023-11-29T03:46:48.918Z] experimental info: [2023-11-29T03:46:48.918Z] ------------------- [2023-11-29T03:46:48.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-29T03:46:48.918Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-29T03:46:48.918Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-29T03:46:49.041Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-29T03:46:49.068Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-29T03:46:49.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-29T03:46:49.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-29T03:46:49.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-29T03:46:49.170Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-29T03:46:49.198Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-29T03:46:49.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-29T03:46:49.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-29T03:46:49.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-29T03:46:49.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-29T03:46:49.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-29T03:46:49.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-29T03:46:49.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-29T03:46:49.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-29T03:46:49.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-29T03:46:49.522Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-29T03:46:49.546Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-29T03:46:49.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-29T03:46:49.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-29T03:46:49.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-29T03:46:49.687Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-29T03:46:49.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-29T03:46:49.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-29T03:46:49.801Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-29T03:46:49.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-29T03:46:49.881Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-29T03:46:49.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-29T03:46:49.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-29T03:46:49.980Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-29T03:46:50.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo [2023-11-29T03:46:50.053Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9661459 [Pipeline] echo [2023-11-29T03:46:50.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T03:46:50.194Z] provisioning config files... [2023-11-29T03:46:50.208Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7112375351799671150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:46:50.544Z] ---> ****-login.sh [2023-11-29T03:46:50.544Z] nexus3.edgexfoundry.org:10001 [2023-11-29T03:46:50.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:46:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:46:51.063Z] Configure a credential helper to remove this warning. See [2023-11-29T03:46:51.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:46:51.063Z] [2023-11-29T03:46:51.063Z] Login Succeeded [2023-11-29T03:46:51.063Z] nexus3.edgexfoundry.org:10002 [2023-11-29T03:46:51.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:46:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:46:51.063Z] Configure a credential helper to remove this warning. See [2023-11-29T03:46:51.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:46:51.063Z] [2023-11-29T03:46:51.063Z] Login Succeeded [2023-11-29T03:46:51.063Z] nexus3.edgexfoundry.org:10003 [2023-11-29T03:46:51.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:46:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:46:51.063Z] Configure a credential helper to remove this warning. See [2023-11-29T03:46:51.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:46:51.063Z] [2023-11-29T03:46:51.063Z] Login Succeeded [2023-11-29T03:46:51.063Z] nexus3.edgexfoundry.org:10004 [2023-11-29T03:46:51.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:46:51.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:46:51.322Z] Configure a credential helper to remove this warning. See [2023-11-29T03:46:51.322Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:46:51.322Z] [2023-11-29T03:46:51.322Z] Login Succeeded [2023-11-29T03:46:51.322Z] ****.io [2023-11-29T03:46:51.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:46:51.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:46:51.582Z] Configure a credential helper to remove this warning. See [2023-11-29T03:46:51.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:46:51.582Z] [2023-11-29T03:46:51.582Z] Login Succeeded [2023-11-29T03:46:51.582Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T03:46:51.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-29T03:46:52.097Z] + git rev-list -1 --merges 96614595ba73594199dee70385f2da41578defd7~1..96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo [2023-11-29T03:46:52.127Z] -----------> git rev-list -1 --merges 96614595ba73594199dee70385f2da41578defd7~1..96614595ba73594199dee70385f2da41578defd7 96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:46:52.127Z] 96614595ba73594199dee70385f2da41578defd7 [false] [Pipeline] sh [2023-11-29T03:46:52.429Z] + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo [2023-11-29T03:46:52.442Z] ========================================================= [2023-11-29T03:46:52.442Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-29T03:46:52.442Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T03:46:52.813Z] + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo [2023-11-29T03:46:52.824Z] [semverPrep] GIT_COMMIT: 96614595ba73594199dee70385f2da41578defd7, Commit Message: Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0 [Pipeline] echo [2023-11-29T03:46:52.848Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-29T03:46:53.233Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-29T03:46:53.233Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-29T03:46:53.233Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-29T03:46:53.233Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-29T03:46:53.233Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-29T03:46:53.233Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-29T03:46:53.233Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:46:53.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T03:46:53.650Z] [2023-11-29T03:46:53.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:46:53.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T03:46:54.226Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-29T03:46:54.226Z] b85a868b505f: Pulling fs layer [2023-11-29T03:46:54.226Z] e2be974225ed: Pulling fs layer [2023-11-29T03:46:54.226Z] 339a4e72a1f5: Pulling fs layer [2023-11-29T03:46:54.226Z] 988bab9f4d93: Pulling fs layer [2023-11-29T03:46:54.226Z] 1469e6f7b9e6: Pulling fs layer [2023-11-29T03:46:54.226Z] eaf3925da568: Pulling fs layer [2023-11-29T03:46:54.226Z] bab4dde63d76: Pulling fs layer [2023-11-29T03:46:54.226Z] bde34c3a00c8: Pulling fs layer [2023-11-29T03:46:54.226Z] b352a97aabf1: Pulling fs layer [2023-11-29T03:46:54.226Z] 4872d77fe225: Pulling fs layer [2023-11-29T03:46:54.226Z] 5851b861e8e6: Pulling fs layer [2023-11-29T03:46:54.226Z] 988bab9f4d93: Waiting [2023-11-29T03:46:54.226Z] 1469e6f7b9e6: Waiting [2023-11-29T03:46:54.226Z] eaf3925da568: Waiting [2023-11-29T03:46:54.226Z] bab4dde63d76: Waiting [2023-11-29T03:46:54.226Z] bde34c3a00c8: Waiting [2023-11-29T03:46:54.226Z] b352a97aabf1: Waiting [2023-11-29T03:46:54.226Z] 4872d77fe225: Waiting [2023-11-29T03:46:54.226Z] 5851b861e8e6: Waiting [2023-11-29T03:46:54.226Z] e2be974225ed: Download complete [2023-11-29T03:46:54.226Z] 988bab9f4d93: Verifying Checksum [2023-11-29T03:46:54.226Z] 988bab9f4d93: Download complete [2023-11-29T03:46:54.488Z] 1469e6f7b9e6: Verifying Checksum [2023-11-29T03:46:54.488Z] 1469e6f7b9e6: Download complete [2023-11-29T03:46:54.488Z] eaf3925da568: Download complete [2023-11-29T03:46:54.488Z] 339a4e72a1f5: Verifying Checksum [2023-11-29T03:46:54.488Z] 339a4e72a1f5: Download complete [2023-11-29T03:46:54.488Z] bde34c3a00c8: Download complete [2023-11-29T03:46:54.488Z] b352a97aabf1: Download complete [2023-11-29T03:46:54.488Z] 4872d77fe225: Download complete [2023-11-29T03:46:54.488Z] 5851b861e8e6: Download complete [2023-11-29T03:46:54.488Z] b85a868b505f: Verifying Checksum [2023-11-29T03:46:54.488Z] b85a868b505f: Download complete [2023-11-29T03:46:54.747Z] bab4dde63d76: Verifying Checksum [2023-11-29T03:46:54.747Z] bab4dde63d76: Download complete [2023-11-29T03:46:55.681Z] b85a868b505f: Pull complete [2023-11-29T03:46:55.940Z] e2be974225ed: Pull complete [2023-11-29T03:46:56.199Z] 339a4e72a1f5: Pull complete [2023-11-29T03:46:56.199Z] 988bab9f4d93: Pull complete [2023-11-29T03:46:56.462Z] 1469e6f7b9e6: Pull complete [2023-11-29T03:46:56.723Z] eaf3925da568: Pull complete [2023-11-29T03:46:58.628Z] bab4dde63d76: Pull complete [2023-11-29T03:46:58.628Z] bde34c3a00c8: Pull complete [2023-11-29T03:46:58.628Z] b352a97aabf1: Pull complete [2023-11-29T03:46:58.628Z] 4872d77fe225: Pull complete [2023-11-29T03:46:59.197Z] 5851b861e8e6: Pull complete [2023-11-29T03:46:59.766Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-29T03:46:59.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T03:46:59.766Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:46:59.967Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:46:59.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-29T03:47:03.568Z] $ docker top 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 -eo pid,comm [2023-11-29T03:47:03.620Z] 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-11-29T03:47:03.620Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-29T03:47:03.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T03:47:03.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T03:47:03.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T03:47:03.815Z] $ docker exec 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent [2023-11-29T03:47:03.922Z] SSH_AUTH_SOCK=/tmp/ssh-JaCBUHXSbA2e/agent.32 [2023-11-29T03:47:03.922Z] SSH_AGENT_PID=38 [2023-11-29T03:47:03.927Z] Running ssh-add (command line suppressed) [2023-11-29T03:47:04.027Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1911941372481765749.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1911941372481765749.key) [2023-11-29T03:47:04.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T03:47:04.339Z] + git tag --points-at HEAD [Pipeline] } [2023-11-29T03:47:04.351Z] $ docker exec --env ******** --env ******** 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent -k [2023-11-29T03:47:04.447Z] unset SSH_AUTH_SOCK; [2023-11-29T03:47:04.448Z] unset SSH_AGENT_PID; [2023-11-29T03:47:04.448Z] echo Agent pid 38 killed; [2023-11-29T03:47:04.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-29T03:47:04.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T03:47:04.523Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T03:47:04.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T03:47:04.637Z] $ docker exec 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent [2023-11-29T03:47:04.746Z] SSH_AUTH_SOCK=/tmp/ssh-3Bsnj0hMJKyL/agent.70 [2023-11-29T03:47:04.746Z] SSH_AGENT_PID=76 [2023-11-29T03:47:04.751Z] Running ssh-add (command line suppressed) [2023-11-29T03:47:04.836Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1598014234024679998.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1598014234024679998.key) [2023-11-29T03:47:04.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T03:47:05.146Z] + git semver init [2023-11-29T03:47:05.405Z] 2023-11-29 03:47:05,331 [run_init] DEBUG init version:0.0.0 force:False [2023-11-29T03:47:05.405Z] 2023-11-29 03:47:05,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-29T03:47:05.405Z] 2023-11-29 03:47:05,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-29T03:47:05.405Z] 2023-11-29 03:47:05,332 [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-11-29T03:47:07.312Z] 2023-11-29 03:47:07,261 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-29T03:47:07.312Z] 2023-11-29 03:47:07,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-29T03:47:07.312Z] 2023-11-29 03:47:07,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T03:47:07.312Z] 2023-11-29 03:47:07,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T03:47:07.312Z] 3.2.0-dev.2 [Pipeline] } [2023-11-29T03:47:07.324Z] $ docker exec --env ******** --env ******** 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent -k [2023-11-29T03:47:07.426Z] unset SSH_AUTH_SOCK; [2023-11-29T03:47:07.426Z] unset SSH_AGENT_PID; [2023-11-29T03:47:07.426Z] echo Agent pid 76 killed; [2023-11-29T03:47:07.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-29T03:47:07.814Z] + git semver [Pipeline] } [2023-11-29T03:47:08.086Z] $ docker stop --time=1 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 [2023-11-29T03:47:09.343Z] $ docker rm -f --volumes 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T03:47:09.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-29T03:47:09.950Z] Stashed 1 file(s) [Pipeline] echo [2023-11-29T03:47:09.954Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [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-11-29T03:47:10.363Z] provisioning config files... [2023-11-29T03:47:10.376Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5341769104404590085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:47:10.688Z] ---> ****-login.sh [2023-11-29T03:47:10.688Z] nexus3.edgexfoundry.org:10001 [2023-11-29T03:47:10.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:47:10.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:47:10.947Z] Configure a credential helper to remove this warning. See [2023-11-29T03:47:10.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:47:10.947Z] [2023-11-29T03:47:10.947Z] Login Succeeded [2023-11-29T03:47:10.947Z] nexus3.edgexfoundry.org:10002 [2023-11-29T03:47:10.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:47:10.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:47:10.948Z] Configure a credential helper to remove this warning. See [2023-11-29T03:47:10.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:47:10.948Z] [2023-11-29T03:47:10.948Z] Login Succeeded [2023-11-29T03:47:10.948Z] nexus3.edgexfoundry.org:10003 [2023-11-29T03:47:10.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:47:10.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:47:10.948Z] Configure a credential helper to remove this warning. See [2023-11-29T03:47:10.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:47:10.948Z] [2023-11-29T03:47:10.948Z] Login Succeeded [2023-11-29T03:47:10.948Z] nexus3.edgexfoundry.org:10004 [2023-11-29T03:47:11.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:47:11.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:47:11.208Z] Configure a credential helper to remove this warning. See [2023-11-29T03:47:11.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:47:11.208Z] [2023-11-29T03:47:11.209Z] Login Succeeded [2023-11-29T03:47:11.209Z] ****.io [2023-11-29T03:47:11.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:47:11.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:47:11.616Z] Configure a credential helper to remove this warning. See [2023-11-29T03:47:11.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:47:11.616Z] [2023-11-29T03:47:11.616Z] Login Succeeded [2023-11-29T03:47:11.616Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T03:47:11.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-29T03:47:11.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:47:11.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:47:11.852Z] ========================================================= [2023-11-29T03:47:11.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-29T03:47:11.852Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:47:12.257Z] + 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-11-29T03:47:12.257Z] Sending build context to Docker daemon 16.34MB [2023-11-29T03:47:12.257Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T03:47:12.257Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-29T03:47:12.257Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-29T03:47:12.257Z] 7264a8db6415: Pulling fs layer [2023-11-29T03:47:12.257Z] c4d48a809fc2: Pulling fs layer [2023-11-29T03:47:12.257Z] 4f1c88b9dad5: Pulling fs layer [2023-11-29T03:47:12.257Z] ad3a456e5733: Pulling fs layer [2023-11-29T03:47:12.257Z] 69c7f0334f64: Pulling fs layer [2023-11-29T03:47:12.257Z] 1f1c1a5573a3: Pulling fs layer [2023-11-29T03:47:12.257Z] ce7588e14bc9: Pulling fs layer [2023-11-29T03:47:12.257Z] b5e4710f87ac: Pulling fs layer [2023-11-29T03:47:12.257Z] ad3a456e5733: Waiting [2023-11-29T03:47:12.257Z] 69c7f0334f64: Waiting [2023-11-29T03:47:12.257Z] b5e4710f87ac: Waiting [2023-11-29T03:47:12.257Z] 1f1c1a5573a3: Waiting [2023-11-29T03:47:12.257Z] ce7588e14bc9: Waiting [2023-11-29T03:47:12.518Z] c4d48a809fc2: Download complete [2023-11-29T03:47:12.518Z] ad3a456e5733: Download complete [2023-11-29T03:47:12.518Z] 69c7f0334f64: Verifying Checksum [2023-11-29T03:47:12.518Z] 69c7f0334f64: Download complete [2023-11-29T03:47:12.518Z] 7264a8db6415: Verifying Checksum [2023-11-29T03:47:12.518Z] 7264a8db6415: Download complete [2023-11-29T03:47:12.518Z] 1f1c1a5573a3: Verifying Checksum [2023-11-29T03:47:12.518Z] 1f1c1a5573a3: Download complete [2023-11-29T03:47:12.518Z] 7264a8db6415: Pull complete [2023-11-29T03:47:12.778Z] c4d48a809fc2: Pull complete [2023-11-29T03:47:12.778Z] b5e4710f87ac: Verifying Checksum [2023-11-29T03:47:12.778Z] b5e4710f87ac: Download complete [2023-11-29T03:47:13.039Z] 4f1c88b9dad5: Verifying Checksum [2023-11-29T03:47:13.039Z] 4f1c88b9dad5: Download complete [2023-11-29T03:47:13.299Z] ce7588e14bc9: Verifying Checksum [2023-11-29T03:47:13.299Z] ce7588e14bc9: Download complete [2023-11-29T03:47:15.832Z] 4f1c88b9dad5: Pull complete [2023-11-29T03:47:15.832Z] ad3a456e5733: Pull complete [2023-11-29T03:47:15.832Z] 69c7f0334f64: Pull complete [2023-11-29T03:47:16.091Z] 1f1c1a5573a3: Pull complete [2023-11-29T03:47:18.626Z] ce7588e14bc9: Pull complete [2023-11-29T03:47:18.626Z] b5e4710f87ac: Pull complete [2023-11-29T03:47:18.626Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-29T03:47:18.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-29T03:47:18.626Z] ---> 88b5674ff536 [2023-11-29T03:47:18.626Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-29T03:47:24.190Z] ---> Running in 35a6914703cb [2023-11-29T03:47:24.190Z] Removing intermediate container 35a6914703cb [2023-11-29T03:47:24.190Z] ---> 119df288c7d8 [2023-11-29T03:47:24.190Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T03:47:24.190Z] ---> Running in fbb5a1d617cd [2023-11-29T03:47:24.190Z] Removing intermediate container fbb5a1d617cd [2023-11-29T03:47:24.190Z] ---> 64d90418e16a [2023-11-29T03:47:24.190Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T03:47:24.190Z] ---> Running in c89445b93080 [2023-11-29T03:47:24.190Z] Removing intermediate container c89445b93080 [2023-11-29T03:47:24.190Z] ---> 558539d2a2c1 [2023-11-29T03:47:24.190Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T03:47:24.190Z] ---> Running in 801bc565427f [2023-11-29T03:47:24.190Z] Removing intermediate container 801bc565427f [2023-11-29T03:47:24.190Z] ---> a10f17b9f445 [2023-11-29T03:47:24.190Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T03:47:24.190Z] ---> Running in cf42a6ccf706 [2023-11-29T03:47:24.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T03:47:24.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T03:47:24.708Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-29T03:47:24.708Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-29T03:47:24.708Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-29T03:47:24.708Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-29T03:47:24.708Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T03:47:24.708Z] OK: 268 MiB in 56 packages [2023-11-29T03:47:25.274Z] Removing intermediate container cf42a6ccf706 [2023-11-29T03:47:25.274Z] ---> 7403b34438d8 [2023-11-29T03:47:25.274Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-29T03:47:25.274Z] ---> Running in 31f4d28ec264 [2023-11-29T03:47:25.274Z] Removing intermediate container 31f4d28ec264 [2023-11-29T03:47:25.274Z] ---> 412e2d817eab [2023-11-29T03:47:25.274Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-29T03:47:25.279Z] Still waiting to schedule task [2023-11-29T03:47:25.279Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9097’ [2023-11-29T03:47:25.533Z] ---> 8d6843a74577 [2023-11-29T03:47:25.533Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T03:47:25.533Z] ---> Running in f0973430f8ee [2023-11-29T03:48:12.217Z] Removing intermediate container f0973430f8ee [2023-11-29T03:48:12.217Z] ---> bd5442561281 [2023-11-29T03:48:12.217Z] Step 11/12 : COPY . . [2023-11-29T03:48:12.217Z] ---> 98d099e77327 [2023-11-29T03:48:12.217Z] Step 12/12 : RUN $MAKE [2023-11-29T03:48:12.217Z] ---> Running in be3502bfba35 [2023-11-29T03:48:12.217Z] noop [2023-11-29T03:48:12.217Z] Removing intermediate container be3502bfba35 [2023-11-29T03:48:12.217Z] ---> 98acdd5ce399 [2023-11-29T03:48:12.217Z] Successfully built 98acdd5ce399 [2023-11-29T03:48:12.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:48:12.605Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-29T03:48:12.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:48:12.722Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:48:12.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-29T03:48:13.177Z] $ docker top 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T03:48:13.564Z] + go version [2023-11-29T03:48:13.564Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-29T03:48:13.576Z] $ docker stop --time=1 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 [2023-11-29T03:48:14.856Z] $ docker rm -f --volumes 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:48:15.463Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-29T03:48:15.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:48:15.574Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:48:15.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-29T03:48:15.923Z] $ docker top c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T03:48:16.315Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-29T03:48:16.638Z] + make test [2023-11-29T03:48:16.638Z] go test ./... -coverprofile=coverage.out ./... [2023-11-29T03:48:18.015Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-29T03:48:27.987Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-29T03:48:27.987Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements [2023-11-29T03:48:32.266Z] go vet ./... [2023-11-29T03:48:35.549Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-29T03:48:35.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-29T03:48:35.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-29T03:48:35.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-29T03:48:35.606Z] $ docker stop --time=1 c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 [2023-11-29T03:48:40.025Z] $ docker rm -f --volumes c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T03:48:40.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-29T03:48:40.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-29T03:48:41.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-29T03:48:41.562Z] + ls -al . [2023-11-29T03:48:41.562Z] total 180 [2023-11-29T03:48:41.562Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 03:48 . [2023-11-29T03:48:41.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 03:46 .. [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 29 03:46 .dockerignore [2023-11-29T03:48:41.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:48 .git [2023-11-29T03:48:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 .github [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 03:46 .gitignore [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 03:46 .golangci.yml [2023-11-29T03:48:41.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 03:47 .semver [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 29 03:46 Attribution.txt [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 29 03:46 CHANGELOG.md [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 29 03:46 Dockerfile [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 03:46 GOVERNANCE.md [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 29 03:46 Jenkinsfile [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 03:46 LICENSE [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 29 03:46 Makefile [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 03:46 OWNERS.md [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 29 03:46 README.md [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 03:47 VERSION [2023-11-29T03:48:41.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:46 bin [2023-11-29T03:48:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 cmd [2023-11-29T03:48:41.562Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 29 03:48 coverage.out [2023-11-29T03:48:41.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:46 driver [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 29 03:46 go.mod [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 03:46 go.sum [2023-11-29T03:48:41.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 openapi [2023-11-29T03:48:41.562Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 29 03:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:48:41.921Z] + 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=96614595ba73594199dee70385f2da41578defd7 --label arch=amd64 --label version=3.2.0-dev.2 . [2023-11-29T03:48:41.921Z] Sending build context to Docker daemon 16.36MB [2023-11-29T03:48:41.921Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T03:48:41.921Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-29T03:48:41.921Z] ---> 98acdd5ce399 [2023-11-29T03:48:41.921Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-29T03:48:42.182Z] ---> Running in 45cf061c895f [2023-11-29T03:48:42.182Z] Removing intermediate container 45cf061c895f [2023-11-29T03:48:42.182Z] ---> 9869fc15c351 [2023-11-29T03:48:42.182Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T03:48:42.182Z] ---> Running in 35018399e15d [2023-11-29T03:48:42.441Z] Removing intermediate container 35018399e15d [2023-11-29T03:48:42.441Z] ---> 6b7258a3ac1c [2023-11-29T03:48:42.441Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T03:48:42.441Z] ---> Running in b19686494c36 [2023-11-29T03:48:42.441Z] Removing intermediate container b19686494c36 [2023-11-29T03:48:42.441Z] ---> 75a95bdf9519 [2023-11-29T03:48:42.441Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T03:48:42.441Z] ---> Running in dc39e6b24875 [2023-11-29T03:48:42.441Z] Removing intermediate container dc39e6b24875 [2023-11-29T03:48:42.441Z] ---> a7eaa5e02151 [2023-11-29T03:48:42.441Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T03:48:42.441Z] ---> Running in 8512bb3b80ad [2023-11-29T03:48:42.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T03:48:42.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T03:48:43.220Z] OK: 268 MiB in 56 packages [2023-11-29T03:48:43.480Z] Removing intermediate container 8512bb3b80ad [2023-11-29T03:48:43.480Z] ---> 0fb209f4075b [2023-11-29T03:48:43.480Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-29T03:48:43.480Z] ---> Running in 7512f7be9c4d [2023-11-29T03:48:43.738Z] Removing intermediate container 7512f7be9c4d [2023-11-29T03:48:43.738Z] ---> c0bbb99e4218 [2023-11-29T03:48:43.738Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-29T03:48:43.738Z] ---> 5757fae459f2 [2023-11-29T03:48:43.738Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T03:48:43.738Z] ---> Running in 166ed55de496 [2023-11-29T03:48:44.308Z] Removing intermediate container 166ed55de496 [2023-11-29T03:48:44.308Z] ---> 7804772ebf40 [2023-11-29T03:48:44.308Z] Step 11/26 : COPY . . [2023-11-29T03:48:45.244Z] ---> 550547cc9b34 [2023-11-29T03:48:45.244Z] Step 12/26 : RUN $MAKE [2023-11-29T03:48:45.244Z] ---> Running in 647e88d9f2af [2023-11-29T03:48:45.244Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-29T03:49:07.399Z] Removing intermediate container 647e88d9f2af [2023-11-29T03:49:07.399Z] ---> 038ceedac4bc [2023-11-29T03:49:07.399Z] Step 13/26 : FROM alpine:3.18 [2023-11-29T03:49:07.399Z] 3.18: Pulling from library/alpine [2023-11-29T03:49:07.399Z] 96526aa774ef: Pulling fs layer [2023-11-29T03:49:07.399Z] 96526aa774ef: Verifying Checksum [2023-11-29T03:49:07.399Z] 96526aa774ef: Download complete [2023-11-29T03:49:07.399Z] 96526aa774ef: Pull complete [2023-11-29T03:49:07.399Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-29T03:49:07.399Z] Status: Downloaded newer image for alpine:3.18 [2023-11-29T03:49:07.399Z] ---> 8ca4688f4f35 [2023-11-29T03:49:07.399Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-29T03:49:07.399Z] ---> Running in d5b0d70bc4d0 [2023-11-29T03:49:07.399Z] Removing intermediate container d5b0d70bc4d0 [2023-11-29T03:49:07.399Z] ---> 2ae8a14e4e08 [2023-11-29T03:49:07.399Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-29T03:49:07.399Z] ---> Running in 73d748092f56 [2023-11-29T03:49:07.399Z] Removing intermediate container 73d748092f56 [2023-11-29T03:49:07.399Z] ---> a94ef818b2b8 [2023-11-29T03:49:07.399Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-29T03:49:07.399Z] ---> Running in 43f1c13618cf [2023-11-29T03:49:07.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T03:49:07.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T03:49:07.399Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-29T03:49:07.399Z] Executing busybox-1.36.1-r2.trigger [2023-11-29T03:49:07.399Z] OK: 7 MiB in 16 packages [2023-11-29T03:49:07.399Z] Removing intermediate container 43f1c13618cf [2023-11-29T03:49:07.399Z] ---> 1cfbce62c6f9 [2023-11-29T03:49:07.399Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-29T03:49:07.399Z] ---> Running in 120a112a0a59 [2023-11-29T03:49:07.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T03:49:07.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T03:49:07.917Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T03:49:07.918Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:49:07.918Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-29T03:49:07.918Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:49:07.918Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T03:49:07.918Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T03:49:07.918Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:49:07.918Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T03:49:07.918Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T03:49:07.918Z] OK: 7 MiB in 16 packages [2023-11-29T03:49:08.485Z] Removing intermediate container 120a112a0a59 [2023-11-29T03:49:08.485Z] ---> 4b872653875f [2023-11-29T03:49:08.485Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-29T03:49:09.468Z] ---> 8e49f5d4faac [2023-11-29T03:49:09.468Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-29T03:49:09.468Z] ---> 93a69a095660 [2023-11-29T03:49:09.468Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-29T03:49:09.468Z] ---> 0683f49acd2a [2023-11-29T03:49:09.468Z] Step 21/26 : EXPOSE 59986 [2023-11-29T03:49:09.468Z] ---> Running in 6e27f557a56b [2023-11-29T03:49:09.727Z] Removing intermediate container 6e27f557a56b [2023-11-29T03:49:09.727Z] ---> e4123362b376 [2023-11-29T03:49:09.727Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-29T03:49:09.727Z] ---> Running in 912a366e86b1 [2023-11-29T03:49:09.727Z] Removing intermediate container 912a366e86b1 [2023-11-29T03:49:09.727Z] ---> bebc0ee47bf0 [2023-11-29T03:49:09.727Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-29T03:49:09.727Z] ---> Running in 20a284f9bf9e [2023-11-29T03:49:09.727Z] Removing intermediate container 20a284f9bf9e [2023-11-29T03:49:09.727Z] ---> dafc36f857bd [2023-11-29T03:49:09.727Z] Step 24/26 : LABEL arch=amd64 [2023-11-29T03:49:09.727Z] ---> Running in be6170cf9c5f [2023-11-29T03:49:09.985Z] Removing intermediate container be6170cf9c5f [2023-11-29T03:49:09.985Z] ---> afc713997842 [2023-11-29T03:49:09.985Z] Step 25/26 : LABEL git_sha=96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:49:09.985Z] ---> Running in 2cef4dfb8935 [2023-11-29T03:49:09.985Z] Removing intermediate container 2cef4dfb8935 [2023-11-29T03:49:09.985Z] ---> 76f86f4e7438 [2023-11-29T03:49:09.985Z] Step 26/26 : LABEL version=3.2.0-dev.2 [2023-11-29T03:49:09.985Z] ---> Running in fe3ec95fb93a [2023-11-29T03:49:09.985Z] Removing intermediate container fe3ec95fb93a [2023-11-29T03:49:09.985Z] ---> 4b63261676af [2023-11-29T03:49:09.985Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-29T03:49:09.985Z] Successfully built 4b63261676af [2023-11-29T03:49:09.985Z] 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-11-29T03:49:10.259Z] provisioning config files... [2023-11-29T03:49:10.271Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14521817771674143414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:49:10.606Z] ---> ****-login.sh [2023-11-29T03:49:10.606Z] nexus3.edgexfoundry.org:10001 [2023-11-29T03:49:10.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:49:10.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:49:10.607Z] Configure a credential helper to remove this warning. See [2023-11-29T03:49:10.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:49:10.607Z] [2023-11-29T03:49:10.607Z] Login Succeeded [2023-11-29T03:49:10.607Z] nexus3.edgexfoundry.org:10002 [2023-11-29T03:49:10.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:49:10.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:49:10.607Z] Configure a credential helper to remove this warning. See [2023-11-29T03:49:10.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:49:10.607Z] [2023-11-29T03:49:10.607Z] Login Succeeded [2023-11-29T03:49:10.607Z] nexus3.edgexfoundry.org:10003 [2023-11-29T03:49:10.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:49:10.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:49:10.867Z] Configure a credential helper to remove this warning. See [2023-11-29T03:49:10.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:49:10.867Z] [2023-11-29T03:49:10.867Z] Login Succeeded [2023-11-29T03:49:10.867Z] nexus3.edgexfoundry.org:10004 [2023-11-29T03:49:10.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:49:10.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:49:10.867Z] Configure a credential helper to remove this warning. See [2023-11-29T03:49:10.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:49:10.867Z] [2023-11-29T03:49:10.867Z] Login Succeeded [2023-11-29T03:49:10.867Z] ****.io [2023-11-29T03:49:10.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:49:11.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:49:11.126Z] Configure a credential helper to remove this warning. See [2023-11-29T03:49:11.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:49:11.126Z] [2023-11-29T03:49:11.126Z] Login Succeeded [2023-11-29T03:49:11.126Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T03:49:11.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-29T03:49:11.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:49:11.308Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-29T03:49:11.308Z] 96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:49:11.308Z] latest [2023-11-29T03:49:11.308Z] 3.2.0-dev.2 [2023-11-29T03:49:11.308Z] 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:49:11.308Z] main [2023-11-29T03:49:11.308Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:11.814Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:12.195Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:49:12.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-29T03:49:12.195Z] 758c8a58e286: Preparing [2023-11-29T03:49:12.195Z] 86fd32e93487: Preparing [2023-11-29T03:49:12.195Z] 21fdc358e0bf: Preparing [2023-11-29T03:49:12.195Z] 95c5cd2459a4: Preparing [2023-11-29T03:49:12.195Z] 33fee20a689c: Preparing [2023-11-29T03:49:12.195Z] cc2447e1835a: Preparing [2023-11-29T03:49:12.195Z] cc2447e1835a: Waiting [2023-11-29T03:49:12.195Z] 758c8a58e286: Pushed [2023-11-29T03:49:12.195Z] 86fd32e93487: Pushed [2023-11-29T03:49:12.195Z] 33fee20a689c: Pushed [2023-11-29T03:49:12.195Z] cc2447e1835a: Layer already exists [2023-11-29T03:49:12.764Z] 95c5cd2459a4: Pushed [2023-11-29T03:49:15.304Z] 21fdc358e0bf: Pushed [2023-11-29T03:49:15.304Z] 96614595ba73594199dee70385f2da41578defd7: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:15.690Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:16.082Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-29T03:49:16.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-29T03:49:16.082Z] 758c8a58e286: Preparing [2023-11-29T03:49:16.082Z] 86fd32e93487: Preparing [2023-11-29T03:49:16.082Z] 21fdc358e0bf: Preparing [2023-11-29T03:49:16.082Z] 95c5cd2459a4: Preparing [2023-11-29T03:49:16.082Z] 33fee20a689c: Preparing [2023-11-29T03:49:16.082Z] cc2447e1835a: Preparing [2023-11-29T03:49:16.082Z] cc2447e1835a: Waiting [2023-11-29T03:49:16.082Z] 33fee20a689c: Layer already exists [2023-11-29T03:49:16.082Z] 95c5cd2459a4: Layer already exists [2023-11-29T03:49:16.082Z] 21fdc358e0bf: Layer already exists [2023-11-29T03:49:16.082Z] 86fd32e93487: Layer already exists [2023-11-29T03:49:16.082Z] 758c8a58e286: Layer already exists [2023-11-29T03:49:16.082Z] cc2447e1835a: Layer already exists [2023-11-29T03:49:16.082Z] latest: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:16.480Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:16.876Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 [2023-11-29T03:49:16.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-29T03:49:16.877Z] 758c8a58e286: Preparing [2023-11-29T03:49:16.877Z] 86fd32e93487: Preparing [2023-11-29T03:49:16.877Z] 21fdc358e0bf: Preparing [2023-11-29T03:49:16.877Z] 95c5cd2459a4: Preparing [2023-11-29T03:49:16.877Z] 33fee20a689c: Preparing [2023-11-29T03:49:16.877Z] cc2447e1835a: Preparing [2023-11-29T03:49:16.877Z] cc2447e1835a: Waiting [2023-11-29T03:49:16.877Z] 33fee20a689c: Layer already exists [2023-11-29T03:49:16.877Z] 86fd32e93487: Layer already exists [2023-11-29T03:49:16.877Z] 21fdc358e0bf: Layer already exists [2023-11-29T03:49:16.877Z] 95c5cd2459a4: Layer already exists [2023-11-29T03:49:16.877Z] 758c8a58e286: Layer already exists [2023-11-29T03:49:16.877Z] cc2447e1835a: Layer already exists [2023-11-29T03:49:16.877Z] 3.2.0-dev.2: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:17.276Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:17.726Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:49:17.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-29T03:49:17.726Z] 758c8a58e286: Preparing [2023-11-29T03:49:17.726Z] 86fd32e93487: Preparing [2023-11-29T03:49:17.726Z] 21fdc358e0bf: Preparing [2023-11-29T03:49:17.726Z] 95c5cd2459a4: Preparing [2023-11-29T03:49:17.726Z] 33fee20a689c: Preparing [2023-11-29T03:49:17.726Z] cc2447e1835a: Preparing [2023-11-29T03:49:17.726Z] cc2447e1835a: Waiting [2023-11-29T03:49:17.726Z] 95c5cd2459a4: Layer already exists [2023-11-29T03:49:17.726Z] 33fee20a689c: Layer already exists [2023-11-29T03:49:17.726Z] 86fd32e93487: Layer already exists [2023-11-29T03:49:17.726Z] 758c8a58e286: Layer already exists [2023-11-29T03:49:17.726Z] 21fdc358e0bf: Layer already exists [2023-11-29T03:49:17.726Z] cc2447e1835a: Layer already exists [2023-11-29T03:49:17.726Z] 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:18.195Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:18.604Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-29T03:49:18.604Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-29T03:49:18.604Z] 758c8a58e286: Preparing [2023-11-29T03:49:18.604Z] 86fd32e93487: Preparing [2023-11-29T03:49:18.604Z] 21fdc358e0bf: Preparing [2023-11-29T03:49:18.604Z] 95c5cd2459a4: Preparing [2023-11-29T03:49:18.604Z] 33fee20a689c: Preparing [2023-11-29T03:49:18.604Z] cc2447e1835a: Preparing [2023-11-29T03:49:18.604Z] cc2447e1835a: Waiting [2023-11-29T03:49:18.604Z] 21fdc358e0bf: Layer already exists [2023-11-29T03:49:18.604Z] 86fd32e93487: Layer already exists [2023-11-29T03:49:18.604Z] 33fee20a689c: Layer already exists [2023-11-29T03:49:18.604Z] 758c8a58e286: Layer already exists [2023-11-29T03:49:18.604Z] 95c5cd2459a4: Layer already exists [2023-11-29T03:49:18.604Z] cc2447e1835a: Layer already exists [2023-11-29T03:49:18.604Z] main: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-29T03:49:18.848Z] ===================================================== [Pipeline] echo [2023-11-29T03:49:18.890Z] taggedImages: [2023-11-29T03:49:18.890Z] - nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:49:18.890Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-29T03:49:18.890Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 [2023-11-29T03:49:18.890Z] - nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:49:18.890Z] - 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-11-29T03:49:19.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T03:49:19.557Z] [2023-11-29T03:49:19.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:49:19.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T03:49:19.891Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-29T03:49:19.891Z] 5eb5b503b376: Pulling fs layer [2023-11-29T03:49:19.891Z] 5c69ac0246d0: Pulling fs layer [2023-11-29T03:49:19.891Z] ec43610c2a17: Pulling fs layer [2023-11-29T03:49:19.891Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-29T03:49:19.891Z] 33b1e0a273af: Pulling fs layer [2023-11-29T03:49:19.891Z] 5d3b04190fa2: Pulling fs layer [2023-11-29T03:49:19.891Z] 2f39f015ded8: Pulling fs layer [2023-11-29T03:49:19.891Z] 33b1e0a273af: Waiting [2023-11-29T03:49:19.891Z] 5d3b04190fa2: Waiting [2023-11-29T03:49:19.891Z] 2f39f015ded8: Waiting [2023-11-29T03:49:19.891Z] 3a2ae6a8a46f: Waiting [2023-11-29T03:49:19.891Z] 5c69ac0246d0: Verifying Checksum [2023-11-29T03:49:19.891Z] 5c69ac0246d0: Download complete [2023-11-29T03:49:19.891Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-29T03:49:19.891Z] 3a2ae6a8a46f: Download complete [2023-11-29T03:49:19.891Z] 33b1e0a273af: Verifying Checksum [2023-11-29T03:49:19.891Z] 33b1e0a273af: Download complete [2023-11-29T03:49:19.891Z] ec43610c2a17: Verifying Checksum [2023-11-29T03:49:19.891Z] ec43610c2a17: Download complete [2023-11-29T03:49:19.891Z] 5d3b04190fa2: Download complete [2023-11-29T03:49:20.149Z] 5eb5b503b376: Verifying Checksum [2023-11-29T03:49:20.149Z] 5eb5b503b376: Download complete [2023-11-29T03:49:20.719Z] 2f39f015ded8: Download complete [2023-11-29T03:49:21.286Z] 5eb5b503b376: Pull complete [2023-11-29T03:49:21.286Z] 5c69ac0246d0: Pull complete [2023-11-29T03:49:21.851Z] ec43610c2a17: Pull complete [2023-11-29T03:49:21.851Z] 3a2ae6a8a46f: Pull complete [2023-11-29T03:49:21.851Z] 33b1e0a273af: Pull complete [2023-11-29T03:49:22.109Z] 5d3b04190fa2: Pull complete [2023-11-29T03:49:26.295Z] 2f39f015ded8: Pull complete [2023-11-29T03:49:26.295Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-29T03:49:26.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T03:49:26.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:49:26.520Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:49:26.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-29T03:49:32.784Z] $ docker top 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:49:33.247Z] ---> job-cost.sh [2023-11-29T03:49:33.247Z] lf-activate-venv: SKIPPING [2023-11-29T03:49:33.247Z] INFO: No Stack... [2023-11-29T03:49:33.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-29T03:49:33.764Z] INFO: Archiving Costs [Pipeline] sh [2023-11-29T03:49:34.056Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-29T03:49:34.056Z] + cut -d, -f6 [Pipeline] lock [2023-11-29T03:49:34.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [2023-11-29T03:49:34.075Z] Resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] did not exist. Created. [2023-11-29T03:49:34.075Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-29T03:49:34.446Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-29T03:49:34.468Z] Stashed 1 file(s) [Pipeline] } [2023-11-29T03:49:34.508Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-29T03:49:34.594Z] $ docker stop --time=1 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb [2023-11-29T03:49:35.735Z] $ docker rm -f --volumes 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-29T03:51:09.600Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9099 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-29T03:51:09.650Z] Running in /w/workspace/device-rest-go/154 [Pipeline] { [Pipeline] checkout [2023-11-29T03:51:12.744Z] The recommended git tool is: git [2023-11-29T03:51:23.539Z] using credential edgex-jenkins-ssh [2023-11-29T03:51:23.563Z] Cloning the remote Git repository [2023-11-29T03:51:23.605Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-29T03:51:23.756Z] > git init /w/workspace/device-rest-go/154 # timeout=10 [2023-11-29T03:51:23.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-29T03:51:23.943Z] > git --version # timeout=10 [2023-11-29T03:51:23.999Z] > git --version # 'git version 2.25.1' [2023-11-29T03:51:24.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-29T03:51:24.235Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-29T03:51:26.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-29T03:51:26.908Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-29T03:51:27.865Z] Avoid second fetch [2023-11-29T03:51:27.866Z] Checking out Revision 96614595ba73594199dee70385f2da41578defd7 (main) [2023-11-29T03:51:27.881Z] > git config core.sparsecheckout # timeout=10 [2023-11-29T03:51:27.940Z] > git checkout -f 96614595ba73594199dee70385f2da41578defd7 # timeout=10 [2023-11-29T03:51:28.447Z] Commit message: "Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T03:51:29.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-29T03:51:29.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-29T03:51:29.570Z] Dload Upload Total Spent Left Speed [2023-11-29T03:51:29.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 93347 0 --:--:-- --:--:-- --:--:-- 92563 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-11-29T03:51:29.903Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-29T03:51:30.232Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-29T03:51:30.232Z] + sudo tee /etc/docker/daemon.new [2023-11-29T03:51:30.232Z] { [2023-11-29T03:51:30.232Z] "registry-mirrors": [ [2023-11-29T03:51:30.232Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-29T03:51:30.232Z] ], [2023-11-29T03:51:30.232Z] "bip": "10.250.0.254/24", [2023-11-29T03:51:30.232Z] "hosts": [ [2023-11-29T03:51:30.232Z] "tcp://0.0.0.0:5555", [2023-11-29T03:51:30.232Z] "unix:///var/run/docker.sock" [2023-11-29T03:51:30.232Z] ], [2023-11-29T03:51:30.232Z] "mtu": 1458, [2023-11-29T03:51:30.232Z] "selinux-enabled": true, [2023-11-29T03:51:30.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-29T03:51:30.233Z] } [Pipeline] sh [2023-11-29T03:51:30.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-29T03:51:30.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T03:51:49.235Z] provisioning config files... [2023-11-29T03:51:49.263Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/154@tmp/config18311017440594296634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:51:49.714Z] ---> ****-login.sh [2023-11-29T03:51:49.715Z] nexus3.edgexfoundry.org:10001 [2023-11-29T03:51:50.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:51:50.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:51:50.305Z] Configure a credential helper to remove this warning. See [2023-11-29T03:51:50.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:51:50.305Z] [2023-11-29T03:51:50.305Z] Login Succeeded [2023-11-29T03:51:50.305Z] nexus3.edgexfoundry.org:10002 [2023-11-29T03:51:50.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:51:50.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:51:50.578Z] Configure a credential helper to remove this warning. See [2023-11-29T03:51:50.578Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:51:50.578Z] [2023-11-29T03:51:50.578Z] Login Succeeded [2023-11-29T03:51:50.578Z] nexus3.edgexfoundry.org:10003 [2023-11-29T03:51:50.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:51:51.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:51:51.123Z] Configure a credential helper to remove this warning. See [2023-11-29T03:51:51.123Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:51:51.123Z] [2023-11-29T03:51:51.123Z] Login Succeeded [2023-11-29T03:51:51.123Z] nexus3.edgexfoundry.org:10004 [2023-11-29T03:51:51.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:51:51.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:51:51.394Z] Configure a credential helper to remove this warning. See [2023-11-29T03:51:51.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:51:51.394Z] [2023-11-29T03:51:51.394Z] Login Succeeded [2023-11-29T03:51:51.394Z] ****.io [2023-11-29T03:51:51.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:51:51.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:51:51.937Z] Configure a credential helper to remove this warning. See [2023-11-29T03:51:51.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:51:51.937Z] [2023-11-29T03:51:51.937Z] Login Succeeded [2023-11-29T03:51:51.938Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T03:51:51.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-29T03:51:52.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:51:52.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:51:52.470Z] ========================================================= [2023-11-29T03:51:52.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-29T03:51:52.471Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:51:52.971Z] + 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-11-29T03:51:52.971Z] Sending build context to Docker daemon 127.5kB [2023-11-29T03:51:53.240Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T03:51:53.240Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-29T03:51:53.511Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-29T03:51:53.511Z] 9fda8d8052c6: Pulling fs layer [2023-11-29T03:51:53.511Z] 5d54e960e981: Pulling fs layer [2023-11-29T03:51:53.511Z] c4a7e357bf2a: Pulling fs layer [2023-11-29T03:51:53.511Z] f0e02332f6b5: Pulling fs layer [2023-11-29T03:51:53.511Z] 872ee5b61b7b: Pulling fs layer [2023-11-29T03:51:53.511Z] 0c6a40ed1a82: Pulling fs layer [2023-11-29T03:51:53.511Z] 94ae7d8d031c: Pulling fs layer [2023-11-29T03:51:53.511Z] f0e02332f6b5: Waiting [2023-11-29T03:51:53.511Z] 872ee5b61b7b: Waiting [2023-11-29T03:51:53.511Z] 0c6a40ed1a82: Waiting [2023-11-29T03:51:53.511Z] 94ae7d8d031c: Waiting [2023-11-29T03:51:53.511Z] 5d54e960e981: Download complete [2023-11-29T03:51:53.511Z] f0e02332f6b5: Verifying Checksum [2023-11-29T03:51:53.511Z] f0e02332f6b5: Download complete [2023-11-29T03:51:53.511Z] 872ee5b61b7b: Verifying Checksum [2023-11-29T03:51:53.511Z] 872ee5b61b7b: Download complete [2023-11-29T03:51:53.511Z] 9fda8d8052c6: Verifying Checksum [2023-11-29T03:51:53.511Z] 9fda8d8052c6: Download complete [2023-11-29T03:51:54.100Z] 94ae7d8d031c: Verifying Checksum [2023-11-29T03:51:54.100Z] 94ae7d8d031c: Download complete [2023-11-29T03:51:54.690Z] 9fda8d8052c6: Pull complete [2023-11-29T03:51:55.300Z] 5d54e960e981: Pull complete [2023-11-29T03:51:55.575Z] c4a7e357bf2a: Verifying Checksum [2023-11-29T03:51:55.575Z] c4a7e357bf2a: Download complete [2023-11-29T03:51:56.546Z] 0c6a40ed1a82: Verifying Checksum [2023-11-29T03:51:56.546Z] 0c6a40ed1a82: Download complete [2023-11-29T03:52:08.913Z] c4a7e357bf2a: Pull complete [2023-11-29T03:52:09.182Z] f0e02332f6b5: Pull complete [2023-11-29T03:52:09.451Z] 872ee5b61b7b: Pull complete [2023-11-29T03:52:17.695Z] 0c6a40ed1a82: Pull complete [2023-11-29T03:52:19.115Z] 94ae7d8d031c: Pull complete [2023-11-29T03:52:19.115Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-29T03:52:19.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-29T03:52:19.385Z] ---> 86de565de09d [2023-11-29T03:52:19.385Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-29T03:52:20.812Z] ---> Running in 757711e559c1 [2023-11-29T03:52:21.082Z] Removing intermediate container 757711e559c1 [2023-11-29T03:52:21.082Z] ---> ab6c99ca541a [2023-11-29T03:52:21.082Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T03:52:21.083Z] ---> Running in c95b8f188ec3 [2023-11-29T03:52:21.352Z] Removing intermediate container c95b8f188ec3 [2023-11-29T03:52:21.352Z] ---> fe9c8195dd8a [2023-11-29T03:52:21.352Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T03:52:21.352Z] ---> Running in b03ceeb76437 [2023-11-29T03:52:21.941Z] Removing intermediate container b03ceeb76437 [2023-11-29T03:52:21.941Z] ---> 8e66119ef95b [2023-11-29T03:52:21.941Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T03:52:21.941Z] ---> Running in da582e1fabc3 [2023-11-29T03:52:22.211Z] Removing intermediate container da582e1fabc3 [2023-11-29T03:52:22.211Z] ---> 79b0bd319daa [2023-11-29T03:52:22.211Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T03:52:22.212Z] ---> Running in f6764ffac4e2 [2023-11-29T03:52:23.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T03:52:23.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T03:52:25.343Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-29T03:52:25.343Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-29T03:52:25.343Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-29T03:52:25.343Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-29T03:52:25.343Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T03:52:25.343Z] OK: 271 MiB in 56 packages [2023-11-29T03:52:28.706Z] Removing intermediate container f6764ffac4e2 [2023-11-29T03:52:28.706Z] ---> 098d97d4f848 [2023-11-29T03:52:28.706Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-29T03:52:28.706Z] ---> Running in 024f60282a2d [2023-11-29T03:52:28.706Z] Removing intermediate container 024f60282a2d [2023-11-29T03:52:28.706Z] ---> e0d7c657da1a [2023-11-29T03:52:28.706Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-29T03:52:28.973Z] ---> 92caf764683c [2023-11-29T03:52:28.973Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T03:52:29.241Z] ---> Running in 220123cda05e [2023-11-29T03:53:52.363Z] Removing intermediate container 220123cda05e [2023-11-29T03:53:52.363Z] ---> 8a8abb75ad90 [2023-11-29T03:53:52.363Z] Step 11/12 : COPY . . [2023-11-29T03:53:55.708Z] ---> 9870ee52d514 [2023-11-29T03:53:55.708Z] Step 12/12 : RUN $MAKE [2023-11-29T03:53:55.708Z] ---> Running in 95218d387ed8 [2023-11-29T03:53:56.293Z] noop [2023-11-29T03:53:56.882Z] Removing intermediate container 95218d387ed8 [2023-11-29T03:53:56.882Z] ---> 4e79d7173a8a [2023-11-29T03:53:56.882Z] Successfully built 4e79d7173a8a [2023-11-29T03:53:56.882Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:53:57.365Z] + docker inspect -f . ci-base-image-arm64 [2023-11-29T03:53:57.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:53:57.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container [2023-11-29T03:53:57.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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-11-29T03:53:58.942Z] $ docker top 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T03:53:59.859Z] + go version [2023-11-29T03:53:59.859Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-29T03:53:59.879Z] $ docker stop --time=1 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 [2023-11-29T03:54:01.466Z] $ docker rm -f --volumes 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:54:02.373Z] + docker inspect -f . ci-base-image-arm64 [2023-11-29T03:54:02.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:54:02.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container [2023-11-29T03:54:02.778Z] $ 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/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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-11-29T03:54:03.942Z] $ docker top be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T03:54:04.857Z] + git config --global --add safe.directory /w/workspace/device-rest-go/154 [Pipeline] fileExists [Pipeline] sh [2023-11-29T03:54:05.558Z] + make test [2023-11-29T03:54:05.558Z] go test ./... -coverprofile=coverage.out ./... [2023-11-29T03:54:09.826Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-29T03:55:46.481Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-29T03:55:46.481Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements [2023-11-29T03:55:46.481Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-29T03:55:46.481Z] go vet ./... [2023-11-29T03:56:01.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-29T03:56:01.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-29T03:56:01.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-29T03:56:01.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-29T03:56:01.540Z] $ docker stop --time=1 be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 [2023-11-29T03:56:06.631Z] $ docker rm -f --volumes be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T03:56:07.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-29T03:56:07.889Z] Warning: overwriting stash ‘coverage-report’ [2023-11-29T03:56:08.312Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T03:56:08.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-29T03:56:09.234Z] + ls -al . [2023-11-29T03:56:09.234Z] total 176 [2023-11-29T03:56:09.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:54 . [2023-11-29T03:56:09.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 03:51 .. [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 29 03:51 .dockerignore [2023-11-29T03:56:09.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:51 .git [2023-11-29T03:56:09.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 .github [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 03:51 .gitignore [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 03:51 .golangci.yml [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 29 03:51 Attribution.txt [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 29 03:51 CHANGELOG.md [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 29 03:51 Dockerfile [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 03:51 GOVERNANCE.md [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 29 03:51 Jenkinsfile [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 03:51 LICENSE [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 29 03:51 Makefile [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 03:51 OWNERS.md [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 29 03:51 README.md [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 03:47 VERSION [2023-11-29T03:56:09.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:51 bin [2023-11-29T03:56:09.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 cmd [2023-11-29T03:56:09.234Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 29 03:55 coverage.out [2023-11-29T03:56:09.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:51 driver [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 3886 Nov 29 03:51 go.mod [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 03:51 go.sum [2023-11-29T03:56:09.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 openapi [2023-11-29T03:56:09.234Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 29 03:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:56:09.639Z] + 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=96614595ba73594199dee70385f2da41578defd7 --label arch=arm64 --label version=3.2.0-dev.2 . [2023-11-29T03:56:09.639Z] Sending build context to Docker daemon 142.8kB [2023-11-29T03:56:09.906Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T03:56:09.906Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-29T03:56:09.906Z] ---> 4e79d7173a8a [2023-11-29T03:56:09.906Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-29T03:56:09.906Z] ---> Running in d68ddc071752 [2023-11-29T03:56:10.178Z] Removing intermediate container d68ddc071752 [2023-11-29T03:56:10.178Z] ---> 5acc78ec234b [2023-11-29T03:56:10.178Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T03:56:10.446Z] ---> Running in 57f9a1483d02 [2023-11-29T03:56:10.713Z] Removing intermediate container 57f9a1483d02 [2023-11-29T03:56:10.713Z] ---> 923fd9e9fe97 [2023-11-29T03:56:10.713Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T03:56:10.713Z] ---> Running in 8d69f1a8c64d [2023-11-29T03:56:10.979Z] Removing intermediate container 8d69f1a8c64d [2023-11-29T03:56:10.979Z] ---> 34a5a021547f [2023-11-29T03:56:10.979Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T03:56:10.979Z] ---> Running in 35908212f4c8 [2023-11-29T03:56:11.246Z] Removing intermediate container 35908212f4c8 [2023-11-29T03:56:11.246Z] ---> 17a295ab7ada [2023-11-29T03:56:11.246Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T03:56:11.515Z] ---> Running in 7e3e2a38a518 [2023-11-29T03:56:12.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T03:56:12.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T03:56:14.147Z] OK: 271 MiB in 56 packages [2023-11-29T03:56:14.731Z] Removing intermediate container 7e3e2a38a518 [2023-11-29T03:56:14.731Z] ---> 852a28b9b2fc [2023-11-29T03:56:14.731Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-29T03:56:14.731Z] ---> Running in 9f4a461f688c [2023-11-29T03:56:14.999Z] Removing intermediate container 9f4a461f688c [2023-11-29T03:56:14.999Z] ---> b6bbfbbd9e42 [2023-11-29T03:56:14.999Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-29T03:56:20.333Z] ---> e7480178eca0 [2023-11-29T03:56:20.333Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T03:56:20.333Z] ---> Running in d7380c52c6a9 [2023-11-29T03:56:22.280Z] Removing intermediate container d7380c52c6a9 [2023-11-29T03:56:22.280Z] ---> 8000586341f0 [2023-11-29T03:56:22.280Z] Step 11/26 : COPY . . [2023-11-29T03:56:22.551Z] ---> a0971ff2f30d [2023-11-29T03:56:22.551Z] Step 12/26 : RUN $MAKE [2023-11-29T03:56:22.551Z] ---> Running in 701a2f35950c [2023-11-29T03:56:23.518Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-29T03:58:15.180Z] Removing intermediate container 701a2f35950c [2023-11-29T03:58:15.180Z] ---> 94c3e38656f1 [2023-11-29T03:58:15.180Z] Step 13/26 : FROM alpine:3.18 [2023-11-29T03:58:15.180Z] 3.18: Pulling from library/alpine [2023-11-29T03:58:15.180Z] 579b34f0a95b: Pulling fs layer [2023-11-29T03:58:15.180Z] 579b34f0a95b: Verifying Checksum [2023-11-29T03:58:15.180Z] 579b34f0a95b: Download complete [2023-11-29T03:58:15.180Z] 579b34f0a95b: Pull complete [2023-11-29T03:58:15.180Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-29T03:58:15.180Z] Status: Downloaded newer image for alpine:3.18 [2023-11-29T03:58:15.180Z] ---> 3cc203321400 [2023-11-29T03:58:15.180Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-29T03:58:15.180Z] ---> Running in 5c777e1c3dfb [2023-11-29T03:58:15.180Z] Removing intermediate container 5c777e1c3dfb [2023-11-29T03:58:15.180Z] ---> 3bf8cb782df3 [2023-11-29T03:58:15.180Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-29T03:58:15.180Z] ---> Running in cd44e242546a [2023-11-29T03:58:15.180Z] Removing intermediate container cd44e242546a [2023-11-29T03:58:15.180Z] ---> bc02139fc72a [2023-11-29T03:58:15.180Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-29T03:58:15.180Z] ---> Running in 7f4da912c075 [2023-11-29T03:58:15.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T03:58:15.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T03:58:15.180Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-29T03:58:15.180Z] Executing busybox-1.36.1-r2.trigger [2023-11-29T03:58:15.180Z] OK: 8 MiB in 16 packages [2023-11-29T03:58:15.180Z] Removing intermediate container 7f4da912c075 [2023-11-29T03:58:15.180Z] ---> 713dd7d540e7 [2023-11-29T03:58:15.180Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-29T03:58:15.180Z] ---> Running in c74769e86af9 [2023-11-29T03:58:15.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T03:58:15.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T03:58:15.180Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T03:58:15.180Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:58:15.180Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-29T03:58:15.180Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:58:15.180Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T03:58:15.180Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T03:58:15.180Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T03:58:15.180Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T03:58:15.180Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T03:58:15.180Z] OK: 8 MiB in 16 packages [2023-11-29T03:58:15.180Z] Removing intermediate container c74769e86af9 [2023-11-29T03:58:15.180Z] ---> 4e5f11875704 [2023-11-29T03:58:15.180Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-29T03:58:16.592Z] ---> c313b24d3b82 [2023-11-29T03:58:16.592Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-29T03:58:17.176Z] ---> e6b54c9d9194 [2023-11-29T03:58:17.176Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-29T03:58:17.444Z] ---> c4da63cadccf [2023-11-29T03:58:17.444Z] Step 21/26 : EXPOSE 59986 [2023-11-29T03:58:17.710Z] ---> Running in 50ac9a9f1094 [2023-11-29T03:58:17.975Z] Removing intermediate container 50ac9a9f1094 [2023-11-29T03:58:17.975Z] ---> dcfe2936ceab [2023-11-29T03:58:17.975Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-29T03:58:17.975Z] ---> Running in 8100cf611104 [2023-11-29T03:58:18.240Z] Removing intermediate container 8100cf611104 [2023-11-29T03:58:18.240Z] ---> fed8fc60dff5 [2023-11-29T03:58:18.240Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-29T03:58:18.240Z] ---> Running in 7cbde2292779 [2023-11-29T03:58:18.505Z] Removing intermediate container 7cbde2292779 [2023-11-29T03:58:18.505Z] ---> c012b45dd2be [2023-11-29T03:58:18.505Z] Step 24/26 : LABEL arch=arm64 [2023-11-29T03:58:18.505Z] ---> Running in 3dbbf9c5e6a9 [2023-11-29T03:58:18.772Z] Removing intermediate container 3dbbf9c5e6a9 [2023-11-29T03:58:18.772Z] ---> 9ec9c4a54c48 [2023-11-29T03:58:18.772Z] Step 25/26 : LABEL git_sha=96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:58:19.043Z] ---> Running in 65a990b7e614 [2023-11-29T03:58:19.311Z] Removing intermediate container 65a990b7e614 [2023-11-29T03:58:19.311Z] ---> 14d47732c3ae [2023-11-29T03:58:19.311Z] Step 26/26 : LABEL version=3.2.0-dev.2 [2023-11-29T03:58:19.311Z] ---> Running in ba438929612a [2023-11-29T03:58:19.577Z] Removing intermediate container ba438929612a [2023-11-29T03:58:19.577Z] ---> 0171c84f4921 [2023-11-29T03:58:19.577Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-29T03:58:19.577Z] Successfully built 0171c84f4921 [2023-11-29T03:58:19.577Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T03:58:20.015Z] provisioning config files... [2023-11-29T03:58:20.029Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/154@tmp/config7818251236814949602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:58:20.431Z] ---> ****-login.sh [2023-11-29T03:58:20.431Z] nexus3.edgexfoundry.org:10001 [2023-11-29T03:58:20.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:58:20.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:58:20.697Z] Configure a credential helper to remove this warning. See [2023-11-29T03:58:20.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:58:20.697Z] [2023-11-29T03:58:20.697Z] Login Succeeded [2023-11-29T03:58:20.697Z] nexus3.edgexfoundry.org:10002 [2023-11-29T03:58:20.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:58:20.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:58:20.963Z] Configure a credential helper to remove this warning. See [2023-11-29T03:58:20.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:58:20.963Z] [2023-11-29T03:58:20.963Z] Login Succeeded [2023-11-29T03:58:20.963Z] nexus3.edgexfoundry.org:10003 [2023-11-29T03:58:21.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:58:21.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:58:21.494Z] Configure a credential helper to remove this warning. See [2023-11-29T03:58:21.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:58:21.494Z] [2023-11-29T03:58:21.494Z] Login Succeeded [2023-11-29T03:58:21.494Z] nexus3.edgexfoundry.org:10004 [2023-11-29T03:58:21.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:58:21.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:58:21.760Z] Configure a credential helper to remove this warning. See [2023-11-29T03:58:21.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:58:21.760Z] [2023-11-29T03:58:21.760Z] Login Succeeded [2023-11-29T03:58:21.760Z] ****.io [2023-11-29T03:58:22.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T03:58:22.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T03:58:22.294Z] Configure a credential helper to remove this warning. See [2023-11-29T03:58:22.294Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T03:58:22.294Z] [2023-11-29T03:58:22.294Z] Login Succeeded [2023-11-29T03:58:22.294Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T03:58:22.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-29T03:58:22.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T03:58:22.623Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-29T03:58:22.623Z] 96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:58:22.623Z] latest [2023-11-29T03:58:22.623Z] 3.2.0-dev.2 [2023-11-29T03:58:22.623Z] 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:58:22.623Z] main [2023-11-29T03:58:22.623Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:23.198Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:23.684Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:58:23.684Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-29T03:58:23.684Z] 43da6dca7b4c: Preparing [2023-11-29T03:58:23.684Z] f9ec676a09b5: Preparing [2023-11-29T03:58:23.684Z] 686cafe08cb5: Preparing [2023-11-29T03:58:23.684Z] e12fbe28b750: Preparing [2023-11-29T03:58:23.684Z] f62b1f13134e: Preparing [2023-11-29T03:58:23.684Z] 5f4d9fc4d98d: Preparing [2023-11-29T03:58:23.684Z] 5f4d9fc4d98d: Waiting [2023-11-29T03:58:23.950Z] 43da6dca7b4c: Pushed [2023-11-29T03:58:23.950Z] 5f4d9fc4d98d: Layer already exists [2023-11-29T03:58:23.950Z] f9ec676a09b5: Pushed [2023-11-29T03:58:23.950Z] f62b1f13134e: Pushed [2023-11-29T03:58:25.354Z] e12fbe28b750: Pushed [2023-11-29T03:58:31.070Z] 686cafe08cb5: Pushed [2023-11-29T03:58:31.650Z] 96614595ba73594199dee70385f2da41578defd7: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:32.132Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:32.585Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-29T03:58:32.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-29T03:58:32.585Z] 43da6dca7b4c: Preparing [2023-11-29T03:58:32.585Z] f9ec676a09b5: Preparing [2023-11-29T03:58:32.585Z] 686cafe08cb5: Preparing [2023-11-29T03:58:32.585Z] e12fbe28b750: Preparing [2023-11-29T03:58:32.585Z] f62b1f13134e: Preparing [2023-11-29T03:58:32.585Z] 5f4d9fc4d98d: Preparing [2023-11-29T03:58:32.585Z] 5f4d9fc4d98d: Waiting [2023-11-29T03:58:32.585Z] 43da6dca7b4c: Layer already exists [2023-11-29T03:58:32.585Z] 686cafe08cb5: Layer already exists [2023-11-29T03:58:32.585Z] f62b1f13134e: Layer already exists [2023-11-29T03:58:32.585Z] f9ec676a09b5: Layer already exists [2023-11-29T03:58:32.585Z] e12fbe28b750: Layer already exists [2023-11-29T03:58:32.585Z] 5f4d9fc4d98d: Layer already exists [2023-11-29T03:58:32.851Z] latest: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:33.321Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:33.792Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 [2023-11-29T03:58:33.792Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-29T03:58:33.792Z] 43da6dca7b4c: Preparing [2023-11-29T03:58:33.792Z] f9ec676a09b5: Preparing [2023-11-29T03:58:33.792Z] 686cafe08cb5: Preparing [2023-11-29T03:58:33.792Z] e12fbe28b750: Preparing [2023-11-29T03:58:33.792Z] f62b1f13134e: Preparing [2023-11-29T03:58:33.792Z] 5f4d9fc4d98d: Preparing [2023-11-29T03:58:33.792Z] 5f4d9fc4d98d: Waiting [2023-11-29T03:58:33.792Z] f62b1f13134e: Layer already exists [2023-11-29T03:58:33.792Z] f9ec676a09b5: Layer already exists [2023-11-29T03:58:33.792Z] 43da6dca7b4c: Layer already exists [2023-11-29T03:58:33.792Z] e12fbe28b750: Layer already exists [2023-11-29T03:58:33.792Z] 686cafe08cb5: Layer already exists [2023-11-29T03:58:33.792Z] 5f4d9fc4d98d: Layer already exists [2023-11-29T03:58:33.792Z] 3.2.0-dev.2: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:34.569Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:35.069Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:58:35.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-29T03:58:35.069Z] 43da6dca7b4c: Preparing [2023-11-29T03:58:35.069Z] f9ec676a09b5: Preparing [2023-11-29T03:58:35.069Z] 686cafe08cb5: Preparing [2023-11-29T03:58:35.069Z] e12fbe28b750: Preparing [2023-11-29T03:58:35.069Z] f62b1f13134e: Preparing [2023-11-29T03:58:35.069Z] 5f4d9fc4d98d: Preparing [2023-11-29T03:58:35.069Z] 5f4d9fc4d98d: Waiting [2023-11-29T03:58:35.069Z] 43da6dca7b4c: Layer already exists [2023-11-29T03:58:35.069Z] e12fbe28b750: Layer already exists [2023-11-29T03:58:35.069Z] 686cafe08cb5: Layer already exists [2023-11-29T03:58:35.069Z] f62b1f13134e: Layer already exists [2023-11-29T03:58:35.069Z] f9ec676a09b5: Layer already exists [2023-11-29T03:58:35.069Z] 5f4d9fc4d98d: Layer already exists [2023-11-29T03:58:35.069Z] 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:35.562Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:36.052Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-29T03:58:36.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-29T03:58:36.053Z] 43da6dca7b4c: Preparing [2023-11-29T03:58:36.053Z] f9ec676a09b5: Preparing [2023-11-29T03:58:36.053Z] 686cafe08cb5: Preparing [2023-11-29T03:58:36.053Z] e12fbe28b750: Preparing [2023-11-29T03:58:36.053Z] f62b1f13134e: Preparing [2023-11-29T03:58:36.053Z] 5f4d9fc4d98d: Preparing [2023-11-29T03:58:36.053Z] 5f4d9fc4d98d: Waiting [2023-11-29T03:58:36.053Z] f62b1f13134e: Layer already exists [2023-11-29T03:58:36.053Z] 43da6dca7b4c: Layer already exists [2023-11-29T03:58:36.053Z] f9ec676a09b5: Layer already exists [2023-11-29T03:58:36.053Z] 686cafe08cb5: Layer already exists [2023-11-29T03:58:36.053Z] e12fbe28b750: Layer already exists [2023-11-29T03:58:36.053Z] 5f4d9fc4d98d: Layer already exists [2023-11-29T03:58:36.053Z] main: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-29T03:58:36.654Z] ===================================================== [Pipeline] echo [2023-11-29T03:58:36.708Z] taggedImages: [2023-11-29T03:58:36.708Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 [2023-11-29T03:58:36.708Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-29T03:58:36.708Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 [2023-11-29T03:58:36.708Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [2023-11-29T03:58:36.708Z] - 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-11-29T03:58:37.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T03:58:37.319Z] [2023-11-29T03:58:37.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:58:37.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T03:58:37.691Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-29T03:58:37.691Z] 8998bd30e6a1: Pulling fs layer [2023-11-29T03:58:37.691Z] 04944245beec: Pulling fs layer [2023-11-29T03:58:37.691Z] 699f458cf7ca: Pulling fs layer [2023-11-29T03:58:37.691Z] 765212b225bb: Pulling fs layer [2023-11-29T03:58:37.691Z] f23df028b6ca: Pulling fs layer [2023-11-29T03:58:37.691Z] d65c8cfc05b1: Pulling fs layer [2023-11-29T03:58:37.691Z] 2437ff75d9bd: Pulling fs layer [2023-11-29T03:58:37.691Z] 765212b225bb: Waiting [2023-11-29T03:58:37.691Z] f23df028b6ca: Waiting [2023-11-29T03:58:37.691Z] d65c8cfc05b1: Waiting [2023-11-29T03:58:37.691Z] 2437ff75d9bd: Waiting [2023-11-29T03:58:37.958Z] 04944245beec: Verifying Checksum [2023-11-29T03:58:37.958Z] 04944245beec: Download complete [2023-11-29T03:58:37.958Z] 765212b225bb: Verifying Checksum [2023-11-29T03:58:37.958Z] 765212b225bb: Download complete [2023-11-29T03:58:37.958Z] f23df028b6ca: Verifying Checksum [2023-11-29T03:58:37.958Z] f23df028b6ca: Download complete [2023-11-29T03:58:37.958Z] d65c8cfc05b1: Download complete [2023-11-29T03:58:38.225Z] 699f458cf7ca: Verifying Checksum [2023-11-29T03:58:38.225Z] 699f458cf7ca: Download complete [2023-11-29T03:58:38.493Z] 8998bd30e6a1: Verifying Checksum [2023-11-29T03:58:38.493Z] 8998bd30e6a1: Download complete [2023-11-29T03:58:40.430Z] 2437ff75d9bd: Verifying Checksum [2023-11-29T03:58:40.430Z] 2437ff75d9bd: Download complete [2023-11-29T03:58:43.008Z] 8998bd30e6a1: Pull complete [2023-11-29T03:58:43.008Z] 04944245beec: Pull complete [2023-11-29T03:58:44.416Z] 699f458cf7ca: Pull complete [2023-11-29T03:58:44.684Z] 765212b225bb: Pull complete [2023-11-29T03:58:45.644Z] f23df028b6ca: Pull complete [2023-11-29T03:58:45.644Z] d65c8cfc05b1: Pull complete [2023-11-29T03:59:03.844Z] 2437ff75d9bd: Pull complete [2023-11-29T03:59:03.844Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-29T03:59:03.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T03:59:03.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:59:04.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container [2023-11-29T03:59:04.309Z] $ 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/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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-11-29T03:59:06.902Z] $ docker top 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T03:59:07.504Z] ---> job-cost.sh [2023-11-29T03:59:07.774Z] lf-activate-venv: SKIPPING [2023-11-29T03:59:07.774Z] INFO: No Stack... [2023-11-29T03:59:08.038Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-29T03:59:08.994Z] INFO: Archiving Costs [Pipeline] sh [2023-11-29T03:59:09.620Z] + cat /w/workspace/device-rest-go/154/archives/cost.csv [2023-11-29T03:59:09.621Z] + cut -d, -f6 [Pipeline] lock [2023-11-29T03:59:09.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [2023-11-29T03:59:09.688Z] Resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] did not exist. Created. [2023-11-29T03:59:09.688Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-29T03:59:10.421Z] /w/workspace/device-rest-go/154@tmp/durable-1ef96ee4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-29T03:59:11.058Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-29T03:59:11.124Z] Warning: overwriting stash ‘stack-cost’ [2023-11-29T03:59:11.169Z] Stashed 1 file(s) [Pipeline] } [2023-11-29T03:59:11.178Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-29T03:59:11.292Z] $ docker stop --time=1 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca [2023-11-29T03:59:15.043Z] $ docker rm -f --volumes 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca [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-11-29T03:59:16.471Z] provisioning config files... [2023-11-29T03:59:16.478Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13505569512942234509tmp [Pipeline] { [Pipeline] sh [2023-11-29T03:59:16.869Z] + set +x [2023-11-29T03:59:16.869Z] + curl -s https://codecov.io/bash [2023-11-29T03:59:16.869Z] + bash -s -- [2023-11-29T03:59:16.869Z] [2023-11-29T03:59:16.869Z] _____ _ [2023-11-29T03:59:16.869Z] / ____| | | [2023-11-29T03:59:16.869Z] | | ___ __| | ___ ___ _____ __ [2023-11-29T03:59:16.869Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-29T03:59:16.869Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-29T03:59:16.869Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-29T03:59:16.869Z] Bash-1.0.6 [2023-11-29T03:59:16.869Z] [2023-11-29T03:59:16.869Z] [2023-11-29T03:59:16.869Z] ==> git version 2.25.1 found [2023-11-29T03:59:16.869Z] ==> 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-11-29T03:59:16.869Z] Release-Date: 2020-01-08 [2023-11-29T03:59:16.869Z] 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-11-29T03:59:16.869Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-29T03:59:16.869Z] ==> Jenkins CI detected. [2023-11-29T03:59:16.869Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-29T03:59:16.869Z] project root: . [2023-11-29T03:59:16.869Z] --> token set from env [2023-11-29T03:59:16.869Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-29T03:59:16.869Z] ==> Running gcov in . (disable via -X gcov) [2023-11-29T03:59:16.869Z] ==> Python coveragepy not found [2023-11-29T03:59:16.869Z] ==> Searching for coverage reports in: [2023-11-29T03:59:16.869Z] + . [2023-11-29T03:59:16.869Z] -> Found 1 reports [2023-11-29T03:59:16.869Z] ==> Detecting git/mercurial file structure [2023-11-29T03:59:17.128Z] ==> Reading reports [2023-11-29T03:59:17.128Z] + ./coverage.out bytes=14499 [2023-11-29T03:59:17.128Z] ==> Appending adjustments [2023-11-29T03:59:17.128Z] https://docs.codecov.io/docs/fixing-reports [2023-11-29T03:59:17.128Z] + Found adjustments [2023-11-29T03:59:17.128Z] ==> Gzipping contents [2023-11-29T03:59:17.128Z] 4.0K /tmp/codecov.GAIIMj.gz [2023-11-29T03:59:17.128Z] ==> Uploading reports [2023-11-29T03:59:17.128Z] url: https://codecov.io [2023-11-29T03:59:17.128Z] query: branch=main&commit=96614595ba73594199dee70385f2da41578defd7&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-29T03:59:17.128Z] -> Pinging Codecov [2023-11-29T03:59:17.129Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=96614595ba73594199dee70385f2da41578defd7&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-29T03:59:17.129Z] -> Uploading to [2023-11-29T03:59:17.129Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-29/4E5D53B4F1F92C436F7061BF334D961C/96614595ba73594199dee70385f2da41578defd7/056de362-a043-4cd8-9d22-78405b1bb546.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T035917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae2be47e9e9fd974b2dc92a102a66dfc1dd21b82e11a03e2ddfa81ca42f4f31d [2023-11-29T03:59:17.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-29T03:59:17.129Z] Dload Upload Total Spent Left Speed [2023-11-29T03:59:19.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 2321 0 0 100 2321 0 1089 0:00:02 0:00:02 --:--:-- 1089 [2023-11-29T03:59:19.260Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/96614595ba73594199dee70385f2da41578defd7 [Pipeline] } [2023-11-29T03:59:19.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-29T03:59:19.744Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-29T03:59:19.762Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:59:20.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-29T03:59:20.202Z] [2023-11-29T03:59:20.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:59:20.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-29T03:59:20.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-29T03:59:20.558Z] df9b9388f04a: Pulling fs layer [2023-11-29T03:59:20.558Z] 52dc419b0ee2: Pulling fs layer [2023-11-29T03:59:20.558Z] 25bc292e5bac: Pulling fs layer [2023-11-29T03:59:20.558Z] 114826534d7a: Pulling fs layer [2023-11-29T03:59:20.558Z] 4657fd5d0bcf: Pulling fs layer [2023-11-29T03:59:20.558Z] 6ad1cebc031e: Pulling fs layer [2023-11-29T03:59:20.558Z] 8a3aa393b2d8: Pulling fs layer [2023-11-29T03:59:20.558Z] 6ad1cebc031e: Waiting [2023-11-29T03:59:20.558Z] 114826534d7a: Waiting [2023-11-29T03:59:20.558Z] 4657fd5d0bcf: Waiting [2023-11-29T03:59:20.558Z] 8a3aa393b2d8: Waiting [2023-11-29T03:59:20.558Z] 25bc292e5bac: Verifying Checksum [2023-11-29T03:59:20.558Z] 25bc292e5bac: Download complete [2023-11-29T03:59:20.558Z] 52dc419b0ee2: Verifying Checksum [2023-11-29T03:59:20.558Z] 52dc419b0ee2: Download complete [2023-11-29T03:59:20.558Z] 4657fd5d0bcf: Verifying Checksum [2023-11-29T03:59:20.558Z] 4657fd5d0bcf: Download complete [2023-11-29T03:59:20.558Z] df9b9388f04a: Download complete [2023-11-29T03:59:20.816Z] df9b9388f04a: Pull complete [2023-11-29T03:59:20.816Z] 6ad1cebc031e: Verifying Checksum [2023-11-29T03:59:20.816Z] 6ad1cebc031e: Download complete [2023-11-29T03:59:20.816Z] 52dc419b0ee2: Pull complete [2023-11-29T03:59:20.816Z] 25bc292e5bac: Pull complete [2023-11-29T03:59:21.384Z] 114826534d7a: Verifying Checksum [2023-11-29T03:59:21.384Z] 114826534d7a: Download complete [2023-11-29T03:59:21.384Z] 8a3aa393b2d8: Verifying Checksum [2023-11-29T03:59:21.384Z] 8a3aa393b2d8: Download complete [2023-11-29T03:59:24.666Z] 114826534d7a: Pull complete [2023-11-29T03:59:24.925Z] 4657fd5d0bcf: Pull complete [2023-11-29T03:59:25.184Z] 6ad1cebc031e: Pull complete [2023-11-29T03:59:28.468Z] 8a3aa393b2d8: Pull complete [2023-11-29T03:59:28.468Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-29T03:59:28.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-29T03:59:28.468Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:59:28.757Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:59:28.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-29T03:59:34.916Z] $ docker top 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-29T03:59:35.084Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-29T03:59:35.372Z] + set -o pipefail [2023-11-29T03:59:35.373Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-29T03:59:40.763Z] [2023-11-29T03:59:40.764Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-29T03:59:40.764Z] [2023-11-29T03:59:40.764Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/64f4b73a-1578-45b7-a8ff-ed9c9ddd506a [2023-11-29T03:59:40.764Z] [2023-11-29T03:59:40.764Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-29T03:59:40.764Z] [2023-11-29T03:59:41.331Z] [2023-11-29T03:59:41.331Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-29T03:59:41.331Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-29T03:59:41.331Z] More details here: https://snyk.co/ue1NS [2023-11-29T03:59:41.331Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-29T03:59:41.331Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-29T03:59:41.342Z] $ docker stop --time=1 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd [2023-11-29T03:59:46.271Z] $ docker rm -f --volumes 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd [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-11-29T03:59:47.787Z] + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] sh [2023-11-29T03:59:48.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-29T03:59:48.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:59:48.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T03:59:48.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T03:59:48.586Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T03:59:48.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-29T03:59:49.105Z] $ docker top a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf -eo pid,comm [2023-11-29T03:59:49.153Z] 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-11-29T03:59:49.153Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-29T03:59:49.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T03:59:49.351Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T03:59:49.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T03:59:49.463Z] $ docker exec a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf ssh-agent [2023-11-29T03:59:49.571Z] SSH_AUTH_SOCK=/tmp/ssh-XFenuuUmCUK4/agent.32 [2023-11-29T03:59:49.571Z] SSH_AGENT_PID=38 [2023-11-29T03:59:49.575Z] Running ssh-add (command line suppressed) [2023-11-29T03:59:49.672Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7415480258375894742.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7415480258375894742.key) [2023-11-29T03:59:49.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T03:59:50.029Z] + git semver tag [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,199 [run_tag] DEBUG tag force:False [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,199 [check_head_tag] DEBUG check head tag [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,200 [execute] INFO git cat-file --batch-check [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,204 [execute] INFO git cat-file --batch [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,223 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,224 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-29T03:59:50.289Z] 2023-11-29 03:59:50,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T03:59:50.289Z] 3.2.0-dev.2 [Pipeline] } [2023-11-29T03:59:50.298Z] $ docker exec --env ******** --env ******** a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf ssh-agent -k [2023-11-29T03:59:50.396Z] unset SSH_AUTH_SOCK; [2023-11-29T03:59:50.396Z] unset SSH_AGENT_PID; [2023-11-29T03:59:50.396Z] echo Agent pid 38 killed; [2023-11-29T03:59:50.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-29T03:59:50.901Z] + git semver [Pipeline] } [2023-11-29T03:59:51.172Z] $ docker stop --time=1 a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf [2023-11-29T03:59:52.482Z] $ docker rm -f --volumes a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:59:53.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-29T03:59:53.120Z] [2023-11-29T03:59:53.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T03:59:53.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-29T03:59:53.470Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-29T03:59:53.470Z] ab5ef0e58194: Pulling fs layer [2023-11-29T03:59:53.470Z] 9712f1f96733: Pulling fs layer [2023-11-29T03:59:53.470Z] 63f879dbbcfc: Pulling fs layer [2023-11-29T03:59:53.470Z] 0d9ebad4ef96: Pulling fs layer [2023-11-29T03:59:53.470Z] e9a5061849ea: Pulling fs layer [2023-11-29T03:59:53.470Z] d747dcd14b5f: Pulling fs layer [2023-11-29T03:59:53.470Z] 2de7ff778b66: Pulling fs layer [2023-11-29T03:59:53.470Z] e9a5061849ea: Waiting [2023-11-29T03:59:53.470Z] d747dcd14b5f: Waiting [2023-11-29T03:59:53.470Z] 2de7ff778b66: Waiting [2023-11-29T03:59:53.470Z] 0d9ebad4ef96: Waiting [2023-11-29T03:59:53.470Z] 9712f1f96733: Verifying Checksum [2023-11-29T03:59:53.470Z] 9712f1f96733: Download complete [2023-11-29T03:59:53.729Z] 63f879dbbcfc: Verifying Checksum [2023-11-29T03:59:53.729Z] 63f879dbbcfc: Download complete [2023-11-29T03:59:53.988Z] e9a5061849ea: Verifying Checksum [2023-11-29T03:59:53.988Z] e9a5061849ea: Download complete [2023-11-29T03:59:53.988Z] d747dcd14b5f: Verifying Checksum [2023-11-29T03:59:53.988Z] d747dcd14b5f: Download complete [2023-11-29T03:59:53.988Z] 0d9ebad4ef96: Verifying Checksum [2023-11-29T03:59:53.988Z] 0d9ebad4ef96: Download complete [2023-11-29T03:59:53.988Z] ab5ef0e58194: Verifying Checksum [2023-11-29T03:59:53.988Z] ab5ef0e58194: Download complete [2023-11-29T03:59:53.988Z] 2de7ff778b66: Verifying Checksum [2023-11-29T03:59:56.514Z] ab5ef0e58194: Pull complete [2023-11-29T03:59:56.514Z] 9712f1f96733: Pull complete [2023-11-29T03:59:57.447Z] 63f879dbbcfc: Pull complete [2023-11-29T04:00:00.728Z] 0d9ebad4ef96: Pull complete [2023-11-29T04:00:00.985Z] e9a5061849ea: Pull complete [2023-11-29T04:00:00.985Z] d747dcd14b5f: Pull complete [2023-11-29T04:00:01.920Z] 2de7ff778b66: Pull complete [2023-11-29T04:00:01.920Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-29T04:00:01.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-29T04:00:01.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T04:00:02.198Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T04:00:02.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-29T04:00:09.444Z] $ docker top ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-29T04:00:09.623Z] provisioning config files... [2023-11-29T04:00:09.631Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11259870506228403393tmp [2023-11-29T04:00:09.640Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config187335730092164397tmp [2023-11-29T04:00:09.647Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config397343631595962321tmp [Pipeline] { [Pipeline] echo [2023-11-29T04:00:09.788Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:10.077Z] ---> sigul-configuration.sh [2023-11-29T04:00:10.077Z] gpg: directory `/root/.gnupg' created [2023-11-29T04:00:10.077Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-29T04:00:10.077Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-29T04:00:10.077Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-29T04:00:10.077Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-29T04:00:10.077Z] gpg: CAST5 encrypted data [2023-11-29T04:00:10.077Z] gpg: encrypted with 1 passphrase [2023-11-29T04:00:10.077Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-29T04:00:10.445Z] + mkdir /home/jenkins [2023-11-29T04:00:10.445Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-29T04:00:10.777Z] + 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-11-29T04:00:10.786Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:11.078Z] ---> sigul-install.sh [2023-11-29T04:00:11.078Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-29T04:00:11.377Z] + git tag --list [2023-11-29T04:00:11.377Z] v1.0.0 [2023-11-29T04:00:11.377Z] v1.1.0 [2023-11-29T04:00:11.377Z] v1.1.1 [2023-11-29T04:00:11.378Z] v1.1.2 [2023-11-29T04:00:11.378Z] v1.2.0 [2023-11-29T04:00:11.378Z] v1.2.1 [2023-11-29T04:00:11.378Z] v2.0.0 [2023-11-29T04:00:11.378Z] v2.1.0 [2023-11-29T04:00:11.378Z] v2.1.1 [2023-11-29T04:00:11.378Z] v2.2.0 [2023-11-29T04:00:11.378Z] v2.3.0 [2023-11-29T04:00:11.378Z] v3.0 [2023-11-29T04:00:11.378Z] v3.0.0 [2023-11-29T04:00:11.378Z] v3.1 [2023-11-29T04:00:11.378Z] v3.1.0 [2023-11-29T04:00:11.378Z] v3.1.0-dev.1 [2023-11-29T04:00:11.378Z] v3.1.0-dev.10 [2023-11-29T04:00:11.378Z] v3.1.0-dev.11 [2023-11-29T04:00:11.378Z] v3.1.0-dev.12 [2023-11-29T04:00:11.378Z] v3.1.0-dev.13 [2023-11-29T04:00:11.378Z] v3.1.0-dev.14 [2023-11-29T04:00:11.378Z] v3.1.0-dev.15 [2023-11-29T04:00:11.378Z] v3.1.0-dev.16 [2023-11-29T04:00:11.378Z] v3.1.0-dev.17 [2023-11-29T04:00:11.378Z] v3.1.0-dev.18 [2023-11-29T04:00:11.378Z] v3.1.0-dev.19 [2023-11-29T04:00:11.378Z] v3.1.0-dev.2 [2023-11-29T04:00:11.378Z] v3.1.0-dev.20 [2023-11-29T04:00:11.378Z] v3.1.0-dev.21 [2023-11-29T04:00:11.378Z] v3.1.0-dev.22 [2023-11-29T04:00:11.378Z] v3.1.0-dev.23 [2023-11-29T04:00:11.378Z] v3.1.0-dev.24 [2023-11-29T04:00:11.378Z] v3.1.0-dev.25 [2023-11-29T04:00:11.378Z] v3.1.0-dev.26 [2023-11-29T04:00:11.378Z] v3.1.0-dev.27 [2023-11-29T04:00:11.378Z] v3.1.0-dev.28 [2023-11-29T04:00:11.378Z] v3.1.0-dev.29 [2023-11-29T04:00:11.378Z] v3.1.0-dev.3 [2023-11-29T04:00:11.378Z] v3.1.0-dev.30 [2023-11-29T04:00:11.378Z] v3.1.0-dev.31 [2023-11-29T04:00:11.378Z] v3.1.0-dev.32 [2023-11-29T04:00:11.378Z] v3.1.0-dev.4 [2023-11-29T04:00:11.378Z] v3.1.0-dev.5 [2023-11-29T04:00:11.378Z] v3.1.0-dev.6 [2023-11-29T04:00:11.378Z] v3.1.0-dev.7 [2023-11-29T04:00:11.378Z] v3.1.0-dev.8 [2023-11-29T04:00:11.378Z] v3.1.0-dev.9 [2023-11-29T04:00:11.378Z] v3.2.0-dev.1 [2023-11-29T04:00:11.378Z] v3.2.0-dev.2 [Pipeline] sh [2023-11-29T04:00:11.677Z] + lftools sign git-tag v3.2.0-dev.2 [2023-11-29T04:00:12.246Z] Signing Git tag with Sigul... [2023-11-29T04:00:12.246Z] Signing v3.2.0-dev.2 [Pipeline] echo [2023-11-29T04:00:12.519Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:12.813Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-29T04:00:12.821Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-29T04:00:12.951Z] $ docker stop --time=1 ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 [2023-11-29T04:00:14.243Z] $ docker rm -f --volumes ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-29T04:00:15.165Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-29T04:00:15.165Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T04:00:15.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T04:00:15.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T04:00:15.715Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T04:00:15.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-29T04:00:16.072Z] $ docker top eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 -eo pid,comm [2023-11-29T04:00:16.113Z] 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-11-29T04:00:16.113Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-29T04:00:16.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T04:00:16.316Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T04:00:16.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T04:00:16.416Z] $ docker exec eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 ssh-agent [2023-11-29T04:00:16.518Z] SSH_AUTH_SOCK=/tmp/ssh-6uMLqUb3Qauk/agent.32 [2023-11-29T04:00:16.518Z] SSH_AGENT_PID=38 [2023-11-29T04:00:16.525Z] Running ssh-add (command line suppressed) [2023-11-29T04:00:16.618Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8812761865863107079.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8812761865863107079.key) [2023-11-29T04:00:16.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T04:00:16.975Z] + git semver bump pre [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [bump_version] DEBUG bumped version:3.2.0-dev.3 [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,147 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,149 [execute] INFO git cat-file --batch-check [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,153 [execute] INFO git cat-file --batch [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-29T04:00:17.235Z] 2023-11-29 04:00:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T04:00:17.235Z] 3.2.0-dev.3 [Pipeline] } [2023-11-29T04:00:17.243Z] $ docker exec --env ******** --env ******** eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 ssh-agent -k [2023-11-29T04:00:17.343Z] unset SSH_AUTH_SOCK; [2023-11-29T04:00:17.343Z] unset SSH_AGENT_PID; [2023-11-29T04:00:17.343Z] echo Agent pid 38 killed; [2023-11-29T04:00:17.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-29T04:00:17.895Z] + git semver [Pipeline] } [2023-11-29T04:00:18.169Z] $ docker stop --time=1 eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 [2023-11-29T04:00:19.444Z] $ docker rm -f --volumes eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T04:00:19.950Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-29T04:00:19.950Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T04:00:20.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T04:00:20.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T04:00:20.476Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T04:00:20.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-29T04:00:20.856Z] $ docker top f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-29T04:00:21.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T04:00:21.144Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T04:00:21.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T04:00:21.249Z] $ docker exec f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 ssh-agent [2023-11-29T04:00:21.354Z] SSH_AUTH_SOCK=/tmp/ssh-6HB7ZVniXesI/agent.33 [2023-11-29T04:00:21.354Z] SSH_AGENT_PID=39 [2023-11-29T04:00:21.360Z] Running ssh-add (command line suppressed) [2023-11-29T04:00:21.472Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2408078210802629441.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2408078210802629441.key) [2023-11-29T04:00:21.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T04:00:21.982Z] + git semver push [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,117 [run_push] DEBUG push [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,117 [execute] INFO git cat-file --batch-check [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,121 [execute] INFO git rev-list 40fefc97f234d89a5b926b3f60a79d531d9c934d -- [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,121 [execute] DEBUG Popen(['git', 'rev-list', '40fefc97f234d89a5b926b3f60a79d531d9c934d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,129 [execute] INFO git fetch -v origin [2023-11-29T04:00:22.243Z] 2023-11-29 04:00:22,129 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-29T04:00:22.812Z] 2023-11-29 04:00:22,647 [run_push] DEBUG no remote changes detected [2023-11-29T04:00:22.812Z] 2023-11-29 04:00:22,647 [execute] INFO git push origin semver [2023-11-29T04:00:22.812Z] 2023-11-29 04:00:22,648 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-29T04:00:23.748Z] 2023-11-29 04:00:23,558 [run_push] DEBUG push all version tags [2023-11-29T04:00:23.748Z] 2023-11-29 04:00:23,558 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-29T04:00:23.748Z] 2023-11-29 04:00:23,559 [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-11-29T04:00:24.687Z] 2023-11-29 04:00:24,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-29T04:00:24.687Z] 3.2.0-dev.3 [Pipeline] } [2023-11-29T04:00:24.695Z] $ docker exec --env ******** --env ******** f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 ssh-agent -k [2023-11-29T04:00:24.795Z] unset SSH_AUTH_SOCK; [2023-11-29T04:00:24.795Z] unset SSH_AGENT_PID; [2023-11-29T04:00:24.795Z] echo Agent pid 39 killed; [2023-11-29T04:00:24.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-29T04:00:25.356Z] + git semver [Pipeline] } [2023-11-29T04:00:25.627Z] $ docker stop --time=1 f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 [2023-11-29T04:00:26.903Z] $ docker rm -f --volumes f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 [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-11-29T04:00:28.438Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-29T04:00:28.438Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-29T04:00:28.438Z] total 16 [2023-11-29T04:00:28.438Z] drwxr-xr-x 3 root root 4096 Nov 29 03:49 . [2023-11-29T04:00:28.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 04:00 .. [2023-11-29T04:00:28.438Z] drwxr-xr-x 2 root root 4096 Nov 29 03:49 cost [2023-11-29T04:00:28.438Z] -rw-r--r-- 1 root root 86 Nov 29 03:49 cost.csv [2023-11-29T04:00:28.438Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-29T04:00:28.438Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-29T04:00:28.438Z] total 16 [2023-11-29T04:00:28.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 03:49 . [2023-11-29T04:00:28.438Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 04:00 .. [2023-11-29T04:00:28.438Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 03:49 cost [2023-11-29T04:00:28.438Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 29 03:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:28.725Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:29.578Z] ---> package-listing.sh [2023-11-29T04:00:29.578Z] ++ facter osfamily [2023-11-29T04:00:29.578Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-29T04:00:29.837Z] + OS_FAMILY=debian [2023-11-29T04:00:29.837Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-29T04:00:29.837Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-29T04:00:29.837Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-29T04:00:29.837Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-29T04:00:29.837Z] + PACKAGES=/tmp/packages_start.txt [2023-11-29T04:00:29.837Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-29T04:00:29.837Z] + PACKAGES=/tmp/packages_end.txt [2023-11-29T04:00:29.837Z] + case "${OS_FAMILY}" in [2023-11-29T04:00:29.837Z] + dpkg -l [2023-11-29T04:00:29.837Z] + grep '^ii' [2023-11-29T04:00:29.837Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-29T04:00:29.837Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-29T04:00:29.837Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-29T04:00:29.837Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-29T04:00:29.837Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-29T04:00:29.837Z] + 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-11-29T04:00:29.847Z] 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-11-29T04:00:30.124Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T04:00:30.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T04:00:30.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T04:00:30.928Z] prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container [2023-11-29T04:00:30.957Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-29T04:00:31.180Z] $ docker top 8b15399ca53d185de486fb46985c633c467468f72d98b3f3c5bf30fa71b64476 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T04:00:31.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-29T04:00:31.922Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-29T04:00:32.207Z] + ls /var/log/sa-host [2023-11-29T04:00:32.207Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T04:00:32.339Z] provisioning config files... [2023-11-29T04:00:32.347Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14994801498259775562tmp [Pipeline] { [Pipeline] echo [2023-11-29T04:00:32.475Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:32.758Z] ---> create-netrc.sh [Pipeline] } [2023-11-29T04:00:32.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:33.282Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-29T04:00:33.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:33.638Z] ---> sudo-logs.sh [2023-11-29T04:00:33.638Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-29T04:00:33.730Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:34.015Z] ---> job-cost.sh [2023-11-29T04:00:34.015Z] lf-activate-venv: SKIPPING [2023-11-29T04:00:34.015Z] DEBUG: total: 0.2199999988079071 [2023-11-29T04:00:34.015Z] INFO: Retrieving Stack Cost... [2023-11-29T04:00:34.274Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-29T04:00:34.843Z] INFO: Archiving Costs [Pipeline] echo [2023-11-29T04:00:34.853Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T04:00:35.136Z] ---> logs-deploy.sh [2023-11-29T04:00:35.136Z] lf-activate-venv: SKIPPING [2023-11-29T04:00:35.136Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/154 [2023-11-29T04:00:35.136Z] INFO: archiving workspace using pattern(s): [2023-11-29T04:00:36.076Z] Archives upload complete. [2023-11-29T04:00:36.337Z] INFO: archiving logs to Nexus [2023-11-29T04:00:36.906Z] ---> uname -a: [2023-11-29T04:00:36.906Z] Linux prd-ubuntu20-04-docker-8c-8g-9098 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] ---> lscpu: [2023-11-29T04:00:36.906Z] Architecture: x86_64 [2023-11-29T04:00:36.906Z] CPU op-mode(s): 32-bit, 64-bit [2023-11-29T04:00:36.906Z] Byte Order: Little Endian [2023-11-29T04:00:36.906Z] Address sizes: 40 bits physical, 48 bits virtual [2023-11-29T04:00:36.906Z] CPU(s): 8 [2023-11-29T04:00:36.906Z] On-line CPU(s) list: 0-7 [2023-11-29T04:00:36.906Z] Thread(s) per core: 1 [2023-11-29T04:00:36.906Z] Core(s) per socket: 1 [2023-11-29T04:00:36.906Z] Socket(s): 8 [2023-11-29T04:00:36.906Z] NUMA node(s): 1 [2023-11-29T04:00:36.906Z] Vendor ID: AuthenticAMD [2023-11-29T04:00:36.906Z] CPU family: 23 [2023-11-29T04:00:36.906Z] Model: 49 [2023-11-29T04:00:36.906Z] Model name: AMD EPYC-Rome Processor [2023-11-29T04:00:36.906Z] Stepping: 0 [2023-11-29T04:00:36.906Z] CPU MHz: 2799.998 [2023-11-29T04:00:36.906Z] BogoMIPS: 5599.99 [2023-11-29T04:00:36.906Z] Virtualization: AMD-V [2023-11-29T04:00:36.906Z] Hypervisor vendor: KVM [2023-11-29T04:00:36.906Z] Virtualization type: full [2023-11-29T04:00:36.906Z] L1d cache: 256 KiB [2023-11-29T04:00:36.906Z] L1i cache: 256 KiB [2023-11-29T04:00:36.906Z] L2 cache: 4 MiB [2023-11-29T04:00:36.906Z] L3 cache: 128 MiB [2023-11-29T04:00:36.906Z] NUMA node0 CPU(s): 0-7 [2023-11-29T04:00:36.906Z] Vulnerability Itlb multihit: Not affected [2023-11-29T04:00:36.906Z] Vulnerability L1tf: Not affected [2023-11-29T04:00:36.906Z] Vulnerability Mds: Not affected [2023-11-29T04:00:36.906Z] Vulnerability Meltdown: Not affected [2023-11-29T04:00:36.906Z] Vulnerability Mmio stale data: Not affected [2023-11-29T04:00:36.906Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-11-29T04:00:36.906Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-11-29T04:00:36.906Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-11-29T04:00:36.906Z] Vulnerability Srbds: Not affected [2023-11-29T04:00:36.906Z] Vulnerability Tsx async abort: Not affected [2023-11-29T04:00:36.906Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] ---> nproc: [2023-11-29T04:00:36.906Z] 8 [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z] ---> df -h: [2023-11-29T04:00:36.906Z] Filesystem Size Used Avail Use% Mounted on [2023-11-29T04:00:36.906Z] overlay 155G 13G 143G 9% / [2023-11-29T04:00:36.906Z] tmpfs 64M 0 64M 0% /dev [2023-11-29T04:00:36.906Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-11-29T04:00:36.906Z] shm 64M 0 64M 0% /dev/shm [2023-11-29T04:00:36.906Z] /dev/vda1 155G 13G 143G 9% /facter-os [2023-11-29T04:00:36.906Z] [2023-11-29T04:00:36.906Z]