Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 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-ssh17928338939648332555.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-ssh12354123324905250255.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-ssh743554128851216820.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-ssh7912957801207266034.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-ssh9218629180330268504.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17180 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 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 (main) Commit message: "Merge pull request #366 from cloudxxx8/changelog" > 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 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 > git rev-list --no-walk 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-10T02:07:15.450Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-10T02:07:15.511Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-10T02:07:15.530Z] ========================================================= [2023-11-10T02:07:15.531Z] EdgeX Global Pipelines Version Info [2023-11-10T02:07:15.531Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:16.266Z] ------------------- [2023-11-10T02:07:16.266Z] stable info: [2023-11-10T02:07:16.266Z] ------------------- [2023-11-10T02:07:16.266Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-10T02:07:16.266Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-10T02:07:16.266Z] Message: update stable to v1.0.257 [2023-11-10T02:07:16.845Z] ------------------- [2023-11-10T02:07:16.845Z] experimental info: [2023-11-10T02:07:16.845Z] ------------------- [2023-11-10T02:07:16.845Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-10T02:07:16.845Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-10T02:07:16.845Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-10T02:07:17.003Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-10T02:07:17.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-10T02:07:17.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-10T02:07:17.048Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-10T02:07:17.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-10T02:07:17.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-10T02:07:17.087Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-10T02:07:17.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-10T02:07:17.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-10T02:07:17.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-10T02:07:17.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-10T02:07:17.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-10T02:07:17.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-10T02:07:17.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-10T02:07:17.209Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-10T02:07:17.222Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-10T02:07:17.234Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-10T02:07:17.246Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-10T02:07:17.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-10T02:07:17.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-10T02:07:17.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-10T02:07:17.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-10T02:07:17.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-10T02:07:17.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-10T02:07:17.348Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-10T02:07:17.367Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-10T02:07:17.377Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-10T02:07:17.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-10T02:07:17.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-10T02:07:17.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-10T02:07:17.442Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] echo [2023-11-10T02:07:17.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abaf377 [Pipeline] echo [2023-11-10T02:07:17.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:07:17.528Z] provisioning config files... [2023-11-10T02:07:17.541Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2273866932978274477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:17.846Z] ---> docker-login.sh [2023-11-10T02:07:17.846Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:07:19.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:19.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:19.229Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:19.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:19.229Z] [2023-11-10T02:07:19.229Z] Login Succeeded [2023-11-10T02:07:19.229Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:07:19.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:19.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:19.489Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:19.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:19.489Z] [2023-11-10T02:07:19.489Z] Login Succeeded [2023-11-10T02:07:19.489Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:07:19.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:19.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:19.489Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:19.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:19.489Z] [2023-11-10T02:07:19.489Z] Login Succeeded [2023-11-10T02:07:19.489Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:07:19.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:19.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:19.750Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:19.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:19.750Z] [2023-11-10T02:07:19.750Z] Login Succeeded [2023-11-10T02:07:19.750Z] docker.io [2023-11-10T02:07:19.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:20.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:20.010Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:20.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:20.010Z] [2023-11-10T02:07:20.010Z] Login Succeeded [2023-11-10T02:07:20.010Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:07:20.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-10T02:07:20.394Z] + git rev-list -1 --merges abaf377c2305cb6c403a8e05fa4318ea0a1dbe85~1..abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] echo [2023-11-10T02:07:20.440Z] -----------> git rev-list -1 --merges abaf377c2305cb6c403a8e05fa4318ea0a1dbe85~1..abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:07:20.440Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [false] [Pipeline] sh [2023-11-10T02:07:20.741Z] + git log --format=format:%s -1 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] echo [2023-11-10T02:07:20.752Z] ========================================================= [2023-11-10T02:07:20.752Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-10T02:07:20.752Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:07:21.081Z] + git log --format=format:%s -1 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] echo [2023-11-10T02:07:21.094Z] [semverPrep] GIT_COMMIT: abaf377c2305cb6c403a8e05fa4318ea0a1dbe85, Commit Message: Merge pull request #366 from cloudxxx8/changelog [Pipeline] echo [2023-11-10T02:07:21.103Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-10T02:07:21.439Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:07:21.439Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-10T02:07:21.439Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-10T02:07:21.439Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-10T02:07:21.439Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-10T02:07:21.439Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-10T02:07:21.439Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:07:21.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:21.799Z] [2023-11-10T02:07:21.799Z] 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-10T02:07:22.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:22.097Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-10T02:07:22.097Z] b85a868b505f: Pulling fs layer [2023-11-10T02:07:22.097Z] e2be974225ed: Pulling fs layer [2023-11-10T02:07:22.097Z] 339a4e72a1f5: Pulling fs layer [2023-11-10T02:07:22.097Z] 988bab9f4d93: Pulling fs layer [2023-11-10T02:07:22.097Z] 1469e6f7b9e6: Pulling fs layer [2023-11-10T02:07:22.097Z] eaf3925da568: Pulling fs layer [2023-11-10T02:07:22.097Z] bab4dde63d76: Pulling fs layer [2023-11-10T02:07:22.097Z] bde34c3a00c8: Pulling fs layer [2023-11-10T02:07:22.097Z] b352a97aabf1: Pulling fs layer [2023-11-10T02:07:22.097Z] 4872d77fe225: Pulling fs layer [2023-11-10T02:07:22.097Z] 5851b861e8e6: Pulling fs layer [2023-11-10T02:07:22.097Z] b352a97aabf1: Waiting [2023-11-10T02:07:22.097Z] 4872d77fe225: Waiting [2023-11-10T02:07:22.097Z] 5851b861e8e6: Waiting [2023-11-10T02:07:22.097Z] eaf3925da568: Waiting [2023-11-10T02:07:22.097Z] 988bab9f4d93: Waiting [2023-11-10T02:07:22.097Z] bab4dde63d76: Waiting [2023-11-10T02:07:22.097Z] bde34c3a00c8: Waiting [2023-11-10T02:07:22.097Z] 1469e6f7b9e6: Waiting [2023-11-10T02:07:22.097Z] e2be974225ed: Download complete [2023-11-10T02:07:22.097Z] 988bab9f4d93: Verifying Checksum [2023-11-10T02:07:22.097Z] 988bab9f4d93: Download complete [2023-11-10T02:07:22.357Z] 1469e6f7b9e6: Verifying Checksum [2023-11-10T02:07:22.357Z] 1469e6f7b9e6: Download complete [2023-11-10T02:07:22.357Z] 339a4e72a1f5: Verifying Checksum [2023-11-10T02:07:22.357Z] 339a4e72a1f5: Download complete [2023-11-10T02:07:22.357Z] eaf3925da568: Verifying Checksum [2023-11-10T02:07:22.357Z] eaf3925da568: Download complete [2023-11-10T02:07:22.357Z] bde34c3a00c8: Download complete [2023-11-10T02:07:22.357Z] b352a97aabf1: Download complete [2023-11-10T02:07:22.357Z] 4872d77fe225: Verifying Checksum [2023-11-10T02:07:22.357Z] 4872d77fe225: Download complete [2023-11-10T02:07:22.357Z] 5851b861e8e6: Verifying Checksum [2023-11-10T02:07:22.357Z] 5851b861e8e6: Download complete [2023-11-10T02:07:22.357Z] b85a868b505f: Verifying Checksum [2023-11-10T02:07:22.357Z] b85a868b505f: Download complete [2023-11-10T02:07:22.616Z] bab4dde63d76: Verifying Checksum [2023-11-10T02:07:22.616Z] bab4dde63d76: Download complete [2023-11-10T02:07:23.549Z] b85a868b505f: Pull complete [2023-11-10T02:07:23.808Z] e2be974225ed: Pull complete [2023-11-10T02:07:24.376Z] 339a4e72a1f5: Pull complete [2023-11-10T02:07:24.376Z] 988bab9f4d93: Pull complete [2023-11-10T02:07:24.635Z] 1469e6f7b9e6: Pull complete [2023-11-10T02:07:24.895Z] eaf3925da568: Pull complete [2023-11-10T02:07:26.806Z] bab4dde63d76: Pull complete [2023-11-10T02:07:26.806Z] bde34c3a00c8: Pull complete [2023-11-10T02:07:27.065Z] b352a97aabf1: Pull complete [2023-11-10T02:07:27.065Z] 4872d77fe225: Pull complete [2023-11-10T02:07:27.065Z] 5851b861e8e6: Pull complete [2023-11-10T02:07:27.065Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-10T02:07:27.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:07:27.325Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:07:27.423Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:07:27.461Z] $ 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-10T02:07:32.322Z] $ docker top a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb -eo pid,comm [2023-11-10T02:07:32.377Z] 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-10T02:07:32.377Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:07:32.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:07:32.415Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:07:32.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:07:32.560Z] $ docker exec a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb ssh-agent [2023-11-10T02:07:32.677Z] SSH_AUTH_SOCK=/tmp/ssh-2NVlJ76ZpNi3/agent.32 [2023-11-10T02:07:32.677Z] SSH_AGENT_PID=38 [2023-11-10T02:07:32.686Z] Running ssh-add (command line suppressed) [2023-11-10T02:07:32.793Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_347037401892437163.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_347037401892437163.key) [2023-11-10T02:07:32.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:07:33.100Z] + git tag --points-at HEAD [Pipeline] } [2023-11-10T02:07:33.119Z] $ docker exec --env ******** --env ******** a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb ssh-agent -k [2023-11-10T02:07:33.223Z] unset SSH_AUTH_SOCK; [2023-11-10T02:07:33.223Z] unset SSH_AGENT_PID; [2023-11-10T02:07:33.223Z] echo Agent pid 38 killed; [2023-11-10T02:07:33.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-10T02:07:33.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:07:33.261Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:07:33.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:07:33.392Z] $ docker exec a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb ssh-agent [2023-11-10T02:07:33.511Z] SSH_AUTH_SOCK=/tmp/ssh-Xxumz7ocpWvx/agent.71 [2023-11-10T02:07:33.511Z] SSH_AGENT_PID=77 [2023-11-10T02:07:33.516Z] Running ssh-add (command line suppressed) [2023-11-10T02:07:33.621Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1413090459915122988.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1413090459915122988.key) [2023-11-10T02:07:33.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:07:33.921Z] + git semver init [2023-11-10T02:07:34.180Z] 2023-11-10 02:07:34,106 [run_init] DEBUG init version:0.0.0 force:False [2023-11-10T02:07:34.180Z] 2023-11-10 02:07:34,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-10T02:07:34.180Z] 2023-11-10 02:07:34,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-10T02:07:34.180Z] 2023-11-10 02:07:34,107 [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-10T02:07:35.560Z] 2023-11-10 02:07:35,356 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-10T02:07:35.560Z] 2023-11-10 02:07:35,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-10T02:07:35.560Z] 2023-11-10 02:07:35,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:07:35.560Z] 2023-11-10 02:07:35,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:07:35.560Z] 3.1.0-dev.31 [Pipeline] } [2023-11-10T02:07:35.573Z] $ docker exec --env ******** --env ******** a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb ssh-agent -k [2023-11-10T02:07:35.681Z] unset SSH_AUTH_SOCK; [2023-11-10T02:07:35.681Z] unset SSH_AGENT_PID; [2023-11-10T02:07:35.681Z] echo Agent pid 77 killed; [2023-11-10T02:07:35.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:07:35.993Z] + git semver [Pipeline] } [2023-11-10T02:07:36.267Z] $ docker stop --time=1 a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb [2023-11-10T02:07:37.759Z] $ docker rm -f --volumes a24cad183990b271791c702cfe1e9e0168e0ec6dece48c883d865261dcf823cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:07:38.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-10T02:07:38.303Z] Stashed 1 file(s) [Pipeline] echo [2023-11-10T02:07:38.308Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.31 [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-10T02:07:38.451Z] provisioning config files... [2023-11-10T02:07:38.461Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9474025880112851413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:07:38.761Z] ---> docker-login.sh [2023-11-10T02:07:38.761Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:07:38.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:38.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:38.761Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:38.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:38.761Z] [2023-11-10T02:07:38.761Z] Login Succeeded [2023-11-10T02:07:38.761Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:07:38.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:39.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:39.024Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:39.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:39.024Z] [2023-11-10T02:07:39.024Z] Login Succeeded [2023-11-10T02:07:39.024Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:07:39.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:39.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:39.024Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:39.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:39.024Z] [2023-11-10T02:07:39.024Z] Login Succeeded [2023-11-10T02:07:39.024Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:07:39.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:39.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:39.286Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:39.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:39.286Z] [2023-11-10T02:07:39.286Z] Login Succeeded [2023-11-10T02:07:39.286Z] docker.io [2023-11-10T02:07:39.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:07:39.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:07:39.545Z] Configure a credential helper to remove this warning. See [2023-11-10T02:07:39.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:07:39.545Z] [2023-11-10T02:07:39.545Z] Login Succeeded [2023-11-10T02:07:39.545Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:07:39.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-10T02:07:39.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:07:39.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:07:39.650Z] ========================================================= [2023-11-10T02:07:39.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-10T02:07:39.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:07:39.959Z] + 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-10T02:07:39.959Z] Sending build context to Docker daemon 10.94MB [2023-11-10T02:07:39.959Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:07:39.959Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-10T02:07:40.228Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-10T02:07:40.228Z] 7264a8db6415: Pulling fs layer [2023-11-10T02:07:40.228Z] c4d48a809fc2: Pulling fs layer [2023-11-10T02:07:40.228Z] 4f1c88b9dad5: Pulling fs layer [2023-11-10T02:07:40.229Z] ad3a456e5733: Pulling fs layer [2023-11-10T02:07:40.229Z] 33e27b845d1e: Pulling fs layer [2023-11-10T02:07:40.229Z] c68163c4e522: Pulling fs layer [2023-11-10T02:07:40.229Z] 50da416c3ac9: Pulling fs layer [2023-11-10T02:07:40.229Z] 23d2d4c4bb30: Pulling fs layer [2023-11-10T02:07:40.229Z] 23d2d4c4bb30: Waiting [2023-11-10T02:07:40.229Z] ad3a456e5733: Waiting [2023-11-10T02:07:40.229Z] 33e27b845d1e: Waiting [2023-11-10T02:07:40.229Z] c4d48a809fc2: Verifying Checksum [2023-11-10T02:07:40.229Z] c4d48a809fc2: Download complete [2023-11-10T02:07:40.229Z] ad3a456e5733: Verifying Checksum [2023-11-10T02:07:40.229Z] ad3a456e5733: Download complete [2023-11-10T02:07:40.229Z] 33e27b845d1e: Download complete [2023-11-10T02:07:40.229Z] 7264a8db6415: Verifying Checksum [2023-11-10T02:07:40.229Z] 7264a8db6415: Download complete [2023-11-10T02:07:40.229Z] c68163c4e522: Verifying Checksum [2023-11-10T02:07:40.229Z] c68163c4e522: Download complete [2023-11-10T02:07:40.488Z] 7264a8db6415: Pull complete [2023-11-10T02:07:40.488Z] 23d2d4c4bb30: Verifying Checksum [2023-11-10T02:07:40.488Z] 23d2d4c4bb30: Download complete [2023-11-10T02:07:40.749Z] 4f1c88b9dad5: Verifying Checksum [2023-11-10T02:07:40.749Z] 4f1c88b9dad5: Download complete [2023-11-10T02:07:41.007Z] c4d48a809fc2: Pull complete [2023-11-10T02:07:41.267Z] 50da416c3ac9: Verifying Checksum [2023-11-10T02:07:41.267Z] 50da416c3ac9: Download complete [2023-11-10T02:07:45.452Z] 4f1c88b9dad5: Pull complete [2023-11-10T02:07:45.452Z] ad3a456e5733: Pull complete [2023-11-10T02:07:45.713Z] 33e27b845d1e: Pull complete [2023-11-10T02:07:45.970Z] c68163c4e522: Pull complete [2023-11-10T02:07:49.251Z] 50da416c3ac9: Pull complete [2023-11-10T02:07:49.834Z] 23d2d4c4bb30: Pull complete [2023-11-10T02:07:49.834Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-10T02:07:49.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-10T02:07:49.834Z] ---> 0786185ac409 [2023-11-10T02:07:49.834Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:07:53.414Z] Still waiting to schedule task [2023-11-10T02:07:53.414Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17177’ [2023-11-10T02:07:57.979Z] ---> Running in 77d59c0e5ce8 [2023-11-10T02:07:57.979Z] Removing intermediate container 77d59c0e5ce8 [2023-11-10T02:07:57.979Z] ---> 5d6e89505aba [2023-11-10T02:07:57.979Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:07:57.979Z] ---> Running in 445a6806c5a2 [2023-11-10T02:07:57.979Z] Removing intermediate container 445a6806c5a2 [2023-11-10T02:07:57.979Z] ---> 12e92289401d [2023-11-10T02:07:57.979Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:07:57.979Z] ---> Running in 5ef62b730cd1 [2023-11-10T02:07:57.979Z] Removing intermediate container 5ef62b730cd1 [2023-11-10T02:07:57.979Z] ---> 704d78d023d0 [2023-11-10T02:07:57.979Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:07:57.979Z] ---> Running in b74920f2ceb8 [2023-11-10T02:07:57.979Z] Removing intermediate container b74920f2ceb8 [2023-11-10T02:07:57.979Z] ---> 1e08551382f5 [2023-11-10T02:07:57.979Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:07:57.979Z] ---> Running in 73358544ab20 [2023-11-10T02:07:57.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:07:58.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:07:58.496Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-10T02:07:58.496Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-10T02:07:58.496Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-10T02:07:58.496Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-10T02:07:58.496Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:07:58.496Z] OK: 268 MiB in 56 packages [2023-11-10T02:07:59.874Z] Removing intermediate container 73358544ab20 [2023-11-10T02:07:59.874Z] ---> 27258214a9db [2023-11-10T02:07:59.874Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-10T02:08:00.448Z] ---> Running in 29177590835b [2023-11-10T02:08:00.706Z] Removing intermediate container 29177590835b [2023-11-10T02:08:00.706Z] ---> 2e76b87739a0 [2023-11-10T02:08:00.706Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-10T02:08:01.277Z] ---> bad7b36a3010 [2023-11-10T02:08:01.277Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:08:01.277Z] ---> Running in 4ca046bde392 [2023-11-10T02:08:48.021Z] Removing intermediate container 4ca046bde392 [2023-11-10T02:08:48.021Z] ---> 8f624e6f5dbd [2023-11-10T02:08:48.021Z] Step 11/12 : COPY . . [2023-11-10T02:08:48.021Z] ---> 8b88cc917f77 [2023-11-10T02:08:48.021Z] Step 12/12 : RUN $MAKE [2023-11-10T02:08:48.021Z] ---> Running in 0963528b67e0 [2023-11-10T02:08:48.021Z] noop [2023-11-10T02:08:48.021Z] Removing intermediate container 0963528b67e0 [2023-11-10T02:08:48.021Z] ---> 2213389ae595 [2023-11-10T02:08:48.021Z] Successfully built 2213389ae595 [2023-11-10T02:08:48.021Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:08:48.360Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-10T02:08:48.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:08:48.435Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:08:48.479Z] $ 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-10T02:08:48.857Z] $ docker top e038eb901408cd343365742206182f780d7acc92e6e402f3c31e6869cb119c2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:08:49.203Z] + go version [2023-11-10T02:08:49.203Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-10T02:08:49.216Z] $ docker stop --time=1 e038eb901408cd343365742206182f780d7acc92e6e402f3c31e6869cb119c2c [2023-11-10T02:08:50.500Z] $ docker rm -f --volumes e038eb901408cd343365742206182f780d7acc92e6e402f3c31e6869cb119c2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:08:50.938Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-10T02:08:50.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:08:51.009Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:08:51.046Z] $ 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-10T02:08:51.844Z] $ docker top e248cdd41a51470b9d108b10bdac43b207dc04b0ca7a54226378038d35afdcfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:08:52.198Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-10T02:08:52.499Z] + make test [2023-11-10T02:08:52.499Z] go test ./... -coverprofile=coverage.out ./... [2023-11-10T02:08:55.839Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-10T02:09:08.039Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-10T02:09:08.039Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-11-10T02:09:13.311Z] go vet ./... [2023-11-10T02:09:17.758Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-10T02:09:17.758Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-10T02:09:17.758Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-10T02:09:17.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-10T02:09:17.789Z] $ docker stop --time=1 e248cdd41a51470b9d108b10bdac43b207dc04b0ca7a54226378038d35afdcfc [2023-11-10T02:09:24.991Z] $ docker rm -f --volumes e248cdd41a51470b9d108b10bdac43b207dc04b0ca7a54226378038d35afdcfc [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:09:25.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-10T02:09:25.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-10T02:09:25.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-10T02:09:26.270Z] + ls -al . [2023-11-10T02:09:26.270Z] total 180 [2023-11-10T02:09:26.270Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:08 . [2023-11-10T02:09:26.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:07 .. [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 02:07 .dockerignore [2023-11-10T02:09:26.270Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:09 .git [2023-11-10T02:09:26.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 .github [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 10 02:07 .gitignore [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 02:07 .golangci.yml [2023-11-10T02:09:26.270Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:07 .semver [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 10 02:07 Attribution.txt [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 10 02:07 CHANGELOG.md [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 10 02:07 Dockerfile [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:07 GOVERNANCE.md [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 02:07 Jenkinsfile [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 02:07 LICENSE [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 10 02:07 Makefile [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 02:07 OWNERS.md [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 10 02:07 README.md [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION [2023-11-10T02:09:26.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:07 bin [2023-11-10T02:09:26.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 cmd [2023-11-10T02:09:26.270Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 10 02:09 coverage.out [2023-11-10T02:09:26.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:07 driver [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 10 02:07 go.mod [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 10 02:07 go.sum [2023-11-10T02:09:26.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 openapi [2023-11-10T02:09:26.270Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 02:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:09:26.577Z] + 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=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 --label arch=amd64 --label version=3.1.0-dev.31 . [2023-11-10T02:09:26.577Z] Sending build context to Docker daemon 10.95MB [2023-11-10T02:09:26.577Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:09:26.577Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-10T02:09:26.577Z] ---> 2213389ae595 [2023-11-10T02:09:26.577Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:09:26.836Z] ---> Running in 295ea613a133 [2023-11-10T02:09:26.836Z] Removing intermediate container 295ea613a133 [2023-11-10T02:09:26.836Z] ---> 276da2a25eaf [2023-11-10T02:09:26.836Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:09:27.096Z] ---> Running in 1f71cee058a5 [2023-11-10T02:09:27.096Z] Removing intermediate container 1f71cee058a5 [2023-11-10T02:09:27.096Z] ---> d992f6fe6cf5 [2023-11-10T02:09:27.096Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:09:27.096Z] ---> Running in 599293a1ec5c [2023-11-10T02:09:27.096Z] Removing intermediate container 599293a1ec5c [2023-11-10T02:09:27.096Z] ---> b09486f860bf [2023-11-10T02:09:27.096Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:09:27.096Z] ---> Running in 01996eb3a944 [2023-11-10T02:09:27.663Z] Removing intermediate container 01996eb3a944 [2023-11-10T02:09:27.663Z] ---> 68d502dccaca [2023-11-10T02:09:27.663Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:09:27.663Z] ---> Running in 918f0d15ab23 [2023-11-10T02:09:28.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:09:28.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:09:28.491Z] OK: 268 MiB in 56 packages [2023-11-10T02:09:28.749Z] Removing intermediate container 918f0d15ab23 [2023-11-10T02:09:28.749Z] ---> 683397483d0f [2023-11-10T02:09:28.749Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-10T02:09:28.749Z] ---> Running in b8563990e854 [2023-11-10T02:09:29.007Z] Removing intermediate container b8563990e854 [2023-11-10T02:09:29.007Z] ---> 9df21414560f [2023-11-10T02:09:29.007Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-10T02:09:29.007Z] ---> 7a718552c05d [2023-11-10T02:09:29.007Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:09:29.007Z] ---> Running in 4661a77fd140 [2023-11-10T02:09:29.575Z] Removing intermediate container 4661a77fd140 [2023-11-10T02:09:29.575Z] ---> a1ac302a617f [2023-11-10T02:09:29.575Z] Step 11/25 : COPY . . [2023-11-10T02:09:30.516Z] ---> 2963cb382381 [2023-11-10T02:09:30.516Z] Step 12/25 : RUN $MAKE [2023-11-10T02:09:30.516Z] ---> Running in 5f04b0b568ce [2023-11-10T02:09:30.516Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-10T02:09:57.399Z] Removing intermediate container 5f04b0b568ce [2023-11-10T02:09:57.399Z] ---> 34d91a3337a5 [2023-11-10T02:09:57.399Z] Step 13/25 : FROM alpine:3.18 [2023-11-10T02:09:59.434Z] 3.18: Pulling from library/alpine [2023-11-10T02:09:59.434Z] 96526aa774ef: Pulling fs layer [2023-11-10T02:09:59.434Z] 96526aa774ef: Download complete [2023-11-10T02:09:59.434Z] 96526aa774ef: Pull complete [2023-11-10T02:09:59.434Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-10T02:09:59.693Z] Status: Downloaded newer image for alpine:3.18 [2023-11-10T02:09:59.694Z] ---> 8ca4688f4f35 [2023-11-10T02:09:59.694Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-10T02:09:59.694Z] ---> Running in 4b63db43305f [2023-11-10T02:09:59.953Z] Removing intermediate container 4b63db43305f [2023-11-10T02:09:59.953Z] ---> de3d1bcf68ac [2023-11-10T02:09:59.953Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-10T02:09:59.953Z] ---> Running in 28682f7593fd [2023-11-10T02:09:59.953Z] Removing intermediate container 28682f7593fd [2023-11-10T02:09:59.953Z] ---> e4e80d60b3c4 [2023-11-10T02:09:59.953Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-10T02:09:59.953Z] ---> Running in 57aeaa3c680e [2023-11-10T02:10:00.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-10T02:10:00.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-10T02:10:00.471Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-10T02:10:00.471Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:10:00.471Z] OK: 7 MiB in 16 packages [2023-11-10T02:10:01.036Z] Removing intermediate container 57aeaa3c680e [2023-11-10T02:10:01.036Z] ---> 12d15b3762d6 [2023-11-10T02:10:01.036Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-10T02:10:01.976Z] ---> 9c4f7f5123ef [2023-11-10T02:10:01.977Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-10T02:10:01.977Z] ---> bde78ef20554 [2023-11-10T02:10:01.977Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-10T02:10:02.236Z] ---> 5eab75422138 [2023-11-10T02:10:02.236Z] Step 20/25 : EXPOSE 59986 [2023-11-10T02:10:02.236Z] ---> Running in 091f3dfd48ae [2023-11-10T02:10:02.236Z] Removing intermediate container 091f3dfd48ae [2023-11-10T02:10:02.236Z] ---> 34d7b80f9c60 [2023-11-10T02:10:02.236Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-10T02:10:02.236Z] ---> Running in d139ca025ef3 [2023-11-10T02:10:02.496Z] Removing intermediate container d139ca025ef3 [2023-11-10T02:10:02.496Z] ---> a6f6448abdd0 [2023-11-10T02:10:02.496Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-10T02:10:02.496Z] ---> Running in 0205f44ed8f0 [2023-11-10T02:10:02.496Z] Removing intermediate container 0205f44ed8f0 [2023-11-10T02:10:02.496Z] ---> c02b50bcaf9d [2023-11-10T02:10:02.496Z] Step 23/25 : LABEL arch=amd64 [2023-11-10T02:10:02.496Z] ---> Running in 162cde6c94f3 [2023-11-10T02:10:02.496Z] Removing intermediate container 162cde6c94f3 [2023-11-10T02:10:02.496Z] ---> b56215a544cb [2023-11-10T02:10:02.496Z] Step 24/25 : LABEL git_sha=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:10:02.760Z] ---> Running in 49e1c0ff3b4e [2023-11-10T02:10:02.760Z] Removing intermediate container 49e1c0ff3b4e [2023-11-10T02:10:02.760Z] ---> 813655468d04 [2023-11-10T02:10:02.760Z] Step 25/25 : LABEL version=3.1.0-dev.31 [2023-11-10T02:10:02.760Z] ---> Running in a7df7bf6eb32 [2023-11-10T02:10:02.760Z] Removing intermediate container a7df7bf6eb32 [2023-11-10T02:10:02.760Z] ---> 691d2ebec520 [2023-11-10T02:10:02.760Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-10T02:10:02.760Z] Successfully built 691d2ebec520 [2023-11-10T02:10:02.760Z] 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-10T02:10:02.854Z] provisioning config files... [2023-11-10T02:10:02.863Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5245198437533794582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:10:03.167Z] ---> docker-login.sh [2023-11-10T02:10:03.167Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:10:03.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:03.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:03.167Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:03.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:03.167Z] [2023-11-10T02:10:03.167Z] Login Succeeded [2023-11-10T02:10:03.167Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:10:03.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:03.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:03.167Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:03.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:03.167Z] [2023-11-10T02:10:03.167Z] Login Succeeded [2023-11-10T02:10:03.167Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:10:03.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:03.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:03.425Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:03.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:03.425Z] [2023-11-10T02:10:03.425Z] Login Succeeded [2023-11-10T02:10:03.425Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:10:03.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:03.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:03.425Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:03.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:03.425Z] [2023-11-10T02:10:03.425Z] Login Succeeded [2023-11-10T02:10:03.425Z] docker.io [2023-11-10T02:10:03.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:10:03.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:10:03.683Z] Configure a credential helper to remove this warning. See [2023-11-10T02:10:03.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:10:03.683Z] [2023-11-10T02:10:03.683Z] Login Succeeded [2023-11-10T02:10:03.683Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:10:03.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:10:03.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:10:03.743Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-10T02:10:03.743Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:10:03.743Z] latest [2023-11-10T02:10:03.743Z] 3.1.0-dev.31 [2023-11-10T02:10:03.743Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:10:03.743Z] main [2023-11-10T02:10:03.743Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:04.058Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:04.373Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:10:04.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-10T02:10:04.373Z] 426367030520: Preparing [2023-11-10T02:10:04.373Z] 5f1a0f9ef10d: Preparing [2023-11-10T02:10:04.373Z] d37ed4c26ba6: Preparing [2023-11-10T02:10:04.373Z] e38cdd1d3a33: Preparing [2023-11-10T02:10:04.373Z] cc2447e1835a: Preparing [2023-11-10T02:10:04.373Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:04.373Z] 5f1a0f9ef10d: Pushed [2023-11-10T02:10:04.373Z] e38cdd1d3a33: Pushed [2023-11-10T02:10:04.373Z] 426367030520: Pushed [2023-11-10T02:10:07.665Z] d37ed4c26ba6: Pushed [2023-11-10T02:10:07.665Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85: digest: sha256:0f3a66191c3c79904ad3f93592f508dbad7e6e1da45ed3b958d2177b04ea573e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:07.977Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:08.291Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-10T02:10:08.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-10T02:10:08.291Z] 426367030520: Preparing [2023-11-10T02:10:08.291Z] 5f1a0f9ef10d: Preparing [2023-11-10T02:10:08.291Z] d37ed4c26ba6: Preparing [2023-11-10T02:10:08.291Z] e38cdd1d3a33: Preparing [2023-11-10T02:10:08.291Z] cc2447e1835a: Preparing [2023-11-10T02:10:08.291Z] 426367030520: Layer already exists [2023-11-10T02:10:08.291Z] 5f1a0f9ef10d: Layer already exists [2023-11-10T02:10:08.291Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:08.291Z] d37ed4c26ba6: Layer already exists [2023-11-10T02:10:08.291Z] e38cdd1d3a33: Layer already exists [2023-11-10T02:10:08.291Z] latest: digest: sha256:0f3a66191c3c79904ad3f93592f508dbad7e6e1da45ed3b958d2177b04ea573e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:08.612Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:08.924Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.31 [2023-11-10T02:10:08.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-10T02:10:08.924Z] 426367030520: Preparing [2023-11-10T02:10:08.924Z] 5f1a0f9ef10d: Preparing [2023-11-10T02:10:08.924Z] d37ed4c26ba6: Preparing [2023-11-10T02:10:08.924Z] e38cdd1d3a33: Preparing [2023-11-10T02:10:08.924Z] cc2447e1835a: Preparing [2023-11-10T02:10:08.924Z] e38cdd1d3a33: Layer already exists [2023-11-10T02:10:08.924Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:08.924Z] 426367030520: Layer already exists [2023-11-10T02:10:08.924Z] d37ed4c26ba6: Layer already exists [2023-11-10T02:10:08.924Z] 5f1a0f9ef10d: Layer already exists [2023-11-10T02:10:08.924Z] 3.1.0-dev.31: digest: sha256:0f3a66191c3c79904ad3f93592f508dbad7e6e1da45ed3b958d2177b04ea573e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:09.240Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:09.555Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:10:09.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-10T02:10:09.555Z] 426367030520: Preparing [2023-11-10T02:10:09.555Z] 5f1a0f9ef10d: Preparing [2023-11-10T02:10:09.555Z] d37ed4c26ba6: Preparing [2023-11-10T02:10:09.555Z] e38cdd1d3a33: Preparing [2023-11-10T02:10:09.555Z] cc2447e1835a: Preparing [2023-11-10T02:10:09.555Z] 426367030520: Layer already exists [2023-11-10T02:10:09.555Z] 5f1a0f9ef10d: Layer already exists [2023-11-10T02:10:09.555Z] e38cdd1d3a33: Layer already exists [2023-11-10T02:10:09.555Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:09.555Z] d37ed4c26ba6: Layer already exists [2023-11-10T02:10:09.555Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31: digest: sha256:0f3a66191c3c79904ad3f93592f508dbad7e6e1da45ed3b958d2177b04ea573e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:09.884Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:10.184Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-10T02:10:10.185Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-10T02:10:10.185Z] 426367030520: Preparing [2023-11-10T02:10:10.185Z] 5f1a0f9ef10d: Preparing [2023-11-10T02:10:10.185Z] d37ed4c26ba6: Preparing [2023-11-10T02:10:10.185Z] e38cdd1d3a33: Preparing [2023-11-10T02:10:10.185Z] cc2447e1835a: Preparing [2023-11-10T02:10:10.185Z] cc2447e1835a: Layer already exists [2023-11-10T02:10:10.185Z] 426367030520: Layer already exists [2023-11-10T02:10:10.185Z] 5f1a0f9ef10d: Layer already exists [2023-11-10T02:10:10.185Z] d37ed4c26ba6: Layer already exists [2023-11-10T02:10:10.185Z] e38cdd1d3a33: Layer already exists [2023-11-10T02:10:10.185Z] main: digest: sha256:0f3a66191c3c79904ad3f93592f508dbad7e6e1da45ed3b958d2177b04ea573e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:10:10.238Z] ===================================================== [Pipeline] echo [2023-11-10T02:10:10.248Z] taggedImages: [2023-11-10T02:10:10.248Z] - nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:10:10.248Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-10T02:10:10.248Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.31 [2023-11-10T02:10:10.248Z] - nexus3.edgexfoundry.org:10004/device-rest:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:10:10.248Z] - 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-10T02:10:10.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:10.623Z] [2023-11-10T02:10:10.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:10:10.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:10.914Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-10T02:10:10.914Z] 5eb5b503b376: Pulling fs layer [2023-11-10T02:10:10.914Z] 5c69ac0246d0: Pulling fs layer [2023-11-10T02:10:10.914Z] ec43610c2a17: Pulling fs layer [2023-11-10T02:10:10.914Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-10T02:10:10.914Z] 33b1e0a273af: Pulling fs layer [2023-11-10T02:10:10.914Z] 3a2ae6a8a46f: Waiting [2023-11-10T02:10:10.914Z] 5d3b04190fa2: Pulling fs layer [2023-11-10T02:10:10.914Z] 2f39f015ded8: Pulling fs layer [2023-11-10T02:10:10.914Z] 5d3b04190fa2: Waiting [2023-11-10T02:10:10.914Z] 33b1e0a273af: Waiting [2023-11-10T02:10:10.914Z] 2f39f015ded8: Waiting [2023-11-10T02:10:10.914Z] 5c69ac0246d0: Download complete [2023-11-10T02:10:10.914Z] 3a2ae6a8a46f: Download complete [2023-11-10T02:10:10.914Z] ec43610c2a17: Verifying Checksum [2023-11-10T02:10:10.914Z] ec43610c2a17: Download complete [2023-11-10T02:10:10.914Z] 33b1e0a273af: Verifying Checksum [2023-11-10T02:10:10.914Z] 33b1e0a273af: Download complete [2023-11-10T02:10:10.914Z] 5d3b04190fa2: Verifying Checksum [2023-11-10T02:10:10.914Z] 5d3b04190fa2: Download complete [2023-11-10T02:10:11.171Z] 5eb5b503b376: Verifying Checksum [2023-11-10T02:10:11.171Z] 5eb5b503b376: Download complete [2023-11-10T02:10:11.736Z] 2f39f015ded8: Download complete [2023-11-10T02:10:12.302Z] 5eb5b503b376: Pull complete [2023-11-10T02:10:12.559Z] 5c69ac0246d0: Pull complete [2023-11-10T02:10:13.126Z] ec43610c2a17: Pull complete [2023-11-10T02:10:13.126Z] 3a2ae6a8a46f: Pull complete [2023-11-10T02:10:13.384Z] 33b1e0a273af: Pull complete [2023-11-10T02:10:13.384Z] 5d3b04190fa2: Pull complete [2023-11-10T02:10:18.652Z] 2f39f015ded8: Pull complete [2023-11-10T02:10:18.652Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-10T02:10:18.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:10:18.652Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:10:18.735Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:10:18.775Z] $ 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-10T02:10:26.281Z] $ docker top 34ba09524dce3ac72dee890c7f4ae84d089a2de46670f73def76d1641fbb4907 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:10:26.653Z] ---> job-cost.sh [2023-11-10T02:10:26.653Z] lf-activate-venv: SKIPPING [2023-11-10T02:10:26.653Z] INFO: No Stack... [2023-11-10T02:10:26.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-10T02:10:27.174Z] INFO: Archiving Costs [Pipeline] sh [2023-11-10T02:10:27.466Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-10T02:10:27.466Z] + cut -d, -f6 [Pipeline] lock [2023-11-10T02:10:27.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [2023-11-10T02:10:27.491Z] Resource [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] did not exist. Created. [2023-11-10T02:10:27.491Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-10T02:10:27.789Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-10T02:10:27.819Z] Stashed 1 file(s) [Pipeline] } [2023-11-10T02:10:27.826Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-10T02:10:27.848Z] $ docker stop --time=1 34ba09524dce3ac72dee890c7f4ae84d089a2de46670f73def76d1641fbb4907 [2023-11-10T02:10:28.994Z] $ docker rm -f --volumes 34ba09524dce3ac72dee890c7f4ae84d089a2de46670f73def76d1641fbb4907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-10T02:10:42.772Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17186 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-10T02:10:42.787Z] Running in /w/workspace/device-rest-go/151 [Pipeline] { [Pipeline] checkout [2023-11-10T02:10:42.818Z] The recommended git tool is: git [2023-11-10T02:10:53.955Z] using credential edgex-jenkins-ssh [2023-11-10T02:10:53.977Z] Cloning the remote Git repository [2023-11-10T02:10:54.058Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-10T02:10:54.253Z] > git init /w/workspace/device-rest-go/151 # timeout=10 [2023-11-10T02:10:54.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-10T02:10:54.622Z] > git --version # timeout=10 [2023-11-10T02:10:54.650Z] > git --version # 'git version 2.25.1' [2023-11-10T02:10:54.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-10T02:10:55.094Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-10T02:10:57.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-10T02:10:57.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-10T02:10:59.621Z] Avoid second fetch [2023-11-10T02:10:59.622Z] Checking out Revision abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 (main) [2023-11-10T02:10:59.667Z] > git config core.sparsecheckout # timeout=10 [2023-11-10T02:10:59.807Z] > git checkout -f abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 [2023-11-10T02:11:00.684Z] Commit message: "Merge pull request #366 from cloudxxx8/changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:11:01.738Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-10T02:11:01.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-10T02:11:01.738Z] Dload Upload Total Spent Left Speed [2023-11-10T02:11:01.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2023-11-10T02:11:02.578Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-10T02:11:02.943Z] + sudo tee /etc/docker/daemon.new [2023-11-10T02:11:02.943Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-10T02:11:02.943Z] { [2023-11-10T02:11:02.943Z] "registry-mirrors": [ [2023-11-10T02:11:02.943Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-10T02:11:02.943Z] ], [2023-11-10T02:11:02.943Z] "bip": "10.250.0.254/24", [2023-11-10T02:11:02.943Z] "hosts": [ [2023-11-10T02:11:02.943Z] "tcp://0.0.0.0:5555", [2023-11-10T02:11:02.943Z] "unix:///var/run/docker.sock" [2023-11-10T02:11:02.943Z] ], [2023-11-10T02:11:02.943Z] "mtu": 1458, [2023-11-10T02:11:02.943Z] "selinux-enabled": true, [2023-11-10T02:11:02.943Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-10T02:11:02.943Z] } [Pipeline] sh [2023-11-10T02:11:03.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-10T02:11:03.923Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:11:26.137Z] provisioning config files... [2023-11-10T02:11:26.172Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/151@tmp/config12795234451700428404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:11:26.553Z] ---> docker-login.sh [2023-11-10T02:11:26.553Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:11:27.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:27.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:27.434Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:27.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:27.434Z] [2023-11-10T02:11:27.434Z] Login Succeeded [2023-11-10T02:11:27.434Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:11:27.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:27.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:27.711Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:27.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:27.711Z] [2023-11-10T02:11:27.711Z] Login Succeeded [2023-11-10T02:11:27.711Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:11:27.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:28.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:28.260Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:28.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:28.260Z] [2023-11-10T02:11:28.260Z] Login Succeeded [2023-11-10T02:11:28.260Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:11:28.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:28.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:28.820Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:28.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:28.820Z] [2023-11-10T02:11:28.820Z] Login Succeeded [2023-11-10T02:11:28.820Z] docker.io [2023-11-10T02:11:29.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:11:29.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:11:29.365Z] Configure a credential helper to remove this warning. See [2023-11-10T02:11:29.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:11:29.365Z] [2023-11-10T02:11:29.365Z] Login Succeeded [2023-11-10T02:11:29.365Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:11:29.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-10T02:11:29.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:11:29.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:11:29.809Z] ========================================================= [2023-11-10T02:11:29.809Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-10T02:11:29.809Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:11:30.199Z] + 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-10T02:11:30.199Z] Sending build context to Docker daemon 127.5kB [2023-11-10T02:11:30.472Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:11:30.472Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-10T02:11:30.748Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-10T02:11:30.748Z] 9fda8d8052c6: Pulling fs layer [2023-11-10T02:11:30.748Z] 5d54e960e981: Pulling fs layer [2023-11-10T02:11:30.748Z] c4a7e357bf2a: Pulling fs layer [2023-11-10T02:11:30.748Z] f0e02332f6b5: Pulling fs layer [2023-11-10T02:11:30.748Z] cefa15bbcfad: Pulling fs layer [2023-11-10T02:11:30.748Z] 17808c966233: Pulling fs layer [2023-11-10T02:11:30.748Z] f4c1fc716caa: Pulling fs layer [2023-11-10T02:11:30.748Z] f0e02332f6b5: Waiting [2023-11-10T02:11:30.748Z] cefa15bbcfad: Waiting [2023-11-10T02:11:30.748Z] 17808c966233: Waiting [2023-11-10T02:11:30.748Z] f4c1fc716caa: Waiting [2023-11-10T02:11:30.748Z] 5d54e960e981: Download complete [2023-11-10T02:11:30.748Z] f0e02332f6b5: Download complete [2023-11-10T02:11:30.748Z] cefa15bbcfad: Verifying Checksum [2023-11-10T02:11:30.748Z] cefa15bbcfad: Download complete [2023-11-10T02:11:31.024Z] 9fda8d8052c6: Verifying Checksum [2023-11-10T02:11:31.024Z] 9fda8d8052c6: Download complete [2023-11-10T02:11:31.298Z] f4c1fc716caa: Verifying Checksum [2023-11-10T02:11:31.298Z] f4c1fc716caa: Download complete [2023-11-10T02:11:32.275Z] 9fda8d8052c6: Pull complete [2023-11-10T02:11:32.871Z] 5d54e960e981: Pull complete [2023-11-10T02:11:32.871Z] c4a7e357bf2a: Verifying Checksum [2023-11-10T02:11:32.871Z] c4a7e357bf2a: Download complete [2023-11-10T02:11:33.883Z] 17808c966233: Verifying Checksum [2023-11-10T02:11:33.883Z] 17808c966233: Download complete [2023-11-10T02:11:46.265Z] c4a7e357bf2a: Pull complete [2023-11-10T02:11:46.265Z] f0e02332f6b5: Pull complete [2023-11-10T02:11:46.534Z] cefa15bbcfad: Pull complete [2023-11-10T02:11:56.800Z] 17808c966233: Pull complete [2023-11-10T02:11:58.229Z] f4c1fc716caa: Pull complete [2023-11-10T02:11:58.230Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-10T02:11:58.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-10T02:11:58.230Z] ---> ea914061e18c [2023-11-10T02:11:58.230Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:11:59.220Z] ---> Running in 18fe790fe3e5 [2023-11-10T02:11:59.220Z] Removing intermediate container 18fe790fe3e5 [2023-11-10T02:11:59.493Z] ---> 9546b213b023 [2023-11-10T02:11:59.493Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:11:59.493Z] ---> Running in 95c2c1dada03 [2023-11-10T02:11:59.773Z] Removing intermediate container 95c2c1dada03 [2023-11-10T02:11:59.773Z] ---> 025338f22bff [2023-11-10T02:11:59.773Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:12:00.268Z] ---> Running in e512326806c1 [2023-11-10T02:12:00.268Z] Removing intermediate container e512326806c1 [2023-11-10T02:12:00.268Z] ---> b921e987ca60 [2023-11-10T02:12:00.268Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:12:00.550Z] ---> Running in 5eecb6722ae3 [2023-11-10T02:12:00.828Z] Removing intermediate container 5eecb6722ae3 [2023-11-10T02:12:00.828Z] ---> 07887555bca2 [2023-11-10T02:12:00.828Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:12:00.828Z] ---> Running in 0b7d628cbcdb [2023-11-10T02:12:02.273Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:12:02.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:12:04.307Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-10T02:12:04.585Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-10T02:12:04.585Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-10T02:12:04.585Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-10T02:12:04.585Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:12:04.585Z] OK: 270 MiB in 56 packages [2023-11-10T02:12:06.263Z] Removing intermediate container 0b7d628cbcdb [2023-11-10T02:12:06.263Z] ---> 9c28bd4e6c5d [2023-11-10T02:12:06.263Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-10T02:12:06.263Z] ---> Running in 7a0b49fcdfc0 [2023-11-10T02:12:06.537Z] Removing intermediate container 7a0b49fcdfc0 [2023-11-10T02:12:06.537Z] ---> 79dfbcf56de0 [2023-11-10T02:12:06.537Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-10T02:12:07.140Z] ---> 7e1db2b6edd1 [2023-11-10T02:12:07.140Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:12:07.140Z] ---> Running in 681c561608e5 [2023-11-10T02:13:28.997Z] Removing intermediate container 681c561608e5 [2023-11-10T02:13:28.997Z] ---> 1a5229e23b80 [2023-11-10T02:13:28.997Z] Step 11/12 : COPY . . [2023-11-10T02:13:28.997Z] ---> 7b7d27f08da9 [2023-11-10T02:13:28.997Z] Step 12/12 : RUN $MAKE [2023-11-10T02:13:28.997Z] ---> Running in abad867d52ad [2023-11-10T02:13:28.997Z] noop [2023-11-10T02:13:28.997Z] Removing intermediate container abad867d52ad [2023-11-10T02:13:28.997Z] ---> d0c512c31410 [2023-11-10T02:13:28.997Z] Successfully built d0c512c31410 [2023-11-10T02:13:28.997Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:13:29.378Z] + docker inspect -f . ci-base-image-arm64 [2023-11-10T02:13:29.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:13:29.655Z] prd-ubuntu20.04-docker-arm64-4c-16g-17186 does not seem to be running inside a container [2023-11-10T02:13:29.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/151 -v /w/workspace/device-rest-go/151:/w/workspace/device-rest-go/151:rw,z -v /w/workspace/device-rest-go/151@tmp:/w/workspace/device-rest-go/151@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-10T02:13:31.164Z] $ docker top 128b855bb4297990af93b03c68a9c57128d278eac45f792931b7dfa7767f719e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:13:32.041Z] + go version [2023-11-10T02:13:32.041Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-10T02:13:32.067Z] $ docker stop --time=1 128b855bb4297990af93b03c68a9c57128d278eac45f792931b7dfa7767f719e [2023-11-10T02:13:33.810Z] $ docker rm -f --volumes 128b855bb4297990af93b03c68a9c57128d278eac45f792931b7dfa7767f719e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:13:34.442Z] + docker inspect -f . ci-base-image-arm64 [2023-11-10T02:13:34.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:13:34.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-17186 does not seem to be running inside a container [2023-11-10T02:13:34.744Z] $ 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/151 -v /w/workspace/device-rest-go/151:/w/workspace/device-rest-go/151:rw,z -v /w/workspace/device-rest-go/151@tmp:/w/workspace/device-rest-go/151@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-10T02:13:36.111Z] $ docker top 52ba02dd5937e6cd266ef07b827f5fbfc8561c1cce2188960a1e03d915fb6ae5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:13:37.018Z] + git config --global --add safe.directory /w/workspace/device-rest-go/151 [Pipeline] fileExists [Pipeline] sh [2023-11-10T02:13:37.701Z] + make test [2023-11-10T02:13:37.701Z] go test ./... -coverprofile=coverage.out ./... [2023-11-10T02:13:43.099Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-10T02:15:49.919Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-10T02:15:49.919Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.2% of statements [2023-11-10T02:15:49.919Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-10T02:15:49.919Z] go vet ./... [2023-11-10T02:16:22.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-10T02:16:22.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-10T02:16:22.276Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-10T02:16:22.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-10T02:16:22.315Z] $ docker stop --time=1 52ba02dd5937e6cd266ef07b827f5fbfc8561c1cce2188960a1e03d915fb6ae5 [2023-11-10T02:16:24.390Z] $ docker rm -f --volumes 52ba02dd5937e6cd266ef07b827f5fbfc8561c1cce2188960a1e03d915fb6ae5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:16:25.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-10T02:16:25.864Z] Warning: overwriting stash ‘coverage-report’ [2023-11-10T02:16:26.491Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-10T02:16:26.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-10T02:16:27.265Z] + ls -al . [2023-11-10T02:16:27.265Z] total 176 [2023-11-10T02:16:27.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:13 . [2023-11-10T02:16:27.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:10 .. [2023-11-10T02:16:27.265Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 02:10 .dockerignore [2023-11-10T02:16:27.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:10 .git [2023-11-10T02:16:27.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:10 .github [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 10 02:10 .gitignore [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 02:10 .golangci.yml [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 10 02:10 Attribution.txt [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 10 02:10 CHANGELOG.md [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 10 02:10 Dockerfile [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 02:10 GOVERNANCE.md [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 02:10 Jenkinsfile [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 02:10 LICENSE [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 10 02:10 Makefile [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 02:10 OWNERS.md [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 10 02:10 README.md [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION [2023-11-10T02:16:27.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:10 bin [2023-11-10T02:16:27.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:10 cmd [2023-11-10T02:16:27.266Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 10 02:15 coverage.out [2023-11-10T02:16:27.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:10 driver [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 10 02:10 go.mod [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 10 02:10 go.sum [2023-11-10T02:16:27.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:10 openapi [2023-11-10T02:16:27.266Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:16:27.624Z] + 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=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 --label arch=arm64 --label version=3.1.0-dev.31 . [2023-11-10T02:16:27.624Z] Sending build context to Docker daemon 142.8kB [2023-11-10T02:16:27.895Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-10T02:16:27.895Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-10T02:16:27.895Z] ---> d0c512c31410 [2023-11-10T02:16:27.895Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-10T02:16:28.165Z] ---> Running in b5bc109b361b [2023-11-10T02:16:28.439Z] Removing intermediate container b5bc109b361b [2023-11-10T02:16:28.439Z] ---> 1279f2c5ee75 [2023-11-10T02:16:28.439Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-10T02:16:28.439Z] ---> Running in d6cd8a6ac3d4 [2023-11-10T02:16:28.709Z] Removing intermediate container d6cd8a6ac3d4 [2023-11-10T02:16:28.710Z] ---> be43993233db [2023-11-10T02:16:28.710Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-10T02:16:28.984Z] ---> Running in dbd0be3c59e3 [2023-11-10T02:16:29.260Z] Removing intermediate container dbd0be3c59e3 [2023-11-10T02:16:29.260Z] ---> da78fd617399 [2023-11-10T02:16:29.260Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-10T02:16:29.537Z] ---> Running in 4729218509ac [2023-11-10T02:16:29.815Z] Removing intermediate container 4729218509ac [2023-11-10T02:16:29.815Z] ---> 0ccd092e1c52 [2023-11-10T02:16:29.815Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-10T02:16:29.815Z] ---> Running in 86745e65ff55 [2023-11-10T02:16:31.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:16:31.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:16:32.978Z] OK: 270 MiB in 56 packages [2023-11-10T02:16:33.969Z] Removing intermediate container 86745e65ff55 [2023-11-10T02:16:33.969Z] ---> 4c5ba9dd482d [2023-11-10T02:16:33.969Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-10T02:16:34.243Z] ---> Running in 97e86a93757c [2023-11-10T02:16:34.515Z] Removing intermediate container 97e86a93757c [2023-11-10T02:16:34.516Z] ---> 2d26eddd41c8 [2023-11-10T02:16:34.516Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-10T02:16:35.115Z] ---> fc505a4c6f90 [2023-11-10T02:16:35.115Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-10T02:16:35.390Z] ---> Running in 62a226d609b3 [2023-11-10T02:16:38.009Z] Removing intermediate container 62a226d609b3 [2023-11-10T02:16:38.009Z] ---> 2d39c68c555a [2023-11-10T02:16:38.009Z] Step 11/25 : COPY . . [2023-11-10T02:16:38.280Z] ---> 7a4d6a3d9f31 [2023-11-10T02:16:38.280Z] Step 12/25 : RUN $MAKE [2023-11-10T02:16:38.550Z] ---> Running in cf93384f85e1 [2023-11-10T02:16:39.514Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-10T02:19:16.372Z] Removing intermediate container cf93384f85e1 [2023-11-10T02:19:16.372Z] ---> 410b810026b7 [2023-11-10T02:19:16.372Z] Step 13/25 : FROM alpine:3.18 [2023-11-10T02:19:16.372Z] 3.18: Pulling from library/alpine [2023-11-10T02:19:16.372Z] 579b34f0a95b: Pulling fs layer [2023-11-10T02:19:16.372Z] 579b34f0a95b: Verifying Checksum [2023-11-10T02:19:16.372Z] 579b34f0a95b: Download complete [2023-11-10T02:19:16.372Z] 579b34f0a95b: Pull complete [2023-11-10T02:19:16.372Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-10T02:19:16.372Z] Status: Downloaded newer image for alpine:3.18 [2023-11-10T02:19:16.372Z] ---> 3cc203321400 [2023-11-10T02:19:16.372Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-10T02:19:16.372Z] ---> Running in e5ee0fdb9c7b [2023-11-10T02:19:16.372Z] Removing intermediate container e5ee0fdb9c7b [2023-11-10T02:19:16.372Z] ---> 2ba9e176d6f5 [2023-11-10T02:19:16.372Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-10T02:19:16.372Z] ---> Running in 9ad5c0c74e9d [2023-11-10T02:19:16.372Z] Removing intermediate container 9ad5c0c74e9d [2023-11-10T02:19:16.372Z] ---> fa37801e52b5 [2023-11-10T02:19:16.372Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-10T02:19:16.372Z] ---> Running in 315b7d7fc9ac [2023-11-10T02:19:16.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-10T02:19:16.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-10T02:19:18.069Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-10T02:19:18.069Z] Executing busybox-1.36.1-r2.trigger [2023-11-10T02:19:18.069Z] OK: 8 MiB in 16 packages [2023-11-10T02:19:23.460Z] Removing intermediate container 315b7d7fc9ac [2023-11-10T02:19:23.460Z] ---> 607978f10fc3 [2023-11-10T02:19:23.460Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-10T02:19:24.890Z] ---> 09ebb34e8056 [2023-11-10T02:19:24.890Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-10T02:19:25.481Z] ---> fe7825202a17 [2023-11-10T02:19:25.481Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-10T02:19:26.068Z] ---> 8ad9c567c128 [2023-11-10T02:19:26.068Z] Step 20/25 : EXPOSE 59986 [2023-11-10T02:19:26.068Z] ---> Running in 07c8dce8feaf [2023-11-10T02:19:26.338Z] Removing intermediate container 07c8dce8feaf [2023-11-10T02:19:26.338Z] ---> 3e3d18ce0d49 [2023-11-10T02:19:26.338Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-10T02:19:26.338Z] ---> Running in d638a815f65e [2023-11-10T02:19:26.606Z] Removing intermediate container d638a815f65e [2023-11-10T02:19:26.606Z] ---> 87b6045a606e [2023-11-10T02:19:26.606Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-10T02:19:26.874Z] ---> Running in de4c54a6f71a [2023-11-10T02:19:27.142Z] Removing intermediate container de4c54a6f71a [2023-11-10T02:19:27.142Z] ---> 0a05e84f197c [2023-11-10T02:19:27.142Z] Step 23/25 : LABEL arch=arm64 [2023-11-10T02:19:27.142Z] ---> Running in 251cb6a8614e [2023-11-10T02:19:27.412Z] Removing intermediate container 251cb6a8614e [2023-11-10T02:19:27.412Z] ---> 438b15a7abad [2023-11-10T02:19:27.412Z] Step 24/25 : LABEL git_sha=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:19:27.680Z] ---> Running in 17573b7cac41 [2023-11-10T02:19:27.948Z] Removing intermediate container 17573b7cac41 [2023-11-10T02:19:27.948Z] ---> c15e3486d810 [2023-11-10T02:19:27.948Z] Step 25/25 : LABEL version=3.1.0-dev.31 [2023-11-10T02:19:27.948Z] ---> Running in 018da2409a98 [2023-11-10T02:19:28.218Z] Removing intermediate container 018da2409a98 [2023-11-10T02:19:28.218Z] ---> 63dc5229f492 [2023-11-10T02:19:28.218Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-10T02:19:28.218Z] Successfully built 63dc5229f492 [2023-11-10T02:19:28.218Z] 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-10T02:19:28.364Z] provisioning config files... [2023-11-10T02:19:28.379Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/151@tmp/config7877034180424795328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:19:28.723Z] ---> docker-login.sh [2023-11-10T02:19:28.723Z] nexus3.edgexfoundry.org:10001 [2023-11-10T02:19:28.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:19:28.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:19:28.991Z] Configure a credential helper to remove this warning. See [2023-11-10T02:19:28.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:19:28.991Z] [2023-11-10T02:19:28.991Z] Login Succeeded [2023-11-10T02:19:28.991Z] nexus3.edgexfoundry.org:10002 [2023-11-10T02:19:29.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:19:29.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:19:29.537Z] Configure a credential helper to remove this warning. See [2023-11-10T02:19:29.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:19:29.537Z] [2023-11-10T02:19:29.537Z] Login Succeeded [2023-11-10T02:19:29.537Z] nexus3.edgexfoundry.org:10003 [2023-11-10T02:19:29.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:19:29.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:19:29.807Z] Configure a credential helper to remove this warning. See [2023-11-10T02:19:29.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:19:29.807Z] [2023-11-10T02:19:29.807Z] Login Succeeded [2023-11-10T02:19:29.807Z] nexus3.edgexfoundry.org:10004 [2023-11-10T02:19:30.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:19:30.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:19:30.346Z] Configure a credential helper to remove this warning. See [2023-11-10T02:19:30.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:19:30.346Z] [2023-11-10T02:19:30.346Z] Login Succeeded [2023-11-10T02:19:30.346Z] docker.io [2023-11-10T02:19:30.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-10T02:19:30.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-10T02:19:30.888Z] Configure a credential helper to remove this warning. See [2023-11-10T02:19:30.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-10T02:19:30.888Z] [2023-11-10T02:19:30.888Z] Login Succeeded [2023-11-10T02:19:30.888Z] ---> docker-login.sh ends [Pipeline] } [2023-11-10T02:19:30.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:19:30.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-10T02:19:30.954Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-10T02:19:30.954Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:19:30.954Z] latest [2023-11-10T02:19:30.954Z] 3.1.0-dev.31 [2023-11-10T02:19:30.954Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:19:30.954Z] main [2023-11-10T02:19:30.954Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:31.314Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:31.670Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:19:31.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-10T02:19:31.670Z] 4629476dcd16: Preparing [2023-11-10T02:19:31.670Z] 8ea5fb891e68: Preparing [2023-11-10T02:19:31.670Z] 86e8dc569782: Preparing [2023-11-10T02:19:31.670Z] e26a1bfa3ce9: Preparing [2023-11-10T02:19:31.670Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:19:31.670Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:19:31.950Z] 4629476dcd16: Pushed [2023-11-10T02:19:31.950Z] 8ea5fb891e68: Pushed [2023-11-10T02:19:31.950Z] e26a1bfa3ce9: Pushed [2023-11-10T02:19:38.752Z] 86e8dc569782: Pushed [2023-11-10T02:19:38.752Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85: digest: sha256:039d0a34cfaa98963a5d0c156c9858ad59a771e814c34c1c1b7765aed545e975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:39.117Z] + 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-10T02:19:39.479Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-10T02:19:39.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-10T02:19:39.479Z] 4629476dcd16: Preparing [2023-11-10T02:19:39.479Z] 8ea5fb891e68: Preparing [2023-11-10T02:19:39.479Z] 86e8dc569782: Preparing [2023-11-10T02:19:39.479Z] e26a1bfa3ce9: Preparing [2023-11-10T02:19:39.479Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:19:39.479Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:19:39.479Z] 86e8dc569782: Layer already exists [2023-11-10T02:19:39.479Z] e26a1bfa3ce9: Layer already exists [2023-11-10T02:19:39.479Z] 4629476dcd16: Layer already exists [2023-11-10T02:19:39.479Z] 8ea5fb891e68: Layer already exists [2023-11-10T02:19:39.751Z] latest: digest: sha256:039d0a34cfaa98963a5d0c156c9858ad59a771e814c34c1c1b7765aed545e975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:40.129Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:40.487Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.31 [2023-11-10T02:19:40.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-10T02:19:40.487Z] 4629476dcd16: Preparing [2023-11-10T02:19:40.487Z] 8ea5fb891e68: Preparing [2023-11-10T02:19:40.487Z] 86e8dc569782: Preparing [2023-11-10T02:19:40.487Z] e26a1bfa3ce9: Preparing [2023-11-10T02:19:40.487Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:19:40.487Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:19:40.487Z] e26a1bfa3ce9: Layer already exists [2023-11-10T02:19:40.487Z] 86e8dc569782: Layer already exists [2023-11-10T02:19:40.487Z] 4629476dcd16: Layer already exists [2023-11-10T02:19:40.487Z] 8ea5fb891e68: Layer already exists [2023-11-10T02:19:40.757Z] 3.1.0-dev.31: digest: sha256:039d0a34cfaa98963a5d0c156c9858ad59a771e814c34c1c1b7765aed545e975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:41.123Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:41.480Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:19:41.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-10T02:19:41.480Z] 4629476dcd16: Preparing [2023-11-10T02:19:41.480Z] 8ea5fb891e68: Preparing [2023-11-10T02:19:41.480Z] 86e8dc569782: Preparing [2023-11-10T02:19:41.480Z] e26a1bfa3ce9: Preparing [2023-11-10T02:19:41.480Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:19:41.480Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:19:41.480Z] e26a1bfa3ce9: Layer already exists [2023-11-10T02:19:41.480Z] 8ea5fb891e68: Layer already exists [2023-11-10T02:19:41.480Z] 4629476dcd16: Layer already exists [2023-11-10T02:19:41.480Z] 86e8dc569782: Layer already exists [2023-11-10T02:19:41.754Z] abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31: digest: sha256:039d0a34cfaa98963a5d0c156c9858ad59a771e814c34c1c1b7765aed545e975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:42.117Z] + 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-10T02:19:42.474Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-10T02:19:42.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-10T02:19:42.474Z] 4629476dcd16: Preparing [2023-11-10T02:19:42.474Z] 8ea5fb891e68: Preparing [2023-11-10T02:19:42.474Z] 86e8dc569782: Preparing [2023-11-10T02:19:42.474Z] e26a1bfa3ce9: Preparing [2023-11-10T02:19:42.474Z] 5f4d9fc4d98d: Preparing [2023-11-10T02:19:42.474Z] 86e8dc569782: Layer already exists [2023-11-10T02:19:42.474Z] 5f4d9fc4d98d: Layer already exists [2023-11-10T02:19:42.474Z] 8ea5fb891e68: Layer already exists [2023-11-10T02:19:42.474Z] e26a1bfa3ce9: Layer already exists [2023-11-10T02:19:42.474Z] 4629476dcd16: Layer already exists [2023-11-10T02:19:42.742Z] main: digest: sha256:039d0a34cfaa98963a5d0c156c9858ad59a771e814c34c1c1b7765aed545e975 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-10T02:19:42.790Z] ===================================================== [Pipeline] echo [2023-11-10T02:19:42.800Z] taggedImages: [2023-11-10T02:19:42.800Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [2023-11-10T02:19:42.800Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-10T02:19:42.800Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.31 [2023-11-10T02:19:42.800Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:abaf377c2305cb6c403a8e05fa4318ea0a1dbe85-3.1.0-dev.31 [2023-11-10T02:19:42.800Z] - 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-10T02:19:43.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:19:43.192Z] [2023-11-10T02:19:43.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:19:43.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:19:43.816Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-10T02:19:43.816Z] 8998bd30e6a1: Pulling fs layer [2023-11-10T02:19:43.816Z] 04944245beec: Pulling fs layer [2023-11-10T02:19:43.816Z] 699f458cf7ca: Pulling fs layer [2023-11-10T02:19:43.816Z] 765212b225bb: Pulling fs layer [2023-11-10T02:19:43.816Z] f23df028b6ca: Pulling fs layer [2023-11-10T02:19:43.816Z] d65c8cfc05b1: Pulling fs layer [2023-11-10T02:19:43.816Z] 2437ff75d9bd: Pulling fs layer [2023-11-10T02:19:43.816Z] d65c8cfc05b1: Waiting [2023-11-10T02:19:43.816Z] 765212b225bb: Waiting [2023-11-10T02:19:43.816Z] f23df028b6ca: Waiting [2023-11-10T02:19:43.816Z] 2437ff75d9bd: Waiting [2023-11-10T02:19:43.816Z] 04944245beec: Verifying Checksum [2023-11-10T02:19:43.816Z] 04944245beec: Download complete [2023-11-10T02:19:43.816Z] 765212b225bb: Download complete [2023-11-10T02:19:43.816Z] f23df028b6ca: Verifying Checksum [2023-11-10T02:19:43.816Z] f23df028b6ca: Download complete [2023-11-10T02:19:44.094Z] d65c8cfc05b1: Verifying Checksum [2023-11-10T02:19:44.094Z] d65c8cfc05b1: Download complete [2023-11-10T02:19:44.094Z] 699f458cf7ca: Verifying Checksum [2023-11-10T02:19:44.094Z] 699f458cf7ca: Download complete [2023-11-10T02:19:44.698Z] 8998bd30e6a1: Verifying Checksum [2023-11-10T02:19:44.698Z] 8998bd30e6a1: Download complete [2023-11-10T02:19:47.312Z] 2437ff75d9bd: Verifying Checksum [2023-11-10T02:19:47.312Z] 2437ff75d9bd: Download complete [2023-11-10T02:19:52.672Z] 8998bd30e6a1: Pull complete [2023-11-10T02:19:52.672Z] 04944245beec: Pull complete [2023-11-10T02:19:54.631Z] 699f458cf7ca: Pull complete [2023-11-10T02:19:54.631Z] 765212b225bb: Pull complete [2023-11-10T02:19:55.600Z] f23df028b6ca: Pull complete [2023-11-10T02:19:55.869Z] d65c8cfc05b1: Pull complete [2023-11-10T02:20:14.114Z] 2437ff75d9bd: Pull complete [2023-11-10T02:20:14.114Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-10T02:20:14.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-10T02:20:14.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:20:14.342Z] prd-ubuntu20.04-docker-arm64-4c-16g-17186 does not seem to be running inside a container [2023-11-10T02:20:14.449Z] $ 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/151 -v /w/workspace/device-rest-go/151:/w/workspace/device-rest-go/151:rw,z -v /w/workspace/device-rest-go/151@tmp:/w/workspace/device-rest-go/151@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-10T02:20:17.894Z] $ docker top d38d2f317aa3232ea5ef6aca39b1e1fe08bb3448910dbb3aaef182866778abc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:20:18.800Z] ---> job-cost.sh [2023-11-10T02:20:18.800Z] lf-activate-venv: SKIPPING [2023-11-10T02:20:18.800Z] INFO: No Stack... [2023-11-10T02:20:19.386Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-10T02:20:19.971Z] INFO: Archiving Costs [Pipeline] sh [2023-11-10T02:20:20.634Z] + cat /w/workspace/device-rest-go/151/archives/cost.csv [2023-11-10T02:20:20.634Z] + cut -d, -f6 [Pipeline] lock [2023-11-10T02:20:20.716Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [2023-11-10T02:20:20.725Z] Resource [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] did not exist. Created. [2023-11-10T02:20:20.725Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-10T02:20:21.405Z] /w/workspace/device-rest-go/151@tmp/durable-17426e08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-10T02:20:22.082Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-10T02:20:22.109Z] Warning: overwriting stash ‘stack-cost’ [2023-11-10T02:20:22.170Z] Stashed 1 file(s) [Pipeline] } [2023-11-10T02:20:22.178Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-10T02:20:22.197Z] $ docker stop --time=1 d38d2f317aa3232ea5ef6aca39b1e1fe08bb3448910dbb3aaef182866778abc3 [2023-11-10T02:20:23.760Z] $ docker rm -f --volumes d38d2f317aa3232ea5ef6aca39b1e1fe08bb3448910dbb3aaef182866778abc3 [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-10T02:20:24.264Z] provisioning config files... [2023-11-10T02:20:24.271Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12467802487215728145tmp [Pipeline] { [Pipeline] sh [2023-11-10T02:20:24.564Z] + set +x [2023-11-10T02:20:24.564Z] + curl -s https://codecov.io/bash [2023-11-10T02:20:24.564Z] + bash -s -- [2023-11-10T02:20:24.564Z] [2023-11-10T02:20:24.564Z] _____ _ [2023-11-10T02:20:24.564Z] / ____| | | [2023-11-10T02:20:24.564Z] | | ___ __| | ___ ___ _____ __ [2023-11-10T02:20:24.564Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-10T02:20:24.564Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-10T02:20:24.564Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-10T02:20:24.564Z] Bash-1.0.6 [2023-11-10T02:20:24.564Z] [2023-11-10T02:20:24.564Z] [2023-11-10T02:20:24.564Z] ==> git version 2.25.1 found [2023-11-10T02:20:24.564Z] ==> 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-10T02:20:24.564Z] Release-Date: 2020-01-08 [2023-11-10T02:20:24.564Z] 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-10T02:20:24.564Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-10T02:20:24.564Z] ==> Jenkins CI detected. [2023-11-10T02:20:24.564Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-10T02:20:24.564Z] project root: . [2023-11-10T02:20:24.564Z] --> token set from env [2023-11-10T02:20:24.564Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-10T02:20:24.564Z] ==> Running gcov in . (disable via -X gcov) [2023-11-10T02:20:24.564Z] ==> Python coveragepy not found [2023-11-10T02:20:24.564Z] ==> Searching for coverage reports in: [2023-11-10T02:20:24.564Z] + . [2023-11-10T02:20:24.564Z] -> Found 1 reports [2023-11-10T02:20:24.564Z] ==> Detecting git/mercurial file structure [2023-11-10T02:20:24.823Z] ==> Reading reports [2023-11-10T02:20:24.823Z] + ./coverage.out bytes=14499 [2023-11-10T02:20:24.823Z] ==> Appending adjustments [2023-11-10T02:20:24.823Z] https://docs.codecov.io/docs/fixing-reports [2023-11-10T02:20:24.823Z] + Found adjustments [2023-11-10T02:20:24.823Z] ==> Gzipping contents [2023-11-10T02:20:24.823Z] 4.0K /tmp/codecov.Xbt0O6.gz [2023-11-10T02:20:24.823Z] ==> Uploading reports [2023-11-10T02:20:24.823Z] url: https://codecov.io [2023-11-10T02:20:24.823Z] query: branch=main&commit=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-10T02:20:24.823Z] -> Pinging Codecov [2023-11-10T02:20:24.823Z] 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=abaf377c2305cb6c403a8e05fa4318ea0a1dbe85&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-10T02:20:24.823Z] -> Uploading to [2023-11-10T02:20:24.823Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-10/4E5D53B4F1F92C436F7061BF334D961C/abaf377c2305cb6c403a8e05fa4318ea0a1dbe85/91d6dfd4-e4c1-4eb2-bc6f-4909f6f344c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T022024Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50cec691f4502c24750bb6e283e1c406d00197e64f195dd2413dfc2cfd1ffbb3 [2023-11-10T02:20:24.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-10T02:20:24.823Z] Dload Upload Total Spent Left Speed [2023-11-10T02:20:25.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9031 --:--:-- --:--:-- --:--:-- 9031 [2023-11-10T02:20:25.342Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] } [2023-11-10T02:20:25.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-10T02:20:25.599Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-10T02:20:25.612Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:25.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:20:25.910Z] [2023-11-10T02:20:25.910Z] 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-10T02:20:26.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:20:26.214Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-10T02:20:26.214Z] df9b9388f04a: Pulling fs layer [2023-11-10T02:20:26.214Z] 52dc419b0ee2: Pulling fs layer [2023-11-10T02:20:26.214Z] 25bc292e5bac: Pulling fs layer [2023-11-10T02:20:26.214Z] 114826534d7a: Pulling fs layer [2023-11-10T02:20:26.214Z] 4657fd5d0bcf: Pulling fs layer [2023-11-10T02:20:26.214Z] 6ad1cebc031e: Pulling fs layer [2023-11-10T02:20:26.214Z] 8a3aa393b2d8: Pulling fs layer [2023-11-10T02:20:26.214Z] 6ad1cebc031e: Waiting [2023-11-10T02:20:26.214Z] 8a3aa393b2d8: Waiting [2023-11-10T02:20:26.214Z] 114826534d7a: Waiting [2023-11-10T02:20:26.214Z] 4657fd5d0bcf: Waiting [2023-11-10T02:20:26.214Z] 25bc292e5bac: Download complete [2023-11-10T02:20:26.214Z] 52dc419b0ee2: Verifying Checksum [2023-11-10T02:20:26.214Z] 52dc419b0ee2: Download complete [2023-11-10T02:20:26.214Z] 4657fd5d0bcf: Verifying Checksum [2023-11-10T02:20:26.214Z] 4657fd5d0bcf: Download complete [2023-11-10T02:20:26.214Z] df9b9388f04a: Verifying Checksum [2023-11-10T02:20:26.214Z] df9b9388f04a: Download complete [2023-11-10T02:20:26.473Z] 6ad1cebc031e: Verifying Checksum [2023-11-10T02:20:26.473Z] 6ad1cebc031e: Download complete [2023-11-10T02:20:26.473Z] df9b9388f04a: Pull complete [2023-11-10T02:20:26.473Z] 52dc419b0ee2: Pull complete [2023-11-10T02:20:26.473Z] 25bc292e5bac: Pull complete [2023-11-10T02:20:27.045Z] 114826534d7a: Download complete [2023-11-10T02:20:27.045Z] 8a3aa393b2d8: Verifying Checksum [2023-11-10T02:20:27.045Z] 8a3aa393b2d8: Download complete [2023-11-10T02:20:30.326Z] 114826534d7a: Pull complete [2023-11-10T02:20:30.326Z] 4657fd5d0bcf: Pull complete [2023-11-10T02:20:30.890Z] 6ad1cebc031e: Pull complete [2023-11-10T02:20:33.418Z] 8a3aa393b2d8: Pull complete [2023-11-10T02:20:33.676Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-10T02:20:33.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-10T02:20:33.676Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:20:33.749Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:20:33.780Z] $ 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-10T02:20:40.533Z] $ docker top e4c6aa4b64148d005b7fb554a6b3f8799136a14d87780332c48c6596b20f65e0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-10T02:20:40.611Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-10T02:20:40.955Z] + set -o pipefail [2023-11-10T02:20:40.955Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-10T02:20:46.260Z] [2023-11-10T02:20:46.260Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-10T02:20:46.260Z] [2023-11-10T02:20:46.260Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/dbc08f14-a354-442b-b26c-739f42af9c8a [2023-11-10T02:20:46.260Z] [2023-11-10T02:20:46.260Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-10T02:20:46.260Z] [2023-11-10T02:20:46.260Z] [2023-11-10T02:20:46.260Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-10T02:20:46.260Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-10T02:20:46.260Z] More details here: https://snyk.co/ue1NS [2023-11-10T02:20:46.260Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-10T02:20:46.260Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-10T02:20:46.270Z] $ docker stop --time=1 e4c6aa4b64148d005b7fb554a6b3f8799136a14d87780332c48c6596b20f65e0 [2023-11-10T02:20:51.066Z] $ docker rm -f --volumes e4c6aa4b64148d005b7fb554a6b3f8799136a14d87780332c48c6596b20f65e0 [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-10T02:20:51.811Z] + git log --format=format:%s -1 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 [Pipeline] sh [2023-11-10T02:20:52.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:20:52.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:52.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:20:52.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:20:52.472Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:20:52.505Z] $ 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-10T02:20:52.959Z] $ docker top ccb919df24796315bdf37519e4f90bf7d0c28ae8fa6fcf606618fadd3d9309bc -eo pid,comm [2023-11-10T02:20:53.006Z] 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-10T02:20:53.006Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:20:53.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:20:53.043Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:20:53.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:20:53.163Z] $ docker exec ccb919df24796315bdf37519e4f90bf7d0c28ae8fa6fcf606618fadd3d9309bc ssh-agent [2023-11-10T02:20:53.278Z] SSH_AUTH_SOCK=/tmp/ssh-9Qlzp85j2Nkr/agent.33 [2023-11-10T02:20:53.278Z] SSH_AGENT_PID=39 [2023-11-10T02:20:53.284Z] Running ssh-add (command line suppressed) [2023-11-10T02:20:53.390Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_822061847277330898.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_822061847277330898.key) [2023-11-10T02:20:53.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:20:53.692Z] + git semver tag [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,865 [run_tag] DEBUG tag force:False [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,865 [check_head_tag] DEBUG check head tag [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,866 [execute] INFO git cat-file --batch-check [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,870 [execute] INFO git cat-file --batch [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,883 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,883 [execute] INFO git tag -a v3.1.0-dev.31 -m v3.1.0-dev.31 [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,884 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.31', '-m', 'v3.1.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-10T02:20:53.954Z] 2023-11-10 02:20:53,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:20:53.954Z] 3.1.0-dev.31 [Pipeline] } [2023-11-10T02:20:53.964Z] $ docker exec --env ******** --env ******** ccb919df24796315bdf37519e4f90bf7d0c28ae8fa6fcf606618fadd3d9309bc ssh-agent -k [2023-11-10T02:20:54.055Z] unset SSH_AUTH_SOCK; [2023-11-10T02:20:54.056Z] unset SSH_AGENT_PID; [2023-11-10T02:20:54.056Z] echo Agent pid 39 killed; [2023-11-10T02:20:54.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:20:54.381Z] + git semver [Pipeline] } [2023-11-10T02:20:54.650Z] $ docker stop --time=1 ccb919df24796315bdf37519e4f90bf7d0c28ae8fa6fcf606618fadd3d9309bc [2023-11-10T02:20:55.896Z] $ docker rm -f --volumes ccb919df24796315bdf37519e4f90bf7d0c28ae8fa6fcf606618fadd3d9309bc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:56.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:20:56.308Z] [2023-11-10T02:20:56.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:20:56.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:20:56.604Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-10T02:20:56.604Z] ab5ef0e58194: Pulling fs layer [2023-11-10T02:20:56.604Z] 9712f1f96733: Pulling fs layer [2023-11-10T02:20:56.604Z] 63f879dbbcfc: Pulling fs layer [2023-11-10T02:20:56.604Z] 0d9ebad4ef96: Pulling fs layer [2023-11-10T02:20:56.604Z] e9a5061849ea: Pulling fs layer [2023-11-10T02:20:56.604Z] d747dcd14b5f: Pulling fs layer [2023-11-10T02:20:56.604Z] 2de7ff778b66: Pulling fs layer [2023-11-10T02:20:56.604Z] 0d9ebad4ef96: Waiting [2023-11-10T02:20:56.604Z] e9a5061849ea: Waiting [2023-11-10T02:20:56.604Z] d747dcd14b5f: Waiting [2023-11-10T02:20:56.604Z] 2de7ff778b66: Waiting [2023-11-10T02:20:56.604Z] 9712f1f96733: Verifying Checksum [2023-11-10T02:20:56.604Z] 9712f1f96733: Download complete [2023-11-10T02:20:57.184Z] 0d9ebad4ef96: Verifying Checksum [2023-11-10T02:20:57.184Z] 0d9ebad4ef96: Download complete [2023-11-10T02:20:57.184Z] ab5ef0e58194: Download complete [2023-11-10T02:20:57.184Z] 63f879dbbcfc: Verifying Checksum [2023-11-10T02:20:57.184Z] 63f879dbbcfc: Download complete [2023-11-10T02:20:57.184Z] d747dcd14b5f: Download complete [2023-11-10T02:20:57.184Z] e9a5061849ea: Verifying Checksum [2023-11-10T02:20:57.184Z] e9a5061849ea: Download complete [2023-11-10T02:20:57.444Z] 2de7ff778b66: Verifying Checksum [2023-11-10T02:20:57.444Z] 2de7ff778b66: Download complete [2023-11-10T02:20:59.975Z] ab5ef0e58194: Pull complete [2023-11-10T02:20:59.975Z] 9712f1f96733: Pull complete [2023-11-10T02:21:00.544Z] 63f879dbbcfc: Pull complete [2023-11-10T02:21:05.828Z] 0d9ebad4ef96: Pull complete [2023-11-10T02:21:05.828Z] e9a5061849ea: Pull complete [2023-11-10T02:21:05.828Z] d747dcd14b5f: Pull complete [2023-11-10T02:21:06.394Z] 2de7ff778b66: Pull complete [2023-11-10T02:21:06.653Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-10T02:21:06.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-10T02:21:06.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:06.743Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:21:06.772Z] $ 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-10T02:21:20.003Z] $ docker top 9512766ca3f1b5a37d1bde869a9c9e7c612efb1e588660b2d342e74e41550455 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:21:20.080Z] provisioning config files... [2023-11-10T02:21:20.087Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3949707108953463217tmp [2023-11-10T02:21:20.097Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15339878889757628313tmp [2023-11-10T02:21:20.105Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2365165431303783325tmp [Pipeline] { [Pipeline] echo [2023-11-10T02:21:20.123Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:20.413Z] ---> sigul-configuration.sh [2023-11-10T02:21:20.413Z] gpg: directory `/root/.gnupg' created [2023-11-10T02:21:20.413Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-10T02:21:20.413Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-10T02:21:20.413Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-10T02:21:20.413Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-10T02:21:20.413Z] gpg: CAST5 encrypted data [2023-11-10T02:21:20.413Z] gpg: encrypted with 1 passphrase [2023-11-10T02:21:20.413Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-10T02:21:20.701Z] + mkdir /home/jenkins [2023-11-10T02:21:20.701Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-10T02:21:20.987Z] + 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-10T02:21:20.997Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:21.281Z] ---> sigul-install.sh [2023-11-10T02:21:21.281Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-10T02:21:21.565Z] + git tag --list [2023-11-10T02:21:21.565Z] v1.0.0 [2023-11-10T02:21:21.565Z] v1.1.0 [2023-11-10T02:21:21.565Z] v1.1.1 [2023-11-10T02:21:21.565Z] v1.1.2 [2023-11-10T02:21:21.565Z] v1.2.0 [2023-11-10T02:21:21.565Z] v1.2.1 [2023-11-10T02:21:21.565Z] v2.0.0 [2023-11-10T02:21:21.565Z] v2.1.0 [2023-11-10T02:21:21.566Z] v2.1.1 [2023-11-10T02:21:21.566Z] v2.2.0 [2023-11-10T02:21:21.566Z] v2.3.0 [2023-11-10T02:21:21.566Z] v3.0 [2023-11-10T02:21:21.566Z] v3.0.0 [2023-11-10T02:21:21.566Z] v3.1.0-dev.1 [2023-11-10T02:21:21.566Z] v3.1.0-dev.10 [2023-11-10T02:21:21.566Z] v3.1.0-dev.11 [2023-11-10T02:21:21.566Z] v3.1.0-dev.12 [2023-11-10T02:21:21.566Z] v3.1.0-dev.13 [2023-11-10T02:21:21.566Z] v3.1.0-dev.14 [2023-11-10T02:21:21.566Z] v3.1.0-dev.15 [2023-11-10T02:21:21.566Z] v3.1.0-dev.16 [2023-11-10T02:21:21.566Z] v3.1.0-dev.17 [2023-11-10T02:21:21.566Z] v3.1.0-dev.18 [2023-11-10T02:21:21.566Z] v3.1.0-dev.19 [2023-11-10T02:21:21.566Z] v3.1.0-dev.2 [2023-11-10T02:21:21.566Z] v3.1.0-dev.20 [2023-11-10T02:21:21.566Z] v3.1.0-dev.21 [2023-11-10T02:21:21.566Z] v3.1.0-dev.22 [2023-11-10T02:21:21.566Z] v3.1.0-dev.23 [2023-11-10T02:21:21.566Z] v3.1.0-dev.24 [2023-11-10T02:21:21.566Z] v3.1.0-dev.25 [2023-11-10T02:21:21.566Z] v3.1.0-dev.26 [2023-11-10T02:21:21.566Z] v3.1.0-dev.27 [2023-11-10T02:21:21.566Z] v3.1.0-dev.28 [2023-11-10T02:21:21.566Z] v3.1.0-dev.29 [2023-11-10T02:21:21.566Z] v3.1.0-dev.3 [2023-11-10T02:21:21.566Z] v3.1.0-dev.30 [2023-11-10T02:21:21.566Z] v3.1.0-dev.31 [2023-11-10T02:21:21.566Z] v3.1.0-dev.4 [2023-11-10T02:21:21.566Z] v3.1.0-dev.5 [2023-11-10T02:21:21.566Z] v3.1.0-dev.6 [2023-11-10T02:21:21.566Z] v3.1.0-dev.7 [2023-11-10T02:21:21.566Z] v3.1.0-dev.8 [2023-11-10T02:21:21.566Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-10T02:21:21.854Z] + lftools sign git-tag v3.1.0-dev.31 [2023-11-10T02:21:22.421Z] Signing Git tag with Sigul... [2023-11-10T02:21:22.421Z] Signing v3.1.0-dev.31 [Pipeline] echo [2023-11-10T02:21:22.998Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:23.284Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-10T02:21:23.292Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-10T02:21:23.309Z] $ docker stop --time=1 9512766ca3f1b5a37d1bde869a9c9e7c612efb1e588660b2d342e74e41550455 [2023-11-10T02:21:25.144Z] $ docker rm -f --volumes 9512766ca3f1b5a37d1bde869a9c9e7c612efb1e588660b2d342e74e41550455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-10T02:21:25.581Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:21:25.581Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:25.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:21:25.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:25.956Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:21:25.987Z] $ 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-10T02:21:26.504Z] $ docker top 2ccab1192681e15d4cd0bc2defe9aae435a4f70780bfd7f2c6d80edae5524a49 -eo pid,comm [2023-11-10T02:21:26.555Z] 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-10T02:21:26.555Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:21:26.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:21:26.589Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:21:26.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:21:26.696Z] $ docker exec 2ccab1192681e15d4cd0bc2defe9aae435a4f70780bfd7f2c6d80edae5524a49 ssh-agent [2023-11-10T02:21:26.807Z] SSH_AUTH_SOCK=/tmp/ssh-Nwiy342XWARX/agent.32 [2023-11-10T02:21:26.808Z] SSH_AGENT_PID=38 [2023-11-10T02:21:26.812Z] Running ssh-add (command line suppressed) [2023-11-10T02:21:26.912Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3944397882029819064.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3944397882029819064.key) [2023-11-10T02:21:26.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:21:27.220Z] + git semver bump pre [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,411 [bump_version] DEBUG bumping version:3.1.0-dev.31 on axis:pre with prefix:dev [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,411 [bump_version] DEBUG bumped version:3.1.0-dev.32 [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,411 [write_version] DEBUG write version:3.1.0-dev.32 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,412 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,414 [execute] INFO git cat-file --batch-check [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,414 [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-10T02:21:27.480Z] 2023-11-10 02:21:27,420 [execute] INFO git cat-file --batch [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-10T02:21:27.480Z] 2023-11-10 02:21:27,425 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:21:27.480Z] 3.1.0-dev.32 [Pipeline] } [2023-11-10T02:21:27.527Z] $ docker exec --env ******** --env ******** 2ccab1192681e15d4cd0bc2defe9aae435a4f70780bfd7f2c6d80edae5524a49 ssh-agent -k [2023-11-10T02:21:27.644Z] unset SSH_AUTH_SOCK; [2023-11-10T02:21:27.645Z] unset SSH_AGENT_PID; [2023-11-10T02:21:27.645Z] echo Agent pid 38 killed; [2023-11-10T02:21:27.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:21:28.032Z] + git semver [Pipeline] } [2023-11-10T02:21:28.337Z] $ docker stop --time=1 2ccab1192681e15d4cd0bc2defe9aae435a4f70780bfd7f2c6d80edae5524a49 [2023-11-10T02:21:29.617Z] $ docker rm -f --volumes 2ccab1192681e15d4cd0bc2defe9aae435a4f70780bfd7f2c6d80edae5524a49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-10T02:21:29.959Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-10T02:21:29.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:30.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-10T02:21:30.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:30.426Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:21:30.456Z] $ 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-10T02:21:31.236Z] $ docker top 7a914541b2bf2d23d8a583f08aa13e10144f882280812052b2b8507d7f8e7b31 -eo pid,comm [2023-11-10T02:21:31.290Z] 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-10T02:21:31.290Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-10T02:21:31.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-10T02:21:31.342Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-10T02:21:31.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-10T02:21:31.470Z] $ docker exec 7a914541b2bf2d23d8a583f08aa13e10144f882280812052b2b8507d7f8e7b31 ssh-agent [2023-11-10T02:21:31.573Z] SSH_AUTH_SOCK=/tmp/ssh-s73MEYw0eKAe/agent.14 [2023-11-10T02:21:31.573Z] SSH_AGENT_PID=19 [2023-11-10T02:21:31.578Z] Running ssh-add (command line suppressed) [2023-11-10T02:21:31.675Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14456692717066798145.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14456692717066798145.key) [2023-11-10T02:21:31.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-10T02:21:31.981Z] + git semver push [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,259 [run_push] DEBUG push [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,260 [execute] INFO git cat-file --batch-check [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,261 [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-10T02:21:32.550Z] 2023-11-10 02:21:32,265 [execute] INFO git rev-list 9036203c3f9f73489f85cbe76b0180366e843127 -- [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,266 [execute] DEBUG Popen(['git', 'rev-list', '9036203c3f9f73489f85cbe76b0180366e843127', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,276 [execute] INFO git fetch -v origin [2023-11-10T02:21:32.550Z] 2023-11-10 02:21:32,277 [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-10T02:21:32.830Z] 2023-11-10 02:21:32,819 [run_push] DEBUG no remote changes detected [2023-11-10T02:21:32.830Z] 2023-11-10 02:21:32,819 [execute] INFO git push origin semver [2023-11-10T02:21:32.830Z] 2023-11-10 02:21:32,820 [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-10T02:21:33.794Z] 2023-11-10 02:21:33,588 [run_push] DEBUG push all version tags [2023-11-10T02:21:33.794Z] 2023-11-10 02:21:33,589 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-10T02:21:33.794Z] 2023-11-10 02:21:33,589 [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-10T02:21:34.731Z] 2023-11-10 02:21:34,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-10T02:21:34.731Z] 3.1.0-dev.32 [Pipeline] } [2023-11-10T02:21:34.740Z] $ docker exec --env ******** --env ******** 7a914541b2bf2d23d8a583f08aa13e10144f882280812052b2b8507d7f8e7b31 ssh-agent -k [2023-11-10T02:21:34.837Z] unset SSH_AUTH_SOCK; [2023-11-10T02:21:34.838Z] unset SSH_AGENT_PID; [2023-11-10T02:21:34.838Z] echo Agent pid 19 killed; [2023-11-10T02:21:34.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-10T02:21:35.157Z] + git semver [Pipeline] } [2023-11-10T02:21:35.426Z] $ docker stop --time=1 7a914541b2bf2d23d8a583f08aa13e10144f882280812052b2b8507d7f8e7b31 [2023-11-10T02:21:36.704Z] $ docker rm -f --volumes 7a914541b2bf2d23d8a583f08aa13e10144f882280812052b2b8507d7f8e7b31 [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-10T02:21:37.331Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-10T02:21:37.331Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-10T02:21:37.331Z] total 16 [2023-11-10T02:21:37.331Z] drwxr-xr-x 3 root root 4096 Nov 10 02:10 . [2023-11-10T02:21:37.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 02:21 .. [2023-11-10T02:21:37.331Z] drwxr-xr-x 2 root root 4096 Nov 10 02:10 cost [2023-11-10T02:21:37.331Z] -rw-r--r-- 1 root root 86 Nov 10 02:10 cost.csv [2023-11-10T02:21:37.331Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-10T02:21:37.331Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-10T02:21:37.331Z] total 16 [2023-11-10T02:21:37.331Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:10 . [2023-11-10T02:21:37.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 02:21 .. [2023-11-10T02:21:37.331Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 02:10 cost [2023-11-10T02:21:37.331Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 10 02:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:37.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:38.478Z] ---> package-listing.sh [2023-11-10T02:21:38.479Z] ++ facter osfamily [2023-11-10T02:21:38.479Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-10T02:21:38.737Z] + OS_FAMILY=debian [2023-11-10T02:21:38.737Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-10T02:21:38.737Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-10T02:21:38.737Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-10T02:21:38.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-10T02:21:38.737Z] + PACKAGES=/tmp/packages_start.txt [2023-11-10T02:21:38.737Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-10T02:21:38.737Z] + PACKAGES=/tmp/packages_end.txt [2023-11-10T02:21:38.737Z] + case "${OS_FAMILY}" in [2023-11-10T02:21:38.737Z] + dpkg -l [2023-11-10T02:21:38.737Z] + grep '^ii' [2023-11-10T02:21:38.737Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-10T02:21:38.737Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-10T02:21:38.737Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-10T02:21:38.737Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-10T02:21:38.737Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-10T02:21:38.737Z] + 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-10T02:21:38.749Z] 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-10T02:21:39.027Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-10T02:21:39.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-10T02:21:39.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-10T02:21:39.649Z] prd-ubuntu20.04-docker-8c-8g-17180 does not seem to be running inside a container [2023-11-10T02:21:39.677Z] $ 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-10T02:21:40.247Z] $ docker top a32b4c5e611411111a387508c7d3d86782d6173365397b0493c4fce3edd5a60b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-10T02:21:40.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-10T02:21:40.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-10T02:21:41.167Z] + ls /var/log/sa-host [2023-11-10T02:21:41.167Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-10T02:21:41.335Z] provisioning config files... [2023-11-10T02:21:41.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18325380041175195091tmp [Pipeline] { [Pipeline] echo [2023-11-10T02:21:41.358Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:41.657Z] ---> create-netrc.sh [Pipeline] } [2023-11-10T02:21:41.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:42.011Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-10T02:21:42.019Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:42.305Z] ---> sudo-logs.sh [2023-11-10T02:21:42.305Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-10T02:21:42.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:42.604Z] ---> job-cost.sh [2023-11-10T02:21:42.604Z] lf-activate-venv: SKIPPING [2023-11-10T02:21:42.604Z] DEBUG: total: 0.2199999988079071 [2023-11-10T02:21:42.604Z] INFO: Retrieving Stack Cost... [2023-11-10T02:21:43.173Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-10T02:21:43.429Z] INFO: Archiving Costs [Pipeline] echo [2023-11-10T02:21:43.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-10T02:21:43.722Z] ---> logs-deploy.sh [2023-11-10T02:21:43.722Z] lf-activate-venv: SKIPPING [2023-11-10T02:21:43.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/151 [2023-11-10T02:21:43.722Z] INFO: archiving workspace using pattern(s): [2023-11-10T02:21:44.657Z] Archives upload complete. [2023-11-10T02:21:44.916Z] INFO: archiving logs to Nexus