Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e3f17100cbecc49b07fca8c81a93e30a5261c95 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-ssh17880835918591143065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12918808290266843448.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7824983696772558701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5813458585685598688.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1106407575297189909.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17551 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) Commit message: "docs: Update changelog for v3.0 (#326)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 > git rev-list --no-walk 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-31T20:38:44.803Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-31T20:38:44.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:38:44.888Z] ========================================================= [2023-05-31T20:38:44.888Z] EdgeX Global Pipelines Version Info [2023-05-31T20:38:44.888Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:38:45.618Z] ------------------- [2023-05-31T20:38:45.618Z] stable info: [2023-05-31T20:38:45.618Z] ------------------- [2023-05-31T20:38:45.618Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-31T20:38:45.618Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:38:45.618Z] Message: update stable to v1.0.249 [2023-05-31T20:38:46.191Z] ------------------- [2023-05-31T20:38:46.191Z] experimental info: [2023-05-31T20:38:46.191Z] ------------------- [2023-05-31T20:38:46.191Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-31T20:38:46.191Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:38:46.191Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-31T20:38:46.356Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-31T20:38:46.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-31T20:38:46.379Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-31T20:38:46.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-31T20:38:46.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-31T20:38:46.414Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-31T20:38:46.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-31T20:38:46.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-31T20:38:46.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-31T20:38:46.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-31T20:38:46.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-31T20:38:46.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-31T20:38:46.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-31T20:38:46.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-31T20:38:46.539Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:38:46.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:38:46.567Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:38:46.578Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:38:46.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-31T20:38:46.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-31T20:38:46.613Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-31T20:38:46.622Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-31T20:38:46.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-31T20:38:46.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-31T20:38:46.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-31T20:38:46.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-31T20:38:46.669Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-31T20:38:46.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-31T20:38:46.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-31T20:38:46.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-31T20:38:46.712Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo [2023-05-31T20:38:46.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e3f171 [Pipeline] echo [2023-05-31T20:38:46.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:38:46.788Z] provisioning config files... [2023-05-31T20:38:46.800Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3022098945563488918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:38:47.096Z] ---> docker-login.sh [2023-05-31T20:38:47.096Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:38:47.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:47.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:47.356Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:47.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:47.356Z] [2023-05-31T20:38:47.356Z] Login Succeeded [2023-05-31T20:38:47.356Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:38:47.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:47.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:47.615Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:47.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:47.615Z] [2023-05-31T20:38:47.615Z] Login Succeeded [2023-05-31T20:38:47.615Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:38:47.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:47.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:47.615Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:47.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:47.615Z] [2023-05-31T20:38:47.615Z] Login Succeeded [2023-05-31T20:38:47.615Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:38:47.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:47.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:47.875Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:47.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:47.875Z] [2023-05-31T20:38:47.875Z] Login Succeeded [2023-05-31T20:38:47.875Z] docker.io [2023-05-31T20:38:47.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:48.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:48.137Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:48.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:48.137Z] [2023-05-31T20:38:48.137Z] Login Succeeded [2023-05-31T20:38:48.137Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:38:48.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-31T20:38:48.524Z] + git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo [2023-05-31T20:38:48.578Z] -----------> git rev-list -1 --merges 1e3f17100cbecc49b07fca8c81a93e30a5261c95~1..1e3f17100cbecc49b07fca8c81a93e30a5261c95 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [false] [Pipeline] sh [2023-05-31T20:38:48.866Z] + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo [2023-05-31T20:38:48.902Z] ========================================================= [2023-05-31T20:38:48.902Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-31T20:38:48.902Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:38:49.232Z] + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] echo [2023-05-31T20:38:49.243Z] [semverPrep] GIT_COMMIT: 1e3f17100cbecc49b07fca8c81a93e30a5261c95, Commit Message: docs: Update changelog for v3.0 (#326) [Pipeline] echo [2023-05-31T20:38:49.254Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-31T20:38:49.605Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:38:49.605Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-31T20:38:49.605Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-31T20:38:49.605Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-31T20:38:49.605Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-31T20:38:49.605Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-31T20:38:49.605Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:49.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:38:49.965Z] [2023-05-31T20:38:49.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:50.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:38:50.270Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-31T20:38:50.270Z] b85a868b505f: Pulling fs layer [2023-05-31T20:38:50.270Z] e2be974225ed: Pulling fs layer [2023-05-31T20:38:50.270Z] 339a4e72a1f5: Pulling fs layer [2023-05-31T20:38:50.270Z] 988bab9f4d93: Pulling fs layer [2023-05-31T20:38:50.270Z] 1469e6f7b9e6: Pulling fs layer [2023-05-31T20:38:50.270Z] eaf3925da568: Pulling fs layer [2023-05-31T20:38:50.270Z] bab4dde63d76: Pulling fs layer [2023-05-31T20:38:50.270Z] 988bab9f4d93: Waiting [2023-05-31T20:38:50.270Z] bde34c3a00c8: Pulling fs layer [2023-05-31T20:38:50.270Z] b352a97aabf1: Pulling fs layer [2023-05-31T20:38:50.270Z] 1469e6f7b9e6: Waiting [2023-05-31T20:38:50.270Z] 4872d77fe225: Pulling fs layer [2023-05-31T20:38:50.270Z] bde34c3a00c8: Waiting [2023-05-31T20:38:50.270Z] 5851b861e8e6: Pulling fs layer [2023-05-31T20:38:50.270Z] bab4dde63d76: Waiting [2023-05-31T20:38:50.270Z] b352a97aabf1: Waiting [2023-05-31T20:38:50.270Z] 4872d77fe225: Waiting [2023-05-31T20:38:50.270Z] e2be974225ed: Download complete [2023-05-31T20:38:50.270Z] 988bab9f4d93: Download complete [2023-05-31T20:38:50.270Z] 1469e6f7b9e6: Verifying Checksum [2023-05-31T20:38:50.270Z] 1469e6f7b9e6: Download complete [2023-05-31T20:38:50.529Z] 339a4e72a1f5: Verifying Checksum [2023-05-31T20:38:50.529Z] 339a4e72a1f5: Download complete [2023-05-31T20:38:50.529Z] eaf3925da568: Download complete [2023-05-31T20:38:50.529Z] bde34c3a00c8: Download complete [2023-05-31T20:38:50.529Z] b352a97aabf1: Download complete [2023-05-31T20:38:50.529Z] 4872d77fe225: Verifying Checksum [2023-05-31T20:38:50.529Z] 4872d77fe225: Download complete [2023-05-31T20:38:50.529Z] 5851b861e8e6: Verifying Checksum [2023-05-31T20:38:50.529Z] 5851b861e8e6: Download complete [2023-05-31T20:38:50.529Z] b85a868b505f: Verifying Checksum [2023-05-31T20:38:50.529Z] b85a868b505f: Download complete [2023-05-31T20:38:50.787Z] bab4dde63d76: Verifying Checksum [2023-05-31T20:38:50.787Z] bab4dde63d76: Download complete [2023-05-31T20:38:52.174Z] b85a868b505f: Pull complete [2023-05-31T20:38:52.174Z] e2be974225ed: Pull complete [2023-05-31T20:38:52.742Z] 339a4e72a1f5: Pull complete [2023-05-31T20:38:52.742Z] 988bab9f4d93: Pull complete [2023-05-31T20:38:53.002Z] 1469e6f7b9e6: Pull complete [2023-05-31T20:38:53.262Z] eaf3925da568: Pull complete [2023-05-31T20:38:55.167Z] bab4dde63d76: Pull complete [2023-05-31T20:38:55.167Z] bde34c3a00c8: Pull complete [2023-05-31T20:38:55.167Z] b352a97aabf1: Pull complete [2023-05-31T20:38:55.426Z] 4872d77fe225: Pull complete [2023-05-31T20:38:55.426Z] 5851b861e8e6: Pull complete [2023-05-31T20:38:55.426Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-31T20:38:55.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:38:55.427Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:38:55.524Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:38:55.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:38:58.176Z] $ docker top 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 -eo pid,comm [2023-05-31T20:38:58.237Z] 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-05-31T20:38:58.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T20:38:58.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:38:58.279Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:38:58.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:38:58.394Z] $ docker exec 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent [2023-05-31T20:38:58.534Z] SSH_AUTH_SOCK=/tmp/ssh-rbzGsPvaLpPY/agent.32 [2023-05-31T20:38:58.534Z] SSH_AGENT_PID=38 [2023-05-31T20:38:58.543Z] Running ssh-add (command line suppressed) [2023-05-31T20:38:58.644Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10457892292810701239.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10457892292810701239.key) [2023-05-31T20:38:58.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:38:58.949Z] + git tag --points-at 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [2023-05-31T20:38:58.956Z] $ docker exec --env ******** --env ******** 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent -k [2023-05-31T20:38:59.068Z] unset SSH_AUTH_SOCK; [2023-05-31T20:38:59.069Z] unset SSH_AGENT_PID; [2023-05-31T20:38:59.069Z] echo Agent pid 38 killed; [2023-05-31T20:38:59.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-05-31T20:38:59.103Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.47' [Pipeline] sshagent [2023-05-31T20:38:59.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:38:59.117Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:38:59.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:38:59.250Z] $ docker exec 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent [2023-05-31T20:38:59.362Z] SSH_AUTH_SOCK=/tmp/ssh-lc2YjznMROw8/agent.70 [2023-05-31T20:38:59.362Z] SSH_AGENT_PID=76 [2023-05-31T20:38:59.368Z] Running ssh-add (command line suppressed) [2023-05-31T20:38:59.463Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4021072816263433524.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4021072816263433524.key) [2023-05-31T20:38:59.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:38:59.782Z] + git semver init [2023-05-31T20:39:00.043Z] 2023-05-31 20:38:59,995 [run_init] DEBUG init version:0.0.0 force:False [2023-05-31T20:39:00.043Z] 2023-05-31 20:38:59,996 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-31T20:39:00.043Z] 2023-05-31 20:38:59,996 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-31T20:39:00.043Z] 2023-05-31 20:38:59,997 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-31T20:39:01.424Z] 2023-05-31 20:39:00,987 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-05-31T20:39:01.424Z] 2023-05-31 20:39:00,988 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-05-31T20:39:01.424Z] 2023-05-31 20:39:00,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-31T20:39:01.424Z] 2023-05-31 20:39:00,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-31T20:39:01.424Z] 3.0.0 [Pipeline] } [2023-05-31T20:39:01.431Z] $ docker exec --env ******** --env ******** 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 ssh-agent -k [2023-05-31T20:39:01.536Z] unset SSH_AUTH_SOCK; [2023-05-31T20:39:01.537Z] unset SSH_AGENT_PID; [2023-05-31T20:39:01.537Z] echo Agent pid 76 killed; [2023-05-31T20:39:01.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:39:01.872Z] + git semver [Pipeline] } [2023-05-31T20:39:02.141Z] $ docker stop --time=1 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 [2023-05-31T20:39:03.452Z] $ docker rm -f --volumes 8b76cd31fd4accd474e8c5a340cdbfabe58c8e2458585a19053669abd0ed0765 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:39:03.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-31T20:39:04.009Z] Stashed 1 file(s) [Pipeline] echo [2023-05-31T20:39:04.012Z] [edgeXSemver]: initialized semver on version 3.0.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-05-31T20:39:04.427Z] + git checkout 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:39:04.427Z] HEAD is now at 1e3f171 docs: Update changelog for v3.0 (#326) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:39:04.448Z] provisioning config files... [2023-05-31T20:39:04.456Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17533048976166103403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:39:04.752Z] ---> docker-login.sh [2023-05-31T20:39:04.752Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:39:04.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:04.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:04.752Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:04.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:04.752Z] [2023-05-31T20:39:04.752Z] Login Succeeded [2023-05-31T20:39:04.752Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:39:04.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:04.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:04.752Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:04.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:04.752Z] [2023-05-31T20:39:04.752Z] Login Succeeded [2023-05-31T20:39:04.752Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:39:05.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:05.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:05.012Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:05.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:05.012Z] [2023-05-31T20:39:05.012Z] Login Succeeded [2023-05-31T20:39:05.012Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:39:05.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:05.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:05.012Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:05.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:05.012Z] [2023-05-31T20:39:05.012Z] Login Succeeded [2023-05-31T20:39:05.012Z] docker.io [2023-05-31T20:39:05.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:05.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:05.271Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:05.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:05.271Z] [2023-05-31T20:39:05.271Z] Login Succeeded [2023-05-31T20:39:05.271Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:39:05.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:39:05.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:39:05.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:39:05.366Z] ========================================================= [2023-05-31T20:39:05.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-31T20:39:05.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:05.680Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:39:05.680Z] Sending build context to Docker daemon 10.94MB [2023-05-31T20:39:05.680Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:39:05.680Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:39:05.680Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-31T20:39:05.680Z] f56be85fc22e: Pulling fs layer [2023-05-31T20:39:05.680Z] 85791d961cd3: Pulling fs layer [2023-05-31T20:39:05.680Z] d694b5ae8c79: Pulling fs layer [2023-05-31T20:39:05.680Z] 9f32a84ed3da: Pulling fs layer [2023-05-31T20:39:05.680Z] 4d19c01a9841: Pulling fs layer [2023-05-31T20:39:05.680Z] 9325e15d5711: Pulling fs layer [2023-05-31T20:39:05.680Z] 556b6ee489ea: Pulling fs layer [2023-05-31T20:39:05.680Z] c5a4b2cf53e6: Pulling fs layer [2023-05-31T20:39:05.680Z] 9325e15d5711: Waiting [2023-05-31T20:39:05.680Z] 556b6ee489ea: Waiting [2023-05-31T20:39:05.680Z] c5a4b2cf53e6: Waiting [2023-05-31T20:39:05.680Z] 9f32a84ed3da: Waiting [2023-05-31T20:39:05.680Z] 4d19c01a9841: Waiting [2023-05-31T20:39:05.680Z] 85791d961cd3: Verifying Checksum [2023-05-31T20:39:05.942Z] 9f32a84ed3da: Download complete [2023-05-31T20:39:05.942Z] 4d19c01a9841: Download complete [2023-05-31T20:39:05.942Z] f56be85fc22e: Verifying Checksum [2023-05-31T20:39:05.942Z] f56be85fc22e: Download complete [2023-05-31T20:39:05.942Z] 9325e15d5711: Verifying Checksum [2023-05-31T20:39:05.942Z] 9325e15d5711: Download complete [2023-05-31T20:39:05.942Z] f56be85fc22e: Pull complete [2023-05-31T20:39:06.206Z] 85791d961cd3: Pull complete [2023-05-31T20:39:06.776Z] c5a4b2cf53e6: Verifying Checksum [2023-05-31T20:39:06.776Z] c5a4b2cf53e6: Download complete [2023-05-31T20:39:07.033Z] d694b5ae8c79: Verifying Checksum [2023-05-31T20:39:07.033Z] d694b5ae8c79: Download complete [2023-05-31T20:39:07.033Z] 556b6ee489ea: Verifying Checksum [2023-05-31T20:39:07.033Z] 556b6ee489ea: Download complete [2023-05-31T20:39:11.227Z] d694b5ae8c79: Pull complete [2023-05-31T20:39:11.227Z] 9f32a84ed3da: Pull complete [2023-05-31T20:39:11.227Z] 4d19c01a9841: Pull complete [2023-05-31T20:39:11.227Z] 9325e15d5711: Pull complete [2023-05-31T20:39:14.509Z] 556b6ee489ea: Pull complete [2023-05-31T20:39:15.108Z] c5a4b2cf53e6: Pull complete [2023-05-31T20:39:15.108Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-31T20:39:15.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-31T20:39:15.108Z] ---> c4be618373d6 [2023-05-31T20:39:15.108Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:39:19.111Z] Still waiting to schedule task [2023-05-31T20:39:19.111Z] ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:19.111Z] ‘prd-ubuntu20.04-docker-8c-8g-17548’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:19.111Z] ‘prd-ubuntu20.04-docker-8c-8g-17552’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:19.112Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17553’ is offline [2023-05-31T20:39:20.376Z] ---> Running in 39687d7e39d5 [2023-05-31T20:39:20.376Z] Removing intermediate container 39687d7e39d5 [2023-05-31T20:39:20.376Z] ---> d8ee2ac39a47 [2023-05-31T20:39:20.376Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:39:20.376Z] ---> Running in 393e2ab9fdc5 [2023-05-31T20:39:20.376Z] Removing intermediate container 393e2ab9fdc5 [2023-05-31T20:39:20.376Z] ---> 6bf2d9fd93b7 [2023-05-31T20:39:20.376Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:39:20.376Z] ---> Running in 7e64feab55b6 [2023-05-31T20:39:20.376Z] Removing intermediate container 7e64feab55b6 [2023-05-31T20:39:20.376Z] ---> 30ce944456ae [2023-05-31T20:39:20.376Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:39:20.376Z] ---> Running in 738f5359d396 [2023-05-31T20:39:20.376Z] Removing intermediate container 738f5359d396 [2023-05-31T20:39:20.376Z] ---> 9b1d2e570ed1 [2023-05-31T20:39:20.376Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:39:20.376Z] ---> Running in a44932680dfc [2023-05-31T20:39:20.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:20.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:20.635Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:39:20.635Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:39:20.635Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:39:20.635Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:39:20.635Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:39:20.635Z] OK: 269 MiB in 57 packages [2023-05-31T20:39:21.209Z] Removing intermediate container a44932680dfc [2023-05-31T20:39:21.209Z] ---> 4e6846f6cd8e [2023-05-31T20:39:21.209Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-31T20:39:21.209Z] ---> Running in a11bcfa9c8e5 [2023-05-31T20:39:21.209Z] Removing intermediate container a11bcfa9c8e5 [2023-05-31T20:39:21.209Z] ---> dd0b48d16946 [2023-05-31T20:39:21.209Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:39:21.209Z] ---> 81e569af57c3 [2023-05-31T20:39:21.209Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:39:21.468Z] ---> Running in 2b03a588ebfc [2023-05-31T20:40:08.154Z] Removing intermediate container 2b03a588ebfc [2023-05-31T20:40:08.154Z] ---> 2eba9fe5ee01 [2023-05-31T20:40:08.154Z] Step 11/12 : COPY . . [2023-05-31T20:40:08.154Z] ---> 1fad8235b037 [2023-05-31T20:40:08.154Z] Step 12/12 : RUN $MAKE [2023-05-31T20:40:08.155Z] ---> Running in 9f9e45e23056 [2023-05-31T20:40:08.155Z] noop [2023-05-31T20:40:08.155Z] Removing intermediate container 9f9e45e23056 [2023-05-31T20:40:08.155Z] ---> 4dfb09ccab07 [2023-05-31T20:40:08.155Z] Successfully built 4dfb09ccab07 [2023-05-31T20:40:08.155Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:08.465Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:40:08.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:08.542Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:40:08.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:40:08.931Z] $ docker top 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:40:09.260Z] + go version [2023-05-31T20:40:09.260Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-31T20:40:09.279Z] $ docker stop --time=1 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 [2023-05-31T20:40:10.538Z] $ docker rm -f --volumes 09a4a1d325b26fdda48a7f654dffd8a31b1b5f1766e40c1731ae48955c03a488 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:10.936Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:40:10.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:11.012Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:40:11.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:40:11.410Z] $ docker top a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:40:11.748Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:40:12.042Z] + make test [2023-05-31T20:40:12.042Z] go test ./... -coverprofile=coverage.out ./... [2023-05-31T20:40:17.313Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-31T20:40:27.282Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-31T20:40:27.282Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements [2023-05-31T20:40:35.396Z] go vet ./... [2023-05-31T20:40:38.670Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:40:38.670Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:40:38.670Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:40:38.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:40:38.703Z] $ docker stop --time=1 a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 [2023-05-31T20:40:42.305Z] $ docker rm -f --volumes a066c1c199ab02f2933bc2ddf70d8bf9e2fc5f78c757d8d0a9581c2cdbc7d502 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:40:42.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:40:42.872Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-31T20:40:43.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:40:43.741Z] + ls -al . [2023-05-31T20:40:43.741Z] total 184 [2023-05-31T20:40:43.741Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:40 . [2023-05-31T20:40:43.741Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 .. [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 20:38 .dockerignore [2023-05-31T20:40:43.741Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:39 .git [2023-05-31T20:40:43.741Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 .github [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:38 .gitignore [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:38 .golangci.yml [2023-05-31T20:40:43.741Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:39 .semver [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 31 20:38 Attribution.txt [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 15709 May 31 20:38 CHANGELOG.md [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 31 20:38 Dockerfile [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:38 GOVERNANCE.md [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:38 Jenkinsfile [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:38 LICENSE [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 31 20:38 Makefile [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:38 OWNERS.md [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 31 20:38 README.md [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION [2023-05-31T20:40:43.741Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 bin [2023-05-31T20:40:43.741Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 cmd [2023-05-31T20:40:43.741Z] -rw-r--r-- 1 jenkins jenkins 14663 May 31 20:40 coverage.out [2023-05-31T20:40:43.741Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 driver [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 31 20:38 go.mod [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:38 go.sum [2023-05-31T20:40:43.741Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 snap [2023-05-31T20:40:43.741Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:44.079Z] + 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=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=amd64 --label version=3.0.0 . [2023-05-31T20:40:44.079Z] Sending build context to Docker daemon 10.96MB [2023-05-31T20:40:44.079Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:40:44.079Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-31T20:40:44.079Z] ---> 4dfb09ccab07 [2023-05-31T20:40:44.079Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:40:44.353Z] ---> Running in 5b558f7f5b98 [2023-05-31T20:40:44.353Z] Removing intermediate container 5b558f7f5b98 [2023-05-31T20:40:44.353Z] ---> d6962cb4b4f4 [2023-05-31T20:40:44.353Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:40:44.353Z] ---> Running in a7e8f1e49feb [2023-05-31T20:40:44.611Z] Removing intermediate container a7e8f1e49feb [2023-05-31T20:40:44.611Z] ---> 69de083f2c0a [2023-05-31T20:40:44.611Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:40:44.611Z] ---> Running in 8bae3f3a6e46 [2023-05-31T20:40:44.611Z] Removing intermediate container 8bae3f3a6e46 [2023-05-31T20:40:44.611Z] ---> d08e2cf3e56e [2023-05-31T20:40:44.611Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:40:44.611Z] ---> Running in 8885981fee82 [2023-05-31T20:40:44.611Z] Removing intermediate container 8885981fee82 [2023-05-31T20:40:44.611Z] ---> a9e8839e3a19 [2023-05-31T20:40:44.611Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:40:44.870Z] ---> Running in be1ee3ffc26c [2023-05-31T20:40:45.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:40:45.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:40:45.696Z] OK: 269 MiB in 57 packages [2023-05-31T20:40:45.954Z] Removing intermediate container be1ee3ffc26c [2023-05-31T20:40:45.954Z] ---> 8bf0102829c9 [2023-05-31T20:40:45.954Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-31T20:40:45.954Z] ---> Running in 59b5cd0ac47b [2023-05-31T20:40:45.954Z] Removing intermediate container 59b5cd0ac47b [2023-05-31T20:40:45.954Z] ---> 06149b7e9141 [2023-05-31T20:40:45.954Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-31T20:40:46.213Z] ---> 5b7bd25e5eaf [2023-05-31T20:40:46.213Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:40:46.213Z] ---> Running in be25eab4ee62 [2023-05-31T20:40:46.779Z] Removing intermediate container be25eab4ee62 [2023-05-31T20:40:46.779Z] ---> e2c4a1ed8a86 [2023-05-31T20:40:46.779Z] Step 11/25 : COPY . . [2023-05-31T20:40:47.352Z] ---> cf6bbb5ef4f0 [2023-05-31T20:40:47.352Z] Step 12/25 : RUN $MAKE [2023-05-31T20:40:47.352Z] ---> Running in a84849b72c43 [2023-05-31T20:40:47.610Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-31T20:41:09.543Z] Removing intermediate container a84849b72c43 [2023-05-31T20:41:09.543Z] ---> 3f1010720a35 [2023-05-31T20:41:09.543Z] Step 13/25 : FROM alpine:3.17 [2023-05-31T20:41:09.543Z] 3.17: Pulling from library/alpine [2023-05-31T20:41:09.543Z] f56be85fc22e: Already exists [2023-05-31T20:41:09.543Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:41:09.543Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:41:09.543Z] ---> 9ed4aefc74f6 [2023-05-31T20:41:09.543Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-31T20:41:09.543Z] ---> Running in 18be7e65cfa9 [2023-05-31T20:41:09.543Z] Removing intermediate container 18be7e65cfa9 [2023-05-31T20:41:09.543Z] ---> caeb66ecc2d5 [2023-05-31T20:41:09.543Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-31T20:41:09.543Z] ---> Running in cd1f3635ada5 [2023-05-31T20:41:09.543Z] Removing intermediate container cd1f3635ada5 [2023-05-31T20:41:09.543Z] ---> 2540a4c2193f [2023-05-31T20:41:09.543Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:41:09.543Z] ---> Running in acadd31027d5 [2023-05-31T20:41:09.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:09.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:09.543Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:41:09.543Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:41:09.543Z] OK: 7 MiB in 16 packages [2023-05-31T20:41:09.543Z] Removing intermediate container acadd31027d5 [2023-05-31T20:41:09.543Z] ---> 7c6299cd8295 [2023-05-31T20:41:09.543Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-31T20:41:10.479Z] ---> 7df7c0ac8be0 [2023-05-31T20:41:10.479Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-31T20:41:10.741Z] ---> 82b3d1ba3313 [2023-05-31T20:41:10.741Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-31T20:41:10.741Z] ---> 38eec63a2e85 [2023-05-31T20:41:10.741Z] Step 20/25 : EXPOSE 59986 [2023-05-31T20:41:10.741Z] ---> Running in bf3bf016e1ad [2023-05-31T20:41:11.002Z] Removing intermediate container bf3bf016e1ad [2023-05-31T20:41:11.002Z] ---> f080516ec549 [2023-05-31T20:41:11.002Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-31T20:41:11.002Z] ---> Running in 0838ac26e7ee [2023-05-31T20:41:11.002Z] Removing intermediate container 0838ac26e7ee [2023-05-31T20:41:11.002Z] ---> 3890a1657c7b [2023-05-31T20:41:11.002Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:41:11.002Z] ---> Running in 94d9ffa67d68 [2023-05-31T20:41:11.002Z] Removing intermediate container 94d9ffa67d68 [2023-05-31T20:41:11.002Z] ---> 8abd13e8facb [2023-05-31T20:41:11.002Z] Step 23/25 : LABEL arch=amd64 [2023-05-31T20:41:11.002Z] ---> Running in a9f44818dace [2023-05-31T20:41:11.261Z] Removing intermediate container a9f44818dace [2023-05-31T20:41:11.261Z] ---> a23f60d2ac51 [2023-05-31T20:41:11.261Z] Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:41:11.261Z] ---> Running in 840633113c13 [2023-05-31T20:41:11.261Z] Removing intermediate container 840633113c13 [2023-05-31T20:41:11.261Z] ---> 883a895cfdfa [2023-05-31T20:41:11.261Z] Step 25/25 : LABEL version=3.0.0 [2023-05-31T20:41:11.261Z] ---> Running in 01de580cddd9 [2023-05-31T20:41:11.521Z] Removing intermediate container 01de580cddd9 [2023-05-31T20:41:11.521Z] ---> e7c77d1e0792 [2023-05-31T20:41:11.521Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:41:11.521Z] Successfully built e7c77d1e0792 [2023-05-31T20:41:11.521Z] 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-05-31T20:41:11.626Z] provisioning config files... [2023-05-31T20:41:11.633Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config734447743246288930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:41:11.926Z] ---> docker-login.sh [2023-05-31T20:41:11.926Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:41:11.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:11.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:11.926Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:11.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:11.926Z] [2023-05-31T20:41:11.926Z] Login Succeeded [2023-05-31T20:41:11.926Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:41:11.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:11.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:11.926Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:11.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:11.926Z] [2023-05-31T20:41:11.926Z] Login Succeeded [2023-05-31T20:41:11.926Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:41:12.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:12.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:12.183Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:12.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:12.183Z] [2023-05-31T20:41:12.183Z] Login Succeeded [2023-05-31T20:41:12.183Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:41:12.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:12.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:12.183Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:12.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:12.183Z] [2023-05-31T20:41:12.183Z] Login Succeeded [2023-05-31T20:41:12.183Z] docker.io [2023-05-31T20:41:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:12.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:12.441Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:12.441Z] [2023-05-31T20:41:12.441Z] Login Succeeded [2023-05-31T20:41:12.441Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:41:12.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:41:12.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:41:12.510Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-05-31T20:41:12.510Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:41:12.510Z] latest [2023-05-31T20:41:12.510Z] 3.0.0 [2023-05-31T20:41:12.510Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:41:12.510Z] main [2023-05-31T20:41:12.510Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:12.838Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:13.143Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:41:13.143Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-31T20:41:13.143Z] b08c1c120f2f: Preparing [2023-05-31T20:41:13.143Z] cbb09a9baea2: Preparing [2023-05-31T20:41:13.143Z] af97117794d7: Preparing [2023-05-31T20:41:13.143Z] 7ba2df11d1a5: Preparing [2023-05-31T20:41:13.143Z] f1417ff83b31: Preparing [2023-05-31T20:41:13.143Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:13.143Z] 7ba2df11d1a5: Pushed [2023-05-31T20:41:13.143Z] b08c1c120f2f: Pushed [2023-05-31T20:41:13.143Z] cbb09a9baea2: Pushed [2023-05-31T20:41:15.683Z] af97117794d7: Pushed [2023-05-31T20:41:15.683Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:15.998Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:16.308Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-31T20:41:16.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-31T20:41:16.308Z] b08c1c120f2f: Preparing [2023-05-31T20:41:16.308Z] cbb09a9baea2: Preparing [2023-05-31T20:41:16.308Z] af97117794d7: Preparing [2023-05-31T20:41:16.308Z] 7ba2df11d1a5: Preparing [2023-05-31T20:41:16.308Z] f1417ff83b31: Preparing [2023-05-31T20:41:16.308Z] b08c1c120f2f: Layer already exists [2023-05-31T20:41:16.308Z] af97117794d7: Layer already exists [2023-05-31T20:41:16.308Z] 7ba2df11d1a5: Layer already exists [2023-05-31T20:41:16.308Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:16.308Z] cbb09a9baea2: Layer already exists [2023-05-31T20:41:16.308Z] latest: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:16.616Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:16.925Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0 [2023-05-31T20:41:16.925Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-31T20:41:16.925Z] b08c1c120f2f: Preparing [2023-05-31T20:41:16.925Z] cbb09a9baea2: Preparing [2023-05-31T20:41:16.926Z] af97117794d7: Preparing [2023-05-31T20:41:16.926Z] 7ba2df11d1a5: Preparing [2023-05-31T20:41:16.926Z] f1417ff83b31: Preparing [2023-05-31T20:41:16.926Z] b08c1c120f2f: Layer already exists [2023-05-31T20:41:16.926Z] af97117794d7: Layer already exists [2023-05-31T20:41:16.926Z] 7ba2df11d1a5: Layer already exists [2023-05-31T20:41:16.926Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:16.926Z] cbb09a9baea2: Layer already exists [2023-05-31T20:41:16.926Z] 3.0.0: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:17.242Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:17.543Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:41:17.543Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-31T20:41:17.543Z] b08c1c120f2f: Preparing [2023-05-31T20:41:17.543Z] cbb09a9baea2: Preparing [2023-05-31T20:41:17.543Z] af97117794d7: Preparing [2023-05-31T20:41:17.543Z] 7ba2df11d1a5: Preparing [2023-05-31T20:41:17.543Z] f1417ff83b31: Preparing [2023-05-31T20:41:17.543Z] 7ba2df11d1a5: Layer already exists [2023-05-31T20:41:17.543Z] b08c1c120f2f: Layer already exists [2023-05-31T20:41:17.543Z] cbb09a9baea2: Layer already exists [2023-05-31T20:41:17.543Z] af97117794d7: Layer already exists [2023-05-31T20:41:17.543Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:17.543Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:17.851Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:18.158Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-05-31T20:41:18.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-31T20:41:18.158Z] b08c1c120f2f: Preparing [2023-05-31T20:41:18.158Z] cbb09a9baea2: Preparing [2023-05-31T20:41:18.158Z] af97117794d7: Preparing [2023-05-31T20:41:18.158Z] 7ba2df11d1a5: Preparing [2023-05-31T20:41:18.158Z] f1417ff83b31: Preparing [2023-05-31T20:41:18.158Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:18.158Z] af97117794d7: Layer already exists [2023-05-31T20:41:18.158Z] 7ba2df11d1a5: Layer already exists [2023-05-31T20:41:18.158Z] b08c1c120f2f: Layer already exists [2023-05-31T20:41:18.158Z] cbb09a9baea2: Layer already exists [2023-05-31T20:41:18.158Z] main: digest: sha256:974820aa66cd2a64a8475bcbcf7016dd6afd7a836f56eb24171f2362b5bdc338 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:41:18.219Z] ===================================================== [Pipeline] echo [2023-05-31T20:41:18.227Z] taggedImages: [2023-05-31T20:41:18.227Z] - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:41:18.227Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-31T20:41:18.227Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0 [2023-05-31T20:41:18.227Z] - nexus3.edgexfoundry.org:10004/device-rest:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:41:18.227Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:18.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:18.594Z] [2023-05-31T20:41:18.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:18.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:18.895Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-31T20:41:18.895Z] 5eb5b503b376: Pulling fs layer [2023-05-31T20:41:18.895Z] 5c69ac0246d0: Pulling fs layer [2023-05-31T20:41:18.895Z] ec43610c2a17: Pulling fs layer [2023-05-31T20:41:18.895Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-31T20:41:18.895Z] 33b1e0a273af: Pulling fs layer [2023-05-31T20:41:18.895Z] 5d3b04190fa2: Pulling fs layer [2023-05-31T20:41:18.895Z] 2f39f015ded8: Pulling fs layer [2023-05-31T20:41:18.895Z] 3a2ae6a8a46f: Waiting [2023-05-31T20:41:18.895Z] 33b1e0a273af: Waiting [2023-05-31T20:41:18.895Z] 5d3b04190fa2: Waiting [2023-05-31T20:41:18.895Z] 2f39f015ded8: Waiting [2023-05-31T20:41:18.895Z] 5c69ac0246d0: Download complete [2023-05-31T20:41:18.895Z] 3a2ae6a8a46f: Download complete [2023-05-31T20:41:18.895Z] 33b1e0a273af: Verifying Checksum [2023-05-31T20:41:18.895Z] 33b1e0a273af: Download complete [2023-05-31T20:41:18.895Z] 5d3b04190fa2: Verifying Checksum [2023-05-31T20:41:18.895Z] 5d3b04190fa2: Download complete [2023-05-31T20:41:18.895Z] ec43610c2a17: Verifying Checksum [2023-05-31T20:41:18.895Z] ec43610c2a17: Download complete [2023-05-31T20:41:19.156Z] 5eb5b503b376: Verifying Checksum [2023-05-31T20:41:19.156Z] 5eb5b503b376: Download complete [2023-05-31T20:41:19.723Z] 2f39f015ded8: Download complete [2023-05-31T20:41:20.658Z] 5eb5b503b376: Pull complete [2023-05-31T20:41:20.658Z] 5c69ac0246d0: Pull complete [2023-05-31T20:41:21.227Z] ec43610c2a17: Pull complete [2023-05-31T20:41:21.227Z] 3a2ae6a8a46f: Pull complete [2023-05-31T20:41:21.485Z] 33b1e0a273af: Pull complete [2023-05-31T20:41:21.485Z] 5d3b04190fa2: Pull complete [2023-05-31T20:41:25.671Z] 2f39f015ded8: Pull complete [2023-05-31T20:41:25.671Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-31T20:41:25.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:25.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:41:25.767Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:41:25.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:41:30.315Z] $ docker top c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:41:30.692Z] ---> job-cost.sh [2023-05-31T20:41:30.692Z] lf-activate-venv: SKIPPING [2023-05-31T20:41:30.692Z] INFO: No Stack... [2023-05-31T20:41:30.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:41:31.521Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:41:31.812Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-05-31T20:41:31.812Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:41:31.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [2023-05-31T20:41:31.834Z] Resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] did not exist. Created. [2023-05-31T20:41:31.834Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:41:32.142Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-31T20:41:32.174Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:41:32.180Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:41:32.209Z] $ docker stop --time=1 c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 [2023-05-31T20:41:33.382Z] $ docker rm -f --volumes c427f9f12c26af5b2396f900f38820c5b38d380b01c93c7e738b82a55db8e235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-31T20:42:06.049Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17559 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-05-31T20:42:06.058Z] Running in /w/workspace/device-rest-go/120 [Pipeline] { [Pipeline] checkout [2023-05-31T20:42:06.095Z] The recommended git tool is: git [2023-05-31T20:42:14.163Z] using credential edgex-jenkins-ssh [2023-05-31T20:42:14.187Z] Cloning the remote Git repository [2023-05-31T20:42:14.259Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-31T20:42:14.410Z] > git init /w/workspace/device-rest-go/120 # timeout=10 [2023-05-31T20:42:14.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-31T20:42:14.802Z] > git --version # timeout=10 [2023-05-31T20:42:14.832Z] > git --version # 'git version 2.25.1' [2023-05-31T20:42:14.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-31T20:42:15.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:42:17.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-31T20:42:17.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:42:18.869Z] Avoid second fetch [2023-05-31T20:42:18.870Z] Checking out Revision 1e3f17100cbecc49b07fca8c81a93e30a5261c95 (main) [2023-05-31T20:42:18.903Z] > git config core.sparsecheckout # timeout=10 [2023-05-31T20:42:19.018Z] > git checkout -f 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 [2023-05-31T20:42:19.733Z] Commit message: "docs: Update changelog for v3.0 (#326)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:42:20.786Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-31T20:42:20.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:42:20.786Z] Dload Upload Total Spent Left Speed [2023-05-31T20:42:20.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 141k 0 --:--:-- --:--:-- --:--:-- 143k [Pipeline] sh [2023-05-31T20:42:21.726Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-31T20:42:22.104Z] + sudo tee /etc/docker/daemon.new [2023-05-31T20:42:22.104Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-31T20:42:22.104Z] { [2023-05-31T20:42:22.104Z] "registry-mirrors": [ [2023-05-31T20:42:22.104Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-31T20:42:22.104Z] ], [2023-05-31T20:42:22.104Z] "bip": "10.250.0.254/24", [2023-05-31T20:42:22.104Z] "hosts": [ [2023-05-31T20:42:22.104Z] "tcp://0.0.0.0:5555", [2023-05-31T20:42:22.104Z] "unix:///var/run/docker.sock" [2023-05-31T20:42:22.104Z] ], [2023-05-31T20:42:22.104Z] "mtu": 1458, [2023-05-31T20:42:22.104Z] "selinux-enabled": true, [2023-05-31T20:42:22.104Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-31T20:42:22.104Z] } [Pipeline] sh [2023-05-31T20:42:22.531Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-31T20:42:22.949Z] + sudo service docker restart [Pipeline] sh [2023-05-31T20:42:41.884Z] + git checkout 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:42:41.884Z] HEAD is now at 1e3f171 docs: Update changelog for v3.0 (#326) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:42:41.924Z] provisioning config files... [2023-05-31T20:42:41.967Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/120@tmp/config3960516197657604879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:42:42.417Z] ---> docker-login.sh [2023-05-31T20:42:42.417Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:42:43.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:43.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:43.319Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:43.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:43.319Z] [2023-05-31T20:42:43.319Z] Login Succeeded [2023-05-31T20:42:43.319Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:42:43.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:43.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:43.885Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:43.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:43.885Z] [2023-05-31T20:42:43.885Z] Login Succeeded [2023-05-31T20:42:43.885Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:42:44.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:44.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:44.457Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:44.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:44.457Z] [2023-05-31T20:42:44.457Z] Login Succeeded [2023-05-31T20:42:44.457Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:42:44.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:44.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:44.740Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:44.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:44.740Z] [2023-05-31T20:42:44.740Z] Login Succeeded [2023-05-31T20:42:44.740Z] docker.io [2023-05-31T20:42:45.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:45.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:45.302Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:45.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:45.302Z] [2023-05-31T20:42:45.302Z] Login Succeeded [2023-05-31T20:42:45.302Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:42:45.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:42:45.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:42:45.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:42:45.790Z] ========================================================= [2023-05-31T20:42:45.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-31T20:42:45.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:42:46.209Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:42:46.210Z] Sending build context to Docker daemon 141.8kB [2023-05-31T20:42:46.498Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:42:46.498Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:42:46.780Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-31T20:42:46.780Z] c41833b44d91: Pulling fs layer [2023-05-31T20:42:46.780Z] ed15518f5707: Pulling fs layer [2023-05-31T20:42:46.780Z] feae8fd75edb: Pulling fs layer [2023-05-31T20:42:46.780Z] 242c74f7c9fa: Pulling fs layer [2023-05-31T20:42:46.780Z] 3cdef696dda3: Pulling fs layer [2023-05-31T20:42:46.780Z] 2ced38df9373: Pulling fs layer [2023-05-31T20:42:46.780Z] 58f1dce35555: Pulling fs layer [2023-05-31T20:42:46.780Z] 242c74f7c9fa: Waiting [2023-05-31T20:42:46.780Z] 3cdef696dda3: Waiting [2023-05-31T20:42:46.780Z] ed15518f5707: Verifying Checksum [2023-05-31T20:42:46.780Z] ed15518f5707: Download complete [2023-05-31T20:42:46.780Z] 242c74f7c9fa: Verifying Checksum [2023-05-31T20:42:46.780Z] 242c74f7c9fa: Download complete [2023-05-31T20:42:46.780Z] 3cdef696dda3: Verifying Checksum [2023-05-31T20:42:46.780Z] 3cdef696dda3: Download complete [2023-05-31T20:42:47.067Z] c41833b44d91: Verifying Checksum [2023-05-31T20:42:47.067Z] c41833b44d91: Download complete [2023-05-31T20:42:48.128Z] c41833b44d91: Pull complete [2023-05-31T20:42:48.747Z] ed15518f5707: Pull complete [2023-05-31T20:42:48.747Z] 58f1dce35555: Verifying Checksum [2023-05-31T20:42:48.747Z] 58f1dce35555: Download complete [2023-05-31T20:42:50.757Z] 2ced38df9373: Verifying Checksum [2023-05-31T20:42:50.757Z] 2ced38df9373: Download complete [2023-05-31T20:42:50.757Z] feae8fd75edb: Verifying Checksum [2023-05-31T20:42:50.757Z] feae8fd75edb: Download complete [2023-05-31T20:43:03.176Z] feae8fd75edb: Pull complete [2023-05-31T20:43:03.176Z] 242c74f7c9fa: Pull complete [2023-05-31T20:43:03.176Z] 3cdef696dda3: Pull complete [2023-05-31T20:43:09.882Z] 2ced38df9373: Pull complete [2023-05-31T20:43:11.322Z] 58f1dce35555: Pull complete [2023-05-31T20:43:11.322Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-31T20:43:11.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-31T20:43:11.322Z] ---> fadd8f120f05 [2023-05-31T20:43:11.322Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:43:13.991Z] ---> Running in 598073ea71fc [2023-05-31T20:43:13.991Z] Removing intermediate container 598073ea71fc [2023-05-31T20:43:13.991Z] ---> ad5aff858b3b [2023-05-31T20:43:13.991Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:43:14.274Z] ---> Running in d123fe45bb54 [2023-05-31T20:43:14.560Z] Removing intermediate container d123fe45bb54 [2023-05-31T20:43:14.560Z] ---> 4f592ceb80c1 [2023-05-31T20:43:14.560Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:43:14.560Z] ---> Running in f19b7c376f7a [2023-05-31T20:43:15.172Z] Removing intermediate container f19b7c376f7a [2023-05-31T20:43:15.172Z] ---> 74b0781c3f36 [2023-05-31T20:43:15.172Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:43:15.172Z] ---> Running in e3d4a8bd25cc [2023-05-31T20:43:15.451Z] Removing intermediate container e3d4a8bd25cc [2023-05-31T20:43:15.451Z] ---> 7d9a886ca29b [2023-05-31T20:43:15.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:43:15.727Z] ---> Running in c284b8ad45e3 [2023-05-31T20:43:17.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:43:17.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:43:19.209Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:43:19.209Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:43:19.209Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:43:19.481Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:43:19.481Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:43:19.481Z] OK: 268 MiB in 57 packages [2023-05-31T20:43:20.914Z] Removing intermediate container c284b8ad45e3 [2023-05-31T20:43:20.914Z] ---> ede5396cd5e0 [2023-05-31T20:43:20.914Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-31T20:43:20.914Z] ---> Running in 0ca68a65d2bd [2023-05-31T20:43:21.207Z] Removing intermediate container 0ca68a65d2bd [2023-05-31T20:43:21.207Z] ---> ca23fafddb1f [2023-05-31T20:43:21.207Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:43:21.811Z] ---> 5d121151e034 [2023-05-31T20:43:21.811Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:43:21.811Z] ---> Running in 097eaaf25467 [2023-05-31T20:44:29.831Z] Removing intermediate container 097eaaf25467 [2023-05-31T20:44:29.831Z] ---> 9bdfa87f3444 [2023-05-31T20:44:29.831Z] Step 11/12 : COPY . . [2023-05-31T20:44:30.809Z] ---> d6329844ba06 [2023-05-31T20:44:30.809Z] Step 12/12 : RUN $MAKE [2023-05-31T20:44:30.809Z] ---> Running in ba428f0c20e9 [2023-05-31T20:44:31.789Z] noop [2023-05-31T20:44:32.768Z] Removing intermediate container ba428f0c20e9 [2023-05-31T20:44:32.768Z] ---> 918b03d2c541 [2023-05-31T20:44:32.768Z] Successfully built 918b03d2c541 [2023-05-31T20:44:32.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:44:33.149Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:44:33.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:44:33.421Z] prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container [2023-05-31T20:44:33.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:44:34.861Z] $ docker top db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:44:35.739Z] + go version [2023-05-31T20:44:35.740Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-31T20:44:35.770Z] $ docker stop --time=1 db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 [2023-05-31T20:44:37.463Z] $ docker rm -f --volumes db157bbabe144d4b9b9ac013bb0d1073b7930c6d025c1aa71c1d83400f2b2706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:44:38.049Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:44:38.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:44:38.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container [2023-05-31T20:44:38.375Z] $ 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/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:44:39.681Z] $ docker top 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:44:40.624Z] + git config --global --add safe.directory /w/workspace/device-rest-go/120 [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:44:41.318Z] + make test [2023-05-31T20:44:41.318Z] go test ./... -coverprofile=coverage.out ./... [2023-05-31T20:45:28.235Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-31T20:47:50.069Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-31T20:47:50.069Z] ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 32.2% of statements [2023-05-31T20:47:50.069Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-31T20:47:50.069Z] go vet ./... [2023-05-31T20:48:22.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:48:22.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:48:22.378Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:48:22.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:48:22.430Z] $ docker stop --time=1 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 [2023-05-31T20:48:24.464Z] $ docker rm -f --volumes 8e14fdac2bd007afcbb6a46f8b0f967c7ce0451cfb12c7b3ab6d31324de87633 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:48:25.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:48:25.887Z] Warning: overwriting stash ‘coverage-report’ [2023-05-31T20:48:26.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:48:26.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:48:27.192Z] + ls -al . [2023-05-31T20:48:27.192Z] total 180 [2023-05-31T20:48:27.192Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:44 . [2023-05-31T20:48:27.192Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 .. [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 20:42 .dockerignore [2023-05-31T20:48:27.192Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:42 .git [2023-05-31T20:48:27.192Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 .github [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:42 .gitignore [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:42 .golangci.yml [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 31 20:42 Attribution.txt [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 15709 May 31 20:42 CHANGELOG.md [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 31 20:42 Dockerfile [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:42 GOVERNANCE.md [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:42 Jenkinsfile [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:42 LICENSE [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 31 20:42 Makefile [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:42 OWNERS.md [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 31 20:42 README.md [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION [2023-05-31T20:48:27.192Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 bin [2023-05-31T20:48:27.192Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 cmd [2023-05-31T20:48:27.192Z] -rw-r--r-- 1 jenkins jenkins 14663 May 31 20:47 coverage.out [2023-05-31T20:48:27.192Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 driver [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 31 20:42 go.mod [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:42 go.sum [2023-05-31T20:48:27.192Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 snap [2023-05-31T20:48:27.192Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:48:27.543Z] + 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=1e3f17100cbecc49b07fca8c81a93e30a5261c95 --label arch=arm64 --label version=3.0.0 . [2023-05-31T20:48:27.543Z] Sending build context to Docker daemon 157.2kB [2023-05-31T20:48:27.812Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:48:27.812Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-31T20:48:27.812Z] ---> 918b03d2c541 [2023-05-31T20:48:27.812Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:48:28.084Z] ---> Running in 2e71eeae2b1a [2023-05-31T20:48:28.353Z] Removing intermediate container 2e71eeae2b1a [2023-05-31T20:48:28.353Z] ---> d53e5c22e642 [2023-05-31T20:48:28.353Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:48:28.353Z] ---> Running in 101c96d97419 [2023-05-31T20:48:28.637Z] Removing intermediate container 101c96d97419 [2023-05-31T20:48:28.637Z] ---> 7d81611744df [2023-05-31T20:48:28.637Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:48:28.913Z] ---> Running in 9b631dd258ff [2023-05-31T20:48:29.187Z] Removing intermediate container 9b631dd258ff [2023-05-31T20:48:29.187Z] ---> 12f73bef314a [2023-05-31T20:48:29.187Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:48:29.187Z] ---> Running in 208ac5d9da1e [2023-05-31T20:48:29.781Z] Removing intermediate container 208ac5d9da1e [2023-05-31T20:48:29.781Z] ---> e012053d153e [2023-05-31T20:48:29.781Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:48:29.781Z] ---> Running in 7a5ddac2a6b3 [2023-05-31T20:48:31.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:48:31.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:48:33.223Z] OK: 268 MiB in 57 packages [2023-05-31T20:48:34.220Z] Removing intermediate container 7a5ddac2a6b3 [2023-05-31T20:48:34.220Z] ---> 476f58adc30b [2023-05-31T20:48:34.220Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-31T20:48:34.492Z] ---> Running in c7906e6a9bf9 [2023-05-31T20:48:34.764Z] Removing intermediate container c7906e6a9bf9 [2023-05-31T20:48:34.764Z] ---> 55cedde44f03 [2023-05-31T20:48:34.764Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-31T20:48:36.757Z] ---> 58e6ce93fd3b [2023-05-31T20:48:36.757Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:48:36.757Z] ---> Running in a30a13fcde9a [2023-05-31T20:48:40.146Z] Removing intermediate container a30a13fcde9a [2023-05-31T20:48:40.146Z] ---> 444ca30f19b6 [2023-05-31T20:48:40.146Z] Step 11/25 : COPY . . [2023-05-31T20:48:40.418Z] ---> 94c17034475c [2023-05-31T20:48:40.418Z] Step 12/25 : RUN $MAKE [2023-05-31T20:48:40.418Z] ---> Running in 0e8dddf56659 [2023-05-31T20:48:41.394Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-31T20:51:33.241Z] Removing intermediate container 0e8dddf56659 [2023-05-31T20:51:33.241Z] ---> 7470335198f8 [2023-05-31T20:51:33.241Z] Step 13/25 : FROM alpine:3.17 [2023-05-31T20:51:33.241Z] 3.17: Pulling from library/alpine [2023-05-31T20:51:33.241Z] c41833b44d91: Already exists [2023-05-31T20:51:33.241Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:51:33.241Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:51:33.241Z] ---> 51e60588ff2c [2023-05-31T20:51:33.241Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-31T20:51:33.241Z] ---> Running in fdaff207b5b4 [2023-05-31T20:51:33.241Z] Removing intermediate container fdaff207b5b4 [2023-05-31T20:51:33.241Z] ---> 4bcdc9511045 [2023-05-31T20:51:33.241Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-31T20:51:33.241Z] ---> Running in 6cf8c146e148 [2023-05-31T20:51:33.241Z] Removing intermediate container 6cf8c146e148 [2023-05-31T20:51:33.241Z] ---> 340722c39f52 [2023-05-31T20:51:33.241Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:51:33.241Z] ---> Running in 2297f1331655 [2023-05-31T20:51:33.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:51:33.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:51:33.242Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:51:33.242Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:51:33.242Z] OK: 8 MiB in 16 packages [2023-05-31T20:51:33.242Z] Removing intermediate container 2297f1331655 [2023-05-31T20:51:33.242Z] ---> 0b5bd5d1d9d9 [2023-05-31T20:51:33.242Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-31T20:51:33.242Z] ---> ab147b5ff585 [2023-05-31T20:51:33.242Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-31T20:51:33.242Z] ---> 0777871f56ee [2023-05-31T20:51:33.242Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-31T20:51:33.242Z] ---> 5b5c2823b952 [2023-05-31T20:51:33.242Z] Step 20/25 : EXPOSE 59986 [2023-05-31T20:51:33.242Z] ---> Running in 3de62fbed918 [2023-05-31T20:51:33.242Z] Removing intermediate container 3de62fbed918 [2023-05-31T20:51:33.242Z] ---> 10c7db6604c3 [2023-05-31T20:51:33.242Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-31T20:51:33.242Z] ---> Running in 49e8f383204e [2023-05-31T20:51:33.242Z] Removing intermediate container 49e8f383204e [2023-05-31T20:51:33.242Z] ---> 872e613eb19f [2023-05-31T20:51:33.242Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:51:33.242Z] ---> Running in 294bb0057ac8 [2023-05-31T20:51:33.242Z] Removing intermediate container 294bb0057ac8 [2023-05-31T20:51:33.242Z] ---> 10b243757c27 [2023-05-31T20:51:33.242Z] Step 23/25 : LABEL arch=arm64 [2023-05-31T20:51:33.242Z] ---> Running in f48cb4de7b6d [2023-05-31T20:51:33.242Z] Removing intermediate container f48cb4de7b6d [2023-05-31T20:51:33.242Z] ---> 63229524ad4c [2023-05-31T20:51:33.242Z] Step 24/25 : LABEL git_sha=1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:51:33.242Z] ---> Running in 831a067f8427 [2023-05-31T20:51:33.242Z] Removing intermediate container 831a067f8427 [2023-05-31T20:51:33.242Z] ---> 3b7b58f2c108 [2023-05-31T20:51:33.242Z] Step 25/25 : LABEL version=3.0.0 [2023-05-31T20:51:33.242Z] ---> Running in 3be93f9058dc [2023-05-31T20:51:33.511Z] Removing intermediate container 3be93f9058dc [2023-05-31T20:51:33.511Z] ---> 1bc99b009f18 [2023-05-31T20:51:33.511Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:51:33.511Z] Successfully built 1bc99b009f18 [2023-05-31T20:51:33.511Z] 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-05-31T20:51:33.632Z] provisioning config files... [2023-05-31T20:51:33.651Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/120@tmp/config1474271906810862588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:34.001Z] ---> docker-login.sh [2023-05-31T20:51:34.001Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:51:34.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:34.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:34.271Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:34.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:34.271Z] [2023-05-31T20:51:34.271Z] Login Succeeded [2023-05-31T20:51:34.271Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:51:34.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:34.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:34.811Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:34.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:34.811Z] [2023-05-31T20:51:34.811Z] Login Succeeded [2023-05-31T20:51:34.811Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:51:35.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:35.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:35.081Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:35.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:35.081Z] [2023-05-31T20:51:35.081Z] Login Succeeded [2023-05-31T20:51:35.081Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:51:35.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:35.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:35.670Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:35.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:35.670Z] [2023-05-31T20:51:35.670Z] Login Succeeded [2023-05-31T20:51:35.670Z] docker.io [2023-05-31T20:51:35.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:36.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:36.207Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:36.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:36.207Z] [2023-05-31T20:51:36.207Z] Login Succeeded [2023-05-31T20:51:36.207Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:51:36.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:51:36.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:51:36.280Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-05-31T20:51:36.280Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:51:36.280Z] latest [2023-05-31T20:51:36.280Z] 3.0.0 [2023-05-31T20:51:36.280Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:51:36.280Z] main [2023-05-31T20:51:36.280Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:36.625Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:36.981Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:51:36.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-31T20:51:36.981Z] 2b7a40ac269e: Preparing [2023-05-31T20:51:36.981Z] f840e0aa18a1: Preparing [2023-05-31T20:51:36.981Z] f91ea78b20ac: Preparing [2023-05-31T20:51:36.981Z] 2a7383a98eae: Preparing [2023-05-31T20:51:36.981Z] 26cbea5cba74: Preparing [2023-05-31T20:51:37.252Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:37.252Z] 2b7a40ac269e: Pushed [2023-05-31T20:51:37.252Z] f840e0aa18a1: Pushed [2023-05-31T20:51:37.252Z] 2a7383a98eae: Pushed [2023-05-31T20:51:42.613Z] f91ea78b20ac: Pushed [2023-05-31T20:51:42.613Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:42.979Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:43.326Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-31T20:51:43.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-31T20:51:43.326Z] 2b7a40ac269e: Preparing [2023-05-31T20:51:43.326Z] f840e0aa18a1: Preparing [2023-05-31T20:51:43.326Z] f91ea78b20ac: Preparing [2023-05-31T20:51:43.326Z] 2a7383a98eae: Preparing [2023-05-31T20:51:43.326Z] 26cbea5cba74: Preparing [2023-05-31T20:51:43.326Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:43.326Z] f91ea78b20ac: Layer already exists [2023-05-31T20:51:43.326Z] 2b7a40ac269e: Layer already exists [2023-05-31T20:51:43.326Z] f840e0aa18a1: Layer already exists [2023-05-31T20:51:43.326Z] 2a7383a98eae: Layer already exists [2023-05-31T20:51:43.594Z] latest: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:43.945Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:44.335Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 [2023-05-31T20:51:44.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-31T20:51:44.335Z] 2b7a40ac269e: Preparing [2023-05-31T20:51:44.335Z] f840e0aa18a1: Preparing [2023-05-31T20:51:44.335Z] f91ea78b20ac: Preparing [2023-05-31T20:51:44.335Z] 2a7383a98eae: Preparing [2023-05-31T20:51:44.335Z] 26cbea5cba74: Preparing [2023-05-31T20:51:44.335Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:44.335Z] f840e0aa18a1: Layer already exists [2023-05-31T20:51:44.335Z] 2b7a40ac269e: Layer already exists [2023-05-31T20:51:44.335Z] 2a7383a98eae: Layer already exists [2023-05-31T20:51:44.607Z] f91ea78b20ac: Layer already exists [2023-05-31T20:51:44.607Z] 3.0.0: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:44.976Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:45.337Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:51:45.337Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-31T20:51:45.337Z] 2b7a40ac269e: Preparing [2023-05-31T20:51:45.337Z] f840e0aa18a1: Preparing [2023-05-31T20:51:45.337Z] f91ea78b20ac: Preparing [2023-05-31T20:51:45.337Z] 2a7383a98eae: Preparing [2023-05-31T20:51:45.337Z] 26cbea5cba74: Preparing [2023-05-31T20:51:45.337Z] 2a7383a98eae: Layer already exists [2023-05-31T20:51:45.337Z] f840e0aa18a1: Layer already exists [2023-05-31T20:51:45.337Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:45.337Z] f91ea78b20ac: Layer already exists [2023-05-31T20:51:45.337Z] 2b7a40ac269e: Layer already exists [2023-05-31T20:51:45.607Z] 1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:45.969Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:46.313Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-05-31T20:51:46.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-31T20:51:46.313Z] 2b7a40ac269e: Preparing [2023-05-31T20:51:46.313Z] f840e0aa18a1: Preparing [2023-05-31T20:51:46.313Z] f91ea78b20ac: Preparing [2023-05-31T20:51:46.313Z] 2a7383a98eae: Preparing [2023-05-31T20:51:46.313Z] 26cbea5cba74: Preparing [2023-05-31T20:51:46.313Z] f840e0aa18a1: Layer already exists [2023-05-31T20:51:46.313Z] f91ea78b20ac: Layer already exists [2023-05-31T20:51:46.313Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:46.313Z] 2a7383a98eae: Layer already exists [2023-05-31T20:51:46.313Z] 2b7a40ac269e: Layer already exists [2023-05-31T20:51:46.584Z] main: digest: sha256:0c90f31f2b004297e7c3e01a58581fa734d45871dc4f7b74381156e0f95cbe65 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:51:46.640Z] ===================================================== [Pipeline] echo [2023-05-31T20:51:46.647Z] taggedImages: [2023-05-31T20:51:46.647Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95 [2023-05-31T20:51:46.647Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-31T20:51:46.647Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0 [2023-05-31T20:51:46.647Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1e3f17100cbecc49b07fca8c81a93e30a5261c95-3.0.0 [2023-05-31T20:51:46.647Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:51:47.014Z] [2023-05-31T20:51:47.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:51:48.321Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-31T20:51:48.321Z] 8998bd30e6a1: Pulling fs layer [2023-05-31T20:51:48.321Z] 04944245beec: Pulling fs layer [2023-05-31T20:51:48.321Z] 699f458cf7ca: Pulling fs layer [2023-05-31T20:51:48.321Z] 765212b225bb: Pulling fs layer [2023-05-31T20:51:48.321Z] f23df028b6ca: Pulling fs layer [2023-05-31T20:51:48.321Z] d65c8cfc05b1: Pulling fs layer [2023-05-31T20:51:48.321Z] 2437ff75d9bd: Pulling fs layer [2023-05-31T20:51:48.321Z] d65c8cfc05b1: Waiting [2023-05-31T20:51:48.321Z] 2437ff75d9bd: Waiting [2023-05-31T20:51:48.321Z] f23df028b6ca: Waiting [2023-05-31T20:51:48.321Z] 765212b225bb: Waiting [2023-05-31T20:51:48.321Z] 04944245beec: Verifying Checksum [2023-05-31T20:51:48.321Z] 04944245beec: Download complete [2023-05-31T20:51:48.321Z] 765212b225bb: Verifying Checksum [2023-05-31T20:51:48.321Z] 765212b225bb: Download complete [2023-05-31T20:51:48.321Z] f23df028b6ca: Verifying Checksum [2023-05-31T20:51:48.321Z] f23df028b6ca: Download complete [2023-05-31T20:51:48.321Z] d65c8cfc05b1: Verifying Checksum [2023-05-31T20:51:48.321Z] d65c8cfc05b1: Download complete [2023-05-31T20:51:48.592Z] 699f458cf7ca: Verifying Checksum [2023-05-31T20:51:48.592Z] 699f458cf7ca: Download complete [2023-05-31T20:51:48.872Z] 8998bd30e6a1: Verifying Checksum [2023-05-31T20:51:48.872Z] 8998bd30e6a1: Download complete [2023-05-31T20:51:51.469Z] 2437ff75d9bd: Verifying Checksum [2023-05-31T20:51:51.469Z] 2437ff75d9bd: Download complete [2023-05-31T20:51:53.424Z] 8998bd30e6a1: Pull complete [2023-05-31T20:51:53.424Z] 04944245beec: Pull complete [2023-05-31T20:51:54.835Z] 699f458cf7ca: Pull complete [2023-05-31T20:51:55.104Z] 765212b225bb: Pull complete [2023-05-31T20:51:56.132Z] f23df028b6ca: Pull complete [2023-05-31T20:51:56.132Z] d65c8cfc05b1: Pull complete [2023-05-31T20:52:11.140Z] 2437ff75d9bd: Pull complete [2023-05-31T20:52:11.140Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-31T20:52:11.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:52:11.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:11.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-17559 does not seem to be running inside a container [2023-05-31T20:52:11.466Z] $ 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/120 -v /w/workspace/device-rest-go/120:/w/workspace/device-rest-go/120:rw,z -v /w/workspace/device-rest-go/120@tmp:/w/workspace/device-rest-go/120@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-31T20:52:14.418Z] $ docker top 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:15.263Z] ---> job-cost.sh [2023-05-31T20:52:15.263Z] lf-activate-venv: SKIPPING [2023-05-31T20:52:15.263Z] INFO: No Stack... [2023-05-31T20:52:15.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-31T20:52:16.487Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:52:17.127Z] + cat /w/workspace/device-rest-go/120/archives/cost.csv [2023-05-31T20:52:17.127Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:52:17.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [2023-05-31T20:52:17.204Z] Resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] did not exist. Created. [2023-05-31T20:52:17.204Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:52:17.861Z] /w/workspace/device-rest-go/120@tmp/durable-aed23650/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-31T20:52:18.200Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-31T20:52:18.225Z] Warning: overwriting stash ‘stack-cost’ [2023-05-31T20:52:18.274Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:52:18.281Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:52:18.310Z] $ docker stop --time=1 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 [2023-05-31T20:52:19.808Z] $ docker rm -f --volumes 78dbbb828791958b91f9b5d33e40b67da6ca6b49295fdc1444ddec233ea4a258 [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-05-31T20:52:20.173Z] provisioning config files... [2023-05-31T20:52:20.181Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config777983480300061313tmp [Pipeline] { [Pipeline] sh [2023-05-31T20:52:20.478Z] + set +x [2023-05-31T20:52:20.478Z] + curl -s https://codecov.io/bash [2023-05-31T20:52:20.478Z] + bash -s -- [2023-05-31T20:52:20.478Z] [2023-05-31T20:52:20.478Z] _____ _ [2023-05-31T20:52:20.478Z] / ____| | | [2023-05-31T20:52:20.478Z] | | ___ __| | ___ ___ _____ __ [2023-05-31T20:52:20.478Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-31T20:52:20.478Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-31T20:52:20.478Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-31T20:52:20.478Z] Bash-1.0.6 [2023-05-31T20:52:20.478Z] [2023-05-31T20:52:20.478Z] [2023-05-31T20:52:20.478Z] ==> git version 2.25.1 found [2023-05-31T20:52:20.478Z] ==> 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-05-31T20:52:20.478Z] Release-Date: 2020-01-08 [2023-05-31T20:52:20.478Z] 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-05-31T20:52:20.478Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-31T20:52:20.478Z] ==> Jenkins CI detected. [2023-05-31T20:52:20.478Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-05-31T20:52:20.478Z] project root: . [2023-05-31T20:52:20.478Z] --> token set from env [2023-05-31T20:52:20.478Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-31T20:52:20.478Z] ==> Running gcov in . (disable via -X gcov) [2023-05-31T20:52:20.478Z] ==> Python coveragepy not found [2023-05-31T20:52:20.478Z] ==> Searching for coverage reports in: [2023-05-31T20:52:20.478Z] + . [2023-05-31T20:52:20.478Z] -> Found 1 reports [2023-05-31T20:52:20.478Z] ==> Detecting git/mercurial file structure [2023-05-31T20:52:20.478Z] ==> Reading reports [2023-05-31T20:52:20.478Z] + ./coverage.out bytes=14663 [2023-05-31T20:52:20.478Z] ==> Appending adjustments [2023-05-31T20:52:20.478Z] https://docs.codecov.io/docs/fixing-reports [2023-05-31T20:52:20.738Z] + Found adjustments [2023-05-31T20:52:20.738Z] ==> Gzipping contents [2023-05-31T20:52:20.738Z] 4.0K /tmp/codecov.EC8lFs.gz [2023-05-31T20:52:20.738Z] ==> Uploading reports [2023-05-31T20:52:20.738Z] url: https://codecov.io [2023-05-31T20:52:20.738Z] query: branch=main&commit=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:52:20.738Z] -> Pinging Codecov [2023-05-31T20:52:20.738Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=1e3f17100cbecc49b07fca8c81a93e30a5261c95&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:52:20.999Z] -> Uploading to [2023-05-31T20:52:20.999Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-31/4E5D53B4F1F92C436F7061BF334D961C/1e3f17100cbecc49b07fca8c81a93e30a5261c95/4173c4ed-c1be-4568-923c-da57e36b7fbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83deb555c96aefc5370858d1a5d86e84903b11bd021668fa60b2640b648950f0 [2023-05-31T20:52:20.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:52:20.999Z] Dload Upload Total Spent Left Speed [2023-05-31T20:52:21.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 9400 --:--:-- --:--:-- --:--:-- 9400 [2023-05-31T20:52:21.257Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] } [2023-05-31T20:52:21.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-31T20:52:21.398Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-31T20:52:21.416Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:21.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:21.724Z] [2023-05-31T20:52:21.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:22.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:22.017Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-31T20:52:22.017Z] df9b9388f04a: Pulling fs layer [2023-05-31T20:52:22.017Z] 52dc419b0ee2: Pulling fs layer [2023-05-31T20:52:22.017Z] 25bc292e5bac: Pulling fs layer [2023-05-31T20:52:22.017Z] 114826534d7a: Pulling fs layer [2023-05-31T20:52:22.017Z] 4657fd5d0bcf: Pulling fs layer [2023-05-31T20:52:22.017Z] 6ad1cebc031e: Pulling fs layer [2023-05-31T20:52:22.017Z] 8a3aa393b2d8: Pulling fs layer [2023-05-31T20:52:22.017Z] 114826534d7a: Waiting [2023-05-31T20:52:22.017Z] 6ad1cebc031e: Waiting [2023-05-31T20:52:22.017Z] 8a3aa393b2d8: Waiting [2023-05-31T20:52:22.017Z] 4657fd5d0bcf: Waiting [2023-05-31T20:52:22.017Z] 25bc292e5bac: Verifying Checksum [2023-05-31T20:52:22.017Z] 25bc292e5bac: Download complete [2023-05-31T20:52:22.017Z] 52dc419b0ee2: Download complete [2023-05-31T20:52:22.017Z] 4657fd5d0bcf: Verifying Checksum [2023-05-31T20:52:22.017Z] 4657fd5d0bcf: Download complete [2023-05-31T20:52:22.017Z] df9b9388f04a: Download complete [2023-05-31T20:52:22.279Z] 6ad1cebc031e: Verifying Checksum [2023-05-31T20:52:22.279Z] 6ad1cebc031e: Download complete [2023-05-31T20:52:22.279Z] df9b9388f04a: Pull complete [2023-05-31T20:52:22.279Z] 52dc419b0ee2: Pull complete [2023-05-31T20:52:22.279Z] 25bc292e5bac: Pull complete [2023-05-31T20:52:22.847Z] 114826534d7a: Verifying Checksum [2023-05-31T20:52:22.847Z] 114826534d7a: Download complete [2023-05-31T20:52:22.847Z] 8a3aa393b2d8: Verifying Checksum [2023-05-31T20:52:22.847Z] 8a3aa393b2d8: Download complete [2023-05-31T20:52:27.143Z] 114826534d7a: Pull complete [2023-05-31T20:52:27.143Z] 4657fd5d0bcf: Pull complete [2023-05-31T20:52:27.143Z] 6ad1cebc031e: Pull complete [2023-05-31T20:52:29.673Z] 8a3aa393b2d8: Pull complete [2023-05-31T20:52:29.673Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-31T20:52:29.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:29.673Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:29.757Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:52:29.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-31T20:52:33.619Z] $ docker top d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-31T20:52:33.676Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-05-31T20:52:33.954Z] + set -o pipefail [2023-05-31T20:52:33.954Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-05-31T20:52:38.143Z] [2023-05-31T20:52:38.143Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-05-31T20:52:38.143Z] [2023-05-31T20:52:38.143Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/acfeed5a-2f09-4339-b56f-f6180a8cf818 [2023-05-31T20:52:38.143Z] [2023-05-31T20:52:38.143Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-31T20:52:38.143Z] [2023-05-31T20:52:38.143Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-31T20:52:38.143Z] [2023-05-31T20:52:40.051Z] [2023-05-31T20:52:40.051Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-31T20:52:40.052Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-31T20:52:40.052Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-31T20:52:40.079Z] $ docker stop --time=1 d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d [2023-05-31T20:52:43.109Z] $ docker rm -f --volumes d4b5948d6b14fb6900c99bf4721a17c1620210317dca618f5cc5e3bfa23cf44d [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-05-31T20:52:43.787Z] + git log --format=format:%s -1 1e3f17100cbecc49b07fca8c81a93e30a5261c95 [Pipeline] sh [2023-05-31T20:52:44.071Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:52:44.071Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:44.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:52:44.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:44.439Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:52:44.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:52:44.942Z] $ docker top f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f -eo pid,comm [2023-05-31T20:52:44.969Z] 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-05-31T20:52:44.969Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:52:44.996Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:52:45.288Z] + git semver [Pipeline] } [2023-05-31T20:52:45.575Z] $ docker stop --time=1 f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f [2023-05-31T20:52:46.877Z] $ docker rm -f --volumes f4fb32740b98f57af38d49ad8ea131de2a688eb3f7a3b35d41dc47efea28f71f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:47.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:47.228Z] [2023-05-31T20:52:47.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:47.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:47.523Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-31T20:52:47.523Z] ab5ef0e58194: Pulling fs layer [2023-05-31T20:52:47.523Z] 9712f1f96733: Pulling fs layer [2023-05-31T20:52:47.523Z] 63f879dbbcfc: Pulling fs layer [2023-05-31T20:52:47.523Z] 0d9ebad4ef96: Pulling fs layer [2023-05-31T20:52:47.523Z] e9a5061849ea: Pulling fs layer [2023-05-31T20:52:47.523Z] d747dcd14b5f: Pulling fs layer [2023-05-31T20:52:47.523Z] 2de7ff778b66: Pulling fs layer [2023-05-31T20:52:47.523Z] 0d9ebad4ef96: Waiting [2023-05-31T20:52:47.523Z] e9a5061849ea: Waiting [2023-05-31T20:52:47.523Z] d747dcd14b5f: Waiting [2023-05-31T20:52:47.523Z] 2de7ff778b66: Waiting [2023-05-31T20:52:47.523Z] 9712f1f96733: Download complete [2023-05-31T20:52:47.784Z] 63f879dbbcfc: Verifying Checksum [2023-05-31T20:52:47.784Z] 63f879dbbcfc: Download complete [2023-05-31T20:52:48.042Z] e9a5061849ea: Verifying Checksum [2023-05-31T20:52:48.042Z] e9a5061849ea: Download complete [2023-05-31T20:52:48.042Z] d747dcd14b5f: Verifying Checksum [2023-05-31T20:52:48.042Z] d747dcd14b5f: Download complete [2023-05-31T20:52:48.042Z] 0d9ebad4ef96: Verifying Checksum [2023-05-31T20:52:48.042Z] 0d9ebad4ef96: Download complete [2023-05-31T20:52:48.042Z] ab5ef0e58194: Verifying Checksum [2023-05-31T20:52:48.042Z] ab5ef0e58194: Download complete [2023-05-31T20:52:48.042Z] 2de7ff778b66: Verifying Checksum [2023-05-31T20:52:51.324Z] ab5ef0e58194: Pull complete [2023-05-31T20:52:51.324Z] 9712f1f96733: Pull complete [2023-05-31T20:52:51.583Z] 63f879dbbcfc: Pull complete [2023-05-31T20:52:55.764Z] 0d9ebad4ef96: Pull complete [2023-05-31T20:52:55.764Z] e9a5061849ea: Pull complete [2023-05-31T20:52:55.764Z] d747dcd14b5f: Pull complete [2023-05-31T20:52:57.140Z] 2de7ff778b66: Pull complete [2023-05-31T20:52:57.140Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-31T20:52:57.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:57.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:57.224Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:52:57.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-31T20:53:02.207Z] $ docker top a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:53:02.256Z] provisioning config files... [2023-05-31T20:53:02.262Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11720186902919068444tmp [2023-05-31T20:53:02.271Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10340192427785176478tmp [2023-05-31T20:53:02.280Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7492824127298818999tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:53:02.299Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:02.580Z] ---> sigul-configuration.sh [2023-05-31T20:53:02.580Z] gpg: directory `/root/.gnupg' created [2023-05-31T20:53:02.580Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-31T20:53:02.580Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-31T20:53:02.580Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-31T20:53:02.580Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-31T20:53:02.580Z] gpg: CAST5 encrypted data [2023-05-31T20:53:02.580Z] gpg: encrypted with 1 passphrase [2023-05-31T20:53:02.580Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-31T20:53:02.864Z] + mkdir /home/jenkins [2023-05-31T20:53:02.864Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-31T20:53:03.149Z] + 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-05-31T20:53:03.154Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:03.442Z] ---> sigul-install.sh [2023-05-31T20:53:03.442Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-31T20:53:03.729Z] + git tag --list [2023-05-31T20:53:03.730Z] v1.0.0 [2023-05-31T20:53:03.730Z] v1.1.0 [2023-05-31T20:53:03.730Z] v1.1.1 [2023-05-31T20:53:03.730Z] v1.1.2 [2023-05-31T20:53:03.730Z] v1.2.0 [2023-05-31T20:53:03.730Z] v1.2.1 [2023-05-31T20:53:03.730Z] v2.0.0 [2023-05-31T20:53:03.730Z] v2.1.0 [2023-05-31T20:53:03.730Z] v2.1.1 [2023-05-31T20:53:03.730Z] v2.1.1-dev.1 [2023-05-31T20:53:03.730Z] v2.1.1-dev.2 [2023-05-31T20:53:03.730Z] v2.1.1-dev.3 [2023-05-31T20:53:03.730Z] v2.2.0 [2023-05-31T20:53:03.730Z] v2.2.1-dev.1 [2023-05-31T20:53:03.730Z] v2.2.1-dev.2 [2023-05-31T20:53:03.730Z] v2.2.1-dev.3 [2023-05-31T20:53:03.730Z] v2.2.1-dev.4 [2023-05-31T20:53:03.730Z] v2.2.1-dev.5 [2023-05-31T20:53:03.730Z] v2.2.1-dev.6 [2023-05-31T20:53:03.730Z] v2.2.1-dev.7 [2023-05-31T20:53:03.730Z] v2.2.1-dev.8 [2023-05-31T20:53:03.730Z] v2.2.1-dev.9 [2023-05-31T20:53:03.730Z] v2.3.0 [2023-05-31T20:53:03.730Z] v2.3.0-dev.10 [2023-05-31T20:53:03.730Z] v2.3.0-dev.11 [2023-05-31T20:53:03.730Z] v2.3.0-dev.12 [2023-05-31T20:53:03.730Z] v2.3.0-dev.13 [2023-05-31T20:53:03.730Z] v2.3.0-dev.14 [2023-05-31T20:53:03.730Z] v2.3.0-dev.15 [2023-05-31T20:53:03.730Z] v2.3.0-dev.16 [2023-05-31T20:53:03.730Z] v2.3.0-dev.17 [2023-05-31T20:53:03.730Z] v2.3.0-dev.18 [2023-05-31T20:53:03.730Z] v2.3.0-dev.19 [2023-05-31T20:53:03.730Z] v2.3.0-dev.20 [2023-05-31T20:53:03.730Z] v2.3.0-dev.21 [2023-05-31T20:53:03.730Z] v2.3.0-dev.22 [2023-05-31T20:53:03.730Z] v2.3.0-dev.23 [2023-05-31T20:53:03.730Z] v2.3.0-dev.24 [2023-05-31T20:53:03.730Z] v2.3.0-dev.25 [2023-05-31T20:53:03.730Z] v2.3.0-dev.9 [2023-05-31T20:53:03.730Z] v3.0.0 [2023-05-31T20:53:03.730Z] v3.0.0-dev.1 [2023-05-31T20:53:03.730Z] v3.0.0-dev.10 [2023-05-31T20:53:03.730Z] v3.0.0-dev.11 [2023-05-31T20:53:03.730Z] v3.0.0-dev.12 [2023-05-31T20:53:03.730Z] v3.0.0-dev.13 [2023-05-31T20:53:03.730Z] v3.0.0-dev.14 [2023-05-31T20:53:03.730Z] v3.0.0-dev.15 [2023-05-31T20:53:03.730Z] v3.0.0-dev.16 [2023-05-31T20:53:03.730Z] v3.0.0-dev.17 [2023-05-31T20:53:03.730Z] v3.0.0-dev.18 [2023-05-31T20:53:03.730Z] v3.0.0-dev.19 [2023-05-31T20:53:03.730Z] v3.0.0-dev.2 [2023-05-31T20:53:03.730Z] v3.0.0-dev.20 [2023-05-31T20:53:03.730Z] v3.0.0-dev.21 [2023-05-31T20:53:03.730Z] v3.0.0-dev.22 [2023-05-31T20:53:03.730Z] v3.0.0-dev.23 [2023-05-31T20:53:03.730Z] v3.0.0-dev.24 [2023-05-31T20:53:03.730Z] v3.0.0-dev.25 [2023-05-31T20:53:03.730Z] v3.0.0-dev.26 [2023-05-31T20:53:03.730Z] v3.0.0-dev.27 [2023-05-31T20:53:03.730Z] v3.0.0-dev.28 [2023-05-31T20:53:03.730Z] v3.0.0-dev.29 [2023-05-31T20:53:03.730Z] v3.0.0-dev.3 [2023-05-31T20:53:03.730Z] v3.0.0-dev.30 [2023-05-31T20:53:03.730Z] v3.0.0-dev.31 [2023-05-31T20:53:03.730Z] v3.0.0-dev.32 [2023-05-31T20:53:03.730Z] v3.0.0-dev.33 [2023-05-31T20:53:03.730Z] v3.0.0-dev.34 [2023-05-31T20:53:03.730Z] v3.0.0-dev.35 [2023-05-31T20:53:03.730Z] v3.0.0-dev.36 [2023-05-31T20:53:03.730Z] v3.0.0-dev.37 [2023-05-31T20:53:03.730Z] v3.0.0-dev.38 [2023-05-31T20:53:03.730Z] v3.0.0-dev.39 [2023-05-31T20:53:03.730Z] v3.0.0-dev.4 [2023-05-31T20:53:03.730Z] v3.0.0-dev.40 [2023-05-31T20:53:03.730Z] v3.0.0-dev.41 [2023-05-31T20:53:03.730Z] v3.0.0-dev.42 [2023-05-31T20:53:03.730Z] v3.0.0-dev.43 [2023-05-31T20:53:03.730Z] v3.0.0-dev.44 [2023-05-31T20:53:03.730Z] v3.0.0-dev.45 [2023-05-31T20:53:03.730Z] v3.0.0-dev.46 [2023-05-31T20:53:03.730Z] v3.0.0-dev.47 [2023-05-31T20:53:03.730Z] v3.0.0-dev.5 [2023-05-31T20:53:03.730Z] v3.0.0-dev.6 [2023-05-31T20:53:03.730Z] v3.0.0-dev.7 [2023-05-31T20:53:03.730Z] v3.0.0-dev.8 [2023-05-31T20:53:03.730Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-31T20:53:04.017Z] + lftools sign git-tag v3.0.0 [2023-05-31T20:53:04.584Z] Signing Git tag with Sigul... [2023-05-31T20:53:04.584Z] Signing v3.0.0 [Pipeline] echo [2023-05-31T20:53:05.157Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:05.442Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-31T20:53:05.450Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-31T20:53:05.485Z] $ docker stop --time=1 a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 [2023-05-31T20:53:06.800Z] $ docker rm -f --volumes a7c1365669f9f914adc5fd720c2751f6eab93b9dbc50eef19f2d8b52524e3086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-31T20:53:07.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:53:07.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:07.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:53:07.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:07.554Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:53:07.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:53:07.957Z] $ docker top d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c -eo pid,comm [2023-05-31T20:53:07.990Z] 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-05-31T20:53:07.990Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:53:08.010Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:53:08.305Z] + git semver [Pipeline] } [2023-05-31T20:53:08.597Z] $ docker stop --time=1 d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c [2023-05-31T20:53:09.869Z] $ docker rm -f --volumes d95c3540a2905d43ce17956b459dfb426d48fd6a7443d79507ef55345a4bae3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:53:10.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:53:10.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:10.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:53:10.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:10.553Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:53:10.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:53:10.982Z] $ docker top a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:53:11.052Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.47' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:53:11.343Z] + git semver [Pipeline] } [2023-05-31T20:53:11.631Z] $ docker stop --time=1 a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 [2023-05-31T20:53:12.899Z] $ docker rm -f --volumes a179cf67e35afee4339804942b7260618da726d2cbec4e9bf05ed37ac9bf7761 [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-05-31T20:53:13.421Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-05-31T20:53:13.422Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-31T20:53:13.422Z] total 16 [2023-05-31T20:53:13.422Z] drwxr-xr-x 3 root root 4096 May 31 20:41 . [2023-05-31T20:53:13.422Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:53 .. [2023-05-31T20:53:13.422Z] drwxr-xr-x 2 root root 4096 May 31 20:41 cost [2023-05-31T20:53:13.422Z] -rw-r--r-- 1 root root 86 May 31 20:41 cost.csv [2023-05-31T20:53:13.422Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-31T20:53:13.422Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-31T20:53:13.422Z] total 16 [2023-05-31T20:53:13.422Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:41 . [2023-05-31T20:53:13.422Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:53 .. [2023-05-31T20:53:13.422Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:41 cost [2023-05-31T20:53:13.422Z] -rw-r--r-- 1 jenkins jenkins 86 May 31 20:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:13.724Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:14.591Z] ---> package-listing.sh [2023-05-31T20:53:14.592Z] ++ facter osfamily [2023-05-31T20:53:14.592Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-31T20:53:14.850Z] + OS_FAMILY=debian [2023-05-31T20:53:14.850Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-05-31T20:53:14.850Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-31T20:53:14.850Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-31T20:53:14.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-31T20:53:14.850Z] + PACKAGES=/tmp/packages_start.txt [2023-05-31T20:53:14.850Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-31T20:53:14.850Z] + PACKAGES=/tmp/packages_end.txt [2023-05-31T20:53:14.850Z] + case "${OS_FAMILY}" in [2023-05-31T20:53:14.850Z] + dpkg -l [2023-05-31T20:53:14.850Z] + grep '^ii' [2023-05-31T20:53:14.850Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-31T20:53:14.850Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-31T20:53:14.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-31T20:53:14.850Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-31T20:53:14.850Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-05-31T20:53:14.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-05-31T20:53:14.859Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-31T20:53:15.134Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:15.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:53:15.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:15.788Z] prd-ubuntu20.04-docker-8c-8g-17551 does not seem to be running inside a container [2023-05-31T20:53:15.838Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:53:16.060Z] $ docker top 92e70656016b8af3cf52f402f6dba9a5d7fa66140df3aad90308ea9087fcb82a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:53:16.389Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-31T20:53:16.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-31T20:53:16.967Z] + ls /var/log/sa-host [2023-05-31T20:53:16.967Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:53:17.049Z] provisioning config files... [2023-05-31T20:53:17.057Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9147402049400100276tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:53:17.073Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:17.358Z] ---> create-netrc.sh [Pipeline] } [2023-05-31T20:53:17.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:17.689Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-31T20:53:17.696Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:17.982Z] ---> sudo-logs.sh [2023-05-31T20:53:17.983Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-31T20:53:18.012Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:18.335Z] ---> job-cost.sh [2023-05-31T20:53:18.335Z] lf-activate-venv: SKIPPING [2023-05-31T20:53:18.335Z] DEBUG: total: 0.2199999988079071 [2023-05-31T20:53:18.335Z] INFO: Retrieving Stack Cost... [2023-05-31T20:53:18.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:53:19.200Z] INFO: Archiving Costs [Pipeline] echo [2023-05-31T20:53:19.217Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:19.551Z] ---> logs-deploy.sh [2023-05-31T20:53:19.551Z] lf-activate-venv: SKIPPING [2023-05-31T20:53:19.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/120 [2023-05-31T20:53:19.551Z] INFO: archiving workspace using pattern(s): [2023-05-31T20:53:20.505Z] Archives upload complete. [2023-05-31T20:53:20.505Z] INFO: archiving logs to Nexus