Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71bb43dbd033e4b79fac5b32175e59679d8e2e88 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-ssh15203674375219733205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13814330147902309851.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh330235337415831607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7312938629214651528.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10379468146198529913.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 Running on prd-ubuntu20.04-docker-8c-8g-18173 in /w/workspace/edgexfoundry_device-rest-go_napa [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_napa # 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 > 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 Avoid second fetch Checking out Revision 71bb43dbd033e4b79fac5b32175e59679d8e2e88 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @990d379" > git config core.sparsecheckout # timeout=10 > git checkout -f 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 > git rev-list --no-walk 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T22:11:50.193Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T22:11:50.254Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:11:50.277Z] ========================================================= [2023-11-15T22:11:50.277Z] EdgeX Global Pipelines Version Info [2023-11-15T22:11:50.277Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:11:51.026Z] ------------------- [2023-11-15T22:11:51.026Z] stable info: [2023-11-15T22:11:51.026Z] ------------------- [2023-11-15T22:11:51.026Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-15T22:11:51.026Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:11:51.026Z] Message: update stable to v1.0.258 [2023-11-15T22:11:51.595Z] ------------------- [2023-11-15T22:11:51.595Z] experimental info: [2023-11-15T22:11:51.595Z] ------------------- [2023-11-15T22:11:51.595Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T22:11:51.595Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:11:51.595Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T22:11:51.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-15T22:11:51.775Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-15T22:11:51.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T22:11:51.799Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T22:11:51.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T22:11:51.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T22:11:51.848Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T22:11:51.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T22:11:51.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T22:11:51.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T22:11:51.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T22:11:51.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-15T22:11:51.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T22:11:51.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T22:11:51.944Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:11:51.954Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:11:51.967Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:11:51.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:11:51.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T22:11:52.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T22:11:52.017Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-15T22:11:52.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-15T22:11:52.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T22:11:52.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T22:11:52.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T22:11:52.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T22:11:52.098Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T22:11:52.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2023-11-15T22:11:52.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2023-11-15T22:11:52.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2023-11-15T22:11:52.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo [2023-11-15T22:11:52.161Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71bb43d [Pipeline] echo [2023-11-15T22:11:52.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:11:52.214Z] provisioning config files... [2023-11-15T22:11:52.227Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config10916307573751840732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:11:52.526Z] ---> docker-login.sh [2023-11-15T22:11:52.526Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:11:52.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:11:52.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:11:52.787Z] Configure a credential helper to remove this warning. See [2023-11-15T22:11:52.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:11:52.787Z] [2023-11-15T22:11:52.787Z] Login Succeeded [2023-11-15T22:11:52.787Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:11:52.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:11:52.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:11:52.787Z] Configure a credential helper to remove this warning. See [2023-11-15T22:11:52.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:11:52.787Z] [2023-11-15T22:11:52.787Z] Login Succeeded [2023-11-15T22:11:52.787Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:11:53.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:11:53.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:11:53.048Z] Configure a credential helper to remove this warning. See [2023-11-15T22:11:53.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:11:53.048Z] [2023-11-15T22:11:53.048Z] Login Succeeded [2023-11-15T22:11:53.048Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:11:53.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:11:53.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:11:53.048Z] Configure a credential helper to remove this warning. See [2023-11-15T22:11:53.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:11:53.048Z] [2023-11-15T22:11:53.048Z] Login Succeeded [2023-11-15T22:11:53.048Z] docker.io [2023-11-15T22:11:53.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:11:53.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:11:53.308Z] Configure a credential helper to remove this warning. See [2023-11-15T22:11:53.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:11:53.308Z] [2023-11-15T22:11:53.308Z] Login Succeeded [2023-11-15T22:11:53.308Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:11:53.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T22:11:53.692Z] + git rev-list -1 --merges 71bb43dbd033e4b79fac5b32175e59679d8e2e88~1..71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo [2023-11-15T22:11:53.750Z] -----------> git rev-list -1 --merges 71bb43dbd033e4b79fac5b32175e59679d8e2e88~1..71bb43dbd033e4b79fac5b32175e59679d8e2e88 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [false] [Pipeline] sh [2023-11-15T22:11:54.042Z] + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo [2023-11-15T22:11:54.059Z] ========================================================= [2023-11-15T22:11:54.059Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-11-15T22:11:54.059Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:11:54.385Z] + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] echo [2023-11-15T22:11:54.398Z] [semverPrep] GIT_COMMIT: 71bb43dbd033e4b79fac5b32175e59679d8e2e88, Commit Message: ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] echo [2023-11-15T22:11:54.408Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T22:11:54.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:11:54.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T22:11:54.760Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T22:11:54.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T22:11:54.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T22:11:54.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T22:11:54.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:11:55.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:11:55.116Z] [2023-11-15T22:11:55.116Z] 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-15T22:11:55.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:11:55.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T22:11:55.425Z] b85a868b505f: Pulling fs layer [2023-11-15T22:11:55.425Z] e2be974225ed: Pulling fs layer [2023-11-15T22:11:55.425Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T22:11:55.425Z] 988bab9f4d93: Pulling fs layer [2023-11-15T22:11:55.425Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T22:11:55.425Z] eaf3925da568: Pulling fs layer [2023-11-15T22:11:55.425Z] bab4dde63d76: Pulling fs layer [2023-11-15T22:11:55.425Z] bde34c3a00c8: Pulling fs layer [2023-11-15T22:11:55.425Z] b352a97aabf1: Pulling fs layer [2023-11-15T22:11:55.425Z] 4872d77fe225: Pulling fs layer [2023-11-15T22:11:55.425Z] 5851b861e8e6: Pulling fs layer [2023-11-15T22:11:55.425Z] bab4dde63d76: Waiting [2023-11-15T22:11:55.425Z] b352a97aabf1: Waiting [2023-11-15T22:11:55.425Z] 5851b861e8e6: Waiting [2023-11-15T22:11:55.425Z] 4872d77fe225: Waiting [2023-11-15T22:11:55.425Z] 988bab9f4d93: Waiting [2023-11-15T22:11:55.425Z] 1469e6f7b9e6: Waiting [2023-11-15T22:11:55.425Z] eaf3925da568: Waiting [2023-11-15T22:11:55.425Z] e2be974225ed: Download complete [2023-11-15T22:11:55.425Z] 988bab9f4d93: Verifying Checksum [2023-11-15T22:11:55.425Z] 988bab9f4d93: Download complete [2023-11-15T22:11:55.685Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T22:11:55.685Z] 1469e6f7b9e6: Download complete [2023-11-15T22:11:55.685Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T22:11:55.685Z] 339a4e72a1f5: Download complete [2023-11-15T22:11:55.685Z] eaf3925da568: Verifying Checksum [2023-11-15T22:11:55.685Z] eaf3925da568: Download complete [2023-11-15T22:11:55.685Z] bde34c3a00c8: Verifying Checksum [2023-11-15T22:11:55.685Z] bde34c3a00c8: Download complete [2023-11-15T22:11:55.685Z] b352a97aabf1: Download complete [2023-11-15T22:11:55.685Z] 4872d77fe225: Download complete [2023-11-15T22:11:55.685Z] 5851b861e8e6: Download complete [2023-11-15T22:11:55.685Z] b85a868b505f: Verifying Checksum [2023-11-15T22:11:55.685Z] b85a868b505f: Download complete [2023-11-15T22:11:55.944Z] bab4dde63d76: Verifying Checksum [2023-11-15T22:11:55.944Z] bab4dde63d76: Download complete [2023-11-15T22:11:56.878Z] b85a868b505f: Pull complete [2023-11-15T22:11:56.878Z] e2be974225ed: Pull complete [2023-11-15T22:11:57.445Z] 339a4e72a1f5: Pull complete [2023-11-15T22:11:57.445Z] 988bab9f4d93: Pull complete [2023-11-15T22:11:57.703Z] 1469e6f7b9e6: Pull complete [2023-11-15T22:11:57.703Z] eaf3925da568: Pull complete [2023-11-15T22:11:59.603Z] bab4dde63d76: Pull complete [2023-11-15T22:11:59.603Z] bde34c3a00c8: Pull complete [2023-11-15T22:11:59.603Z] b352a97aabf1: Pull complete [2023-11-15T22:11:59.603Z] 4872d77fe225: Pull complete [2023-11-15T22:11:59.603Z] 5851b861e8e6: Pull complete [2023-11-15T22:11:59.603Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T22:11:59.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:11:59.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:11:59.704Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:11:59.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:12:05.211Z] $ docker top af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 -eo pid,comm [2023-11-15T22:12:05.306Z] 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-15T22:12:05.306Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T22:12:05.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:12:05.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:12:05.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:12:05.486Z] $ docker exec af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent [2023-11-15T22:12:05.598Z] SSH_AUTH_SOCK=/tmp/ssh-LitYPq1eVqQw/agent.14 [2023-11-15T22:12:05.598Z] SSH_AGENT_PID=25 [2023-11-15T22:12:05.603Z] Running ssh-add (command line suppressed) [2023-11-15T22:12:05.716Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4686260649591378475.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4686260649591378475.key) [2023-11-15T22:12:05.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:12:06.025Z] + git tag --points-at 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [2023-11-15T22:12:06.034Z] $ docker exec --env ******** --env ******** af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent -k [2023-11-15T22:12:06.155Z] unset SSH_AUTH_SOCK; [2023-11-15T22:12:06.155Z] unset SSH_AGENT_PID; [2023-11-15T22:12:06.155Z] echo Agent pid 25 killed; [2023-11-15T22:12:06.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-11-15T22:12:06.186Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent [2023-11-15T22:12:06.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:12:06.199Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:12:06.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:12:06.308Z] $ docker exec af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent [2023-11-15T22:12:06.419Z] SSH_AUTH_SOCK=/tmp/ssh-c7UBne9B7Ob2/agent.71 [2023-11-15T22:12:06.419Z] SSH_AGENT_PID=77 [2023-11-15T22:12:06.423Z] Running ssh-add (command line suppressed) [2023-11-15T22:12:06.521Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_18057877746859793781.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_18057877746859793781.key) [2023-11-15T22:12:06.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:12:06.826Z] + git semver init [2023-11-15T22:12:07.085Z] 2023-11-15 22:12:06,988 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T22:12:07.085Z] 2023-11-15 22:12:06,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver [2023-11-15T22:12:07.085Z] 2023-11-15 22:12:06,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver [2023-11-15T22:12:07.085Z] 2023-11-15 22:12:06,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_napa, universal_newlines=False, shell=None, istream=None) [2023-11-15T22:12:09.071Z] 2023-11-15 22:12:08,505 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude [2023-11-15T22:12:09.071Z] 2023-11-15 22:12:08,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False [2023-11-15T22:12:09.071Z] 2023-11-15 22:12:08,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2023-11-15T22:12:09.071Z] 2023-11-15 22:12:08,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2023-11-15T22:12:09.071Z] 3.1.0 [Pipeline] } [2023-11-15T22:12:09.079Z] $ docker exec --env ******** --env ******** af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 ssh-agent -k [2023-11-15T22:12:09.173Z] unset SSH_AUTH_SOCK; [2023-11-15T22:12:09.173Z] unset SSH_AGENT_PID; [2023-11-15T22:12:09.173Z] echo Agent pid 77 killed; [2023-11-15T22:12:09.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:12:09.482Z] + git semver [Pipeline] } [2023-11-15T22:12:09.748Z] $ docker stop --time=1 af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 [2023-11-15T22:12:11.289Z] $ docker rm -f --volumes af24f88d8383198c0c2d56e7bfb5939a179e6d67d493f9b54c6a39038b3ab609 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:12:11.642Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T22:12:11.857Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T22:12:11.861Z] [edgeXSemver]: initialized semver on version 3.1.0 [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] sh [2023-11-15T22:12:12.291Z] + git checkout 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:12:12.291Z] HEAD is now at 71bb43d ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:12:12.316Z] provisioning config files... [2023-11-15T22:12:12.324Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3133680813504802869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:12:12.619Z] ---> docker-login.sh [2023-11-15T22:12:12.619Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:12:12.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:12:12.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:12:12.619Z] Configure a credential helper to remove this warning. See [2023-11-15T22:12:12.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:12:12.619Z] [2023-11-15T22:12:12.619Z] Login Succeeded [2023-11-15T22:12:12.619Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:12:12.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:12:12.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:12:12.877Z] Configure a credential helper to remove this warning. See [2023-11-15T22:12:12.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:12:12.877Z] [2023-11-15T22:12:12.877Z] Login Succeeded [2023-11-15T22:12:12.877Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:12:12.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:12:12.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:12:12.877Z] Configure a credential helper to remove this warning. See [2023-11-15T22:12:12.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:12:12.877Z] [2023-11-15T22:12:12.877Z] Login Succeeded [2023-11-15T22:12:12.877Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:12:12.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:12:12.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:12:12.877Z] Configure a credential helper to remove this warning. See [2023-11-15T22:12:12.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:12:12.877Z] [2023-11-15T22:12:12.877Z] Login Succeeded [2023-11-15T22:12:12.877Z] docker.io [2023-11-15T22:12:13.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:12:13.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:12:13.394Z] Configure a credential helper to remove this warning. See [2023-11-15T22:12:13.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:12:13.394Z] [2023-11-15T22:12:13.394Z] Login Succeeded [2023-11-15T22:12:13.394Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:12:13.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T22:12:13.467Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T22:12:13.754Z] + grep+ ^go [0-9].[0-9]* go.mod [2023-11-15T22:12:13.754Z] cut -d -f 2 [Pipeline] echo [2023-11-15T22:12:13.771Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:12:13.789Z] ========================================================= [2023-11-15T22:12:13.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2023-11-15T22:12:13.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:12:14.182Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T22:12:14.441Z] Sending build context to Docker daemon 43.46MB [2023-11-15T22:12:14.441Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:12:14.441Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T22:12:14.700Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2023-11-15T22:12:14.700Z] 7264a8db6415: Pulling fs layer [2023-11-15T22:12:14.700Z] c4d48a809fc2: Pulling fs layer [2023-11-15T22:12:14.700Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T22:12:14.700Z] ad3a456e5733: Pulling fs layer [2023-11-15T22:12:14.700Z] f0163c21ed6d: Pulling fs layer [2023-11-15T22:12:14.700Z] 04c35c34e31e: Pulling fs layer [2023-11-15T22:12:14.700Z] 0c7b0fd20c02: Pulling fs layer [2023-11-15T22:12:14.700Z] d22eed83c68c: Pulling fs layer [2023-11-15T22:12:14.700Z] ad3a456e5733: Waiting [2023-11-15T22:12:14.700Z] f0163c21ed6d: Waiting [2023-11-15T22:12:14.700Z] 04c35c34e31e: Waiting [2023-11-15T22:12:14.700Z] 0c7b0fd20c02: Waiting [2023-11-15T22:12:14.700Z] d22eed83c68c: Waiting [2023-11-15T22:12:14.700Z] c4d48a809fc2: Verifying Checksum [2023-11-15T22:12:14.700Z] c4d48a809fc2: Download complete [2023-11-15T22:12:14.700Z] ad3a456e5733: Verifying Checksum [2023-11-15T22:12:14.700Z] ad3a456e5733: Download complete [2023-11-15T22:12:14.700Z] f0163c21ed6d: Verifying Checksum [2023-11-15T22:12:14.700Z] f0163c21ed6d: Download complete [2023-11-15T22:12:14.700Z] 7264a8db6415: Verifying Checksum [2023-11-15T22:12:14.700Z] 7264a8db6415: Download complete [2023-11-15T22:12:14.700Z] 04c35c34e31e: Verifying Checksum [2023-11-15T22:12:14.700Z] 04c35c34e31e: Download complete [2023-11-15T22:12:14.959Z] 7264a8db6415: Pull complete [2023-11-15T22:12:14.959Z] d22eed83c68c: Verifying Checksum [2023-11-15T22:12:14.959Z] d22eed83c68c: Download complete [2023-11-15T22:12:15.218Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T22:12:15.218Z] 4f1c88b9dad5: Download complete [2023-11-15T22:12:15.477Z] c4d48a809fc2: Pull complete [2023-11-15T22:12:15.477Z] 0c7b0fd20c02: Verifying Checksum [2023-11-15T22:12:15.477Z] 0c7b0fd20c02: Download complete [2023-11-15T22:12:18.759Z] 4f1c88b9dad5: Pull complete [2023-11-15T22:12:18.759Z] ad3a456e5733: Pull complete [2023-11-15T22:12:18.759Z] f0163c21ed6d: Pull complete [2023-11-15T22:12:18.759Z] 04c35c34e31e: Pull complete [2023-11-15T22:12:21.285Z] 0c7b0fd20c02: Pull complete [2023-11-15T22:12:21.853Z] d22eed83c68c: Pull complete [2023-11-15T22:12:21.853Z] Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de [2023-11-15T22:12:21.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2023-11-15T22:12:21.853Z] ---> 8a661f5c53af [2023-11-15T22:12:21.853Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:12:26.984Z] Still waiting to schedule task [2023-11-15T22:12:26.984Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-15T22:12:31.868Z] ---> Running in 7c45254eaa11 [2023-11-15T22:12:31.868Z] Removing intermediate container 7c45254eaa11 [2023-11-15T22:12:31.868Z] ---> e213fc11f057 [2023-11-15T22:12:31.868Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:12:31.868Z] ---> Running in f520ae5ca245 [2023-11-15T22:12:31.868Z] Removing intermediate container f520ae5ca245 [2023-11-15T22:12:31.868Z] ---> e0860eb5f590 [2023-11-15T22:12:31.868Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:12:32.128Z] ---> Running in e12f74893ab9 [2023-11-15T22:12:32.386Z] Removing intermediate container e12f74893ab9 [2023-11-15T22:12:32.386Z] ---> 4a8965c4e674 [2023-11-15T22:12:32.386Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:12:32.644Z] ---> Running in 2fe2ae7ec62b [2023-11-15T22:12:32.902Z] Removing intermediate container 2fe2ae7ec62b [2023-11-15T22:12:32.902Z] ---> f1249f97ae48 [2023-11-15T22:12:32.902Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:12:32.902Z] ---> Running in 08d6308ff756 [2023-11-15T22:12:33.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:12:33.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:12:33.726Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T22:12:33.726Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T22:12:33.726Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T22:12:33.726Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T22:12:33.984Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:12:33.984Z] OK: 268 MiB in 56 packages [2023-11-15T22:12:34.920Z] Removing intermediate container 08d6308ff756 [2023-11-15T22:12:34.920Z] ---> d24862e8dc4e [2023-11-15T22:12:34.920Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-15T22:12:34.920Z] ---> Running in 7ea83bf331a1 [2023-11-15T22:12:35.178Z] Removing intermediate container 7ea83bf331a1 [2023-11-15T22:12:35.178Z] ---> 607b415fac75 [2023-11-15T22:12:35.178Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T22:12:38.467Z] ---> 000204c18b91 [2023-11-15T22:12:38.467Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:12:38.467Z] ---> Running in 58218a29496a [2023-11-15T22:13:25.416Z] Removing intermediate container 58218a29496a [2023-11-15T22:13:25.416Z] ---> e3cdd0ee143a [2023-11-15T22:13:25.416Z] Step 11/12 : COPY . . [2023-11-15T22:13:25.416Z] ---> 7cec9e23fd18 [2023-11-15T22:13:25.416Z] Step 12/12 : RUN $MAKE [2023-11-15T22:13:25.416Z] ---> Running in 0e598c68f405 [2023-11-15T22:13:25.416Z] noop [2023-11-15T22:13:25.682Z] Removing intermediate container 0e598c68f405 [2023-11-15T22:13:25.682Z] ---> 7fbe0dc62d5f [2023-11-15T22:13:25.682Z] Successfully built 7fbe0dc62d5f [2023-11-15T22:13:25.682Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:13:26.000Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T22:13:26.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:13:26.060Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:13:26.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T22:13:26.410Z] $ docker top 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:13:26.744Z] + go version [2023-11-15T22:13:26.744Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T22:13:26.751Z] $ docker stop --time=1 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 [2023-11-15T22:13:28.014Z] $ docker rm -f --volumes 3ffe72e7ca658232b0bd46adebceb4dc58093feeb2dd1d7f1c6075fa94e36ee8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:13:28.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T22:13:28.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:13:28.471Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:13:28.497Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T22:13:28.827Z] $ docker top a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:13:29.163Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:13:29.454Z] + make test [2023-11-15T22:13:29.454Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T22:13:31.360Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-15T22:13:41.384Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-15T22:13:41.385Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-11-15T22:13:49.749Z] go vet ./... [2023-11-15T22:13:53.079Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T22:13:53.079Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T22:13:53.079Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T22:13:53.091Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:13:53.396Z] + go mod tidy [Pipeline] } [2023-11-15T22:13:53.975Z] $ docker stop --time=1 a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a [2023-11-15T22:13:57.991Z] $ docker rm -f --volumes a005378269b7ff4a358e104433c20f065c466bc1665238a195f80e30e027080a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:13:58.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T22:13:58.556Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T22:13:59.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T22:13:59.297Z] + ls -al . [2023-11-15T22:13:59.297Z] total 184 [2023-11-15T22:13:59.297Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:13 . [2023-11-15T22:13:59.297Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:11 .. [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 22:11 .dockerignore [2023-11-15T22:13:59.297Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:13 .git [2023-11-15T22:13:59.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 .github [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:11 .gitignore [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:11 .golangci.yml [2023-11-15T22:13:59.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:12 .semver [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 22:11 Attribution.txt [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 22:11 CHANGELOG.md [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 22:11 Dockerfile [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:11 GOVERNANCE.md [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 22:11 Jenkinsfile [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:11 LICENSE [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 22:11 Makefile [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:11 OWNERS.md [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 22:11 README.md [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION [2023-11-15T22:13:59.297Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:11 bin [2023-11-15T22:13:59.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 cmd [2023-11-15T22:13:59.297Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 22:13 coverage.out [2023-11-15T22:13:59.297Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:11 driver [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 22:11 go.mod [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:11 go.sum [2023-11-15T22:13:59.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:11 openapi [2023-11-15T22:13:59.297Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:11 vendor [2023-11-15T22:13:59.297Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:13:59.613Z] + 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=71bb43dbd033e4b79fac5b32175e59679d8e2e88 --label arch=amd64 --label version=3.1.0 . [2023-11-15T22:13:59.873Z] Sending build context to Docker daemon 43.47MB [2023-11-15T22:13:59.873Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:13:59.873Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-15T22:13:59.873Z] ---> 7fbe0dc62d5f [2023-11-15T22:13:59.873Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:14:00.813Z] ---> Running in a0594cda57a3 [2023-11-15T22:14:01.753Z] Removing intermediate container a0594cda57a3 [2023-11-15T22:14:01.753Z] ---> 419f16f6ecb4 [2023-11-15T22:14:01.753Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:14:02.016Z] ---> Running in 1cc518a11b15 [2023-11-15T22:14:02.274Z] Removing intermediate container 1cc518a11b15 [2023-11-15T22:14:02.274Z] ---> 3b25bbf33bf4 [2023-11-15T22:14:02.274Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:14:02.533Z] ---> Running in 759f3ad72aa2 [2023-11-15T22:14:02.533Z] Removing intermediate container 759f3ad72aa2 [2023-11-15T22:14:02.533Z] ---> 4f6f92716a91 [2023-11-15T22:14:02.533Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:14:02.793Z] ---> Running in 3e5960e7909f [2023-11-15T22:14:03.059Z] Removing intermediate container 3e5960e7909f [2023-11-15T22:14:03.059Z] ---> d7dd02c3f2d6 [2023-11-15T22:14:03.059Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:14:03.059Z] ---> Running in 211bf0dfcf12 [2023-11-15T22:14:03.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:03.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:03.885Z] OK: 268 MiB in 56 packages [2023-11-15T22:14:05.787Z] Removing intermediate container 211bf0dfcf12 [2023-11-15T22:14:05.787Z] ---> c30800f5fd8a [2023-11-15T22:14:05.787Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-15T22:14:05.787Z] ---> Running in ae0850b35b50 [2023-11-15T22:14:06.044Z] Removing intermediate container ae0850b35b50 [2023-11-15T22:14:06.044Z] ---> 92831fa349e9 [2023-11-15T22:14:06.044Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-15T22:14:08.170Z] ---> 0cfbaa274440 [2023-11-15T22:14:08.170Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:14:08.428Z] ---> Running in a515511f22af [2023-11-15T22:14:08.686Z] skipping... [2023-11-15T22:14:08.942Z] Removing intermediate container a515511f22af [2023-11-15T22:14:08.943Z] ---> 545aa5551b9e [2023-11-15T22:14:08.943Z] Step 11/26 : COPY . . [2023-11-15T22:14:11.475Z] ---> 7baf531fdb18 [2023-11-15T22:14:11.475Z] Step 12/26 : RUN $MAKE [2023-11-15T22:14:11.475Z] ---> Running in 1582ea1ca8b6 [2023-11-15T22:14:11.475Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-15T22:14:33.469Z] Removing intermediate container 1582ea1ca8b6 [2023-11-15T22:14:33.469Z] ---> aed44760d7a6 [2023-11-15T22:14:33.469Z] Step 13/26 : FROM alpine:3.18 [2023-11-15T22:14:33.469Z] 3.18: Pulling from library/alpine [2023-11-15T22:14:33.469Z] 96526aa774ef: Pulling fs layer [2023-11-15T22:14:33.469Z] 96526aa774ef: Verifying Checksum [2023-11-15T22:14:33.469Z] 96526aa774ef: Download complete [2023-11-15T22:14:33.469Z] 96526aa774ef: Pull complete [2023-11-15T22:14:33.469Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T22:14:33.469Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T22:14:33.469Z] ---> 8ca4688f4f35 [2023-11-15T22:14:33.469Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T22:14:33.469Z] ---> Running in 05060d1514b1 [2023-11-15T22:14:33.469Z] Removing intermediate container 05060d1514b1 [2023-11-15T22:14:33.469Z] ---> 7ed4db1f638c [2023-11-15T22:14:33.469Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-15T22:14:33.469Z] ---> Running in 4a56fa7ad961 [2023-11-15T22:14:33.469Z] Removing intermediate container 4a56fa7ad961 [2023-11-15T22:14:33.469Z] ---> be525e593dea [2023-11-15T22:14:33.469Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-15T22:14:33.469Z] ---> Running in 7712a6380963 [2023-11-15T22:14:33.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:33.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:33.469Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T22:14:33.469Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T22:14:33.469Z] OK: 7 MiB in 16 packages [2023-11-15T22:14:33.469Z] Removing intermediate container 7712a6380963 [2023-11-15T22:14:33.469Z] ---> d4db454c13cb [2023-11-15T22:14:33.469Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-15T22:14:33.469Z] ---> Running in 3e570914f9cf [2023-11-15T22:14:33.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:33.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T22:14:33.469Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:14:33.469Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:14:33.469Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T22:14:33.469Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:14:33.469Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:14:33.469Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:14:33.469Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:14:33.469Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:14:33.469Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:14:33.469Z] OK: 7 MiB in 16 packages [2023-11-15T22:14:34.039Z] Removing intermediate container 3e570914f9cf [2023-11-15T22:14:34.039Z] ---> 0b3e1cb597ea [2023-11-15T22:14:34.039Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-15T22:14:35.084Z] ---> 2c77dec16254 [2023-11-15T22:14:35.084Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-15T22:14:35.084Z] ---> 600e10967cfe [2023-11-15T22:14:35.084Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-15T22:14:35.342Z] ---> 8f8656b96eb3 [2023-11-15T22:14:35.342Z] Step 21/26 : EXPOSE 59986 [2023-11-15T22:14:35.342Z] ---> Running in 8cf9b4bd14d9 [2023-11-15T22:14:35.342Z] Removing intermediate container 8cf9b4bd14d9 [2023-11-15T22:14:35.342Z] ---> a35532236af2 [2023-11-15T22:14:35.342Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-15T22:14:35.342Z] ---> Running in 3f2622155777 [2023-11-15T22:14:35.342Z] Removing intermediate container 3f2622155777 [2023-11-15T22:14:35.342Z] ---> ae3e1278936b [2023-11-15T22:14:35.342Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T22:14:35.342Z] ---> Running in 497e682d6e84 [2023-11-15T22:14:35.600Z] Removing intermediate container 497e682d6e84 [2023-11-15T22:14:35.600Z] ---> cbef3f402346 [2023-11-15T22:14:35.600Z] Step 24/26 : LABEL arch=amd64 [2023-11-15T22:14:35.600Z] ---> Running in 59c1752fd18b [2023-11-15T22:14:35.600Z] Removing intermediate container 59c1752fd18b [2023-11-15T22:14:35.600Z] ---> 12b5dfebd96f [2023-11-15T22:14:35.600Z] Step 25/26 : LABEL git_sha=71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:14:35.600Z] ---> Running in c5822d179a52 [2023-11-15T22:14:35.600Z] Removing intermediate container c5822d179a52 [2023-11-15T22:14:35.600Z] ---> 5db65e1bdad6 [2023-11-15T22:14:35.600Z] Step 26/26 : LABEL version=3.1.0 [2023-11-15T22:14:35.600Z] ---> Running in 68882d32afb6 [2023-11-15T22:14:35.858Z] Removing intermediate container 68882d32afb6 [2023-11-15T22:14:35.858Z] ---> b2f6629032db [2023-11-15T22:14:35.858Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T22:14:35.858Z] Successfully built b2f6629032db [2023-11-15T22:14:35.858Z] 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-15T22:14:35.975Z] provisioning config files... [2023-11-15T22:14:35.982Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config11806304412030725672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:14:36.285Z] ---> docker-login.sh [2023-11-15T22:14:36.285Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:14:36.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:14:36.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:14:36.285Z] Configure a credential helper to remove this warning. See [2023-11-15T22:14:36.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:14:36.285Z] [2023-11-15T22:14:36.285Z] Login Succeeded [2023-11-15T22:14:36.285Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:14:36.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:14:36.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:14:36.285Z] Configure a credential helper to remove this warning. See [2023-11-15T22:14:36.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:14:36.285Z] [2023-11-15T22:14:36.285Z] Login Succeeded [2023-11-15T22:14:36.285Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:14:36.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:14:36.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:14:36.543Z] Configure a credential helper to remove this warning. See [2023-11-15T22:14:36.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:14:36.543Z] [2023-11-15T22:14:36.543Z] Login Succeeded [2023-11-15T22:14:36.543Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:14:36.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:14:36.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:14:36.543Z] Configure a credential helper to remove this warning. See [2023-11-15T22:14:36.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:14:36.543Z] [2023-11-15T22:14:36.543Z] Login Succeeded [2023-11-15T22:14:36.543Z] docker.io [2023-11-15T22:14:36.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:14:36.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:14:36.802Z] Configure a credential helper to remove this warning. See [2023-11-15T22:14:36.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:14:36.802Z] [2023-11-15T22:14:36.802Z] Login Succeeded [2023-11-15T22:14:36.802Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:14:36.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:14:36.839Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:14:36.855Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-15T22:14:36.855Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:14:36.855Z] 3.1.0 [2023-11-15T22:14:36.855Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:14:36.855Z] napa [2023-11-15T22:14:36.855Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:37.182Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:37.489Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:14:37.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-15T22:14:37.489Z] 29a64d874f5d: Preparing [2023-11-15T22:14:37.489Z] 4ab23a329694: Preparing [2023-11-15T22:14:37.489Z] 23206fbd16d4: Preparing [2023-11-15T22:14:37.489Z] 0dc4c22391ca: Preparing [2023-11-15T22:14:37.489Z] ac897670885f: Preparing [2023-11-15T22:14:37.489Z] cc2447e1835a: Preparing [2023-11-15T22:14:37.489Z] cc2447e1835a: Waiting [2023-11-15T22:14:37.489Z] 29a64d874f5d: Pushed [2023-11-15T22:14:37.489Z] 4ab23a329694: Pushed [2023-11-15T22:14:37.489Z] ac897670885f: Pushed [2023-11-15T22:14:37.489Z] cc2447e1835a: Layer already exists [2023-11-15T22:14:38.054Z] 0dc4c22391ca: Pushed [2023-11-15T22:14:40.585Z] 23206fbd16d4: Pushed [2023-11-15T22:14:40.585Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:40.899Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:41.205Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0 [2023-11-15T22:14:41.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-15T22:14:41.205Z] 29a64d874f5d: Preparing [2023-11-15T22:14:41.205Z] 4ab23a329694: Preparing [2023-11-15T22:14:41.205Z] 23206fbd16d4: Preparing [2023-11-15T22:14:41.205Z] 0dc4c22391ca: Preparing [2023-11-15T22:14:41.205Z] ac897670885f: Preparing [2023-11-15T22:14:41.205Z] cc2447e1835a: Preparing [2023-11-15T22:14:41.205Z] cc2447e1835a: Waiting [2023-11-15T22:14:41.205Z] 0dc4c22391ca: Layer already exists [2023-11-15T22:14:41.205Z] 4ab23a329694: Layer already exists [2023-11-15T22:14:41.205Z] ac897670885f: Layer already exists [2023-11-15T22:14:41.205Z] 29a64d874f5d: Layer already exists [2023-11-15T22:14:41.205Z] cc2447e1835a: Layer already exists [2023-11-15T22:14:41.205Z] 23206fbd16d4: Layer already exists [2023-11-15T22:14:41.205Z] 3.1.0: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:41.527Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:41.838Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:14:41.838Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-15T22:14:41.838Z] 29a64d874f5d: Preparing [2023-11-15T22:14:41.838Z] 4ab23a329694: Preparing [2023-11-15T22:14:41.838Z] 23206fbd16d4: Preparing [2023-11-15T22:14:41.838Z] 0dc4c22391ca: Preparing [2023-11-15T22:14:41.838Z] ac897670885f: Preparing [2023-11-15T22:14:41.838Z] cc2447e1835a: Preparing [2023-11-15T22:14:41.838Z] cc2447e1835a: Waiting [2023-11-15T22:14:41.838Z] 29a64d874f5d: Layer already exists [2023-11-15T22:14:41.838Z] 23206fbd16d4: Layer already exists [2023-11-15T22:14:41.838Z] 0dc4c22391ca: Layer already exists [2023-11-15T22:14:41.838Z] 4ab23a329694: Layer already exists [2023-11-15T22:14:41.838Z] ac897670885f: Layer already exists [2023-11-15T22:14:41.838Z] cc2447e1835a: Layer already exists [2023-11-15T22:14:41.838Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:42.159Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:42.460Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:napa [2023-11-15T22:14:42.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-15T22:14:42.460Z] 29a64d874f5d: Preparing [2023-11-15T22:14:42.460Z] 4ab23a329694: Preparing [2023-11-15T22:14:42.460Z] 23206fbd16d4: Preparing [2023-11-15T22:14:42.460Z] 0dc4c22391ca: Preparing [2023-11-15T22:14:42.460Z] ac897670885f: Preparing [2023-11-15T22:14:42.460Z] cc2447e1835a: Preparing [2023-11-15T22:14:42.460Z] cc2447e1835a: Waiting [2023-11-15T22:14:42.460Z] 4ab23a329694: Layer already exists [2023-11-15T22:14:42.460Z] ac897670885f: Layer already exists [2023-11-15T22:14:42.460Z] 0dc4c22391ca: Layer already exists [2023-11-15T22:14:42.460Z] 29a64d874f5d: Layer already exists [2023-11-15T22:14:42.460Z] 23206fbd16d4: Layer already exists [2023-11-15T22:14:42.460Z] cc2447e1835a: Layer already exists [2023-11-15T22:14:42.460Z] napa: digest: sha256:9c2143f9deccbc446935fe43c37bb092df08e94293c439be1f3fc3b9d24ccf5f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:14:42.507Z] ===================================================== [Pipeline] echo [2023-11-15T22:14:42.516Z] taggedImages: [2023-11-15T22:14:42.516Z] - nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:14:42.516Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0 [2023-11-15T22:14:42.516Z] - nexus3.edgexfoundry.org:10004/device-rest:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:14:42.516Z] - nexus3.edgexfoundry.org:10004/device-rest:napa [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-15T22:14:42.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:14:42.884Z] [2023-11-15T22:14:42.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:14:43.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:14:43.251Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T22:14:43.251Z] 5eb5b503b376: Pulling fs layer [2023-11-15T22:14:43.251Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T22:14:43.251Z] ec43610c2a17: Pulling fs layer [2023-11-15T22:14:43.251Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T22:14:43.251Z] 33b1e0a273af: Pulling fs layer [2023-11-15T22:14:43.251Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T22:14:43.251Z] 2f39f015ded8: Pulling fs layer [2023-11-15T22:14:43.251Z] 3a2ae6a8a46f: Waiting [2023-11-15T22:14:43.251Z] 33b1e0a273af: Waiting [2023-11-15T22:14:43.251Z] 5d3b04190fa2: Waiting [2023-11-15T22:14:43.251Z] 2f39f015ded8: Waiting [2023-11-15T22:14:43.251Z] 5c69ac0246d0: Verifying Checksum [2023-11-15T22:14:43.251Z] 5c69ac0246d0: Download complete [2023-11-15T22:14:43.251Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T22:14:43.251Z] 3a2ae6a8a46f: Download complete [2023-11-15T22:14:43.251Z] 33b1e0a273af: Verifying Checksum [2023-11-15T22:14:43.251Z] 33b1e0a273af: Download complete [2023-11-15T22:14:43.251Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T22:14:43.251Z] 5d3b04190fa2: Download complete [2023-11-15T22:14:43.251Z] ec43610c2a17: Verifying Checksum [2023-11-15T22:14:43.251Z] ec43610c2a17: Download complete [2023-11-15T22:14:43.527Z] 5eb5b503b376: Verifying Checksum [2023-11-15T22:14:43.527Z] 5eb5b503b376: Download complete [2023-11-15T22:14:44.485Z] 5eb5b503b376: Pull complete [2023-11-15T22:14:44.742Z] 5c69ac0246d0: Pull complete [2023-11-15T22:14:45.000Z] ec43610c2a17: Pull complete [2023-11-15T22:14:45.000Z] 3a2ae6a8a46f: Pull complete [2023-11-15T22:14:45.259Z] 33b1e0a273af: Pull complete [2023-11-15T22:14:45.259Z] 5d3b04190fa2: Pull complete [2023-11-15T22:14:50.565Z] 2f39f015ded8: Pull complete [2023-11-15T22:14:50.565Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T22:14:50.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:14:50.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:14:50.650Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:14:50.676Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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-15T22:14:56.285Z] $ docker top b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:14:56.662Z] ---> job-cost.sh [2023-11-15T22:14:56.662Z] lf-activate-venv: SKIPPING [2023-11-15T22:14:56.662Z] INFO: No Stack... [2023-11-15T22:14:56.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T22:14:57.179Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T22:14:57.467Z] + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv [2023-11-15T22:14:57.467Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T22:14:57.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [2023-11-15T22:14:57.489Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] did not exist. Created. [2023-11-15T22:14:57.489Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T22:14:57.798Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T22:14:57.852Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T22:14:57.857Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T22:14:57.869Z] $ docker stop --time=1 b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 [2023-11-15T22:14:59.021Z] $ docker rm -f --volumes b103ebec1c85065ff4f79d955f9774e20fc038a09e83b127e3a76328d1132874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T22:15:21.265Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18178 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws [2023-11-15T22:15:21.279Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-11-15T22:15:21.369Z] The recommended git tool is: git [2023-11-15T22:15:27.218Z] using credential edgex-jenkins-ssh [2023-11-15T22:15:27.234Z] Cloning the remote Git repository [2023-11-15T22:15:27.283Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-15T22:15:27.390Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-11-15T22:15:27.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-15T22:15:27.562Z] > git --version # timeout=10 [2023-11-15T22:15:27.585Z] > git --version # 'git version 2.25.1' [2023-11-15T22:15:27.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T22:15:27.760Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:15:30.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-15T22:15:30.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:15:31.692Z] Avoid second fetch [2023-11-15T22:15:31.692Z] Checking out Revision 71bb43dbd033e4b79fac5b32175e59679d8e2e88 (napa) [2023-11-15T22:15:31.712Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T22:15:31.787Z] > git checkout -f 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [2023-11-15T22:15:33.195Z] Commit message: "ci(lts-release): LTS release v3.1.0 @990d379" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:15:34.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T22:15:34.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T22:15:34.128Z] Dload Upload Total Spent Left Speed [2023-11-15T22:15:34.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh [2023-11-15T22:15:34.763Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T22:15:35.106Z] + sudo tee /etc/docker/daemon.new [2023-11-15T22:15:35.106Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T22:15:35.106Z] { [2023-11-15T22:15:35.106Z] "registry-mirrors": [ [2023-11-15T22:15:35.106Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T22:15:35.106Z] ], [2023-11-15T22:15:35.106Z] "bip": "10.250.0.254/24", [2023-11-15T22:15:35.106Z] "hosts": [ [2023-11-15T22:15:35.106Z] "tcp://0.0.0.0:5555", [2023-11-15T22:15:35.106Z] "unix:///var/run/docker.sock" [2023-11-15T22:15:35.106Z] ], [2023-11-15T22:15:35.106Z] "mtu": 1458, [2023-11-15T22:15:35.106Z] "selinux-enabled": true, [2023-11-15T22:15:35.106Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T22:15:35.106Z] } [Pipeline] sh [2023-11-15T22:15:35.465Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T22:15:35.825Z] + sudo service docker restart [Pipeline] sh [2023-11-15T22:15:54.445Z] + git checkout 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:15:54.716Z] HEAD is now at 71bb43d ci(lts-release): LTS release v3.1.0 @990d379 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:15:54.742Z] provisioning config files... [2023-11-15T22:15:54.766Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8389620573026819865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:15:55.130Z] ---> docker-login.sh [2023-11-15T22:15:55.130Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:15:55.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:15:55.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:15:55.729Z] Configure a credential helper to remove this warning. See [2023-11-15T22:15:55.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:15:55.729Z] [2023-11-15T22:15:55.729Z] Login Succeeded [2023-11-15T22:15:55.729Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:15:56.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:15:56.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:15:56.276Z] Configure a credential helper to remove this warning. See [2023-11-15T22:15:56.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:15:56.276Z] [2023-11-15T22:15:56.276Z] Login Succeeded [2023-11-15T22:15:56.276Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:15:56.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:15:56.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:15:56.555Z] Configure a credential helper to remove this warning. See [2023-11-15T22:15:56.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:15:56.556Z] [2023-11-15T22:15:56.556Z] Login Succeeded [2023-11-15T22:15:56.556Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:15:56.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:15:57.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:15:57.103Z] Configure a credential helper to remove this warning. See [2023-11-15T22:15:57.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:15:57.103Z] [2023-11-15T22:15:57.103Z] Login Succeeded [2023-11-15T22:15:57.103Z] docker.io [2023-11-15T22:15:57.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:15:57.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:15:57.644Z] Configure a credential helper to remove this warning. See [2023-11-15T22:15:57.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:15:57.644Z] [2023-11-15T22:15:57.644Z] Login Succeeded [2023-11-15T22:15:57.644Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:15:57.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T22:15:57.983Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T22:15:58.323Z] + cut -d -f 2 [2023-11-15T22:15:58.323Z] + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2023-11-15T22:15:58.403Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:15:58.412Z] ========================================================= [2023-11-15T22:15:58.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2023-11-15T22:15:58.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:15:58.781Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T22:16:00.757Z] Sending build context to Docker daemon 27.26MB [2023-11-15T22:16:01.027Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:16:01.027Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T22:16:01.027Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T22:16:01.027Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T22:16:01.027Z] 5d54e960e981: Pulling fs layer [2023-11-15T22:16:01.027Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T22:16:01.027Z] f0e02332f6b5: Pulling fs layer [2023-11-15T22:16:01.027Z] 57b776a6bec4: Pulling fs layer [2023-11-15T22:16:01.027Z] 8b19151f9e34: Pulling fs layer [2023-11-15T22:16:01.027Z] eb6a9f2d7ee3: Pulling fs layer [2023-11-15T22:16:01.027Z] f0e02332f6b5: Waiting [2023-11-15T22:16:01.027Z] 57b776a6bec4: Waiting [2023-11-15T22:16:01.027Z] 8b19151f9e34: Waiting [2023-11-15T22:16:01.027Z] eb6a9f2d7ee3: Waiting [2023-11-15T22:16:01.295Z] 5d54e960e981: Verifying Checksum [2023-11-15T22:16:01.295Z] 5d54e960e981: Download complete [2023-11-15T22:16:01.295Z] f0e02332f6b5: Verifying Checksum [2023-11-15T22:16:01.295Z] f0e02332f6b5: Download complete [2023-11-15T22:16:01.295Z] 57b776a6bec4: Verifying Checksum [2023-11-15T22:16:01.295Z] 57b776a6bec4: Download complete [2023-11-15T22:16:01.295Z] 9fda8d8052c6: Verifying Checksum [2023-11-15T22:16:01.296Z] 9fda8d8052c6: Download complete [2023-11-15T22:16:01.885Z] eb6a9f2d7ee3: Verifying Checksum [2023-11-15T22:16:01.885Z] eb6a9f2d7ee3: Download complete [2023-11-15T22:16:02.163Z] 9fda8d8052c6: Pull complete [2023-11-15T22:16:03.137Z] 5d54e960e981: Pull complete [2023-11-15T22:16:03.406Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T22:16:03.406Z] c4a7e357bf2a: Download complete [2023-11-15T22:16:04.851Z] 8b19151f9e34: Verifying Checksum [2023-11-15T22:16:04.851Z] 8b19151f9e34: Download complete [2023-11-15T22:16:20.013Z] c4a7e357bf2a: Pull complete [2023-11-15T22:16:20.013Z] f0e02332f6b5: Pull complete [2023-11-15T22:16:20.013Z] 57b776a6bec4: Pull complete [2023-11-15T22:16:28.232Z] 8b19151f9e34: Pull complete [2023-11-15T22:16:30.184Z] eb6a9f2d7ee3: Pull complete [2023-11-15T22:16:30.184Z] Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff [2023-11-15T22:16:30.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2023-11-15T22:16:30.184Z] ---> ca1e05e92614 [2023-11-15T22:16:30.184Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:16:32.796Z] ---> Running in 0b6ef2008e17 [2023-11-15T22:16:32.796Z] Removing intermediate container 0b6ef2008e17 [2023-11-15T22:16:32.796Z] ---> a384d90811ad [2023-11-15T22:16:32.796Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:16:32.796Z] ---> Running in f88f61169b94 [2023-11-15T22:16:33.381Z] Removing intermediate container f88f61169b94 [2023-11-15T22:16:33.381Z] ---> ed0c905950b7 [2023-11-15T22:16:33.381Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:16:33.381Z] ---> Running in c711e90a17e4 [2023-11-15T22:16:33.651Z] Removing intermediate container c711e90a17e4 [2023-11-15T22:16:33.651Z] ---> 87edddcbc4be [2023-11-15T22:16:33.651Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:16:33.651Z] ---> Running in 88f0837a1dc9 [2023-11-15T22:16:34.235Z] Removing intermediate container 88f0837a1dc9 [2023-11-15T22:16:34.235Z] ---> c956dacf69d7 [2023-11-15T22:16:34.235Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:16:34.235Z] ---> Running in 8d10279a8a6e [2023-11-15T22:16:35.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:16:35.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:16:37.332Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T22:16:37.332Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T22:16:37.332Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T22:16:37.332Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T22:16:37.332Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:16:37.332Z] OK: 271 MiB in 56 packages [2023-11-15T22:16:38.304Z] Removing intermediate container 8d10279a8a6e [2023-11-15T22:16:38.304Z] ---> 461463e3e089 [2023-11-15T22:16:38.304Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-15T22:16:38.578Z] ---> Running in efb06a2855ab [2023-11-15T22:16:38.846Z] Removing intermediate container efb06a2855ab [2023-11-15T22:16:38.846Z] ---> 14ec9a8bc213 [2023-11-15T22:16:38.846Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T22:16:51.167Z] ---> 6722ac4b5e53 [2023-11-15T22:16:51.167Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:16:51.167Z] ---> Running in 50ac955ad72b [2023-11-15T22:18:12.851Z] Removing intermediate container 50ac955ad72b [2023-11-15T22:18:12.852Z] ---> 759879524a9c [2023-11-15T22:18:12.852Z] Step 11/12 : COPY . . [2023-11-15T22:18:12.852Z] ---> 35a36be7a9ab [2023-11-15T22:18:12.852Z] Step 12/12 : RUN $MAKE [2023-11-15T22:18:12.852Z] ---> Running in 0bfa449d6e1a [2023-11-15T22:18:12.852Z] noop [2023-11-15T22:18:12.852Z] Removing intermediate container 0bfa449d6e1a [2023-11-15T22:18:12.852Z] ---> 13160301736a [2023-11-15T22:18:12.852Z] Successfully built 13160301736a [2023-11-15T22:18:12.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:18:13.219Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T22:18:13.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:18:13.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container [2023-11-15T22:18:13.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-15T22:18:15.083Z] $ docker top bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:18:16.035Z] + go version [2023-11-15T22:18:16.035Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T22:18:16.054Z] $ docker stop --time=1 bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 [2023-11-15T22:18:17.834Z] $ docker rm -f --volumes bd9edc9c581cfd999feb1611c2fe9d1eb173abfd215787ca789b905528dd66d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:18:18.467Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T22:18:18.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:18:18.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container [2023-11-15T22:18:18.819Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-15T22:18:20.314Z] $ docker top 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:18:21.221Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:18:21.901Z] + make test [2023-11-15T22:18:21.901Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T22:18:25.251Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-15T22:21:02.025Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-15T22:21:02.025Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.2% of statements [2023-11-15T22:21:02.025Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T22:21:02.025Z] go vet ./... [2023-11-15T22:21:34.453Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T22:21:34.453Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T22:21:34.453Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T22:21:34.478Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T22:21:35.171Z] + go mod tidy [Pipeline] } [2023-11-15T22:21:39.512Z] $ docker stop --time=1 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad [2023-11-15T22:21:41.775Z] $ docker rm -f --volumes 34a5759a2af8576ed31d019ae36854cab441048e6dbcbd317f2168c0ac7939ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:21:43.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T22:21:43.591Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T22:21:44.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:21:45.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T22:21:45.704Z] + ls -al . [2023-11-15T22:21:45.704Z] total 180 [2023-11-15T22:21:45.704Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:18 . [2023-11-15T22:21:45.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:15 .. [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 22:15 .dockerignore [2023-11-15T22:21:45.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:15 .git [2023-11-15T22:21:45.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 .github [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:15 .gitignore [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:15 .golangci.yml [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 15 22:15 Attribution.txt [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 15 22:15 CHANGELOG.md [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 1687 Nov 15 22:15 Dockerfile [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:15 GOVERNANCE.md [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 22:15 Jenkinsfile [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:15 LICENSE [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 15 22:15 Makefile [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:15 OWNERS.md [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 15 22:15 README.md [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:12 VERSION [2023-11-15T22:21:45.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:15 bin [2023-11-15T22:21:45.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 cmd [2023-11-15T22:21:45.704Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 15 22:20 coverage.out [2023-11-15T22:21:45.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:15 driver [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 15 22:15 go.mod [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:15 go.sum [2023-11-15T22:21:45.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:15 openapi [2023-11-15T22:21:45.704Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:15 vendor [2023-11-15T22:21:45.704Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:21:46.082Z] + 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=71bb43dbd033e4b79fac5b32175e59679d8e2e88 --label arch=arm64 --label version=3.1.0 . [2023-11-15T22:21:48.738Z] Sending build context to Docker daemon 27.27MB [2023-11-15T22:21:48.738Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:21:48.738Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-15T22:21:48.738Z] ---> 13160301736a [2023-11-15T22:21:48.738Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-15T22:21:49.440Z] ---> Running in 4a2c1c5cafe9 [2023-11-15T22:21:49.712Z] Removing intermediate container 4a2c1c5cafe9 [2023-11-15T22:21:49.712Z] ---> 71bfc671de18 [2023-11-15T22:21:49.712Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T22:21:49.712Z] ---> Running in 9fa03b79d85f [2023-11-15T22:21:50.316Z] Removing intermediate container 9fa03b79d85f [2023-11-15T22:21:50.316Z] ---> 5866a10f6a95 [2023-11-15T22:21:50.316Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T22:21:50.316Z] ---> Running in 9247019f11e1 [2023-11-15T22:21:50.593Z] Removing intermediate container 9247019f11e1 [2023-11-15T22:21:50.593Z] ---> 9479c98727c0 [2023-11-15T22:21:50.593Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T22:21:51.103Z] ---> Running in 0e3168471146 [2023-11-15T22:21:51.103Z] Removing intermediate container 0e3168471146 [2023-11-15T22:21:51.103Z] ---> 532657589318 [2023-11-15T22:21:51.103Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T22:21:51.374Z] ---> Running in e2c5fdb32577 [2023-11-15T22:21:52.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:21:53.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:21:55.043Z] OK: 271 MiB in 56 packages [2023-11-15T22:21:56.021Z] Removing intermediate container e2c5fdb32577 [2023-11-15T22:21:56.021Z] ---> 211e3a69062c [2023-11-15T22:21:56.021Z] Step 8/26 : WORKDIR /device-rest-go [2023-11-15T22:21:56.021Z] ---> Running in 2e84af5408e3 [2023-11-15T22:21:56.611Z] Removing intermediate container 2e84af5408e3 [2023-11-15T22:21:56.611Z] ---> 634c75ae74a2 [2023-11-15T22:21:56.611Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-15T22:22:04.862Z] ---> 36db2b70e188 [2023-11-15T22:22:04.862Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T22:22:05.133Z] ---> Running in aba599ed5590 [2023-11-15T22:22:08.499Z] skipping... [2023-11-15T22:22:08.868Z] Removing intermediate container aba599ed5590 [2023-11-15T22:22:08.868Z] ---> d514c0d0f56c [2023-11-15T22:22:08.868Z] Step 11/26 : COPY . . [2023-11-15T22:22:19.145Z] ---> 7774467dd11b [2023-11-15T22:22:19.145Z] Step 12/26 : RUN $MAKE [2023-11-15T22:22:19.145Z] ---> Running in 722f98c1dc38 [2023-11-15T22:22:19.145Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-15T22:24:55.934Z] Removing intermediate container 722f98c1dc38 [2023-11-15T22:24:55.934Z] ---> 8243d9a52597 [2023-11-15T22:24:55.934Z] Step 13/26 : FROM alpine:3.18 [2023-11-15T22:24:55.934Z] 3.18: Pulling from library/alpine [2023-11-15T22:24:55.934Z] 579b34f0a95b: Pulling fs layer [2023-11-15T22:24:55.934Z] 579b34f0a95b: Verifying Checksum [2023-11-15T22:24:55.934Z] 579b34f0a95b: Download complete [2023-11-15T22:24:55.934Z] 579b34f0a95b: Pull complete [2023-11-15T22:24:55.934Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T22:24:55.934Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T22:24:55.934Z] ---> 3cc203321400 [2023-11-15T22:24:55.934Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T22:24:55.934Z] ---> Running in 90e02a3d5d7d [2023-11-15T22:24:55.934Z] Removing intermediate container 90e02a3d5d7d [2023-11-15T22:24:55.934Z] ---> 240febc5cbb3 [2023-11-15T22:24:55.934Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-15T22:24:55.934Z] ---> Running in 1a3531b8d459 [2023-11-15T22:24:55.934Z] Removing intermediate container 1a3531b8d459 [2023-11-15T22:24:55.934Z] ---> 3745befa0257 [2023-11-15T22:24:55.934Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-11-15T22:24:55.934Z] ---> Running in eb0995365a5f [2023-11-15T22:24:55.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:24:55.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:24:56.902Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T22:24:56.902Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T22:24:56.902Z] OK: 8 MiB in 16 packages [2023-11-15T22:24:58.337Z] Removing intermediate container eb0995365a5f [2023-11-15T22:24:58.337Z] ---> 87e875441237 [2023-11-15T22:24:58.337Z] Step 17/26 : RUN apk --no-cache upgrade [2023-11-15T22:24:58.337Z] ---> Running in 0351883805db [2023-11-15T22:24:59.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T22:24:59.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T22:25:01.345Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:25:01.616Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:25:01.616Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T22:25:01.616Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:25:01.616Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:25:01.616Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T22:25:01.907Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T22:25:01.907Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T22:25:01.907Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T22:25:01.907Z] OK: 8 MiB in 16 packages [2023-11-15T22:25:03.341Z] Removing intermediate container 0351883805db [2023-11-15T22:25:03.341Z] ---> ccfbb08cddbc [2023-11-15T22:25:03.341Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2023-11-15T22:25:05.315Z] ---> 34c7dd62c7dc [2023-11-15T22:25:05.315Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-15T22:25:05.601Z] ---> 3b97320f6d7d [2023-11-15T22:25:05.601Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-15T22:25:06.191Z] ---> 4eb9f8a10a86 [2023-11-15T22:25:06.191Z] Step 21/26 : EXPOSE 59986 [2023-11-15T22:25:06.463Z] ---> Running in 4ac81ac4d184 [2023-11-15T22:25:06.738Z] Removing intermediate container 4ac81ac4d184 [2023-11-15T22:25:06.738Z] ---> 239913fe3649 [2023-11-15T22:25:06.738Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2023-11-15T22:25:07.018Z] ---> Running in be8c8303c096 [2023-11-15T22:25:07.292Z] Removing intermediate container be8c8303c096 [2023-11-15T22:25:07.292Z] ---> fc7e2bac6bea [2023-11-15T22:25:07.292Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T22:25:07.292Z] ---> Running in ddc39510d961 [2023-11-15T22:25:07.886Z] Removing intermediate container ddc39510d961 [2023-11-15T22:25:07.886Z] ---> 7179578d58d8 [2023-11-15T22:25:07.886Z] Step 24/26 : LABEL arch=arm64 [2023-11-15T22:25:07.886Z] ---> Running in 4eaac67ef820 [2023-11-15T22:25:08.157Z] Removing intermediate container 4eaac67ef820 [2023-11-15T22:25:08.157Z] ---> df1dd7274a4c [2023-11-15T22:25:08.157Z] Step 25/26 : LABEL git_sha=71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:25:08.435Z] ---> Running in 714b3fc3cc18 [2023-11-15T22:25:08.719Z] Removing intermediate container 714b3fc3cc18 [2023-11-15T22:25:08.719Z] ---> 5f38471c9639 [2023-11-15T22:25:08.719Z] Step 26/26 : LABEL version=3.1.0 [2023-11-15T22:25:08.996Z] ---> Running in a6db6a62008f [2023-11-15T22:25:09.269Z] Removing intermediate container a6db6a62008f [2023-11-15T22:25:09.269Z] ---> b68d40b5eaea [2023-11-15T22:25:09.269Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T22:25:09.865Z] Successfully built b68d40b5eaea [2023-11-15T22:25:09.865Z] 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-15T22:25:09.988Z] provisioning config files... [2023-11-15T22:25:10.011Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config15854202162652963040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:25:10.375Z] ---> docker-login.sh [2023-11-15T22:25:10.375Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:25:10.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:25:10.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:25:10.644Z] Configure a credential helper to remove this warning. See [2023-11-15T22:25:10.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:25:10.644Z] [2023-11-15T22:25:10.644Z] Login Succeeded [2023-11-15T22:25:10.644Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:25:11.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:25:11.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:25:11.241Z] Configure a credential helper to remove this warning. See [2023-11-15T22:25:11.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:25:11.241Z] [2023-11-15T22:25:11.241Z] Login Succeeded [2023-11-15T22:25:11.241Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:25:11.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:25:11.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:25:11.514Z] Configure a credential helper to remove this warning. See [2023-11-15T22:25:11.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:25:11.514Z] [2023-11-15T22:25:11.514Z] Login Succeeded [2023-11-15T22:25:11.514Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:25:12.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:25:12.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:25:12.105Z] Configure a credential helper to remove this warning. See [2023-11-15T22:25:12.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:25:12.105Z] [2023-11-15T22:25:12.105Z] Login Succeeded [2023-11-15T22:25:12.105Z] docker.io [2023-11-15T22:25:12.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:25:12.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:25:12.644Z] Configure a credential helper to remove this warning. See [2023-11-15T22:25:12.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:25:12.644Z] [2023-11-15T22:25:12.644Z] Login Succeeded [2023-11-15T22:25:12.644Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:25:12.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:25:12.698Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:25:12.729Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-15T22:25:12.729Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:25:12.729Z] 3.1.0 [2023-11-15T22:25:12.729Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:25:12.729Z] napa [2023-11-15T22:25:12.729Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:13.106Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:13.469Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:25:13.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-15T22:25:13.469Z] e47e4ecb15d8: Preparing [2023-11-15T22:25:13.469Z] f7911c5be82b: Preparing [2023-11-15T22:25:13.469Z] d5769afb4ade: Preparing [2023-11-15T22:25:13.469Z] 18e6492a4280: Preparing [2023-11-15T22:25:13.469Z] 68fb78429cff: Preparing [2023-11-15T22:25:13.469Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:25:13.469Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:25:13.739Z] f7911c5be82b: Pushed [2023-11-15T22:25:13.739Z] 68fb78429cff: Pushed [2023-11-15T22:25:13.739Z] e47e4ecb15d8: Pushed [2023-11-15T22:25:13.739Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:25:15.708Z] 18e6492a4280: Pushed [2023-11-15T22:25:21.072Z] d5769afb4ade: Pushed [2023-11-15T22:25:21.072Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:21.444Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:21.817Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 [2023-11-15T22:25:21.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-15T22:25:21.817Z] e47e4ecb15d8: Preparing [2023-11-15T22:25:21.817Z] f7911c5be82b: Preparing [2023-11-15T22:25:21.817Z] d5769afb4ade: Preparing [2023-11-15T22:25:21.817Z] 18e6492a4280: Preparing [2023-11-15T22:25:21.817Z] 68fb78429cff: Preparing [2023-11-15T22:25:21.817Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:25:21.817Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:25:21.817Z] f7911c5be82b: Layer already exists [2023-11-15T22:25:21.817Z] 18e6492a4280: Layer already exists [2023-11-15T22:25:21.817Z] 68fb78429cff: Layer already exists [2023-11-15T22:25:21.817Z] e47e4ecb15d8: Layer already exists [2023-11-15T22:25:21.817Z] d5769afb4ade: Layer already exists [2023-11-15T22:25:22.087Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:25:22.087Z] 3.1.0: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:22.478Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:22.834Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:25:22.834Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-15T22:25:22.834Z] e47e4ecb15d8: Preparing [2023-11-15T22:25:22.834Z] f7911c5be82b: Preparing [2023-11-15T22:25:22.834Z] d5769afb4ade: Preparing [2023-11-15T22:25:22.834Z] 18e6492a4280: Preparing [2023-11-15T22:25:22.834Z] 68fb78429cff: Preparing [2023-11-15T22:25:22.834Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:25:22.834Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:25:22.834Z] 68fb78429cff: Layer already exists [2023-11-15T22:25:22.834Z] 18e6492a4280: Layer already exists [2023-11-15T22:25:22.834Z] d5769afb4ade: Layer already exists [2023-11-15T22:25:22.834Z] f7911c5be82b: Layer already exists [2023-11-15T22:25:22.834Z] e47e4ecb15d8: Layer already exists [2023-11-15T22:25:22.834Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:25:23.104Z] 71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:23.489Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:23.860Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [2023-11-15T22:25:23.860Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-15T22:25:23.860Z] e47e4ecb15d8: Preparing [2023-11-15T22:25:23.861Z] f7911c5be82b: Preparing [2023-11-15T22:25:23.861Z] d5769afb4ade: Preparing [2023-11-15T22:25:23.861Z] 18e6492a4280: Preparing [2023-11-15T22:25:23.861Z] 68fb78429cff: Preparing [2023-11-15T22:25:23.861Z] 5f4d9fc4d98d: Preparing [2023-11-15T22:25:23.861Z] 5f4d9fc4d98d: Waiting [2023-11-15T22:25:23.861Z] d5769afb4ade: Layer already exists [2023-11-15T22:25:23.861Z] 18e6492a4280: Layer already exists [2023-11-15T22:25:23.861Z] e47e4ecb15d8: Layer already exists [2023-11-15T22:25:23.861Z] 68fb78429cff: Layer already exists [2023-11-15T22:25:23.861Z] f7911c5be82b: Layer already exists [2023-11-15T22:25:24.130Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T22:25:24.130Z] napa: digest: sha256:e8006d1d41413cdab35aa80d15411ed055eb897ad52f5f7b8f3b1b693f6b1e7d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T22:25:24.201Z] ===================================================== [Pipeline] echo [2023-11-15T22:25:24.214Z] taggedImages: [2023-11-15T22:25:24.214Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88 [2023-11-15T22:25:24.214Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0 [2023-11-15T22:25:24.214Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:71bb43dbd033e4b79fac5b32175e59679d8e2e88-3.1.0 [2023-11-15T22:25:24.214Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:24.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:25:24.625Z] [2023-11-15T22:25:24.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:25:24.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:25:25.246Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T22:25:25.246Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T22:25:25.246Z] 04944245beec: Pulling fs layer [2023-11-15T22:25:25.246Z] 699f458cf7ca: Pulling fs layer [2023-11-15T22:25:25.246Z] 765212b225bb: Pulling fs layer [2023-11-15T22:25:25.246Z] f23df028b6ca: Pulling fs layer [2023-11-15T22:25:25.246Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T22:25:25.246Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T22:25:25.246Z] f23df028b6ca: Waiting [2023-11-15T22:25:25.246Z] d65c8cfc05b1: Waiting [2023-11-15T22:25:25.246Z] 765212b225bb: Waiting [2023-11-15T22:25:25.246Z] 2437ff75d9bd: Waiting [2023-11-15T22:25:25.246Z] 04944245beec: Verifying Checksum [2023-11-15T22:25:25.246Z] 04944245beec: Download complete [2023-11-15T22:25:25.246Z] 765212b225bb: Download complete [2023-11-15T22:25:25.246Z] f23df028b6ca: Verifying Checksum [2023-11-15T22:25:25.246Z] f23df028b6ca: Download complete [2023-11-15T22:25:25.246Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T22:25:25.246Z] d65c8cfc05b1: Download complete [2023-11-15T22:25:25.518Z] 699f458cf7ca: Verifying Checksum [2023-11-15T22:25:25.518Z] 699f458cf7ca: Download complete [2023-11-15T22:25:26.131Z] 8998bd30e6a1: Download complete [2023-11-15T22:25:28.766Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T22:25:28.766Z] 2437ff75d9bd: Download complete [2023-11-15T22:25:30.720Z] 8998bd30e6a1: Pull complete [2023-11-15T22:25:31.337Z] 04944245beec: Pull complete [2023-11-15T22:25:33.313Z] 699f458cf7ca: Pull complete [2023-11-15T22:25:33.313Z] 765212b225bb: Pull complete [2023-11-15T22:25:34.746Z] f23df028b6ca: Pull complete [2023-11-15T22:25:34.746Z] d65c8cfc05b1: Pull complete [2023-11-15T22:25:56.893Z] 2437ff75d9bd: Pull complete [2023-11-15T22:25:56.893Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T22:25:56.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T22:25:56.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:25:57.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-18178 does not seem to be running inside a container [2023-11-15T22:25:57.495Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-15T22:26:00.933Z] $ docker top d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:26:01.878Z] ---> job-cost.sh [2023-11-15T22:26:02.147Z] lf-activate-venv: SKIPPING [2023-11-15T22:26:02.147Z] INFO: No Stack... [2023-11-15T22:26:02.416Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T22:26:03.382Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T22:26:04.043Z] + + catcut /w/workspace/device-rest-go/2/archives/cost.csv -d, [2023-11-15T22:26:04.044Z] -f6 [Pipeline] lock [2023-11-15T22:26:04.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [2023-11-15T22:26:04.076Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] did not exist. Created. [2023-11-15T22:26:04.076Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T22:26:04.756Z] /w/workspace/device-rest-go/2@tmp/durable-7813eeed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T22:26:05.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T22:26:05.468Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T22:26:06.019Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T22:26:06.026Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T22:26:06.044Z] $ docker stop --time=1 d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 [2023-11-15T22:26:07.768Z] $ docker rm -f --volumes d14f37751582bda0d147b433ee9251a6e93d27b71f21a3b69225d732560baeb4 [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-15T22:26:08.220Z] provisioning config files... [2023-11-15T22:26:08.226Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config18051944062758585724tmp [Pipeline] { [Pipeline] sh [2023-11-15T22:26:08.519Z] + set +x [2023-11-15T22:26:08.519Z] + curl -s https://codecov.io/bash [2023-11-15T22:26:08.519Z] + bash -s -- [2023-11-15T22:26:08.519Z] [2023-11-15T22:26:08.519Z] _____ _ [2023-11-15T22:26:08.519Z] / ____| | | [2023-11-15T22:26:08.519Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T22:26:08.519Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T22:26:08.519Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T22:26:08.519Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T22:26:08.519Z] Bash-1.0.6 [2023-11-15T22:26:08.519Z] [2023-11-15T22:26:08.519Z] [2023-11-15T22:26:08.519Z] ==> git version 2.25.1 found [2023-11-15T22:26:08.519Z] ==> 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-15T22:26:08.519Z] Release-Date: 2020-01-08 [2023-11-15T22:26:08.519Z] 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-15T22:26:08.519Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T22:26:08.519Z] ==> Jenkins CI detected. [2023-11-15T22:26:08.519Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_napa [2023-11-15T22:26:08.519Z] project root: . [2023-11-15T22:26:08.519Z] --> token set from env [2023-11-15T22:26:08.519Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2023-11-15T22:26:08.519Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T22:26:08.779Z] ==> Python coveragepy not found [2023-11-15T22:26:08.779Z] ==> Searching for coverage reports in: [2023-11-15T22:26:08.779Z] + . [2023-11-15T22:26:08.779Z] -> Found 1 reports [2023-11-15T22:26:08.779Z] ==> Detecting git/mercurial file structure [2023-11-15T22:26:08.779Z] ==> Reading reports [2023-11-15T22:26:08.779Z] + ./coverage.out bytes=14499 [2023-11-15T22:26:08.779Z] ==> Appending adjustments [2023-11-15T22:26:08.779Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T22:26:08.779Z] + Found adjustments [2023-11-15T22:26:08.779Z] ==> Gzipping contents [2023-11-15T22:26:08.779Z] 16K /tmp/codecov.talToL.gz [2023-11-15T22:26:08.779Z] ==> Uploading reports [2023-11-15T22:26:08.779Z] url: https://codecov.io [2023-11-15T22:26:08.779Z] query: branch=napa&commit=71bb43dbd033e4b79fac5b32175e59679d8e2e88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T22:26:08.779Z] -> Pinging Codecov [2023-11-15T22:26:08.779Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=napa&commit=71bb43dbd033e4b79fac5b32175e59679d8e2e88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T22:26:09.039Z] -> Uploading to [2023-11-15T22:26:09.039Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/4E5D53B4F1F92C436F7061BF334D961C/71bb43dbd033e4b79fac5b32175e59679d8e2e88/f5b7dfe8-2f22-41db-8f38-4db8d6b4b8c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T222608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ab9fc1dfdbf77ed7983c8ca41a4e0063e22b64ff5987c7c85e8c92ff4212a2b [2023-11-15T22:26:09.039Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T22:26:09.039Z] Dload Upload Total Spent Left Speed [2023-11-15T22:26:09.298Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14167 0 0 100 14167 0 69788 --:--:-- --:--:-- --:--:-- 69446 100 14167 0 0 100 14167 0 46297 --:--:-- --:--:-- --:--:-- 46146 [2023-11-15T22:26:09.298Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] } [2023-11-15T22:26:09.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-15T22:26:09.483Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-15T22:26:09.494Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:09.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:26:09.791Z] [2023-11-15T22:26:09.791Z] 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-15T22:26:10.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:26:10.091Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-15T22:26:10.091Z] df9b9388f04a: Pulling fs layer [2023-11-15T22:26:10.091Z] 52dc419b0ee2: Pulling fs layer [2023-11-15T22:26:10.091Z] 25bc292e5bac: Pulling fs layer [2023-11-15T22:26:10.091Z] 114826534d7a: Pulling fs layer [2023-11-15T22:26:10.091Z] 4657fd5d0bcf: Pulling fs layer [2023-11-15T22:26:10.091Z] 6ad1cebc031e: Pulling fs layer [2023-11-15T22:26:10.091Z] 8a3aa393b2d8: Pulling fs layer [2023-11-15T22:26:10.091Z] 114826534d7a: Waiting [2023-11-15T22:26:10.091Z] 6ad1cebc031e: Waiting [2023-11-15T22:26:10.091Z] 8a3aa393b2d8: Waiting [2023-11-15T22:26:10.091Z] 25bc292e5bac: Verifying Checksum [2023-11-15T22:26:10.091Z] 25bc292e5bac: Download complete [2023-11-15T22:26:10.091Z] 52dc419b0ee2: Verifying Checksum [2023-11-15T22:26:10.091Z] 52dc419b0ee2: Download complete [2023-11-15T22:26:10.091Z] 4657fd5d0bcf: Verifying Checksum [2023-11-15T22:26:10.091Z] 4657fd5d0bcf: Download complete [2023-11-15T22:26:10.091Z] df9b9388f04a: Download complete [2023-11-15T22:26:10.351Z] df9b9388f04a: Pull complete [2023-11-15T22:26:10.351Z] 6ad1cebc031e: Verifying Checksum [2023-11-15T22:26:10.351Z] 6ad1cebc031e: Download complete [2023-11-15T22:26:10.351Z] 52dc419b0ee2: Pull complete [2023-11-15T22:26:10.351Z] 25bc292e5bac: Pull complete [2023-11-15T22:26:10.918Z] 114826534d7a: Verifying Checksum [2023-11-15T22:26:10.918Z] 114826534d7a: Download complete [2023-11-15T22:26:10.918Z] 8a3aa393b2d8: Verifying Checksum [2023-11-15T22:26:10.918Z] 8a3aa393b2d8: Download complete [2023-11-15T22:26:14.194Z] 114826534d7a: Pull complete [2023-11-15T22:26:14.194Z] 4657fd5d0bcf: Pull complete [2023-11-15T22:26:14.452Z] 6ad1cebc031e: Pull complete [2023-11-15T22:26:16.981Z] 8a3aa393b2d8: Pull complete [2023-11-15T22:26:16.981Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-15T22:26:16.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T22:26:16.981Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:26:17.070Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:26:17.099Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-15T22:26:25.116Z] $ docker top e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-15T22:26:25.201Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh [2023-11-15T22:26:25.484Z] + set -o pipefail [2023-11-15T22:26:25.484Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' [2023-11-15T22:26:28.021Z] [2023-11-15T22:26:28.021Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_napa (github.com/edgexfoundry/device-rest-go)... [2023-11-15T22:26:28.021Z] [2023-11-15T22:26:28.021Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/beda9d0a-5fa3-42d4-aa43-7b5ca4c1c105/history/d1b736b4-989c-4ef7-a817-a74f83ed37e9 [2023-11-15T22:26:28.021Z] [2023-11-15T22:26:28.021Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-15T22:26:28.021Z] [2023-11-15T22:26:28.282Z] [2023-11-15T22:26:28.282Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-15T22:26:28.282Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-15T22:26:28.282Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-11-15T22:26:28.286Z] $ docker stop --time=1 e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f [2023-11-15T22:26:29.620Z] $ docker rm -f --volumes e263b504d45264c53e1a0480498598dc4e64200fb26c5540d201b7d29e08e49f [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-15T22:26:30.195Z] + git log --format=format:%s -1 71bb43dbd033e4b79fac5b32175e59679d8e2e88 [Pipeline] sh [2023-11-15T22:26:30.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:26:30.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:30.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:26:30.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:26:30.845Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:26:30.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:26:31.180Z] $ docker top bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 -eo pid,comm [2023-11-15T22:26:31.227Z] 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-15T22:26:31.227Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:26:31.253Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:26:31.544Z] + git semver [Pipeline] } [2023-11-15T22:26:31.808Z] $ docker stop --time=1 bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 [2023-11-15T22:26:33.050Z] $ docker rm -f --volumes bef2d1bba7f724b9ac26d40e01c4e3f75a286c3bcb33bdd0f672b9748323ddc1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:33.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:26:33.433Z] [2023-11-15T22:26:33.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:33.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:26:33.738Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-15T22:26:33.738Z] ab5ef0e58194: Pulling fs layer [2023-11-15T22:26:33.738Z] 9712f1f96733: Pulling fs layer [2023-11-15T22:26:33.738Z] 63f879dbbcfc: Pulling fs layer [2023-11-15T22:26:33.738Z] 0d9ebad4ef96: Pulling fs layer [2023-11-15T22:26:33.738Z] e9a5061849ea: Pulling fs layer [2023-11-15T22:26:33.738Z] d747dcd14b5f: Pulling fs layer [2023-11-15T22:26:33.738Z] 2de7ff778b66: Pulling fs layer [2023-11-15T22:26:33.738Z] e9a5061849ea: Waiting [2023-11-15T22:26:33.738Z] d747dcd14b5f: Waiting [2023-11-15T22:26:33.738Z] 2de7ff778b66: Waiting [2023-11-15T22:26:33.738Z] 0d9ebad4ef96: Waiting [2023-11-15T22:26:33.738Z] 9712f1f96733: Verifying Checksum [2023-11-15T22:26:33.738Z] 9712f1f96733: Download complete [2023-11-15T22:26:33.996Z] 63f879dbbcfc: Verifying Checksum [2023-11-15T22:26:33.996Z] 63f879dbbcfc: Download complete [2023-11-15T22:26:34.254Z] 0d9ebad4ef96: Verifying Checksum [2023-11-15T22:26:34.254Z] 0d9ebad4ef96: Download complete [2023-11-15T22:26:34.254Z] e9a5061849ea: Verifying Checksum [2023-11-15T22:26:34.254Z] e9a5061849ea: Download complete [2023-11-15T22:26:34.254Z] d747dcd14b5f: Verifying Checksum [2023-11-15T22:26:34.254Z] d747dcd14b5f: Download complete [2023-11-15T22:26:34.254Z] ab5ef0e58194: Download complete [2023-11-15T22:26:34.254Z] 2de7ff778b66: Verifying Checksum [2023-11-15T22:26:34.254Z] 2de7ff778b66: Download complete [2023-11-15T22:26:36.779Z] ab5ef0e58194: Pull complete [2023-11-15T22:26:36.779Z] 9712f1f96733: Pull complete [2023-11-15T22:26:37.712Z] 63f879dbbcfc: Pull complete [2023-11-15T22:26:40.988Z] 0d9ebad4ef96: Pull complete [2023-11-15T22:26:41.245Z] e9a5061849ea: Pull complete [2023-11-15T22:26:41.245Z] d747dcd14b5f: Pull complete [2023-11-15T22:26:42.177Z] 2de7ff778b66: Pull complete [2023-11-15T22:26:42.177Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-15T22:26:42.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T22:26:42.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:26:42.263Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:26:42.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-15T22:26:50.393Z] $ docker top 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:26:50.474Z] provisioning config files... [2023-11-15T22:26:50.483Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config9104755579075653519tmp [2023-11-15T22:26:50.496Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config13413818435433421895tmp [2023-11-15T22:26:50.505Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config1644260106995670859tmp [Pipeline] { [Pipeline] echo [2023-11-15T22:26:50.519Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:26:50.855Z] ---> sigul-configuration.sh [2023-11-15T22:26:50.855Z] gpg: directory `/root/.gnupg' created [2023-11-15T22:26:50.855Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-15T22:26:50.855Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-15T22:26:50.855Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-15T22:26:50.855Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-15T22:26:50.855Z] gpg: CAST5 encrypted data [2023-11-15T22:26:50.855Z] gpg: encrypted with 1 passphrase [2023-11-15T22:26:50.855Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-15T22:26:51.146Z] + mkdir /home/jenkins [2023-11-15T22:26:51.146Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-15T22:26:51.430Z] + 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-15T22:26:51.439Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:26:51.722Z] ---> sigul-install.sh [2023-11-15T22:26:51.722Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-15T22:26:52.020Z] + git tag --list [2023-11-15T22:26:52.020Z] v1.0.0 [2023-11-15T22:26:52.020Z] v1.1.0 [2023-11-15T22:26:52.020Z] v1.1.1 [2023-11-15T22:26:52.020Z] v1.1.2 [2023-11-15T22:26:52.020Z] v1.2.0 [2023-11-15T22:26:52.020Z] v1.2.1 [2023-11-15T22:26:52.020Z] v2.0.0 [2023-11-15T22:26:52.020Z] v2.1.0 [2023-11-15T22:26:52.020Z] v2.1.1 [2023-11-15T22:26:52.020Z] v2.2.0 [2023-11-15T22:26:52.020Z] v2.3.0 [2023-11-15T22:26:52.020Z] v3.0 [2023-11-15T22:26:52.020Z] v3.0.0 [2023-11-15T22:26:52.020Z] v3.1.0 [2023-11-15T22:26:52.020Z] v3.1.0-dev.1 [2023-11-15T22:26:52.020Z] v3.1.0-dev.10 [2023-11-15T22:26:52.020Z] v3.1.0-dev.11 [2023-11-15T22:26:52.020Z] v3.1.0-dev.12 [2023-11-15T22:26:52.020Z] v3.1.0-dev.13 [2023-11-15T22:26:52.020Z] v3.1.0-dev.14 [2023-11-15T22:26:52.020Z] v3.1.0-dev.15 [2023-11-15T22:26:52.020Z] v3.1.0-dev.16 [2023-11-15T22:26:52.020Z] v3.1.0-dev.17 [2023-11-15T22:26:52.020Z] v3.1.0-dev.18 [2023-11-15T22:26:52.020Z] v3.1.0-dev.19 [2023-11-15T22:26:52.020Z] v3.1.0-dev.2 [2023-11-15T22:26:52.020Z] v3.1.0-dev.20 [2023-11-15T22:26:52.020Z] v3.1.0-dev.21 [2023-11-15T22:26:52.020Z] v3.1.0-dev.22 [2023-11-15T22:26:52.020Z] v3.1.0-dev.23 [2023-11-15T22:26:52.020Z] v3.1.0-dev.24 [2023-11-15T22:26:52.020Z] v3.1.0-dev.25 [2023-11-15T22:26:52.020Z] v3.1.0-dev.26 [2023-11-15T22:26:52.020Z] v3.1.0-dev.27 [2023-11-15T22:26:52.020Z] v3.1.0-dev.28 [2023-11-15T22:26:52.020Z] v3.1.0-dev.29 [2023-11-15T22:26:52.020Z] v3.1.0-dev.3 [2023-11-15T22:26:52.020Z] v3.1.0-dev.30 [2023-11-15T22:26:52.020Z] v3.1.0-dev.31 [2023-11-15T22:26:52.020Z] v3.1.0-dev.32 [2023-11-15T22:26:52.020Z] v3.1.0-dev.4 [2023-11-15T22:26:52.020Z] v3.1.0-dev.5 [2023-11-15T22:26:52.020Z] v3.1.0-dev.6 [2023-11-15T22:26:52.020Z] v3.1.0-dev.7 [2023-11-15T22:26:52.020Z] v3.1.0-dev.8 [2023-11-15T22:26:52.020Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-15T22:26:52.305Z] + lftools sign git-tag v3.1.0 [2023-11-15T22:26:52.872Z] Signing Git tag with Sigul... [2023-11-15T22:26:52.872Z] Signing v3.1.0 [Pipeline] echo [2023-11-15T22:26:53.141Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:26:53.427Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-15T22:26:53.435Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-15T22:26:53.446Z] $ docker stop --time=1 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 [2023-11-15T22:26:54.744Z] $ docker rm -f --volumes 244eafefe6157357769e348fe1b37fe900406e06d63a10ce31d5fbaf7fc16498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-15T22:26:55.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:26:55.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:55.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:26:55.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:26:55.537Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:26:55.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:26:55.894Z] $ docker top 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 -eo pid,comm [2023-11-15T22:26:55.953Z] 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-15T22:26:55.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:26:55.983Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:26:56.276Z] + git semver [Pipeline] } [2023-11-15T22:26:56.538Z] $ docker stop --time=1 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 [2023-11-15T22:26:57.801Z] $ docker rm -f --volumes 889c000f4d96419e4f3ae07e18d98939f12690107e1a5b3e98fdb259941dbf63 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:26:58.155Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:26:58.155Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:26:58.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:26:58.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:26:58.531Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:26:58.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:26:58.875Z] $ docker top 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:26:58.964Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:26:59.253Z] + git semver [Pipeline] } [2023-11-15T22:26:59.518Z] $ docker stop --time=1 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c [2023-11-15T22:27:00.793Z] $ docker rm -f --volumes 04a7b838cc7d2fde62024d259395570e2b223d9385c6ffb1be550a67e8edff2c [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-15T22:27:01.364Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] [2023-11-15T22:27:01.364Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2023-11-15T22:27:01.364Z] total 16 [2023-11-15T22:27:01.364Z] drwxr-xr-x 3 root root 4096 Nov 15 22:14 . [2023-11-15T22:27:01.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:26 .. [2023-11-15T22:27:01.364Z] drwxr-xr-x 2 root root 4096 Nov 15 22:14 cost [2023-11-15T22:27:01.364Z] -rw-r--r-- 1 root root 84 Nov 15 22:14 cost.csv [2023-11-15T22:27:01.364Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives [2023-11-15T22:27:01.364Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2023-11-15T22:27:01.364Z] total 16 [2023-11-15T22:27:01.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:14 . [2023-11-15T22:27:01.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:26 .. [2023-11-15T22:27:01.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:14 cost [2023-11-15T22:27:01.364Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 15 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:01.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:02.517Z] ---> package-listing.sh [2023-11-15T22:27:02.517Z] ++ facter osfamily [2023-11-15T22:27:02.517Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T22:27:02.776Z] + OS_FAMILY=debian [2023-11-15T22:27:02.776Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_napa [2023-11-15T22:27:02.776Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T22:27:02.776Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T22:27:02.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T22:27:02.776Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T22:27:02.776Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2023-11-15T22:27:02.776Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T22:27:02.776Z] + case "${OS_FAMILY}" in [2023-11-15T22:27:02.776Z] + dpkg -l [2023-11-15T22:27:02.776Z] + grep '^ii' [2023-11-15T22:27:02.776Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T22:27:02.776Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T22:27:02.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T22:27:02.776Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2023-11-15T22:27:02.776Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [2023-11-15T22:27:02.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo [2023-11-15T22:27:02.788Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T22:27:03.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:27:03.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T22:27:03.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:27:03.553Z] prd-ubuntu20.04-docker-8c-8g-18173 does not seem to be running inside a container [2023-11-15T22:27:03.577Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T22:27:03.797Z] $ docker top 5e8ba9a84ce22dc60d74f26b21b5eb69ed1a7223d2e5ddc76bcc440b0569a396 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T22:27:04.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T22:27:04.424Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T22:27:04.709Z] + ls /var/log/sa-host [2023-11-15T22:27:04.709Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:27:04.784Z] provisioning config files... [2023-11-15T22:27:04.793Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config9575252600171438546tmp [Pipeline] { [Pipeline] echo [2023-11-15T22:27:04.807Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:05.090Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T22:27:05.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:05.422Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T22:27:05.432Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:05.716Z] ---> sudo-logs.sh [2023-11-15T22:27:05.717Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T22:27:05.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:06.032Z] ---> job-cost.sh [2023-11-15T22:27:06.033Z] lf-activate-venv: SKIPPING [2023-11-15T22:27:06.033Z] DEBUG: total: 0.2199999988079071 [2023-11-15T22:27:06.033Z] INFO: Retrieving Stack Cost... [2023-11-15T22:27:06.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T22:27:06.858Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T22:27:06.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:27:07.152Z] ---> logs-deploy.sh [2023-11-15T22:27:07.152Z] lf-activate-venv: SKIPPING [2023-11-15T22:27:07.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/2 [2023-11-15T22:27:07.152Z] INFO: archiving workspace using pattern(s): [2023-11-15T22:27:08.089Z] Archives upload complete. [2023-11-15T22:27:08.089Z] INFO: archiving logs to Nexus