Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 990d379436bad360529865c6b1e601239e616fa1 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-ssh10076309889338876237.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3152606023728526691.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8296373038057103416.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh185202548005143486.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-ssh9999697186240559503.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 ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17550 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 990d379436bad360529865c6b1e601239e616fa1 (main) Commit message: "fix: Address CVE in Alpine base image (#367)" > 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-list --no-walk abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T21:48:20.609Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T21:48:20.671Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T21:48:20.687Z] ========================================================= [2023-11-14T21:48:20.687Z] EdgeX Global Pipelines Version Info [2023-11-14T21:48:20.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T21:48:21.807Z] ------------------- [2023-11-14T21:48:21.807Z] stable info: [2023-11-14T21:48:21.807Z] ------------------- [2023-11-14T21:48:21.807Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T21:48:21.807Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T21:48:21.807Z] Message: update stable to v1.0.257 [2023-11-14T21:48:22.067Z] ------------------- [2023-11-14T21:48:22.067Z] experimental info: [2023-11-14T21:48:22.067Z] ------------------- [2023-11-14T21:48:22.067Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T21:48:22.067Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T21:48:22.067Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T21:48:22.247Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-14T21:48:22.264Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-14T21:48:22.277Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T21:48:22.288Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T21:48:22.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T21:48:22.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T21:48:22.329Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T21:48:22.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T21:48:22.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T21:48:22.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T21:48:22.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T21:48:22.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-14T21:48:22.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T21:48:22.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T21:48:22.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T21:48:22.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T21:48:22.465Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T21:48:22.486Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T21:48:22.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T21:48:22.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T21:48:22.540Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T21:48:22.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T21:48:22.565Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T21:48:22.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T21:48:22.589Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T21:48:22.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T21:48:22.620Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T21:48:22.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-14T21:48:22.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-14T21:48:22.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-14T21:48:22.679Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 990d379436bad360529865c6b1e601239e616fa1 [Pipeline] echo [2023-11-14T21:48:22.699Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 990d379 [Pipeline] echo [2023-11-14T21:48:22.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T21:48:22.769Z] provisioning config files... [2023-11-14T21:48:22.783Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6110066005246674154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T21:48:23.088Z] ---> docker-login.sh [2023-11-14T21:48:23.088Z] nexus3.edgexfoundry.org:10001 [2023-11-14T21:48:25.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:48:25.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:48:25.895Z] Configure a credential helper to remove this warning. See [2023-11-14T21:48:25.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:48:25.895Z] [2023-11-14T21:48:25.895Z] Login Succeeded [2023-11-14T21:48:25.895Z] nexus3.edgexfoundry.org:10002 [2023-11-14T21:48:25.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:48:26.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:48:26.233Z] Configure a credential helper to remove this warning. See [2023-11-14T21:48:26.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:48:26.233Z] [2023-11-14T21:48:26.233Z] Login Succeeded [2023-11-14T21:48:26.233Z] nexus3.edgexfoundry.org:10003 [2023-11-14T21:48:26.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:48:26.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:48:26.517Z] Configure a credential helper to remove this warning. See [2023-11-14T21:48:26.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:48:26.517Z] [2023-11-14T21:48:26.517Z] Login Succeeded [2023-11-14T21:48:26.517Z] nexus3.edgexfoundry.org:10004 [2023-11-14T21:48:26.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:48:26.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:48:26.776Z] Configure a credential helper to remove this warning. See [2023-11-14T21:48:26.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:48:26.776Z] [2023-11-14T21:48:26.776Z] Login Succeeded [2023-11-14T21:48:26.776Z] docker.io [2023-11-14T21:48:26.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:48:27.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:48:27.036Z] Configure a credential helper to remove this warning. See [2023-11-14T21:48:27.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:48:27.036Z] [2023-11-14T21:48:27.036Z] Login Succeeded [2023-11-14T21:48:27.036Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T21:48:27.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T21:48:27.415Z] + git rev-list -1 --merges 990d379436bad360529865c6b1e601239e616fa1~1..990d379436bad360529865c6b1e601239e616fa1 [Pipeline] echo [2023-11-14T21:48:27.466Z] -----------> git rev-list -1 --merges 990d379436bad360529865c6b1e601239e616fa1~1..990d379436bad360529865c6b1e601239e616fa1 990d379436bad360529865c6b1e601239e616fa1 [false] [Pipeline] sh [2023-11-14T21:48:27.752Z] + git log --format=format:%s -1 990d379436bad360529865c6b1e601239e616fa1 [Pipeline] echo [2023-11-14T21:48:27.765Z] ========================================================= [2023-11-14T21:48:27.765Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T21:48:27.765Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T21:48:28.085Z] + git log --format=format:%s -1 990d379436bad360529865c6b1e601239e616fa1 [Pipeline] echo [2023-11-14T21:48:28.098Z] [semverPrep] GIT_COMMIT: 990d379436bad360529865c6b1e601239e616fa1, Commit Message: fix: Address CVE in Alpine base image (#367) [Pipeline] echo [2023-11-14T21:48:28.108Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T21:48:28.510Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T21:48:28.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T21:48:28.510Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T21:48:28.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T21:48:29.076Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T21:48:29.076Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T21:48:29.076Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:48:29.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T21:48:29.446Z] [2023-11-14T21:48:29.446Z] 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-14T21:48:29.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T21:48:30.336Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T21:48:30.336Z] b85a868b505f: Pulling fs layer [2023-11-14T21:48:30.336Z] e2be974225ed: Pulling fs layer [2023-11-14T21:48:30.336Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T21:48:30.336Z] 988bab9f4d93: Pulling fs layer [2023-11-14T21:48:30.336Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T21:48:30.336Z] eaf3925da568: Pulling fs layer [2023-11-14T21:48:30.336Z] bab4dde63d76: Pulling fs layer [2023-11-14T21:48:30.336Z] 988bab9f4d93: Waiting [2023-11-14T21:48:30.336Z] 1469e6f7b9e6: Waiting [2023-11-14T21:48:30.336Z] eaf3925da568: Waiting [2023-11-14T21:48:30.336Z] bde34c3a00c8: Pulling fs layer [2023-11-14T21:48:30.336Z] b352a97aabf1: Pulling fs layer [2023-11-14T21:48:30.336Z] 4872d77fe225: Pulling fs layer [2023-11-14T21:48:30.336Z] bde34c3a00c8: Waiting [2023-11-14T21:48:30.336Z] bab4dde63d76: Waiting [2023-11-14T21:48:30.336Z] b352a97aabf1: Waiting [2023-11-14T21:48:30.336Z] 5851b861e8e6: Pulling fs layer [2023-11-14T21:48:30.336Z] 5851b861e8e6: Waiting [2023-11-14T21:48:30.336Z] 4872d77fe225: Waiting [2023-11-14T21:48:30.336Z] e2be974225ed: Download complete [2023-11-14T21:48:30.336Z] 988bab9f4d93: Verifying Checksum [2023-11-14T21:48:30.336Z] 988bab9f4d93: Download complete [2023-11-14T21:48:30.646Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T21:48:30.646Z] 1469e6f7b9e6: Download complete [2023-11-14T21:48:30.646Z] eaf3925da568: Verifying Checksum [2023-11-14T21:48:30.646Z] eaf3925da568: Download complete [2023-11-14T21:48:30.646Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T21:48:30.646Z] 339a4e72a1f5: Download complete [2023-11-14T21:48:30.646Z] bde34c3a00c8: Verifying Checksum [2023-11-14T21:48:30.646Z] bde34c3a00c8: Download complete [2023-11-14T21:48:30.646Z] b352a97aabf1: Verifying Checksum [2023-11-14T21:48:30.646Z] b352a97aabf1: Download complete [2023-11-14T21:48:30.646Z] 4872d77fe225: Verifying Checksum [2023-11-14T21:48:30.646Z] 4872d77fe225: Download complete [2023-11-14T21:48:30.646Z] 5851b861e8e6: Verifying Checksum [2023-11-14T21:48:31.338Z] b85a868b505f: Verifying Checksum [2023-11-14T21:48:31.338Z] b85a868b505f: Download complete [2023-11-14T21:48:31.630Z] bab4dde63d76: Verifying Checksum [2023-11-14T21:48:31.630Z] bab4dde63d76: Download complete [2023-11-14T21:48:33.014Z] b85a868b505f: Pull complete [2023-11-14T21:48:34.474Z] e2be974225ed: Pull complete [2023-11-14T21:48:35.873Z] 339a4e72a1f5: Pull complete [2023-11-14T21:48:35.873Z] 988bab9f4d93: Pull complete [2023-11-14T21:48:36.817Z] 1469e6f7b9e6: Pull complete [2023-11-14T21:48:37.382Z] eaf3925da568: Pull complete [2023-11-14T21:48:39.990Z] bab4dde63d76: Pull complete [2023-11-14T21:48:40.569Z] bde34c3a00c8: Pull complete [2023-11-14T21:48:41.136Z] b352a97aabf1: Pull complete [2023-11-14T21:48:41.400Z] 4872d77fe225: Pull complete [2023-11-14T21:48:42.781Z] 5851b861e8e6: Pull complete [2023-11-14T21:48:43.347Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T21:48:43.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T21:48:43.606Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T21:48:43.703Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T21:48:43.738Z] $ 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-14T21:48:55.163Z] $ docker top 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 -eo pid,comm [2023-11-14T21:48:55.216Z] 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-14T21:48:55.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T21:48:55.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T21:48:55.256Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T21:48:55.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T21:48:55.366Z] $ docker exec 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 ssh-agent [2023-11-14T21:48:55.565Z] SSH_AUTH_SOCK=/tmp/ssh-3FNqFnjWEM30/agent.14 [2023-11-14T21:48:55.565Z] SSH_AGENT_PID=20 [2023-11-14T21:48:55.571Z] Running ssh-add (command line suppressed) [2023-11-14T21:48:55.751Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15504892828159406390.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15504892828159406390.key) [2023-11-14T21:48:55.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T21:48:56.050Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T21:48:56.064Z] $ docker exec --env ******** --env ******** 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 ssh-agent -k [2023-11-14T21:48:56.187Z] unset SSH_AUTH_SOCK; [2023-11-14T21:48:56.188Z] unset SSH_AGENT_PID; [2023-11-14T21:48:56.188Z] echo Agent pid 20 killed; [2023-11-14T21:48:56.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T21:48:56.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T21:48:56.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T21:48:56.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T21:48:56.349Z] $ docker exec 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 ssh-agent [2023-11-14T21:48:56.471Z] SSH_AUTH_SOCK=/tmp/ssh-zQdgZHezREnJ/agent.71 [2023-11-14T21:48:56.471Z] SSH_AGENT_PID=77 [2023-11-14T21:48:56.476Z] Running ssh-add (command line suppressed) [2023-11-14T21:48:56.573Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9269108232574549376.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9269108232574549376.key) [2023-11-14T21:48:56.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T21:48:56.868Z] + git semver init [2023-11-14T21:48:57.130Z] 2023-11-14 21:48:57,130 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T21:48:57.390Z] 2023-11-14 21:48:57,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-14T21:48:57.390Z] 2023-11-14 21:48:57,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-14T21:48:57.390Z] 2023-11-14 21:48:57,132 [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-14T21:48:59.328Z] 2023-11-14 21:48:58,810 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-14T21:48:59.328Z] 2023-11-14 21:48:58,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-14T21:48:59.328Z] 2023-11-14 21:48:58,810 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T21:48:59.328Z] 2023-11-14 21:48:58,810 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T21:48:59.328Z] 3.1.0-dev.32 [Pipeline] } [2023-11-14T21:48:59.339Z] $ docker exec --env ******** --env ******** 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 ssh-agent -k [2023-11-14T21:48:59.458Z] unset SSH_AUTH_SOCK; [2023-11-14T21:48:59.459Z] unset SSH_AGENT_PID; [2023-11-14T21:48:59.459Z] echo Agent pid 77 killed; [2023-11-14T21:48:59.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T21:48:59.769Z] + git semver [Pipeline] } [2023-11-14T21:49:00.349Z] $ docker stop --time=1 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 [2023-11-14T21:49:02.204Z] $ docker rm -f --volumes 77adefd26432a86629d12063c8a6d7962a20a7449cdcba73d16a1c0716cd5a50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T21:49:02.565Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T21:49:02.823Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T21:49:02.827Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.32 [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-14T21:49:03.000Z] provisioning config files... [2023-11-14T21:49:03.009Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12395872627636882311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T21:49:03.308Z] ---> docker-login.sh [2023-11-14T21:49:03.308Z] nexus3.edgexfoundry.org:10001 [2023-11-14T21:49:03.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:49:03.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:49:03.308Z] Configure a credential helper to remove this warning. See [2023-11-14T21:49:03.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:49:03.308Z] [2023-11-14T21:49:03.308Z] Login Succeeded [2023-11-14T21:49:03.308Z] nexus3.edgexfoundry.org:10002 [2023-11-14T21:49:03.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:49:03.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:49:03.308Z] Configure a credential helper to remove this warning. See [2023-11-14T21:49:03.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:49:03.308Z] [2023-11-14T21:49:03.308Z] Login Succeeded [2023-11-14T21:49:03.308Z] nexus3.edgexfoundry.org:10003 [2023-11-14T21:49:03.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:49:03.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:49:03.567Z] Configure a credential helper to remove this warning. See [2023-11-14T21:49:03.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:49:03.567Z] [2023-11-14T21:49:03.567Z] Login Succeeded [2023-11-14T21:49:03.567Z] nexus3.edgexfoundry.org:10004 [2023-11-14T21:49:03.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:49:03.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:49:03.567Z] Configure a credential helper to remove this warning. See [2023-11-14T21:49:03.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:49:03.567Z] [2023-11-14T21:49:03.567Z] Login Succeeded [2023-11-14T21:49:03.567Z] docker.io [2023-11-14T21:49:03.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:49:04.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:49:04.087Z] Configure a credential helper to remove this warning. See [2023-11-14T21:49:04.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:49:04.087Z] [2023-11-14T21:49:04.087Z] Login Succeeded [2023-11-14T21:49:04.087Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T21:49:04.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T21:49:04.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T21:49:04.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T21:49:04.240Z] ========================================================= [2023-11-14T21:49:04.240Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T21:49:04.240Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:49:04.549Z] + 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-14T21:49:04.549Z] Sending build context to Docker daemon 10.94MB [2023-11-14T21:49:04.549Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T21:49:04.549Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T21:49:04.817Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T21:49:04.817Z] 7264a8db6415: Pulling fs layer [2023-11-14T21:49:04.817Z] c4d48a809fc2: Pulling fs layer [2023-11-14T21:49:04.817Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T21:49:04.817Z] ad3a456e5733: Pulling fs layer [2023-11-14T21:49:04.817Z] 69c7f0334f64: Pulling fs layer [2023-11-14T21:49:04.817Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T21:49:04.817Z] ce7588e14bc9: Pulling fs layer [2023-11-14T21:49:04.817Z] b5e4710f87ac: Pulling fs layer [2023-11-14T21:49:04.817Z] ad3a456e5733: Waiting [2023-11-14T21:49:04.817Z] 69c7f0334f64: Waiting [2023-11-14T21:49:04.817Z] 1f1c1a5573a3: Waiting [2023-11-14T21:49:04.817Z] ce7588e14bc9: Waiting [2023-11-14T21:49:04.817Z] b5e4710f87ac: Waiting [2023-11-14T21:49:04.817Z] c4d48a809fc2: Download complete [2023-11-14T21:49:04.817Z] ad3a456e5733: Verifying Checksum [2023-11-14T21:49:04.817Z] ad3a456e5733: Download complete [2023-11-14T21:49:04.817Z] 69c7f0334f64: Verifying Checksum [2023-11-14T21:49:04.817Z] 69c7f0334f64: Download complete [2023-11-14T21:49:04.817Z] 7264a8db6415: Verifying Checksum [2023-11-14T21:49:04.817Z] 7264a8db6415: Download complete [2023-11-14T21:49:05.089Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T21:49:05.089Z] 1f1c1a5573a3: Download complete [2023-11-14T21:49:05.407Z] 7264a8db6415: Pull complete [2023-11-14T21:49:05.407Z] b5e4710f87ac: Verifying Checksum [2023-11-14T21:49:05.407Z] b5e4710f87ac: Download complete [2023-11-14T21:49:05.666Z] 4f1c88b9dad5: Download complete [2023-11-14T21:49:05.925Z] c4d48a809fc2: Pull complete [2023-11-14T21:49:06.183Z] ce7588e14bc9: Verifying Checksum [2023-11-14T21:49:06.184Z] ce7588e14bc9: Download complete [2023-11-14T21:49:09.470Z] 4f1c88b9dad5: Pull complete [2023-11-14T21:49:09.728Z] ad3a456e5733: Pull complete [2023-11-14T21:49:09.728Z] 69c7f0334f64: Pull complete [2023-11-14T21:49:10.295Z] 1f1c1a5573a3: Pull complete [2023-11-14T21:49:13.577Z] ce7588e14bc9: Pull complete [2023-11-14T21:49:13.890Z] b5e4710f87ac: Pull complete [2023-11-14T21:49:13.890Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T21:49:13.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T21:49:13.890Z] ---> 88b5674ff536 [2023-11-14T21:49:13.890Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T21:49:17.948Z] Still waiting to schedule task [2023-11-14T21:49:17.948Z] ‘prd-centos7-blackbox-4c-2g-17248’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T21:49:17.949Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17552’ is offline [2023-11-14T21:49:17.949Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17553’ is offline [2023-11-14T21:49:17.949Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17554’ is offline [2023-11-14T21:49:35.827Z] ---> Running in 41a5c9ab7b04 [2023-11-14T21:49:35.827Z] Removing intermediate container 41a5c9ab7b04 [2023-11-14T21:49:35.827Z] ---> 483cad4e9a0e [2023-11-14T21:49:35.827Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T21:49:36.088Z] ---> Running in 677bb0dd07b8 [2023-11-14T21:49:36.346Z] Removing intermediate container 677bb0dd07b8 [2023-11-14T21:49:36.346Z] ---> dba30616b3dd [2023-11-14T21:49:36.346Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T21:49:36.346Z] ---> Running in 0592a0790e3b [2023-11-14T21:49:36.925Z] Removing intermediate container 0592a0790e3b [2023-11-14T21:49:36.925Z] ---> 02d4d9ce4a02 [2023-11-14T21:49:36.925Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T21:49:36.925Z] ---> Running in a21222d1833d [2023-11-14T21:49:37.185Z] Removing intermediate container a21222d1833d [2023-11-14T21:49:37.185Z] ---> cb07f8e7c57c [2023-11-14T21:49:37.185Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T21:49:37.443Z] ---> Running in ee6f2c8731c6 [2023-11-14T21:49:38.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T21:49:38.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T21:49:38.268Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T21:49:38.268Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T21:49:38.268Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T21:49:38.268Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T21:49:38.268Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T21:49:38.268Z] OK: 268 MiB in 56 packages [2023-11-14T21:49:40.191Z] Removing intermediate container ee6f2c8731c6 [2023-11-14T21:49:40.191Z] ---> d4ca721c2055 [2023-11-14T21:49:40.191Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-14T21:49:40.841Z] ---> Running in c373b7b947ee [2023-11-14T21:49:42.215Z] Removing intermediate container c373b7b947ee [2023-11-14T21:49:42.215Z] ---> 026e9b3a6686 [2023-11-14T21:49:42.215Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T21:49:42.474Z] ---> 0a13733b8ba3 [2023-11-14T21:49:42.474Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T21:49:42.733Z] ---> Running in f0d9d0a957e7 [2023-11-14T21:51:04.696Z] Removing intermediate container f0d9d0a957e7 [2023-11-14T21:51:04.696Z] ---> 3bdfcb83c75d [2023-11-14T21:51:04.696Z] Step 11/12 : COPY . . [2023-11-14T21:51:04.696Z] ---> 6ecde4fedf11 [2023-11-14T21:51:04.696Z] Step 12/12 : RUN $MAKE [2023-11-14T21:51:04.696Z] ---> Running in b33d83a52bcd [2023-11-14T21:51:04.696Z] noop [2023-11-14T21:51:04.696Z] Removing intermediate container b33d83a52bcd [2023-11-14T21:51:04.696Z] ---> 17b50a5a7b65 [2023-11-14T21:51:04.696Z] Successfully built 17b50a5a7b65 [2023-11-14T21:51:04.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:51:05.013Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T21:51:05.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T21:51:05.095Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T21:51:05.132Z] $ 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-14T21:51:06.264Z] $ docker top d3621beb65e157b48b0f681c1926c0c29d1b8c9f9c2554ff422514f1647b68d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T21:51:06.629Z] + go version [2023-11-14T21:51:06.629Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T21:51:06.641Z] $ docker stop --time=1 d3621beb65e157b48b0f681c1926c0c29d1b8c9f9c2554ff422514f1647b68d8 [2023-11-14T21:51:08.873Z] $ docker rm -f --volumes d3621beb65e157b48b0f681c1926c0c29d1b8c9f9c2554ff422514f1647b68d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:51:09.546Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T21:51:09.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T21:51:09.616Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T21:51:09.647Z] $ 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-14T21:51:10.669Z] $ docker top fc137b2d38af21597685524d3f0a1403381f08a1ee0c30f614d652b26c7537d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T21:51:11.006Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-14T21:51:11.387Z] + make test [2023-11-14T21:51:11.387Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T21:51:21.541Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-14T21:51:31.510Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-14T21:51:31.510Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-11-14T21:51:39.614Z] go vet ./... [2023-11-14T21:51:43.799Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T21:51:44.057Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T21:51:44.057Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T21:51:44.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T21:51:44.093Z] $ docker stop --time=1 fc137b2d38af21597685524d3f0a1403381f08a1ee0c30f614d652b26c7537d3 [2023-11-14T21:51:59.468Z] $ docker rm -f --volumes fc137b2d38af21597685524d3f0a1403381f08a1ee0c30f614d652b26c7537d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T21:52:00.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T21:52:00.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T21:52:00.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T21:52:00.828Z] + ls -al . [2023-11-14T21:52:00.828Z] total 180 [2023-11-14T21:52:00.828Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 21:51 . [2023-11-14T21:52:00.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:48 .. [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 21:48 .dockerignore [2023-11-14T21:52:00.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:51 .git [2023-11-14T21:52:00.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:48 .github [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 21:48 .gitignore [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:48 .golangci.yml [2023-11-14T21:52:00.828Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:48 .semver [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 21:48 Attribution.txt [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 21:48 CHANGELOG.md [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 21:48 Dockerfile [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:48 GOVERNANCE.md [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 21:48 Jenkinsfile [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:48 LICENSE [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 21:48 Makefile [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 21:48 OWNERS.md [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 21:48 README.md [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:49 VERSION [2023-11-14T21:52:00.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:48 bin [2023-11-14T21:52:00.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:48 cmd [2023-11-14T21:52:00.828Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 21:51 coverage.out [2023-11-14T21:52:00.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:48 driver [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 21:48 go.mod [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 21:48 go.sum [2023-11-14T21:52:00.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:48 openapi [2023-11-14T21:52:00.828Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:52:01.147Z] + 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=990d379436bad360529865c6b1e601239e616fa1 --label arch=amd64 --label version=3.1.0-dev.32 . [2023-11-14T21:52:01.147Z] Sending build context to Docker daemon 10.95MB [2023-11-14T21:52:01.147Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T21:52:01.147Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T21:52:01.147Z] ---> 17b50a5a7b65 [2023-11-14T21:52:01.147Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T21:52:03.805Z] ---> Running in 14c6d79941bb [2023-11-14T21:52:03.805Z] Removing intermediate container 14c6d79941bb [2023-11-14T21:52:03.805Z] ---> cded2c6e96c9 [2023-11-14T21:52:03.805Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T21:52:04.372Z] ---> Running in f3e5135443de [2023-11-14T21:52:04.957Z] Removing intermediate container f3e5135443de [2023-11-14T21:52:04.957Z] ---> b678151dc44c [2023-11-14T21:52:04.957Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T21:52:04.957Z] ---> Running in 7640b21348b4 [2023-11-14T21:52:05.897Z] Removing intermediate container 7640b21348b4 [2023-11-14T21:52:05.897Z] ---> 7efe48b35130 [2023-11-14T21:52:05.897Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T21:52:06.834Z] ---> Running in ac5cfd4903db [2023-11-14T21:52:07.093Z] Removing intermediate container ac5cfd4903db [2023-11-14T21:52:07.093Z] ---> 6a7757aa4f27 [2023-11-14T21:52:07.093Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T21:52:07.666Z] ---> Running in 33bcac3f2e0b [2023-11-14T21:52:08.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T21:52:08.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T21:52:08.859Z] OK: 268 MiB in 56 packages [2023-11-14T21:52:10.800Z] Removing intermediate container 33bcac3f2e0b [2023-11-14T21:52:10.800Z] ---> c457b96ab632 [2023-11-14T21:52:10.800Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-14T21:52:10.800Z] ---> Running in ea0a8b20768c [2023-11-14T21:52:11.369Z] Removing intermediate container ea0a8b20768c [2023-11-14T21:52:11.369Z] ---> 8cbeff47030a [2023-11-14T21:52:11.369Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T21:52:11.938Z] ---> 9ce73471e7bd [2023-11-14T21:52:11.938Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T21:52:12.199Z] ---> Running in 63e00800fbe7 [2023-11-14T21:52:14.737Z] Removing intermediate container 63e00800fbe7 [2023-11-14T21:52:14.737Z] ---> 894878940b6a [2023-11-14T21:52:14.737Z] Step 11/26 : COPY . . [2023-11-14T21:52:16.130Z] ---> 060a63a0da25 [2023-11-14T21:52:16.130Z] Step 12/26 : RUN $MAKE [2023-11-14T21:52:16.130Z] ---> Running in 92e8c11aea07 [2023-11-14T21:52:16.388Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-14T21:52:55.134Z] Removing intermediate container 92e8c11aea07 [2023-11-14T21:52:55.134Z] ---> 8349c9881b38 [2023-11-14T21:52:55.134Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T21:52:55.134Z] 3.18: Pulling from library/alpine [2023-11-14T21:52:55.134Z] 96526aa774ef: Pulling fs layer [2023-11-14T21:52:55.392Z] 96526aa774ef: Verifying Checksum [2023-11-14T21:52:55.392Z] 96526aa774ef: Download complete [2023-11-14T21:52:56.325Z] 96526aa774ef: Pull complete [2023-11-14T21:52:57.701Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T21:52:57.959Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T21:52:57.959Z] ---> 8ca4688f4f35 [2023-11-14T21:52:57.959Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T21:52:59.868Z] ---> Running in 400af1f93a5a [2023-11-14T21:53:02.421Z] Removing intermediate container 400af1f93a5a [2023-11-14T21:53:02.421Z] ---> 1875f95204b6 [2023-11-14T21:53:02.421Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-14T21:53:03.812Z] ---> Running in 095eea1dc8b6 [2023-11-14T21:53:04.751Z] Removing intermediate container 095eea1dc8b6 [2023-11-14T21:53:04.751Z] ---> e9e5cfb1ef30 [2023-11-14T21:53:04.751Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T21:53:05.317Z] ---> Running in e7abdbcc03cc [2023-11-14T21:53:06.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T21:53:06.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T21:53:06.697Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T21:53:06.697Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T21:53:06.697Z] OK: 7 MiB in 16 packages [2023-11-14T21:53:10.902Z] Removing intermediate container e7abdbcc03cc [2023-11-14T21:53:10.902Z] ---> 260c4805a35a [2023-11-14T21:53:10.902Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-14T21:53:11.162Z] ---> Running in 76fc0437d0da [2023-11-14T21:53:12.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T21:53:12.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T21:53:12.356Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T21:53:12.356Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T21:53:12.356Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T21:53:12.356Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T21:53:12.356Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T21:53:12.356Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T21:53:12.616Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T21:53:12.616Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T21:53:12.616Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T21:53:12.616Z] OK: 7 MiB in 16 packages [2023-11-14T21:53:14.520Z] Removing intermediate container 76fc0437d0da [2023-11-14T21:53:14.520Z] ---> 235cc3049e7a [2023-11-14T21:53:14.520Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-14T21:53:17.048Z] ---> 080ed5bfa479 [2023-11-14T21:53:17.048Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-14T21:53:17.306Z] ---> c4de185eaa9a [2023-11-14T21:53:17.306Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-14T21:53:17.875Z] ---> 7279ff550432 [2023-11-14T21:53:17.875Z] Step 21/26 : EXPOSE 59986 [2023-11-14T21:53:18.152Z] ---> Running in 80dd733c62bd [2023-11-14T21:53:19.531Z] Removing intermediate container 80dd733c62bd [2023-11-14T21:53:19.531Z] ---> 1671468a809d [2023-11-14T21:53:19.531Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-14T21:53:19.790Z] ---> Running in f19e4575eb47 [2023-11-14T21:53:20.051Z] Removing intermediate container f19e4575eb47 [2023-11-14T21:53:20.051Z] ---> 26d0b5b15cb3 [2023-11-14T21:53:20.051Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T21:53:20.051Z] ---> Running in 2defe37068f7 [2023-11-14T21:53:20.051Z] Removing intermediate container 2defe37068f7 [2023-11-14T21:53:20.051Z] ---> 0c7f427494d1 [2023-11-14T21:53:20.051Z] Step 24/26 : LABEL arch=amd64 [2023-11-14T21:53:20.309Z] ---> Running in 3a71aac55350 [2023-11-14T21:53:20.309Z] Removing intermediate container 3a71aac55350 [2023-11-14T21:53:20.309Z] ---> 02a486d38af1 [2023-11-14T21:53:20.309Z] Step 25/26 : LABEL git_sha=990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T21:53:20.568Z] ---> Running in cb5b4acf9779 [2023-11-14T21:53:20.568Z] Removing intermediate container cb5b4acf9779 [2023-11-14T21:53:20.568Z] ---> e4fc8da36211 [2023-11-14T21:53:20.568Z] Step 26/26 : LABEL version=3.1.0-dev.32 [2023-11-14T21:53:20.866Z] ---> Running in 9ad62aa2a2d1 [2023-11-14T21:53:22.238Z] Removing intermediate container 9ad62aa2a2d1 [2023-11-14T21:53:22.238Z] ---> d8884a7178bb [2023-11-14T21:53:22.238Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T21:53:22.238Z] Successfully built d8884a7178bb [2023-11-14T21:53:22.238Z] 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-14T21:53:22.328Z] provisioning config files... [2023-11-14T21:53:22.338Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17817171265151172374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T21:53:22.636Z] ---> docker-login.sh [2023-11-14T21:53:22.636Z] nexus3.edgexfoundry.org:10001 [2023-11-14T21:53:22.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:53:22.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:53:22.636Z] Configure a credential helper to remove this warning. See [2023-11-14T21:53:22.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:53:22.636Z] [2023-11-14T21:53:22.636Z] Login Succeeded [2023-11-14T21:53:22.636Z] nexus3.edgexfoundry.org:10002 [2023-11-14T21:53:22.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:53:22.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:53:22.636Z] Configure a credential helper to remove this warning. See [2023-11-14T21:53:22.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:53:22.636Z] [2023-11-14T21:53:22.636Z] Login Succeeded [2023-11-14T21:53:22.636Z] nexus3.edgexfoundry.org:10003 [2023-11-14T21:53:22.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:53:22.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:53:22.894Z] Configure a credential helper to remove this warning. See [2023-11-14T21:53:22.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:53:22.894Z] [2023-11-14T21:53:22.894Z] Login Succeeded [2023-11-14T21:53:22.894Z] nexus3.edgexfoundry.org:10004 [2023-11-14T21:53:22.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:53:22.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:53:22.894Z] Configure a credential helper to remove this warning. See [2023-11-14T21:53:22.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:53:22.894Z] [2023-11-14T21:53:22.894Z] Login Succeeded [2023-11-14T21:53:22.894Z] docker.io [2023-11-14T21:53:23.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T21:53:23.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T21:53:23.154Z] Configure a credential helper to remove this warning. See [2023-11-14T21:53:23.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T21:53:23.154Z] [2023-11-14T21:53:23.154Z] Login Succeeded [2023-11-14T21:53:23.154Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T21:53:23.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T21:53:23.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T21:53:23.225Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-14T21:53:23.225Z] 990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T21:53:23.225Z] latest [2023-11-14T21:53:23.225Z] 3.1.0-dev.32 [2023-11-14T21:53:23.225Z] 990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T21:53:23.225Z] main [2023-11-14T21:53:23.225Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:23.562Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:23.870Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T21:53:23.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-14T21:53:23.871Z] b2e189195d6a: Preparing [2023-11-14T21:53:23.871Z] 96ba3cd6c029: Preparing [2023-11-14T21:53:23.871Z] 0efd081dc25e: Preparing [2023-11-14T21:53:23.871Z] c2bb746def99: Preparing [2023-11-14T21:53:23.871Z] 52997e243cbe: Preparing [2023-11-14T21:53:23.871Z] cc2447e1835a: Preparing [2023-11-14T21:53:23.871Z] cc2447e1835a: Waiting [2023-11-14T21:53:23.871Z] b2e189195d6a: Pushed [2023-11-14T21:53:23.871Z] 96ba3cd6c029: Pushed [2023-11-14T21:53:23.871Z] 52997e243cbe: Pushed [2023-11-14T21:53:24.130Z] cc2447e1835a: Layer already exists [2023-11-14T21:53:24.710Z] c2bb746def99: Pushed [2023-11-14T21:53:26.614Z] 0efd081dc25e: Pushed [2023-11-14T21:53:26.615Z] 990d379436bad360529865c6b1e601239e616fa1: digest: sha256:d25cdd10d41af9cca5f422e163fc6a5426df750eec2e65c7225a7458ad4d2061 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:26.933Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:27.515Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-14T21:53:27.515Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-14T21:53:27.515Z] b2e189195d6a: Preparing [2023-11-14T21:53:27.515Z] 96ba3cd6c029: Preparing [2023-11-14T21:53:27.515Z] 0efd081dc25e: Preparing [2023-11-14T21:53:27.515Z] c2bb746def99: Preparing [2023-11-14T21:53:27.515Z] 52997e243cbe: Preparing [2023-11-14T21:53:27.515Z] cc2447e1835a: Preparing [2023-11-14T21:53:27.515Z] cc2447e1835a: Waiting [2023-11-14T21:53:27.515Z] 52997e243cbe: Layer already exists [2023-11-14T21:53:27.515Z] 96ba3cd6c029: Layer already exists [2023-11-14T21:53:27.515Z] c2bb746def99: Layer already exists [2023-11-14T21:53:27.515Z] b2e189195d6a: Layer already exists [2023-11-14T21:53:27.515Z] cc2447e1835a: Layer already exists [2023-11-14T21:53:27.515Z] 0efd081dc25e: Layer already exists [2023-11-14T21:53:27.515Z] latest: digest: sha256:d25cdd10d41af9cca5f422e163fc6a5426df750eec2e65c7225a7458ad4d2061 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:27.824Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:28.725Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.32 [2023-11-14T21:53:28.725Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-14T21:53:28.725Z] b2e189195d6a: Preparing [2023-11-14T21:53:28.725Z] 96ba3cd6c029: Preparing [2023-11-14T21:53:28.725Z] 0efd081dc25e: Preparing [2023-11-14T21:53:28.725Z] c2bb746def99: Preparing [2023-11-14T21:53:28.725Z] 52997e243cbe: Preparing [2023-11-14T21:53:28.725Z] cc2447e1835a: Preparing [2023-11-14T21:53:28.725Z] cc2447e1835a: Waiting [2023-11-14T21:53:28.725Z] 0efd081dc25e: Layer already exists [2023-11-14T21:53:28.725Z] c2bb746def99: Layer already exists [2023-11-14T21:53:28.725Z] 96ba3cd6c029: Layer already exists [2023-11-14T21:53:28.725Z] b2e189195d6a: Layer already exists [2023-11-14T21:53:28.725Z] 52997e243cbe: Layer already exists [2023-11-14T21:53:28.725Z] cc2447e1835a: Layer already exists [2023-11-14T21:53:28.725Z] 3.1.0-dev.32: digest: sha256:d25cdd10d41af9cca5f422e163fc6a5426df750eec2e65c7225a7458ad4d2061 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:29.048Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:29.641Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T21:53:29.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-14T21:53:29.641Z] b2e189195d6a: Preparing [2023-11-14T21:53:29.641Z] 96ba3cd6c029: Preparing [2023-11-14T21:53:29.641Z] 0efd081dc25e: Preparing [2023-11-14T21:53:29.641Z] c2bb746def99: Preparing [2023-11-14T21:53:29.641Z] 52997e243cbe: Preparing [2023-11-14T21:53:29.641Z] cc2447e1835a: Preparing [2023-11-14T21:53:29.641Z] cc2447e1835a: Waiting [2023-11-14T21:53:29.641Z] b2e189195d6a: Layer already exists [2023-11-14T21:53:29.641Z] 96ba3cd6c029: Layer already exists [2023-11-14T21:53:29.641Z] 0efd081dc25e: Layer already exists [2023-11-14T21:53:29.641Z] 52997e243cbe: Layer already exists [2023-11-14T21:53:29.641Z] c2bb746def99: Layer already exists [2023-11-14T21:53:29.641Z] cc2447e1835a: Layer already exists [2023-11-14T21:53:29.641Z] 990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32: digest: sha256:d25cdd10d41af9cca5f422e163fc6a5426df750eec2e65c7225a7458ad4d2061 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:29.951Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:30.270Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-14T21:53:30.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-14T21:53:30.270Z] b2e189195d6a: Preparing [2023-11-14T21:53:30.270Z] 96ba3cd6c029: Preparing [2023-11-14T21:53:30.270Z] 0efd081dc25e: Preparing [2023-11-14T21:53:30.270Z] c2bb746def99: Preparing [2023-11-14T21:53:30.270Z] 52997e243cbe: Preparing [2023-11-14T21:53:30.270Z] cc2447e1835a: Preparing [2023-11-14T21:53:30.270Z] cc2447e1835a: Waiting [2023-11-14T21:53:30.270Z] 0efd081dc25e: Layer already exists [2023-11-14T21:53:30.270Z] 96ba3cd6c029: Layer already exists [2023-11-14T21:53:30.270Z] 52997e243cbe: Layer already exists [2023-11-14T21:53:30.270Z] b2e189195d6a: Layer already exists [2023-11-14T21:53:30.270Z] c2bb746def99: Layer already exists [2023-11-14T21:53:30.270Z] cc2447e1835a: Layer already exists [2023-11-14T21:53:30.270Z] main: digest: sha256:d25cdd10d41af9cca5f422e163fc6a5426df750eec2e65c7225a7458ad4d2061 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T21:53:30.307Z] ===================================================== [Pipeline] echo [2023-11-14T21:53:30.313Z] taggedImages: [2023-11-14T21:53:30.313Z] - nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T21:53:30.313Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-14T21:53:30.313Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.32 [2023-11-14T21:53:30.313Z] - nexus3.edgexfoundry.org:10004/device-rest:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T21:53:30.313Z] - 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-14T21:53:30.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T21:53:30.679Z] [2023-11-14T21:53:30.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T21:53:30.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T21:53:31.236Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T21:53:31.236Z] 5eb5b503b376: Pulling fs layer [2023-11-14T21:53:31.236Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T21:53:31.236Z] ec43610c2a17: Pulling fs layer [2023-11-14T21:53:31.236Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T21:53:31.236Z] 33b1e0a273af: Pulling fs layer [2023-11-14T21:53:31.236Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T21:53:31.236Z] 2f39f015ded8: Pulling fs layer [2023-11-14T21:53:31.236Z] 3a2ae6a8a46f: Waiting [2023-11-14T21:53:31.236Z] 33b1e0a273af: Waiting [2023-11-14T21:53:31.236Z] 5d3b04190fa2: Waiting [2023-11-14T21:53:31.236Z] 2f39f015ded8: Waiting [2023-11-14T21:53:31.496Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T21:53:31.496Z] 5c69ac0246d0: Download complete [2023-11-14T21:53:31.496Z] 3a2ae6a8a46f: Download complete [2023-11-14T21:53:31.496Z] 33b1e0a273af: Verifying Checksum [2023-11-14T21:53:31.496Z] 33b1e0a273af: Download complete [2023-11-14T21:53:31.496Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T21:53:31.496Z] 5d3b04190fa2: Download complete [2023-11-14T21:53:31.496Z] ec43610c2a17: Verifying Checksum [2023-11-14T21:53:31.496Z] ec43610c2a17: Download complete [2023-11-14T21:53:31.757Z] 5eb5b503b376: Verifying Checksum [2023-11-14T21:53:31.757Z] 5eb5b503b376: Download complete [2023-11-14T21:53:32.729Z] 2f39f015ded8: Verifying Checksum [2023-11-14T21:53:44.944Z] 5eb5b503b376: Pull complete [2023-11-14T21:53:46.387Z] 5c69ac0246d0: Pull complete [2023-11-14T21:53:48.918Z] ec43610c2a17: Pull complete [2023-11-14T21:53:50.817Z] 3a2ae6a8a46f: Pull complete [2023-11-14T21:53:52.190Z] 33b1e0a273af: Pull complete [2023-11-14T21:53:53.139Z] 5d3b04190fa2: Pull complete [2023-11-14T21:54:01.271Z] 2f39f015ded8: Pull complete [2023-11-14T21:54:02.264Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T21:54:02.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T21:54:02.264Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T21:54:02.408Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T21:54:02.443Z] $ 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-14T21:54:20.026Z] $ docker top c68ca21a1a0a2fa1385aa585240e969256505ee6eb9f932c4a29c77658417b67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T21:54:20.415Z] ---> job-cost.sh [2023-11-14T21:54:20.415Z] lf-activate-venv: SKIPPING [2023-11-14T21:54:20.415Z] INFO: No Stack... [2023-11-14T21:54:20.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T21:54:21.331Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T21:54:21.626Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-14T21:54:21.626Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T21:54:21.641Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [2023-11-14T21:54:21.649Z] Resource [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] did not exist. Created. [2023-11-14T21:54:21.649Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T21:54:21.957Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T21:54:21.979Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T21:54:21.985Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T21:54:22.008Z] $ docker stop --time=1 c68ca21a1a0a2fa1385aa585240e969256505ee6eb9f932c4a29c77658417b67 [2023-11-14T21:54:23.335Z] $ docker rm -f --volumes c68ca21a1a0a2fa1385aa585240e969256505ee6eb9f932c4a29c77658417b67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T22:07:59.901Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18006 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-14T22:07:59.915Z] Running in /w/workspace/device-rest-go/152 [Pipeline] { [Pipeline] checkout [2023-11-14T22:07:59.958Z] The recommended git tool is: git [2023-11-14T22:08:08.172Z] using credential edgex-jenkins-ssh [2023-11-14T22:08:08.194Z] Cloning the remote Git repository [2023-11-14T22:08:08.259Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-14T22:08:08.395Z] > git init /w/workspace/device-rest-go/152 # timeout=10 [2023-11-14T22:08:08.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-14T22:08:08.624Z] > git --version # timeout=10 [2023-11-14T22:08:08.656Z] > git --version # 'git version 2.25.1' [2023-11-14T22:08:08.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T22:08:08.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T22:08:11.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-14T22:08:11.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T22:08:12.907Z] Avoid second fetch [2023-11-14T22:08:12.908Z] Checking out Revision 990d379436bad360529865c6b1e601239e616fa1 (main) [2023-11-14T22:08:12.933Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T22:08:13.028Z] > git checkout -f 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 [2023-11-14T22:08:13.750Z] Commit message: "fix: Address CVE in Alpine base image (#367)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T22:08:14.831Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T22:08:14.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T22:08:14.831Z] Dload Upload Total Spent Left Speed [2023-11-14T22:08:14.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86272 0 --:--:-- --:--:-- --:--:-- 86272 [Pipeline] sh [2023-11-14T22:08:15.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T22:08:16.017Z] + sudo tee /etc/docker/daemon.new [2023-11-14T22:08:16.017Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T22:08:16.017Z] { [2023-11-14T22:08:16.017Z] "registry-mirrors": [ [2023-11-14T22:08:16.017Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T22:08:16.017Z] ], [2023-11-14T22:08:16.017Z] "bip": "10.250.0.254/24", [2023-11-14T22:08:16.017Z] "hosts": [ [2023-11-14T22:08:16.017Z] "tcp://0.0.0.0:5555", [2023-11-14T22:08:16.017Z] "unix:///var/run/docker.sock" [2023-11-14T22:08:16.017Z] ], [2023-11-14T22:08:16.017Z] "mtu": 1458, [2023-11-14T22:08:16.017Z] "selinux-enabled": true, [2023-11-14T22:08:16.017Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T22:08:16.017Z] } [Pipeline] sh [2023-11-14T22:08:16.375Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T22:08:16.735Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:08:35.086Z] provisioning config files... [2023-11-14T22:08:35.110Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/152@tmp/config11578017384111748093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:08:35.494Z] ---> docker-login.sh [2023-11-14T22:08:35.494Z] nexus3.edgexfoundry.org:10001 [2023-11-14T22:08:35.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:08:36.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:08:36.042Z] Configure a credential helper to remove this warning. See [2023-11-14T22:08:36.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:08:36.042Z] [2023-11-14T22:08:36.042Z] Login Succeeded [2023-11-14T22:08:36.042Z] nexus3.edgexfoundry.org:10002 [2023-11-14T22:08:36.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:08:36.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:08:36.581Z] Configure a credential helper to remove this warning. See [2023-11-14T22:08:36.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:08:36.581Z] [2023-11-14T22:08:36.581Z] Login Succeeded [2023-11-14T22:08:36.581Z] nexus3.edgexfoundry.org:10003 [2023-11-14T22:08:36.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:08:36.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:08:36.852Z] Configure a credential helper to remove this warning. See [2023-11-14T22:08:36.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:08:36.852Z] [2023-11-14T22:08:36.852Z] Login Succeeded [2023-11-14T22:08:36.852Z] nexus3.edgexfoundry.org:10004 [2023-11-14T22:08:37.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:08:37.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:08:37.391Z] Configure a credential helper to remove this warning. See [2023-11-14T22:08:37.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:08:37.391Z] [2023-11-14T22:08:37.391Z] Login Succeeded [2023-11-14T22:08:37.391Z] docker.io [2023-11-14T22:08:37.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:08:37.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:08:37.929Z] Configure a credential helper to remove this warning. See [2023-11-14T22:08:37.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:08:37.929Z] [2023-11-14T22:08:37.929Z] Login Succeeded [2023-11-14T22:08:37.929Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T22:08:37.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T22:08:38.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:08:38.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:08:38.255Z] ========================================================= [2023-11-14T22:08:38.255Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T22:08:38.255Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:08:38.619Z] + 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-14T22:08:38.619Z] Sending build context to Docker daemon 127.5kB [2023-11-14T22:08:38.889Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:08:38.889Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T22:08:42.243Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T22:08:42.243Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T22:08:42.243Z] 5d54e960e981: Pulling fs layer [2023-11-14T22:08:42.243Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T22:08:42.243Z] f0e02332f6b5: Pulling fs layer [2023-11-14T22:08:42.243Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T22:08:42.243Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T22:08:42.243Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T22:08:42.243Z] f0e02332f6b5: Waiting [2023-11-14T22:08:42.243Z] 872ee5b61b7b: Waiting [2023-11-14T22:08:42.243Z] 0c6a40ed1a82: Waiting [2023-11-14T22:08:42.243Z] 94ae7d8d031c: Waiting [2023-11-14T22:08:42.243Z] 5d54e960e981: Verifying Checksum [2023-11-14T22:08:42.243Z] 5d54e960e981: Download complete [2023-11-14T22:08:42.243Z] f0e02332f6b5: Verifying Checksum [2023-11-14T22:08:42.243Z] f0e02332f6b5: Download complete [2023-11-14T22:08:42.243Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T22:08:42.243Z] 872ee5b61b7b: Download complete [2023-11-14T22:08:42.243Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T22:08:42.243Z] 9fda8d8052c6: Download complete [2023-11-14T22:08:42.243Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T22:08:42.243Z] 94ae7d8d031c: Download complete [2023-11-14T22:08:42.832Z] 9fda8d8052c6: Pull complete [2023-11-14T22:08:43.421Z] 5d54e960e981: Pull complete [2023-11-14T22:08:43.690Z] c4a7e357bf2a: Download complete [2023-11-14T22:08:44.659Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T22:08:44.659Z] 0c6a40ed1a82: Download complete [2023-11-14T22:08:57.034Z] c4a7e357bf2a: Pull complete [2023-11-14T22:08:57.034Z] f0e02332f6b5: Pull complete [2023-11-14T22:08:57.034Z] 872ee5b61b7b: Pull complete [2023-11-14T22:09:12.383Z] 0c6a40ed1a82: Pull complete [2023-11-14T22:09:12.383Z] 94ae7d8d031c: Pull complete [2023-11-14T22:09:12.662Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T22:09:12.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T22:09:12.662Z] ---> 86de565de09d [2023-11-14T22:09:12.662Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:09:13.636Z] ---> Running in 7c992b7e4eca [2023-11-14T22:09:13.913Z] Removing intermediate container 7c992b7e4eca [2023-11-14T22:09:13.913Z] ---> 22c28be93e56 [2023-11-14T22:09:13.913Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:09:14.183Z] ---> Running in 337bf7708d84 [2023-11-14T22:09:14.457Z] Removing intermediate container 337bf7708d84 [2023-11-14T22:09:14.457Z] ---> 7dec97873ea3 [2023-11-14T22:09:14.457Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T22:09:14.457Z] ---> Running in 3c745e3f65db [2023-11-14T22:09:15.051Z] Removing intermediate container 3c745e3f65db [2023-11-14T22:09:15.051Z] ---> 219302c2e14b [2023-11-14T22:09:15.051Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:09:15.051Z] ---> Running in c215b9b4f4e4 [2023-11-14T22:09:15.651Z] Removing intermediate container c215b9b4f4e4 [2023-11-14T22:09:15.651Z] ---> 943b98170342 [2023-11-14T22:09:15.651Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:09:15.651Z] ---> Running in da9d469507ad [2023-11-14T22:09:17.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:09:17.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:09:19.105Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T22:09:19.105Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T22:09:19.105Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T22:09:19.105Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T22:09:19.105Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T22:09:19.105Z] OK: 271 MiB in 56 packages [2023-11-14T22:09:20.735Z] Removing intermediate container da9d469507ad [2023-11-14T22:09:20.735Z] ---> 39ebc8bf94cf [2023-11-14T22:09:20.735Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-14T22:09:20.735Z] ---> Running in 928769c7ffb1 [2023-11-14T22:09:21.017Z] Removing intermediate container 928769c7ffb1 [2023-11-14T22:09:21.017Z] ---> e1b3ebf5df5b [2023-11-14T22:09:21.017Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T22:09:21.625Z] ---> 2d9e0ff728aa [2023-11-14T22:09:21.625Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:09:21.901Z] ---> Running in 4189c4f4e657 [2023-11-14T22:10:58.871Z] Removing intermediate container 4189c4f4e657 [2023-11-14T22:10:58.872Z] ---> a8d89955e93c [2023-11-14T22:10:58.872Z] Step 11/12 : COPY . . [2023-11-14T22:10:58.872Z] ---> 9bf5fb770df2 [2023-11-14T22:10:58.872Z] Step 12/12 : RUN $MAKE [2023-11-14T22:10:58.872Z] ---> Running in 5135350c7ff1 [2023-11-14T22:10:58.872Z] noop [2023-11-14T22:10:58.872Z] Removing intermediate container 5135350c7ff1 [2023-11-14T22:10:58.872Z] ---> df677d6420f3 [2023-11-14T22:10:58.872Z] Successfully built df677d6420f3 [2023-11-14T22:10:58.872Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:10:59.248Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T22:10:59.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:10:59.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-18006 does not seem to be running inside a container [2023-11-14T22:10:59.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/152 -v /w/workspace/device-rest-go/152:/w/workspace/device-rest-go/152:rw,z -v /w/workspace/device-rest-go/152@tmp:/w/workspace/device-rest-go/152@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-14T22:11:01.106Z] $ docker top f10b1fc8d9be6a20cf05b913be112bf514d3504f63c8e0100ea82705ec6b1095 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:11:02.006Z] + go version [2023-11-14T22:11:02.006Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T22:11:02.034Z] $ docker stop --time=1 f10b1fc8d9be6a20cf05b913be112bf514d3504f63c8e0100ea82705ec6b1095 [2023-11-14T22:11:03.805Z] $ docker rm -f --volumes f10b1fc8d9be6a20cf05b913be112bf514d3504f63c8e0100ea82705ec6b1095 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:11:04.409Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T22:11:04.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:11:04.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-18006 does not seem to be running inside a container [2023-11-14T22:11:04.696Z] $ 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/152 -v /w/workspace/device-rest-go/152:/w/workspace/device-rest-go/152:rw,z -v /w/workspace/device-rest-go/152@tmp:/w/workspace/device-rest-go/152@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-14T22:11:09.432Z] $ docker top a4a454f1b53bed9cd8bbda92491a62c92d896fc0e10c0964abd5b2c0a6e3ab1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:11:10.348Z] + git config --global --add safe.directory /w/workspace/device-rest-go/152 [Pipeline] fileExists [Pipeline] sh [2023-11-14T22:11:11.026Z] + make test [2023-11-14T22:11:11.026Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T22:11:16.392Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-14T22:13:53.188Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-14T22:13:53.188Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.2% of statements [2023-11-14T22:13:53.188Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T22:13:53.188Z] go vet ./... [2023-11-14T22:14:25.466Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T22:14:25.466Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T22:14:25.466Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T22:14:25.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T22:14:25.507Z] $ docker stop --time=1 a4a454f1b53bed9cd8bbda92491a62c92d896fc0e10c0964abd5b2c0a6e3ab1c [2023-11-14T22:14:27.577Z] $ docker rm -f --volumes a4a454f1b53bed9cd8bbda92491a62c92d896fc0e10c0964abd5b2c0a6e3ab1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T22:14:30.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T22:14:30.419Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T22:14:31.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T22:14:31.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T22:14:31.813Z] + ls -al . [2023-11-14T22:14:31.813Z] total 176 [2023-11-14T22:14:31.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:11 . [2023-11-14T22:14:31.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:08 .. [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 22:08 .dockerignore [2023-11-14T22:14:31.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:08 .git [2023-11-14T22:14:31.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 .github [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 22:08 .gitignore [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 22:08 .golangci.yml [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 22:08 Attribution.txt [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 22:08 CHANGELOG.md [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 22:08 Dockerfile [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:08 GOVERNANCE.md [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 22:08 Jenkinsfile [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 22:08 LICENSE [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 22:08 Makefile [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 22:08 OWNERS.md [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 22:08 README.md [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:49 VERSION [2023-11-14T22:14:31.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:08 bin [2023-11-14T22:14:31.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 cmd [2023-11-14T22:14:31.813Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 22:13 coverage.out [2023-11-14T22:14:31.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:08 driver [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 22:08 go.mod [2023-11-14T22:14:31.813Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 22:08 go.sum [2023-11-14T22:14:31.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:08 openapi [2023-11-14T22:14:31.814Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 22:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:14:32.161Z] + 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=990d379436bad360529865c6b1e601239e616fa1 --label arch=arm64 --label version=3.1.0-dev.32 . [2023-11-14T22:14:32.161Z] Sending build context to Docker daemon 142.8kB [2023-11-14T22:14:32.441Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:14:32.441Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T22:14:32.441Z] ---> df677d6420f3 [2023-11-14T22:14:32.441Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:14:32.744Z] ---> Running in 268ae7c5455e [2023-11-14T22:14:33.015Z] Removing intermediate container 268ae7c5455e [2023-11-14T22:14:33.015Z] ---> 069de1bb665b [2023-11-14T22:14:33.015Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:14:33.015Z] ---> Running in 38cd22192a2b [2023-11-14T22:14:33.288Z] Removing intermediate container 38cd22192a2b [2023-11-14T22:14:33.288Z] ---> d25ed3800050 [2023-11-14T22:14:33.288Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T22:14:33.558Z] ---> Running in 7da2b611c239 [2023-11-14T22:14:33.827Z] Removing intermediate container 7da2b611c239 [2023-11-14T22:14:33.827Z] ---> 4e3b01d3f93e [2023-11-14T22:14:33.827Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:14:33.827Z] ---> Running in 2935374964b8 [2023-11-14T22:14:34.415Z] Removing intermediate container 2935374964b8 [2023-11-14T22:14:34.415Z] ---> 983a3260427c [2023-11-14T22:14:34.415Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:14:34.415Z] ---> Running in 517344ac6221 [2023-11-14T22:14:35.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:14:36.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:14:38.089Z] OK: 271 MiB in 56 packages [2023-11-14T22:14:39.061Z] Removing intermediate container 517344ac6221 [2023-11-14T22:14:39.061Z] ---> 4ae134549651 [2023-11-14T22:14:39.061Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-14T22:14:39.061Z] ---> Running in f3a6b8af640a [2023-11-14T22:14:39.331Z] Removing intermediate container f3a6b8af640a [2023-11-14T22:14:39.331Z] ---> 4ce5f41fab8e [2023-11-14T22:14:39.331Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-14T22:14:39.941Z] ---> e1fe97da883a [2023-11-14T22:14:39.941Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:14:40.212Z] ---> Running in ea5472f477ca [2023-11-14T22:14:42.824Z] Removing intermediate container ea5472f477ca [2023-11-14T22:14:42.824Z] ---> 43384391e744 [2023-11-14T22:14:42.824Z] Step 11/26 : COPY . . [2023-11-14T22:14:43.092Z] ---> 96c0f0ceaeb2 [2023-11-14T22:14:43.092Z] Step 12/26 : RUN $MAKE [2023-11-14T22:14:43.363Z] ---> Running in b71b9b8e059d [2023-11-14T22:14:44.338Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-14T22:17:06.112Z] Removing intermediate container b71b9b8e059d [2023-11-14T22:17:06.112Z] ---> 430d3d9c9413 [2023-11-14T22:17:06.112Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T22:17:06.112Z] 3.18: Pulling from library/alpine [2023-11-14T22:17:06.112Z] 579b34f0a95b: Pulling fs layer [2023-11-14T22:17:06.112Z] 579b34f0a95b: Verifying Checksum [2023-11-14T22:17:06.112Z] 579b34f0a95b: Download complete [2023-11-14T22:17:06.112Z] 579b34f0a95b: Pull complete [2023-11-14T22:17:06.112Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T22:17:06.112Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T22:17:06.112Z] ---> 3cc203321400 [2023-11-14T22:17:06.112Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T22:17:06.112Z] ---> Running in 59dee383aef2 [2023-11-14T22:17:06.112Z] Removing intermediate container 59dee383aef2 [2023-11-14T22:17:06.112Z] ---> fc5071e77f8f [2023-11-14T22:17:06.112Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-14T22:17:06.112Z] ---> Running in 8f0cc16eb4f1 [2023-11-14T22:17:06.112Z] Removing intermediate container 8f0cc16eb4f1 [2023-11-14T22:17:06.112Z] ---> 8b0f004785f2 [2023-11-14T22:17:06.112Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T22:17:06.112Z] ---> Running in 08f5e48f25c5 [2023-11-14T22:17:06.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:17:06.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:17:06.112Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T22:17:06.112Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T22:17:06.112Z] OK: 8 MiB in 16 packages [2023-11-14T22:17:06.112Z] Removing intermediate container 08f5e48f25c5 [2023-11-14T22:17:06.112Z] ---> c87d14f32f4c [2023-11-14T22:17:06.112Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-14T22:17:06.112Z] ---> Running in 5f3ed0ca91e5 [2023-11-14T22:17:07.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:17:07.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:17:08.775Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:17:08.775Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:17:09.044Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T22:17:09.044Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:17:09.044Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:17:09.044Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:17:09.044Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:17:09.044Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:17:09.044Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T22:17:09.313Z] OK: 8 MiB in 16 packages [2023-11-14T22:17:10.733Z] Removing intermediate container 5f3ed0ca91e5 [2023-11-14T22:17:10.733Z] ---> eb1dc8641cab [2023-11-14T22:17:10.733Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-14T22:17:12.151Z] ---> 8bae87105212 [2023-11-14T22:17:12.151Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-14T22:17:12.736Z] ---> bfd087180c35 [2023-11-14T22:17:12.736Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-14T22:17:13.322Z] ---> 17f1bff2442c [2023-11-14T22:17:13.322Z] Step 21/26 : EXPOSE 59986 [2023-11-14T22:17:13.322Z] ---> Running in 669f279ced84 [2023-11-14T22:17:13.591Z] Removing intermediate container 669f279ced84 [2023-11-14T22:17:13.591Z] ---> 78065839e8a2 [2023-11-14T22:17:13.591Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-14T22:17:13.860Z] ---> Running in c062476ef0d0 [2023-11-14T22:17:14.129Z] Removing intermediate container c062476ef0d0 [2023-11-14T22:17:14.129Z] ---> bd7096051a74 [2023-11-14T22:17:14.129Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T22:17:14.129Z] ---> Running in 373dbe2ed1db [2023-11-14T22:17:14.398Z] Removing intermediate container 373dbe2ed1db [2023-11-14T22:17:14.398Z] ---> be51ca9284d0 [2023-11-14T22:17:14.398Z] Step 24/26 : LABEL arch=arm64 [2023-11-14T22:17:14.667Z] ---> Running in 04021fbed005 [2023-11-14T22:17:14.935Z] Removing intermediate container 04021fbed005 [2023-11-14T22:17:14.935Z] ---> 231569929d6c [2023-11-14T22:17:14.935Z] Step 25/26 : LABEL git_sha=990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T22:17:14.935Z] ---> Running in bbfa1914bd53 [2023-11-14T22:17:15.520Z] Removing intermediate container bbfa1914bd53 [2023-11-14T22:17:15.520Z] ---> 1056fe7c5e0a [2023-11-14T22:17:15.520Z] Step 26/26 : LABEL version=3.1.0-dev.32 [2023-11-14T22:17:15.520Z] ---> Running in beefd7c668af [2023-11-14T22:17:15.789Z] Removing intermediate container beefd7c668af [2023-11-14T22:17:15.789Z] ---> de1a20d45dcc [2023-11-14T22:17:15.790Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T22:17:15.790Z] Successfully built de1a20d45dcc [2023-11-14T22:17:15.790Z] 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-14T22:17:15.904Z] provisioning config files... [2023-11-14T22:17:15.920Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/152@tmp/config3303118244804399128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:17:16.259Z] ---> docker-login.sh [2023-11-14T22:17:16.259Z] nexus3.edgexfoundry.org:10001 [2023-11-14T22:17:16.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:17:16.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:17:16.529Z] Configure a credential helper to remove this warning. See [2023-11-14T22:17:16.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:17:16.529Z] [2023-11-14T22:17:16.529Z] Login Succeeded [2023-11-14T22:17:16.529Z] nexus3.edgexfoundry.org:10002 [2023-11-14T22:17:16.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:17:17.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:17:17.066Z] Configure a credential helper to remove this warning. See [2023-11-14T22:17:17.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:17:17.066Z] [2023-11-14T22:17:17.066Z] Login Succeeded [2023-11-14T22:17:17.066Z] nexus3.edgexfoundry.org:10003 [2023-11-14T22:17:17.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:17:17.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:17:17.419Z] Configure a credential helper to remove this warning. See [2023-11-14T22:17:17.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:17:17.419Z] [2023-11-14T22:17:17.419Z] Login Succeeded [2023-11-14T22:17:17.419Z] nexus3.edgexfoundry.org:10004 [2023-11-14T22:17:17.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:17:17.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:17:17.980Z] Configure a credential helper to remove this warning. See [2023-11-14T22:17:17.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:17:17.980Z] [2023-11-14T22:17:17.980Z] Login Succeeded [2023-11-14T22:17:17.980Z] docker.io [2023-11-14T22:17:18.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:17:18.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:17:18.550Z] Configure a credential helper to remove this warning. See [2023-11-14T22:17:18.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:17:18.550Z] [2023-11-14T22:17:18.550Z] Login Succeeded [2023-11-14T22:17:18.550Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T22:17:18.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T22:17:18.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:17:18.625Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-14T22:17:18.625Z] 990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T22:17:18.625Z] latest [2023-11-14T22:17:18.625Z] 3.1.0-dev.32 [2023-11-14T22:17:18.625Z] 990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T22:17:18.625Z] main [2023-11-14T22:17:18.625Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:19.005Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:19.401Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T22:17:19.401Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-14T22:17:19.401Z] 27faf92b637b: Preparing [2023-11-14T22:17:19.401Z] 618c9712c0ec: Preparing [2023-11-14T22:17:19.401Z] 1454e7447574: Preparing [2023-11-14T22:17:19.401Z] d654ead18fc9: Preparing [2023-11-14T22:17:19.401Z] a5cd57a94026: Preparing [2023-11-14T22:17:19.401Z] 5f4d9fc4d98d: Preparing [2023-11-14T22:17:19.401Z] 5f4d9fc4d98d: Waiting [2023-11-14T22:17:19.689Z] 618c9712c0ec: Pushed [2023-11-14T22:17:19.689Z] a5cd57a94026: Pushed [2023-11-14T22:17:19.689Z] 27faf92b637b: Pushed [2023-11-14T22:17:19.959Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T22:17:21.373Z] d654ead18fc9: Pushed [2023-11-14T22:17:26.734Z] 1454e7447574: Pushed [2023-11-14T22:17:26.734Z] 990d379436bad360529865c6b1e601239e616fa1: digest: sha256:647c5746cdd20136d8fe2f3f1ced753ae5e1b627b4cb4169c60647e8a6e6b627 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:27.098Z] + 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-14T22:17:27.442Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-14T22:17:27.442Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-14T22:17:27.442Z] 27faf92b637b: Preparing [2023-11-14T22:17:27.442Z] 618c9712c0ec: Preparing [2023-11-14T22:17:27.442Z] 1454e7447574: Preparing [2023-11-14T22:17:27.442Z] d654ead18fc9: Preparing [2023-11-14T22:17:27.442Z] a5cd57a94026: Preparing [2023-11-14T22:17:27.442Z] 5f4d9fc4d98d: Preparing [2023-11-14T22:17:27.442Z] 5f4d9fc4d98d: Waiting [2023-11-14T22:17:27.442Z] d654ead18fc9: Layer already exists [2023-11-14T22:17:27.442Z] 1454e7447574: Layer already exists [2023-11-14T22:17:27.442Z] 618c9712c0ec: Layer already exists [2023-11-14T22:17:27.442Z] a5cd57a94026: Layer already exists [2023-11-14T22:17:27.442Z] 27faf92b637b: Layer already exists [2023-11-14T22:17:27.442Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T22:17:27.710Z] latest: digest: sha256:647c5746cdd20136d8fe2f3f1ced753ae5e1b627b4cb4169c60647e8a6e6b627 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:28.070Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:28.410Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.32 [2023-11-14T22:17:28.410Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-14T22:17:28.410Z] 27faf92b637b: Preparing [2023-11-14T22:17:28.410Z] 618c9712c0ec: Preparing [2023-11-14T22:17:28.410Z] 1454e7447574: Preparing [2023-11-14T22:17:28.410Z] d654ead18fc9: Preparing [2023-11-14T22:17:28.410Z] a5cd57a94026: Preparing [2023-11-14T22:17:28.410Z] 5f4d9fc4d98d: Preparing [2023-11-14T22:17:28.410Z] 5f4d9fc4d98d: Waiting [2023-11-14T22:17:28.410Z] d654ead18fc9: Layer already exists [2023-11-14T22:17:28.411Z] 27faf92b637b: Layer already exists [2023-11-14T22:17:28.411Z] 1454e7447574: Layer already exists [2023-11-14T22:17:28.411Z] a5cd57a94026: Layer already exists [2023-11-14T22:17:28.411Z] 618c9712c0ec: Layer already exists [2023-11-14T22:17:28.411Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T22:17:28.677Z] 3.1.0-dev.32: digest: sha256:647c5746cdd20136d8fe2f3f1ced753ae5e1b627b4cb4169c60647e8a6e6b627 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:29.029Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:29.381Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T22:17:29.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-14T22:17:29.381Z] 27faf92b637b: Preparing [2023-11-14T22:17:29.381Z] 618c9712c0ec: Preparing [2023-11-14T22:17:29.381Z] 1454e7447574: Preparing [2023-11-14T22:17:29.381Z] d654ead18fc9: Preparing [2023-11-14T22:17:29.381Z] a5cd57a94026: Preparing [2023-11-14T22:17:29.381Z] 5f4d9fc4d98d: Preparing [2023-11-14T22:17:29.381Z] 5f4d9fc4d98d: Waiting [2023-11-14T22:17:29.381Z] a5cd57a94026: Layer already exists [2023-11-14T22:17:29.381Z] 1454e7447574: Layer already exists [2023-11-14T22:17:29.381Z] 27faf92b637b: Layer already exists [2023-11-14T22:17:29.381Z] 618c9712c0ec: Layer already exists [2023-11-14T22:17:29.381Z] d654ead18fc9: Layer already exists [2023-11-14T22:17:29.381Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T22:17:29.648Z] 990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32: digest: sha256:647c5746cdd20136d8fe2f3f1ced753ae5e1b627b4cb4169c60647e8a6e6b627 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:30.000Z] + 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-14T22:17:30.358Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-14T22:17:30.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-14T22:17:30.358Z] 27faf92b637b: Preparing [2023-11-14T22:17:30.358Z] 618c9712c0ec: Preparing [2023-11-14T22:17:30.358Z] 1454e7447574: Preparing [2023-11-14T22:17:30.358Z] d654ead18fc9: Preparing [2023-11-14T22:17:30.358Z] a5cd57a94026: Preparing [2023-11-14T22:17:30.358Z] 5f4d9fc4d98d: Preparing [2023-11-14T22:17:30.358Z] 5f4d9fc4d98d: Waiting [2023-11-14T22:17:30.358Z] 1454e7447574: Layer already exists [2023-11-14T22:17:30.358Z] d654ead18fc9: Layer already exists [2023-11-14T22:17:30.358Z] a5cd57a94026: Layer already exists [2023-11-14T22:17:30.358Z] 27faf92b637b: Layer already exists [2023-11-14T22:17:30.358Z] 618c9712c0ec: Layer already exists [2023-11-14T22:17:30.358Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T22:17:30.625Z] main: digest: sha256:647c5746cdd20136d8fe2f3f1ced753ae5e1b627b4cb4169c60647e8a6e6b627 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T22:17:30.689Z] ===================================================== [Pipeline] echo [2023-11-14T22:17:30.699Z] taggedImages: [2023-11-14T22:17:30.699Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1 [2023-11-14T22:17:30.699Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-14T22:17:30.699Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.32 [2023-11-14T22:17:30.699Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:990d379436bad360529865c6b1e601239e616fa1-3.1.0-dev.32 [2023-11-14T22:17:30.699Z] - 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-14T22:17:31.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:17:31.066Z] [2023-11-14T22:17:31.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:17:31.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:17:31.683Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T22:17:31.683Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T22:17:31.683Z] 04944245beec: Pulling fs layer [2023-11-14T22:17:31.683Z] 699f458cf7ca: Pulling fs layer [2023-11-14T22:17:31.683Z] 765212b225bb: Pulling fs layer [2023-11-14T22:17:31.683Z] f23df028b6ca: Pulling fs layer [2023-11-14T22:17:31.683Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T22:17:31.683Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T22:17:31.683Z] 765212b225bb: Waiting [2023-11-14T22:17:31.683Z] f23df028b6ca: Waiting [2023-11-14T22:17:31.683Z] d65c8cfc05b1: Waiting [2023-11-14T22:17:31.683Z] 2437ff75d9bd: Waiting [2023-11-14T22:17:31.683Z] 04944245beec: Verifying Checksum [2023-11-14T22:17:31.683Z] 04944245beec: Download complete [2023-11-14T22:17:31.683Z] 765212b225bb: Verifying Checksum [2023-11-14T22:17:31.683Z] 765212b225bb: Download complete [2023-11-14T22:17:31.683Z] f23df028b6ca: Verifying Checksum [2023-11-14T22:17:31.683Z] f23df028b6ca: Download complete [2023-11-14T22:17:31.952Z] d65c8cfc05b1: Download complete [2023-11-14T22:17:31.952Z] 699f458cf7ca: Verifying Checksum [2023-11-14T22:17:31.952Z] 699f458cf7ca: Download complete [2023-11-14T22:17:32.539Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T22:17:32.539Z] 8998bd30e6a1: Download complete [2023-11-14T22:17:35.135Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T22:17:35.135Z] 2437ff75d9bd: Download complete [2023-11-14T22:17:38.486Z] 8998bd30e6a1: Pull complete [2023-11-14T22:17:38.755Z] 04944245beec: Pull complete [2023-11-14T22:17:40.703Z] 699f458cf7ca: Pull complete [2023-11-14T22:17:40.703Z] 765212b225bb: Pull complete [2023-11-14T22:17:41.670Z] f23df028b6ca: Pull complete [2023-11-14T22:17:41.942Z] d65c8cfc05b1: Pull complete [2023-11-14T22:18:00.163Z] 2437ff75d9bd: Pull complete [2023-11-14T22:18:00.163Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T22:18:00.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:18:00.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:18:00.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-18006 does not seem to be running inside a container [2023-11-14T22:18:00.444Z] $ 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/152 -v /w/workspace/device-rest-go/152:/w/workspace/device-rest-go/152:rw,z -v /w/workspace/device-rest-go/152@tmp:/w/workspace/device-rest-go/152@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-14T22:18:03.601Z] $ docker top 463f9f0173c66afeec842935b20bae14a430ecdaeca12cd1e3618c361f92b64e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:18:04.445Z] ---> job-cost.sh [2023-11-14T22:18:04.445Z] lf-activate-venv: SKIPPING [2023-11-14T22:18:04.445Z] INFO: No Stack... [2023-11-14T22:18:05.028Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T22:18:05.612Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T22:18:06.252Z] + cat /w/workspace/device-rest-go/152/archives/cost.csv [2023-11-14T22:18:06.252Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T22:18:06.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [2023-11-14T22:18:06.324Z] Resource [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] did not exist. Created. [2023-11-14T22:18:06.324Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T22:18:06.985Z] /w/workspace/device-rest-go/152@tmp/durable-f4dcbaac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T22:18:07.651Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T22:18:07.672Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T22:18:07.731Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T22:18:07.739Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T22:18:07.766Z] $ docker stop --time=1 463f9f0173c66afeec842935b20bae14a430ecdaeca12cd1e3618c361f92b64e [2023-11-14T22:18:09.315Z] $ docker rm -f --volumes 463f9f0173c66afeec842935b20bae14a430ecdaeca12cd1e3618c361f92b64e [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-14T22:18:09.676Z] provisioning config files... [2023-11-14T22:18:09.683Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14826324164748267474tmp [Pipeline] { [Pipeline] sh [2023-11-14T22:18:09.976Z] + set +x [2023-11-14T22:18:09.976Z] + curl -s+ https://codecov.io/bash [2023-11-14T22:18:09.976Z] bash -s -- [2023-11-14T22:18:09.976Z] [2023-11-14T22:18:09.976Z] _____ _ [2023-11-14T22:18:09.976Z] / ____| | | [2023-11-14T22:18:09.976Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T22:18:09.976Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T22:18:09.976Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T22:18:09.976Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T22:18:09.976Z] Bash-1.0.6 [2023-11-14T22:18:09.976Z] [2023-11-14T22:18:09.976Z] [2023-11-14T22:18:09.976Z] ==> git version 2.25.1 found [2023-11-14T22:18:09.976Z] ==> 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-14T22:18:09.976Z] Release-Date: 2020-01-08 [2023-11-14T22:18:09.976Z] 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-14T22:18:09.976Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T22:18:09.976Z] ==> Jenkins CI detected. [2023-11-14T22:18:09.976Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-14T22:18:09.976Z] project root: . [2023-11-14T22:18:09.976Z] --> token set from env [2023-11-14T22:18:09.976Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T22:18:09.976Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T22:18:09.976Z] ==> Python coveragepy not found [2023-11-14T22:18:09.976Z] ==> Searching for coverage reports in: [2023-11-14T22:18:09.976Z] + . [2023-11-14T22:18:09.976Z] -> Found 1 reports [2023-11-14T22:18:09.976Z] ==> Detecting git/mercurial file structure [2023-11-14T22:18:09.976Z] ==> Reading reports [2023-11-14T22:18:09.976Z] + ./coverage.out bytes=14499 [2023-11-14T22:18:10.237Z] ==> Appending adjustments [2023-11-14T22:18:10.237Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T22:18:10.237Z] + Found adjustments [2023-11-14T22:18:10.237Z] ==> Gzipping contents [2023-11-14T22:18:10.237Z] 4.0K /tmp/codecov.IdE7gE.gz [2023-11-14T22:18:10.237Z] ==> Uploading reports [2023-11-14T22:18:10.237Z] url: https://codecov.io [2023-11-14T22:18:10.237Z] query: branch=main&commit=990d379436bad360529865c6b1e601239e616fa1&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-14T22:18:10.237Z] -> Pinging Codecov [2023-11-14T22:18:10.237Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=990d379436bad360529865c6b1e601239e616fa1&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-14T22:18:10.497Z] -> Uploading to [2023-11-14T22:18:10.497Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/4E5D53B4F1F92C436F7061BF334D961C/990d379436bad360529865c6b1e601239e616fa1/2f42fb76-59be-4783-93fc-f4a15d6c48c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T221810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b72eb5b9309c45316d7cb7a1e4133b86cc487ce38b88ec0da940cf86c9e46ec6 [2023-11-14T22:18:10.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T22:18:10.497Z] Dload Upload Total Spent Left Speed [2023-11-14T22:18:11.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 4980 --:--:-- --:--:-- --:--:-- 4980 [2023-11-14T22:18:11.074Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/990d379436bad360529865c6b1e601239e616fa1 [Pipeline] } [2023-11-14T22:18:11.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-14T22:18:11.205Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-14T22:18:11.219Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:18:11.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T22:18:11.531Z] [2023-11-14T22:18:11.531Z] 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-14T22:18:11.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T22:18:12.106Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-14T22:18:12.106Z] df9b9388f04a: Pulling fs layer [2023-11-14T22:18:12.106Z] 52dc419b0ee2: Pulling fs layer [2023-11-14T22:18:12.106Z] 25bc292e5bac: Pulling fs layer [2023-11-14T22:18:12.106Z] 114826534d7a: Pulling fs layer [2023-11-14T22:18:12.106Z] 4657fd5d0bcf: Pulling fs layer [2023-11-14T22:18:12.106Z] 6ad1cebc031e: Pulling fs layer [2023-11-14T22:18:12.106Z] 8a3aa393b2d8: Pulling fs layer [2023-11-14T22:18:12.106Z] 4657fd5d0bcf: Waiting [2023-11-14T22:18:12.106Z] 6ad1cebc031e: Waiting [2023-11-14T22:18:12.106Z] 8a3aa393b2d8: Waiting [2023-11-14T22:18:12.106Z] 114826534d7a: Waiting [2023-11-14T22:18:12.106Z] 25bc292e5bac: Verifying Checksum [2023-11-14T22:18:12.106Z] 25bc292e5bac: Download complete [2023-11-14T22:18:12.106Z] 52dc419b0ee2: Verifying Checksum [2023-11-14T22:18:12.106Z] 52dc419b0ee2: Download complete [2023-11-14T22:18:12.106Z] 4657fd5d0bcf: Download complete [2023-11-14T22:18:12.106Z] df9b9388f04a: Download complete [2023-11-14T22:18:12.367Z] 6ad1cebc031e: Verifying Checksum [2023-11-14T22:18:12.367Z] 6ad1cebc031e: Download complete [2023-11-14T22:18:12.627Z] df9b9388f04a: Pull complete [2023-11-14T22:18:13.198Z] 52dc419b0ee2: Pull complete [2023-11-14T22:18:13.775Z] 25bc292e5bac: Pull complete [2023-11-14T22:18:13.775Z] 114826534d7a: Verifying Checksum [2023-11-14T22:18:13.775Z] 114826534d7a: Download complete [2023-11-14T22:18:14.046Z] 8a3aa393b2d8: Verifying Checksum [2023-11-14T22:18:14.046Z] 8a3aa393b2d8: Download complete [2023-11-14T22:18:18.256Z] 114826534d7a: Pull complete [2023-11-14T22:18:18.256Z] 4657fd5d0bcf: Pull complete [2023-11-14T22:18:18.821Z] 6ad1cebc031e: Pull complete [2023-11-14T22:18:33.822Z] 8a3aa393b2d8: Pull complete [2023-11-14T22:18:33.822Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-14T22:18:33.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T22:18:33.823Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:18:33.906Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:18:33.936Z] $ 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-14T22:19:00.945Z] $ docker top 5da8c7aa9979d102602737f9db1ef05c43384d6cd6d5b248b451e69f7bd26e13 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-14T22:19:01.014Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-14T22:19:01.297Z] + set -o pipefail [2023-11-14T22:19:01.297Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-14T22:19:06.567Z] [2023-11-14T22:19:06.567Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-14T22:19:06.567Z] [2023-11-14T22:19:06.567Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/e49cd02e-2c04-45ef-98ff-a2344157988d [2023-11-14T22:19:06.567Z] [2023-11-14T22:19:06.567Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-14T22:19:06.567Z] [2023-11-14T22:19:06.567Z] [2023-11-14T22:19:06.567Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-14T22:19:06.567Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-14T22:19:06.567Z] More details here: https://snyk.co/ue1NS [2023-11-14T22:19:06.567Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-14T22:19:06.567Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-14T22:19:06.575Z] $ docker stop --time=1 5da8c7aa9979d102602737f9db1ef05c43384d6cd6d5b248b451e69f7bd26e13 [2023-11-14T22:19:29.096Z] $ docker rm -f --volumes 5da8c7aa9979d102602737f9db1ef05c43384d6cd6d5b248b451e69f7bd26e13 [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-14T22:19:29.945Z] + git log --format=format:%s -1 990d379436bad360529865c6b1e601239e616fa1 [Pipeline] sh [2023-11-14T22:19:30.234Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T22:19:30.234Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:19:30.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:19:30.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:19:30.605Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:19:30.630Z] $ 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-14T22:19:33.317Z] $ docker top 042a00a025e78eb55dfab7a0600503f7473134097deec59e15c68b72d6c07f58 -eo pid,comm [2023-11-14T22:19:33.367Z] 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-14T22:19:33.367Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T22:19:33.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T22:19:33.410Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T22:19:33.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T22:19:33.576Z] $ docker exec 042a00a025e78eb55dfab7a0600503f7473134097deec59e15c68b72d6c07f58 ssh-agent [2023-11-14T22:19:33.679Z] SSH_AUTH_SOCK=/tmp/ssh-Oq0PUnGRiRg1/agent.14 [2023-11-14T22:19:33.679Z] SSH_AGENT_PID=20 [2023-11-14T22:19:33.685Z] Running ssh-add (command line suppressed) [2023-11-14T22:19:33.802Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14488468128761818765.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14488468128761818765.key) [2023-11-14T22:19:33.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T22:19:34.105Z] + git semver tag [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,464 [run_tag] DEBUG tag force:False [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,464 [check_head_tag] DEBUG check head tag [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,465 [execute] INFO git cat-file --batch-check [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,469 [execute] INFO git cat-file --batch [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,488 [execute] INFO git tag -a v3.1.0-dev.32 -m v3.1.0-dev.32 [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,489 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.32', '-m', 'v3.1.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-14T22:19:34.689Z] 2023-11-14 22:19:34,493 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:19:34.689Z] 3.1.0-dev.32 [Pipeline] } [2023-11-14T22:19:34.696Z] $ docker exec --env ******** --env ******** 042a00a025e78eb55dfab7a0600503f7473134097deec59e15c68b72d6c07f58 ssh-agent -k [2023-11-14T22:19:34.788Z] unset SSH_AUTH_SOCK; [2023-11-14T22:19:34.788Z] unset SSH_AGENT_PID; [2023-11-14T22:19:34.788Z] echo Agent pid 20 killed; [2023-11-14T22:19:34.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T22:19:35.097Z] + git semver [Pipeline] } [2023-11-14T22:19:35.676Z] $ docker stop --time=1 042a00a025e78eb55dfab7a0600503f7473134097deec59e15c68b72d6c07f58 [2023-11-14T22:19:37.954Z] $ docker rm -f --volumes 042a00a025e78eb55dfab7a0600503f7473134097deec59e15c68b72d6c07f58 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:19:38.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T22:19:38.496Z] [2023-11-14T22:19:38.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:19:38.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T22:19:39.068Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-14T22:19:39.068Z] ab5ef0e58194: Pulling fs layer [2023-11-14T22:19:39.068Z] 9712f1f96733: Pulling fs layer [2023-11-14T22:19:39.068Z] 63f879dbbcfc: Pulling fs layer [2023-11-14T22:19:39.068Z] 0d9ebad4ef96: Pulling fs layer [2023-11-14T22:19:39.068Z] e9a5061849ea: Pulling fs layer [2023-11-14T22:19:39.068Z] d747dcd14b5f: Pulling fs layer [2023-11-14T22:19:39.068Z] 2de7ff778b66: Pulling fs layer [2023-11-14T22:19:39.068Z] 0d9ebad4ef96: Waiting [2023-11-14T22:19:39.068Z] e9a5061849ea: Waiting [2023-11-14T22:19:39.068Z] d747dcd14b5f: Waiting [2023-11-14T22:19:39.068Z] 2de7ff778b66: Waiting [2023-11-14T22:19:39.068Z] 9712f1f96733: Verifying Checksum [2023-11-14T22:19:39.068Z] 9712f1f96733: Download complete [2023-11-14T22:19:39.646Z] 63f879dbbcfc: Verifying Checksum [2023-11-14T22:19:39.646Z] 63f879dbbcfc: Download complete [2023-11-14T22:19:39.913Z] e9a5061849ea: Verifying Checksum [2023-11-14T22:19:39.913Z] e9a5061849ea: Download complete [2023-11-14T22:19:39.913Z] d747dcd14b5f: Download complete [2023-11-14T22:19:40.173Z] 2de7ff778b66: Verifying Checksum [2023-11-14T22:19:40.173Z] 2de7ff778b66: Download complete [2023-11-14T22:19:40.432Z] 0d9ebad4ef96: Verifying Checksum [2023-11-14T22:19:40.432Z] 0d9ebad4ef96: Download complete [2023-11-14T22:19:40.432Z] ab5ef0e58194: Download complete [2023-11-14T22:19:44.632Z] ab5ef0e58194: Pull complete [2023-11-14T22:19:44.632Z] 9712f1f96733: Pull complete [2023-11-14T22:19:46.009Z] 63f879dbbcfc: Pull complete [2023-11-14T22:19:51.269Z] 0d9ebad4ef96: Pull complete [2023-11-14T22:19:51.528Z] e9a5061849ea: Pull complete [2023-11-14T22:19:52.094Z] d747dcd14b5f: Pull complete [2023-11-14T22:19:53.464Z] 2de7ff778b66: Pull complete [2023-11-14T22:19:53.721Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-14T22:19:53.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T22:19:53.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:19:54.061Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:19:54.092Z] $ 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-14T22:20:45.787Z] $ docker top 87bb6b48cedfab2c85358fbcc182842d202451e9b7e1a5acfb779fc127a0ae86 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:20:45.862Z] provisioning config files... [2023-11-14T22:20:45.889Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18402235564120851230tmp [2023-11-14T22:20:45.937Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config130980611554689106tmp [2023-11-14T22:20:46.002Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2277012646615987118tmp [Pipeline] { [Pipeline] echo [2023-11-14T22:20:46.045Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:46.344Z] ---> sigul-configuration.sh [2023-11-14T22:20:46.344Z] gpg: directory `/root/.gnupg' created [2023-11-14T22:20:46.344Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-14T22:20:46.344Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-14T22:20:46.344Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-14T22:20:46.344Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-14T22:20:46.344Z] gpg: CAST5 encrypted data [2023-11-14T22:20:46.344Z] gpg: encrypted with 1 passphrase [2023-11-14T22:20:46.344Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-14T22:20:46.639Z] + mkdir /home/jenkins [2023-11-14T22:20:46.639Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-14T22:20:46.927Z] + 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-14T22:20:46.938Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:47.223Z] ---> sigul-install.sh [2023-11-14T22:20:47.223Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-14T22:20:47.519Z] + git tag --list [2023-11-14T22:20:47.519Z] v1.0.0 [2023-11-14T22:20:47.519Z] v1.1.0 [2023-11-14T22:20:47.519Z] v1.1.1 [2023-11-14T22:20:47.519Z] v1.1.2 [2023-11-14T22:20:47.519Z] v1.2.0 [2023-11-14T22:20:47.519Z] v1.2.1 [2023-11-14T22:20:47.520Z] v2.0.0 [2023-11-14T22:20:47.520Z] v2.1.0 [2023-11-14T22:20:47.520Z] v2.1.1 [2023-11-14T22:20:47.520Z] v2.2.0 [2023-11-14T22:20:47.520Z] v2.3.0 [2023-11-14T22:20:47.520Z] v3.0 [2023-11-14T22:20:47.520Z] v3.0.0 [2023-11-14T22:20:47.520Z] v3.1.0-dev.1 [2023-11-14T22:20:47.520Z] v3.1.0-dev.10 [2023-11-14T22:20:47.520Z] v3.1.0-dev.11 [2023-11-14T22:20:47.520Z] v3.1.0-dev.12 [2023-11-14T22:20:47.520Z] v3.1.0-dev.13 [2023-11-14T22:20:47.520Z] v3.1.0-dev.14 [2023-11-14T22:20:47.520Z] v3.1.0-dev.15 [2023-11-14T22:20:47.520Z] v3.1.0-dev.16 [2023-11-14T22:20:47.520Z] v3.1.0-dev.17 [2023-11-14T22:20:47.520Z] v3.1.0-dev.18 [2023-11-14T22:20:47.520Z] v3.1.0-dev.19 [2023-11-14T22:20:47.520Z] v3.1.0-dev.2 [2023-11-14T22:20:47.520Z] v3.1.0-dev.20 [2023-11-14T22:20:47.520Z] v3.1.0-dev.21 [2023-11-14T22:20:47.520Z] v3.1.0-dev.22 [2023-11-14T22:20:47.520Z] v3.1.0-dev.23 [2023-11-14T22:20:47.520Z] v3.1.0-dev.24 [2023-11-14T22:20:47.520Z] v3.1.0-dev.25 [2023-11-14T22:20:47.520Z] v3.1.0-dev.26 [2023-11-14T22:20:47.520Z] v3.1.0-dev.27 [2023-11-14T22:20:47.520Z] v3.1.0-dev.28 [2023-11-14T22:20:47.520Z] v3.1.0-dev.29 [2023-11-14T22:20:47.520Z] v3.1.0-dev.3 [2023-11-14T22:20:47.520Z] v3.1.0-dev.30 [2023-11-14T22:20:47.520Z] v3.1.0-dev.31 [2023-11-14T22:20:47.520Z] v3.1.0-dev.32 [2023-11-14T22:20:47.520Z] v3.1.0-dev.4 [2023-11-14T22:20:47.520Z] v3.1.0-dev.5 [2023-11-14T22:20:47.520Z] v3.1.0-dev.6 [2023-11-14T22:20:47.520Z] v3.1.0-dev.7 [2023-11-14T22:20:47.520Z] v3.1.0-dev.8 [2023-11-14T22:20:47.520Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-14T22:20:47.819Z] + lftools sign git-tag v3.1.0-dev.32 [2023-11-14T22:20:48.390Z] Signing Git tag with Sigul... [2023-11-14T22:20:48.390Z] Signing v3.1.0-dev.32 [Pipeline] echo [2023-11-14T22:20:48.970Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:49.255Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-14T22:20:49.262Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-14T22:20:49.282Z] $ docker stop --time=1 87bb6b48cedfab2c85358fbcc182842d202451e9b7e1a5acfb779fc127a0ae86 [2023-11-14T22:20:52.290Z] $ docker rm -f --volumes 87bb6b48cedfab2c85358fbcc182842d202451e9b7e1a5acfb779fc127a0ae86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-14T22:20:52.881Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T22:20:52.881Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:20:53.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:20:53.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:20:53.272Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:20:53.339Z] $ 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-14T22:20:56.517Z] $ docker top 464731a389475633104f924770b12d102db00e532eec142d6d943f5e7eda0845 -eo pid,comm [2023-11-14T22:20:56.575Z] 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-14T22:20:56.575Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T22:20:56.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T22:20:56.616Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T22:20:56.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T22:20:56.754Z] $ docker exec 464731a389475633104f924770b12d102db00e532eec142d6d943f5e7eda0845 ssh-agent [2023-11-14T22:20:56.890Z] SSH_AUTH_SOCK=/tmp/ssh-37yetM38lLWL/agent.14 [2023-11-14T22:20:56.890Z] SSH_AGENT_PID=20 [2023-11-14T22:20:56.897Z] Running ssh-add (command line suppressed) [2023-11-14T22:20:57.032Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17738634895484022817.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17738634895484022817.key) [2023-11-14T22:20:57.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T22:20:57.338Z] + git semver bump pre [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,600 [bump_version] DEBUG bumping version:3.1.0-dev.32 on axis:pre with prefix:dev [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,600 [bump_version] DEBUG bumped version:3.1.0-dev.33 [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,600 [write_version] DEBUG write version:3.1.0-dev.33 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,600 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:20:57.908Z] 2023-11-14 22:20:57,603 [execute] INFO git cat-file --batch-check [2023-11-14T22:20:57.909Z] 2023-11-14 22:20:57,604 [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-14T22:20:57.909Z] 2023-11-14 22:20:57,609 [execute] INFO git cat-file --batch [2023-11-14T22:20:57.909Z] 2023-11-14 22:20:57,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T22:20:57.909Z] 2023-11-14 22:20:57,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:20:57.909Z] 3.1.0-dev.33 [Pipeline] } [2023-11-14T22:20:57.917Z] $ docker exec --env ******** --env ******** 464731a389475633104f924770b12d102db00e532eec142d6d943f5e7eda0845 ssh-agent -k [2023-11-14T22:20:58.025Z] unset SSH_AUTH_SOCK; [2023-11-14T22:20:58.025Z] unset SSH_AGENT_PID; [2023-11-14T22:20:58.026Z] echo Agent pid 20 killed; [2023-11-14T22:20:58.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T22:20:58.350Z] + git semver [Pipeline] } [2023-11-14T22:20:58.929Z] $ docker stop --time=1 464731a389475633104f924770b12d102db00e532eec142d6d943f5e7eda0845 [2023-11-14T22:21:01.963Z] $ docker rm -f --volumes 464731a389475633104f924770b12d102db00e532eec142d6d943f5e7eda0845 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T22:21:02.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T22:21:02.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:21:02.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:21:02.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:21:02.920Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:21:02.948Z] $ 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-14T22:21:04.740Z] $ docker top e6226dc8363286dfb2e7df4ad4f6a74f798f0f5b02abe03cd985b043d2dbd714 -eo pid,comm [2023-11-14T22:21:04.789Z] 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-14T22:21:04.789Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T22:21:04.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T22:21:04.822Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T22:21:04.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T22:21:04.927Z] $ docker exec e6226dc8363286dfb2e7df4ad4f6a74f798f0f5b02abe03cd985b043d2dbd714 ssh-agent [2023-11-14T22:21:05.026Z] SSH_AUTH_SOCK=/tmp/ssh-r4LULkHuXpDt/agent.13 [2023-11-14T22:21:05.026Z] SSH_AGENT_PID=19 [2023-11-14T22:21:05.032Z] Running ssh-add (command line suppressed) [2023-11-14T22:21:05.124Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1202296232876158098.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1202296232876158098.key) [2023-11-14T22:21:05.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T22:21:05.453Z] + git semver push [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,692 [run_push] DEBUG push [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,693 [execute] INFO git cat-file --batch-check [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,693 [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-14T22:21:05.712Z] 2023-11-14 22:21:05,696 [execute] INFO git rev-list 21e29c64219e4b57f271627033ee72e1d88b7720 -- [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,696 [execute] DEBUG Popen(['git', 'rev-list', '21e29c64219e4b57f271627033ee72e1d88b7720', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,703 [execute] INFO git fetch -v origin [2023-11-14T22:21:05.712Z] 2023-11-14 22:21:05,703 [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-14T22:21:06.279Z] 2023-11-14 22:21:06,194 [run_push] DEBUG no remote changes detected [2023-11-14T22:21:06.279Z] 2023-11-14 22:21:06,195 [execute] INFO git push origin semver [2023-11-14T22:21:06.279Z] 2023-11-14 22:21:06,195 [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-14T22:21:07.215Z] 2023-11-14 22:21:07,054 [run_push] DEBUG push all version tags [2023-11-14T22:21:07.215Z] 2023-11-14 22:21:07,054 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-14T22:21:07.215Z] 2023-11-14 22:21:07,055 [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-14T22:21:08.152Z] 2023-11-14 22:21:07,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-14T22:21:08.152Z] 3.1.0-dev.33 [Pipeline] } [2023-11-14T22:21:08.157Z] $ docker exec --env ******** --env ******** e6226dc8363286dfb2e7df4ad4f6a74f798f0f5b02abe03cd985b043d2dbd714 ssh-agent -k [2023-11-14T22:21:08.280Z] unset SSH_AUTH_SOCK; [2023-11-14T22:21:08.283Z] unset SSH_AGENT_PID; [2023-11-14T22:21:08.284Z] echo Agent pid 19 killed; [2023-11-14T22:21:08.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T22:21:08.603Z] + git semver [Pipeline] } [2023-11-14T22:21:08.869Z] $ docker stop --time=1 e6226dc8363286dfb2e7df4ad4f6a74f798f0f5b02abe03cd985b043d2dbd714 [2023-11-14T22:21:11.079Z] $ docker rm -f --volumes e6226dc8363286dfb2e7df4ad4f6a74f798f0f5b02abe03cd985b043d2dbd714 [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-14T22:21:11.856Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-14T22:21:11.856Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-14T22:21:11.856Z] total 16 [2023-11-14T22:21:11.856Z] drwxr-xr-x 3 root root 4096 Nov 14 21:54 . [2023-11-14T22:21:11.856Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:20 .. [2023-11-14T22:21:11.856Z] drwxr-xr-x 2 root root 4096 Nov 14 21:54 cost [2023-11-14T22:21:11.856Z] -rw-r--r-- 1 root root 86 Nov 14 21:54 cost.csv [2023-11-14T22:21:11.856Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-14T22:21:11.856Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-14T22:21:11.856Z] total 16 [2023-11-14T22:21:11.856Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:54 . [2023-11-14T22:21:11.856Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:20 .. [2023-11-14T22:21:11.856Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:54 cost [2023-11-14T22:21:11.856Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:12.170Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:13.423Z] ---> package-listing.sh [2023-11-14T22:21:13.423Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T22:21:13.423Z] ++ facter osfamily [2023-11-14T22:21:13.682Z] + OS_FAMILY=debian [2023-11-14T22:21:13.682Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-14T22:21:13.682Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T22:21:13.682Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T22:21:13.682Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T22:21:13.682Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T22:21:13.682Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-14T22:21:13.682Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T22:21:13.682Z] + case "${OS_FAMILY}" in [2023-11-14T22:21:13.682Z] + dpkg -l [2023-11-14T22:21:13.682Z] + grep '^ii' [2023-11-14T22:21:13.682Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T22:21:13.682Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T22:21:13.682Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T22:21:13.682Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-14T22:21:13.682Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-14T22:21:13.682Z] + 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-14T22:21:13.691Z] 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-14T22:21:14.009Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:21:14.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T22:21:14.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:21:14.692Z] prd-ubuntu20.04-docker-8c-8g-17550 does not seem to be running inside a container [2023-11-14T22:21:14.718Z] $ 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-14T22:21:16.434Z] $ docker top 059ad98bfacb2d4436752e144600a54f5c5fa1076043c50015ea53fdf2b27a91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:21:16.785Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T22:21:17.100Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T22:21:17.382Z] + ls /var/log/sa-host [2023-11-14T22:21:17.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:21:17.454Z] provisioning config files... [2023-11-14T22:21:17.465Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1489367554379035631tmp [Pipeline] { [Pipeline] echo [2023-11-14T22:21:17.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:17.767Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T22:21:17.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:18.093Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T22:21:18.103Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:18.389Z] ---> sudo-logs.sh [2023-11-14T22:21:18.389Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T22:21:18.419Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:18.702Z] ---> job-cost.sh [2023-11-14T22:21:18.702Z] lf-activate-venv: SKIPPING [2023-11-14T22:21:18.702Z] DEBUG: total: 0.2199999988079071 [2023-11-14T22:21:18.702Z] INFO: Retrieving Stack Cost... [2023-11-14T22:21:19.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T22:21:19.527Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T22:21:19.537Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:21:19.818Z] ---> logs-deploy.sh [2023-11-14T22:21:19.818Z] lf-activate-venv: SKIPPING [2023-11-14T22:21:19.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/152 [2023-11-14T22:21:19.818Z] INFO: archiving workspace using pattern(s): [2023-11-14T22:21:20.754Z] Archives upload complete. [2023-11-14T22:21:21.014Z] INFO: archiving logs to Nexus