Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d91178305c2fdb466838f343222f56a000ebb2b 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-ssh3334788458548643970.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh10484378580263885746.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13768288507256740861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2125949050633717015.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14250268108734755288.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2009 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2d91178305c2fdb466838f343222f56a000ebb2b (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @26dd2cd" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 > git rev-list --no-walk 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-31T09:41:06.296Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-31T09:41:06.375Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T09:41:06.401Z] ========================================================= [2024-05-31T09:41:06.401Z] EdgeX Global Pipelines Version Info [2024-05-31T09:41:06.401Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:41:07.191Z] ------------------- [2024-05-31T09:41:07.191Z] stable info: [2024-05-31T09:41:07.191Z] ------------------- [2024-05-31T09:41:07.191Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-31T09:41:07.191Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-31T09:41:07.191Z] Message: update stable to v1.0.260 [2024-05-31T09:41:07.764Z] ------------------- [2024-05-31T09:41:07.764Z] experimental info: [2024-05-31T09:41:07.764Z] ------------------- [2024-05-31T09:41:07.764Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-31T09:41:07.764Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-31T09:41:07.764Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-31T09:41:07.838Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-05-31T09:41:07.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-05-31T09:41:07.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-31T09:41:07.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-31T09:41:07.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-31T09:41:07.947Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-31T09:41:07.966Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-31T09:41:07.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-31T09:41:08.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-31T09:41:08.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-31T09:41:08.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-31T09:41:08.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-05-31T09:41:08.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-31T09:41:08.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-31T09:41:08.150Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-31T09:41:08.173Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-31T09:41:08.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-31T09:41:08.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-31T09:41:08.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-31T09:41:08.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-31T09:41:08.284Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-31T09:41:08.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-31T09:41:08.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-31T09:41:08.362Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-31T09:41:08.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-31T09:41:08.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-31T09:41:08.432Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-31T09:41:08.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-31T09:41:08.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-31T09:41:08.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-31T09:41:08.532Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo [2024-05-31T09:41:08.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d91178 [Pipeline] echo [2024-05-31T09:41:08.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:41:08.639Z] provisioning config files... [2024-05-31T09:41:08.652Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config5744305490804236001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:41:08.985Z] ---> ****-login.sh [2024-05-31T09:41:08.985Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:41:09.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:09.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:09.244Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:09.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:09.244Z] [2024-05-31T09:41:09.244Z] Login Succeeded [2024-05-31T09:41:09.244Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:41:09.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:09.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:09.244Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:09.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:09.244Z] [2024-05-31T09:41:09.244Z] Login Succeeded [2024-05-31T09:41:09.244Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:41:09.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:09.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:09.501Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:09.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:09.501Z] [2024-05-31T09:41:09.501Z] Login Succeeded [2024-05-31T09:41:09.501Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:41:09.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:09.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:09.501Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:09.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:09.501Z] [2024-05-31T09:41:09.501Z] Login Succeeded [2024-05-31T09:41:09.501Z] ****.io [2024-05-31T09:41:09.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:10.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:10.021Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:10.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:10.021Z] [2024-05-31T09:41:10.021Z] Login Succeeded [2024-05-31T09:41:10.021Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:41:10.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-31T09:41:10.419Z] + git rev-list -1 --merges 2d91178305c2fdb466838f343222f56a000ebb2b~1..2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo [2024-05-31T09:41:10.441Z] -----------> git rev-list -1 --merges 2d91178305c2fdb466838f343222f56a000ebb2b~1..2d91178305c2fdb466838f343222f56a000ebb2b 2d91178305c2fdb466838f343222f56a000ebb2b [false] [Pipeline] sh [2024-05-31T09:41:10.733Z] + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo [2024-05-31T09:41:10.748Z] ========================================================= [2024-05-31T09:41:10.748Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2024-05-31T09:41:10.748Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T09:41:11.077Z] + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] echo [2024-05-31T09:41:11.089Z] [semverPrep] GIT_COMMIT: 2d91178305c2fdb466838f343222f56a000ebb2b, Commit Message: ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] echo [2024-05-31T09:41:11.101Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-31T09:41:11.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T09:41:11.450Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-31T09:41:11.450Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-31T09:41:11.450Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-31T09:41:11.450Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-31T09:41:11.450Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-31T09:41:11.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:41:11.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:41:11.804Z] [2024-05-31T09:41:11.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:41:12.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:41:12.201Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-31T09:41:12.201Z] b85a868b505f: Pulling fs layer [2024-05-31T09:41:12.201Z] e2be974225ed: Pulling fs layer [2024-05-31T09:41:12.201Z] 339a4e72a1f5: Pulling fs layer [2024-05-31T09:41:12.201Z] 988bab9f4d93: Pulling fs layer [2024-05-31T09:41:12.201Z] 1469e6f7b9e6: Pulling fs layer [2024-05-31T09:41:12.201Z] eaf3925da568: Pulling fs layer [2024-05-31T09:41:12.201Z] bab4dde63d76: Pulling fs layer [2024-05-31T09:41:12.201Z] bde34c3a00c8: Pulling fs layer [2024-05-31T09:41:12.201Z] b352a97aabf1: Pulling fs layer [2024-05-31T09:41:12.201Z] 4872d77fe225: Pulling fs layer [2024-05-31T09:41:12.201Z] 5851b861e8e6: Pulling fs layer [2024-05-31T09:41:12.201Z] bde34c3a00c8: Waiting [2024-05-31T09:41:12.201Z] 1469e6f7b9e6: Waiting [2024-05-31T09:41:12.201Z] b352a97aabf1: Waiting [2024-05-31T09:41:12.201Z] eaf3925da568: Waiting [2024-05-31T09:41:12.201Z] 4872d77fe225: Waiting [2024-05-31T09:41:12.201Z] 5851b861e8e6: Waiting [2024-05-31T09:41:12.201Z] 988bab9f4d93: Waiting [2024-05-31T09:41:12.201Z] bab4dde63d76: Waiting [2024-05-31T09:41:12.201Z] e2be974225ed: Download complete [2024-05-31T09:41:12.201Z] 988bab9f4d93: Download complete [2024-05-31T09:41:12.201Z] 1469e6f7b9e6: Verifying Checksum [2024-05-31T09:41:12.201Z] 1469e6f7b9e6: Download complete [2024-05-31T09:41:12.201Z] 339a4e72a1f5: Verifying Checksum [2024-05-31T09:41:12.201Z] 339a4e72a1f5: Download complete [2024-05-31T09:41:12.201Z] eaf3925da568: Download complete [2024-05-31T09:41:12.201Z] bde34c3a00c8: Verifying Checksum [2024-05-31T09:41:12.201Z] bde34c3a00c8: Download complete [2024-05-31T09:41:12.201Z] b352a97aabf1: Verifying Checksum [2024-05-31T09:41:12.201Z] b352a97aabf1: Download complete [2024-05-31T09:41:12.201Z] 4872d77fe225: Verifying Checksum [2024-05-31T09:41:12.201Z] 4872d77fe225: Download complete [2024-05-31T09:41:12.201Z] 5851b861e8e6: Download complete [2024-05-31T09:41:12.466Z] b85a868b505f: Verifying Checksum [2024-05-31T09:41:12.466Z] b85a868b505f: Download complete [2024-05-31T09:41:12.726Z] bab4dde63d76: Verifying Checksum [2024-05-31T09:41:12.726Z] bab4dde63d76: Download complete [2024-05-31T09:41:13.666Z] b85a868b505f: Pull complete [2024-05-31T09:41:13.924Z] e2be974225ed: Pull complete [2024-05-31T09:41:14.185Z] 339a4e72a1f5: Pull complete [2024-05-31T09:41:14.447Z] 988bab9f4d93: Pull complete [2024-05-31T09:41:14.706Z] 1469e6f7b9e6: Pull complete [2024-05-31T09:41:14.706Z] eaf3925da568: Pull complete [2024-05-31T09:41:16.611Z] bab4dde63d76: Pull complete [2024-05-31T09:41:16.611Z] bde34c3a00c8: Pull complete [2024-05-31T09:41:16.871Z] b352a97aabf1: Pull complete [2024-05-31T09:41:16.871Z] 4872d77fe225: Pull complete [2024-05-31T09:41:17.130Z] 5851b861e8e6: Pull complete [2024-05-31T09:41:17.131Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-31T09:41:17.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:41:17.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:41:17.283Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T09:41:17.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-31T09:41:21.052Z] $ docker top 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 -eo pid,comm [2024-05-31T09:41:21.121Z] 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). [2024-05-31T09:41:21.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-31T09:41:21.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-31T09:41:21.167Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-31T09:41:21.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-31T09:41:21.285Z] $ docker exec 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent [2024-05-31T09:41:21.396Z] SSH_AUTH_SOCK=/tmp/ssh-azzGQrbt48No/agent.32 [2024-05-31T09:41:21.396Z] SSH_AGENT_PID=38 [2024-05-31T09:41:21.404Z] Running ssh-add (command line suppressed) [2024-05-31T09:41:21.516Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_9060726061398992940.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_9060726061398992940.key) [2024-05-31T09:41:21.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-31T09:41:21.822Z] + git tag --points-at 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [2024-05-31T09:41:21.834Z] $ docker exec --env ******** --env ******** 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent -k [2024-05-31T09:41:21.947Z] unset SSH_AUTH_SOCK; [2024-05-31T09:41:21.947Z] unset SSH_AGENT_PID; [2024-05-31T09:41:21.947Z] echo Agent pid 38 killed; [2024-05-31T09:41:21.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2024-05-31T09:41:21.996Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent [2024-05-31T09:41:22.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-31T09:41:22.044Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-31T09:41:22.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-31T09:41:22.175Z] $ docker exec 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent [2024-05-31T09:41:22.297Z] SSH_AUTH_SOCK=/tmp/ssh-rx1pd9a2JVho/agent.71 [2024-05-31T09:41:22.297Z] SSH_AGENT_PID=77 [2024-05-31T09:41:22.303Z] Running ssh-add (command line suppressed) [2024-05-31T09:41:22.409Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_574916576408046378.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_574916576408046378.key) [2024-05-31T09:41:22.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-31T09:41:22.720Z] + git semver init [2024-05-31T09:41:22.980Z] 2024-05-31 09:41:22,918 [run_init] DEBUG init version:0.0.0 force:False [2024-05-31T09:41:22.980Z] 2024-05-31 09:41:22,919 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver [2024-05-31T09:41:22.980Z] 2024-05-31 09:41:22,920 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver [2024-05-31T09:41:22.980Z] 2024-05-31 09:41:22,920 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-31T09:41:24.962Z] 2024-05-31 09:41:24,319 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude [2024-05-31T09:41:24.962Z] 2024-05-31 09:41:24,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False [2024-05-31T09:41:24.962Z] 2024-05-31 09:41:24,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2024-05-31T09:41:24.962Z] 2024-05-31 09:41:24,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2024-05-31T09:41:24.962Z] 3.1.1 [Pipeline] } [2024-05-31T09:41:24.972Z] $ docker exec --env ******** --env ******** 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 ssh-agent -k [2024-05-31T09:41:25.075Z] unset SSH_AUTH_SOCK; [2024-05-31T09:41:25.076Z] unset SSH_AGENT_PID; [2024-05-31T09:41:25.076Z] echo Agent pid 77 killed; [2024-05-31T09:41:25.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T09:41:26.339Z] + git semver [Pipeline] } [2024-05-31T09:41:26.354Z] $ docker stop --time=1 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 [2024-05-31T09:41:27.741Z] $ docker rm -f --volumes 58aee1ae5c2bf1d450833296d42c228e38c554cd21c6cbbf515db7b1fd76a187 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:41:28.086Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-31T09:41:32.074Z] Stashed 1 file(s) [Pipeline] echo [2024-05-31T09:41:32.077Z] [edgeXSemver]: initialized semver on version 3.1.1 [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 [2024-05-31T09:41:34.895Z] + git checkout 2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T09:41:34.895Z] HEAD is now at 2d91178 ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:41:34.924Z] provisioning config files... [2024-05-31T09:41:34.934Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config8216792543604396834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:41:35.238Z] ---> ****-login.sh [2024-05-31T09:41:35.239Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:41:35.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:35.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:35.239Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:35.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:35.239Z] [2024-05-31T09:41:35.239Z] Login Succeeded [2024-05-31T09:41:35.239Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:41:35.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:35.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:35.239Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:35.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:35.239Z] [2024-05-31T09:41:35.239Z] Login Succeeded [2024-05-31T09:41:35.239Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:41:35.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:35.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:35.499Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:35.499Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:35.499Z] [2024-05-31T09:41:35.499Z] Login Succeeded [2024-05-31T09:41:35.499Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:41:35.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:35.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:35.499Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:35.499Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:35.499Z] [2024-05-31T09:41:35.499Z] Login Succeeded [2024-05-31T09:41:35.499Z] ****.io [2024-05-31T09:41:35.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:35.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:35.757Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:35.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:35.757Z] [2024-05-31T09:41:35.757Z] Login Succeeded [2024-05-31T09:41:35.758Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:41:35.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-31T09:41:35.848Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-31T09:41:36.137Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-31T09:41:36.137Z] + cut -d -f 2 [Pipeline] echo [2024-05-31T09:41:36.152Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:41:36.168Z] ========================================================= [2024-05-31T09:41:36.168Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-31T09:41:36.168Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:41:36.501Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-31T09:41:36.759Z] Sending build context to Docker daemon 45.79MB [2024-05-31T09:41:36.759Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:41:36.759Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-31T09:41:37.019Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-31T09:41:37.019Z] 619be1103602: Pulling fs layer [2024-05-31T09:41:37.019Z] 7862e08f4a3e: Pulling fs layer [2024-05-31T09:41:37.019Z] 5df492c9dc93: Pulling fs layer [2024-05-31T09:41:37.019Z] 7629e6793208: Pulling fs layer [2024-05-31T09:41:37.019Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T09:41:37.019Z] 8de7f028bff5: Pulling fs layer [2024-05-31T09:41:37.019Z] 44042ff1420b: Pulling fs layer [2024-05-31T09:41:37.019Z] 5cdaf54b7214: Pulling fs layer [2024-05-31T09:41:37.019Z] 38f3e5a9071a: Pulling fs layer [2024-05-31T09:41:37.019Z] 4f4fb700ef54: Waiting [2024-05-31T09:41:37.019Z] 8de7f028bff5: Waiting [2024-05-31T09:41:37.019Z] 44042ff1420b: Waiting [2024-05-31T09:41:37.019Z] 5cdaf54b7214: Waiting [2024-05-31T09:41:37.019Z] 38f3e5a9071a: Waiting [2024-05-31T09:41:37.019Z] 7629e6793208: Waiting [2024-05-31T09:41:37.019Z] 7862e08f4a3e: Verifying Checksum [2024-05-31T09:41:37.019Z] 7862e08f4a3e: Download complete [2024-05-31T09:41:37.019Z] 7629e6793208: Verifying Checksum [2024-05-31T09:41:37.019Z] 7629e6793208: Download complete [2024-05-31T09:41:37.019Z] 4f4fb700ef54: Verifying Checksum [2024-05-31T09:41:37.019Z] 4f4fb700ef54: Download complete [2024-05-31T09:41:37.019Z] 8de7f028bff5: Verifying Checksum [2024-05-31T09:41:37.019Z] 8de7f028bff5: Download complete [2024-05-31T09:41:37.019Z] 619be1103602: Verifying Checksum [2024-05-31T09:41:37.019Z] 619be1103602: Download complete [2024-05-31T09:41:37.019Z] 44042ff1420b: Verifying Checksum [2024-05-31T09:41:37.019Z] 44042ff1420b: Download complete [2024-05-31T09:41:37.019Z] 619be1103602: Pull complete [2024-05-31T09:41:37.282Z] 7862e08f4a3e: Pull complete [2024-05-31T09:41:37.282Z] 38f3e5a9071a: Verifying Checksum [2024-05-31T09:41:37.282Z] 38f3e5a9071a: Download complete [2024-05-31T09:41:37.862Z] 5df492c9dc93: Verifying Checksum [2024-05-31T09:41:37.862Z] 5df492c9dc93: Download complete [2024-05-31T09:41:37.862Z] 5cdaf54b7214: Verifying Checksum [2024-05-31T09:41:37.862Z] 5cdaf54b7214: Download complete [2024-05-31T09:41:41.152Z] 5df492c9dc93: Pull complete [2024-05-31T09:41:41.152Z] 7629e6793208: Pull complete [2024-05-31T09:41:41.412Z] 4f4fb700ef54: Pull complete [2024-05-31T09:41:41.412Z] 8de7f028bff5: Pull complete [2024-05-31T09:41:41.412Z] 44042ff1420b: Pull complete [2024-05-31T09:41:43.942Z] 5cdaf54b7214: Pull complete [2024-05-31T09:41:44.510Z] 38f3e5a9071a: Pull complete [2024-05-31T09:41:44.510Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-31T09:41:44.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-31T09:41:44.780Z] ---> 60b93f829570 [2024-05-31T09:41:44.780Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:41:47.205Z] Still waiting to schedule task [2024-05-31T09:41:47.205Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ [2024-05-31T09:41:50.063Z] ---> Running in 84891f83f36b [2024-05-31T09:41:50.063Z] Removing intermediate container 84891f83f36b [2024-05-31T09:41:50.063Z] ---> 3602740f4918 [2024-05-31T09:41:50.063Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:41:50.063Z] ---> Running in 758c8b2bdbfe [2024-05-31T09:41:50.063Z] Removing intermediate container 758c8b2bdbfe [2024-05-31T09:41:50.063Z] ---> 187fe7b26f69 [2024-05-31T09:41:50.063Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:41:50.063Z] ---> Running in c580d9bcd080 [2024-05-31T09:41:50.063Z] Removing intermediate container c580d9bcd080 [2024-05-31T09:41:50.063Z] ---> 950239bbabe7 [2024-05-31T09:41:50.063Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:41:50.063Z] ---> Running in 986efd274dcb [2024-05-31T09:41:50.063Z] Removing intermediate container 986efd274dcb [2024-05-31T09:41:50.063Z] ---> 644b0abf52a1 [2024-05-31T09:41:50.063Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:41:50.063Z] ---> Running in 115d0921a507 [2024-05-31T09:41:50.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:41:50.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:41:50.063Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-31T09:41:50.322Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-31T09:41:50.322Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-31T09:41:50.322Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-31T09:41:50.322Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:41:50.322Z] OK: 268 MiB in 56 packages [2024-05-31T09:41:50.581Z] Removing intermediate container 115d0921a507 [2024-05-31T09:41:50.581Z] ---> 57cc272845d0 [2024-05-31T09:41:50.581Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-31T09:41:50.581Z] ---> Running in 2308650ffa84 [2024-05-31T09:41:50.838Z] Removing intermediate container 2308650ffa84 [2024-05-31T09:41:50.838Z] ---> 9df69dd0fffa [2024-05-31T09:41:50.838Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-31T09:41:52.794Z] ---> daab0ec258c4 [2024-05-31T09:41:52.794Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:41:53.054Z] ---> Running in 900cd6bdcb71 [2024-05-31T09:42:19.730Z] Removing intermediate container 900cd6bdcb71 [2024-05-31T09:42:19.730Z] ---> 2ea8173a894f [2024-05-31T09:42:19.730Z] Step 11/12 : COPY . . [2024-05-31T09:42:19.990Z] ---> fb4dd8581559 [2024-05-31T09:42:19.990Z] Step 12/12 : RUN $MAKE [2024-05-31T09:42:19.990Z] ---> Running in 06be187133e2 [2024-05-31T09:42:20.252Z] noop [2024-05-31T09:42:20.513Z] Removing intermediate container 06be187133e2 [2024-05-31T09:42:20.513Z] ---> 7dcca659f69b [2024-05-31T09:42:20.513Z] Successfully built 7dcca659f69b [2024-05-31T09:42:20.513Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:21.103Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-31T09:42:21.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:42:21.182Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T09:42:21.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-31T09:42:21.631Z] $ docker top 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:42:21.969Z] + go version [2024-05-31T09:42:21.969Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-31T09:42:21.984Z] $ docker stop --time=1 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 [2024-05-31T09:42:23.285Z] $ docker rm -f --volumes 298ad708347c7540efdc14778de7fb5d38210b32234497eb747e82fe715c8114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:23.719Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-31T09:42:23.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:42:23.822Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T09:42:23.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-31T09:42:24.201Z] $ docker top d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:42:24.557Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:42:24.860Z] + make test [2024-05-31T09:42:24.860Z] go test ./... -coverprofile=coverage.out ./... [2024-05-31T09:42:26.234Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-31T09:42:38.434Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-31T09:42:38.434Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2024-05-31T09:42:43.694Z] go vet ./... [2024-05-31T09:42:47.890Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-31T09:42:47.890Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-31T09:42:47.890Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-31T09:42:47.901Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:42:48.206Z] + go mod tidy [Pipeline] } [2024-05-31T09:42:48.528Z] $ docker stop --time=1 d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 [2024-05-31T09:42:52.301Z] $ docker rm -f --volumes d885cb5ab15e8827e3b8a01de8e3c6fe7a39c7426d90afe3e1dcf2c0769e8d21 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:42:52.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-31T09:42:52.905Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-31T09:42:53.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-31T09:42:53.631Z] + ls -al . [2024-05-31T09:42:53.631Z] total 184 [2024-05-31T09:42:53.631Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 09:42 . [2024-05-31T09:42:53.631Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:41 .. [2024-05-31T09:42:53.631Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 09:41 .dockerignore [2024-05-31T09:42:53.631Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git [2024-05-31T09:42:53.632Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 .github [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:41 .gitignore [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:41 .golangci.yml [2024-05-31T09:42:53.632Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 31 09:41 Attribution.txt [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 31 09:41 CHANGELOG.md [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 31 09:41 Dockerfile [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:41 GOVERNANCE.md [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 09:41 Jenkinsfile [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:41 LICENSE [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 31 09:41 Makefile [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:41 OWNERS.md [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 31 09:41 README.md [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION [2024-05-31T09:42:53.632Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:41 bin [2024-05-31T09:42:53.632Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 cmd [2024-05-31T09:42:53.632Z] -rw-r--r-- 1 jenkins jenkins 14499 May 31 09:42 coverage.out [2024-05-31T09:42:53.632Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:41 driver [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 31 09:41 go.mod [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:41 go.sum [2024-05-31T09:42:53.632Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:41 openapi [2024-05-31T09:42:53.632Z] drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:41 vendor [2024-05-31T09:42:53.632Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:53.955Z] + 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=2d91178305c2fdb466838f343222f56a000ebb2b --label arch=amd64 --label version=3.1.1 . [2024-05-31T09:42:54.254Z] Sending build context to Docker daemon 45.81MB [2024-05-31T09:42:54.254Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:42:54.254Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-31T09:42:54.254Z] ---> 7dcca659f69b [2024-05-31T09:42:54.254Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:42:54.841Z] ---> Running in 53c9864e5291 [2024-05-31T09:42:55.103Z] Removing intermediate container 53c9864e5291 [2024-05-31T09:42:55.103Z] ---> 5094ad2dffd8 [2024-05-31T09:42:55.103Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:42:55.103Z] ---> Running in 84dc3817c69b [2024-05-31T09:42:55.103Z] Removing intermediate container 84dc3817c69b [2024-05-31T09:42:55.103Z] ---> caf494749db4 [2024-05-31T09:42:55.103Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:42:55.103Z] ---> Running in fb3f4804034e [2024-05-31T09:42:55.103Z] Removing intermediate container fb3f4804034e [2024-05-31T09:42:55.103Z] ---> 75a281f479d9 [2024-05-31T09:42:55.103Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:42:55.103Z] ---> Running in b01852e139ca [2024-05-31T09:42:55.364Z] Removing intermediate container b01852e139ca [2024-05-31T09:42:55.364Z] ---> 49f589fc8eb1 [2024-05-31T09:42:55.364Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:42:55.364Z] ---> Running in 6773ca3f3045 [2024-05-31T09:42:55.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:42:55.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:42:55.881Z] OK: 268 MiB in 56 packages [2024-05-31T09:42:56.140Z] Removing intermediate container 6773ca3f3045 [2024-05-31T09:42:56.140Z] ---> 8d2d0a2dbe29 [2024-05-31T09:42:56.140Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-31T09:42:56.140Z] ---> Running in 7e107dec935a [2024-05-31T09:42:56.140Z] Removing intermediate container 7e107dec935a [2024-05-31T09:42:56.140Z] ---> b38545da9bee [2024-05-31T09:42:56.140Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-31T09:42:58.149Z] ---> 66bb74cb22fe [2024-05-31T09:42:58.149Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:42:58.409Z] ---> Running in 4f9fb015dc3d [2024-05-31T09:42:58.667Z] skipping... [2024-05-31T09:42:58.924Z] Removing intermediate container 4f9fb015dc3d [2024-05-31T09:42:58.924Z] ---> 54f0b3ec796a [2024-05-31T09:42:58.924Z] Step 11/26 : COPY . . [2024-05-31T09:43:00.822Z] ---> 5f6e200823cf [2024-05-31T09:43:00.822Z] Step 12/26 : RUN $MAKE [2024-05-31T09:43:01.080Z] ---> Running in 81607d35a103 [2024-05-31T09:43:01.337Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-31T09:43:23.265Z] Removing intermediate container 81607d35a103 [2024-05-31T09:43:23.265Z] ---> b067d980535c [2024-05-31T09:43:23.265Z] Step 13/26 : FROM alpine:3.18 [2024-05-31T09:43:23.265Z] 3.18: Pulling from library/alpine [2024-05-31T09:43:23.265Z] 619be1103602: Already exists [2024-05-31T09:43:23.265Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-31T09:43:23.265Z] Status: Downloaded newer image for alpine:3.18 [2024-05-31T09:43:23.265Z] ---> d3782b16ccc9 [2024-05-31T09:43:23.265Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-31T09:43:23.265Z] ---> Running in 4434ae3a8391 [2024-05-31T09:43:23.265Z] Removing intermediate container 4434ae3a8391 [2024-05-31T09:43:23.265Z] ---> 24e8888691f8 [2024-05-31T09:43:23.265Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-31T09:43:23.265Z] ---> Running in 50df1e38c647 [2024-05-31T09:43:23.265Z] Removing intermediate container 50df1e38c647 [2024-05-31T09:43:23.265Z] ---> 185ca0bb3a40 [2024-05-31T09:43:23.265Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-31T09:43:23.265Z] ---> Running in 6e304ec7e98c [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-31T09:43:23.265Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:43:23.265Z] OK: 7 MiB in 16 packages [2024-05-31T09:43:23.265Z] Removing intermediate container 6e304ec7e98c [2024-05-31T09:43:23.265Z] ---> 5bb852aa8585 [2024-05-31T09:43:23.265Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-31T09:43:23.265Z] ---> Running in bc9d966bf9bc [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] Upgrading critical system libraries and apk-tools: [2024-05-31T09:43:23.265Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-31T09:43:23.265Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:43:23.265Z] Continuing the upgrade transaction with new apk-tools: [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:23.265Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:23.265Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-31T09:43:23.265Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:23.265Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-31T09:43:23.265Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:43:23.265Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:43:23.265Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:23.265Z] Executing busybox-1.36.1-r6.trigger [2024-05-31T09:43:23.265Z] OK: 7 MiB in 16 packages [2024-05-31T09:43:24.225Z] Removing intermediate container bc9d966bf9bc [2024-05-31T09:43:24.225Z] ---> b2ae35d24b07 [2024-05-31T09:43:24.225Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-31T09:43:25.162Z] ---> c68888313a08 [2024-05-31T09:43:25.162Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-31T09:43:25.425Z] ---> eee14a1b4429 [2024-05-31T09:43:25.425Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-31T09:43:25.425Z] ---> b6b487361c33 [2024-05-31T09:43:25.425Z] Step 21/26 : EXPOSE 59986 [2024-05-31T09:43:25.425Z] ---> Running in 7c24e22a531e [2024-05-31T09:43:25.684Z] Removing intermediate container 7c24e22a531e [2024-05-31T09:43:25.684Z] ---> 09e7cbdb6864 [2024-05-31T09:43:25.684Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-31T09:43:25.684Z] ---> Running in 657626cddf6d [2024-05-31T09:43:25.684Z] Removing intermediate container 657626cddf6d [2024-05-31T09:43:25.684Z] ---> 91ae1d97ab48 [2024-05-31T09:43:25.684Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-31T09:43:25.684Z] ---> Running in bc61e91cc6b4 [2024-05-31T09:43:25.684Z] Removing intermediate container bc61e91cc6b4 [2024-05-31T09:43:25.684Z] ---> d2651dc30734 [2024-05-31T09:43:25.684Z] Step 24/26 : LABEL arch=amd64 [2024-05-31T09:43:25.684Z] ---> Running in a29b1a34f414 [2024-05-31T09:43:25.943Z] Removing intermediate container a29b1a34f414 [2024-05-31T09:43:25.943Z] ---> e6e192820c59 [2024-05-31T09:43:25.943Z] Step 25/26 : LABEL git_sha=2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T09:43:25.943Z] ---> Running in d4a74a7a1b37 [2024-05-31T09:43:25.943Z] Removing intermediate container d4a74a7a1b37 [2024-05-31T09:43:25.943Z] ---> 5b8545f4a687 [2024-05-31T09:43:25.943Z] Step 26/26 : LABEL version=3.1.1 [2024-05-31T09:43:25.943Z] ---> Running in c3688386fcd8 [2024-05-31T09:43:25.943Z] Removing intermediate container c3688386fcd8 [2024-05-31T09:43:25.943Z] ---> 008ef0affe7c [2024-05-31T09:43:25.943Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-31T09:43:26.202Z] Successfully built 008ef0affe7c [2024-05-31T09:43:26.202Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:43:26.319Z] provisioning config files... [2024-05-31T09:43:26.328Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config304767009025195371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:43:26.633Z] ---> ****-login.sh [2024-05-31T09:43:26.633Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:43:26.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:26.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:26.633Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:26.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:26.633Z] [2024-05-31T09:43:26.633Z] Login Succeeded [2024-05-31T09:43:26.633Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:43:26.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:26.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:26.633Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:26.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:26.633Z] [2024-05-31T09:43:26.633Z] Login Succeeded [2024-05-31T09:43:26.633Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:43:26.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:26.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:26.891Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:26.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:26.892Z] [2024-05-31T09:43:26.892Z] Login Succeeded [2024-05-31T09:43:26.892Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:43:26.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:26.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:26.892Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:26.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:26.892Z] [2024-05-31T09:43:26.892Z] Login Succeeded [2024-05-31T09:43:26.892Z] ****.io [2024-05-31T09:43:27.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:27.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:27.151Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:27.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:27.151Z] [2024-05-31T09:43:27.151Z] Login Succeeded [2024-05-31T09:43:27.151Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:43:27.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:43:27.214Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:43:27.245Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-05-31T09:43:27.246Z] 2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T09:43:27.246Z] 3.1.1 [2024-05-31T09:43:27.246Z] 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T09:43:27.246Z] napa [2024-05-31T09:43:27.246Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:27.598Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:27.934Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T09:43:27.934Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-31T09:43:27.934Z] bf50a1d8d284: Preparing [2024-05-31T09:43:27.934Z] a735fcbdf50a: Preparing [2024-05-31T09:43:27.934Z] 056d73d326ed: Preparing [2024-05-31T09:43:27.934Z] a5778d89dadd: Preparing [2024-05-31T09:43:27.934Z] 948bd813188a: Preparing [2024-05-31T09:43:27.934Z] aedc3bda2944: Preparing [2024-05-31T09:43:27.934Z] aedc3bda2944: Waiting [2024-05-31T09:43:27.934Z] bf50a1d8d284: Pushed [2024-05-31T09:43:27.934Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:27.934Z] a735fcbdf50a: Pushed [2024-05-31T09:43:27.934Z] 948bd813188a: Pushed [2024-05-31T09:43:28.870Z] a5778d89dadd: Pushed [2024-05-31T09:43:31.455Z] 056d73d326ed: Pushed [2024-05-31T09:43:31.455Z] 2d91178305c2fdb466838f343222f56a000ebb2b: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:31.792Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:32.122Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.1 [2024-05-31T09:43:32.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-31T09:43:32.122Z] bf50a1d8d284: Preparing [2024-05-31T09:43:32.122Z] a735fcbdf50a: Preparing [2024-05-31T09:43:32.122Z] 056d73d326ed: Preparing [2024-05-31T09:43:32.122Z] a5778d89dadd: Preparing [2024-05-31T09:43:32.122Z] 948bd813188a: Preparing [2024-05-31T09:43:32.122Z] aedc3bda2944: Preparing [2024-05-31T09:43:32.122Z] aedc3bda2944: Waiting [2024-05-31T09:43:32.122Z] a5778d89dadd: Layer already exists [2024-05-31T09:43:32.122Z] a735fcbdf50a: Layer already exists [2024-05-31T09:43:32.122Z] bf50a1d8d284: Layer already exists [2024-05-31T09:43:32.122Z] 056d73d326ed: Layer already exists [2024-05-31T09:43:32.122Z] 948bd813188a: Layer already exists [2024-05-31T09:43:32.122Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:32.122Z] 3.1.1: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:32.454Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:32.777Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T09:43:32.777Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-31T09:43:32.777Z] bf50a1d8d284: Preparing [2024-05-31T09:43:32.777Z] a735fcbdf50a: Preparing [2024-05-31T09:43:32.777Z] 056d73d326ed: Preparing [2024-05-31T09:43:32.777Z] a5778d89dadd: Preparing [2024-05-31T09:43:32.777Z] 948bd813188a: Preparing [2024-05-31T09:43:32.777Z] aedc3bda2944: Preparing [2024-05-31T09:43:32.777Z] aedc3bda2944: Waiting [2024-05-31T09:43:32.777Z] 056d73d326ed: Layer already exists [2024-05-31T09:43:32.777Z] 948bd813188a: Layer already exists [2024-05-31T09:43:32.777Z] a5778d89dadd: Layer already exists [2024-05-31T09:43:32.777Z] a735fcbdf50a: Layer already exists [2024-05-31T09:43:32.777Z] bf50a1d8d284: Layer already exists [2024-05-31T09:43:32.777Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:32.777Z] 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:33.111Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:33.435Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:napa [2024-05-31T09:43:33.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-31T09:43:33.435Z] bf50a1d8d284: Preparing [2024-05-31T09:43:33.435Z] a735fcbdf50a: Preparing [2024-05-31T09:43:33.435Z] 056d73d326ed: Preparing [2024-05-31T09:43:33.435Z] a5778d89dadd: Preparing [2024-05-31T09:43:33.435Z] 948bd813188a: Preparing [2024-05-31T09:43:33.435Z] aedc3bda2944: Preparing [2024-05-31T09:43:33.435Z] 056d73d326ed: Layer already exists [2024-05-31T09:43:33.435Z] 948bd813188a: Layer already exists [2024-05-31T09:43:33.435Z] a5778d89dadd: Layer already exists [2024-05-31T09:43:33.435Z] a735fcbdf50a: Layer already exists [2024-05-31T09:43:33.435Z] bf50a1d8d284: Layer already exists [2024-05-31T09:43:33.435Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:33.435Z] napa: digest: sha256:4d831fd365e37df9e7b3bf0915f4e2f1fb421a1916ec7aeb67317a97c9d404d5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:43:33.508Z] ===================================================== [Pipeline] echo [2024-05-31T09:43:33.520Z] taggedImages: [2024-05-31T09:43:33.520Z] - nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T09:43:33.520Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.1 [2024-05-31T09:43:33.520Z] - nexus3.edgexfoundry.org:10004/device-rest:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T09:43:33.520Z] - nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:33.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:33.916Z] [2024-05-31T09:43:33.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:34.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:34.222Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-31T09:43:34.222Z] 5eb5b503b376: Pulling fs layer [2024-05-31T09:43:34.222Z] 5c69ac0246d0: Pulling fs layer [2024-05-31T09:43:34.222Z] ec43610c2a17: Pulling fs layer [2024-05-31T09:43:34.222Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-31T09:43:34.222Z] 33b1e0a273af: Pulling fs layer [2024-05-31T09:43:34.222Z] 5d3b04190fa2: Pulling fs layer [2024-05-31T09:43:34.222Z] 2f39f015ded8: Pulling fs layer [2024-05-31T09:43:34.222Z] 33b1e0a273af: Waiting [2024-05-31T09:43:34.222Z] 3a2ae6a8a46f: Waiting [2024-05-31T09:43:34.222Z] 5d3b04190fa2: Waiting [2024-05-31T09:43:34.222Z] 2f39f015ded8: Waiting [2024-05-31T09:43:34.222Z] 5c69ac0246d0: Verifying Checksum [2024-05-31T09:43:34.222Z] 5c69ac0246d0: Download complete [2024-05-31T09:43:34.222Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-31T09:43:34.222Z] 3a2ae6a8a46f: Download complete [2024-05-31T09:43:34.481Z] 33b1e0a273af: Verifying Checksum [2024-05-31T09:43:34.481Z] 33b1e0a273af: Download complete [2024-05-31T09:43:34.481Z] 5d3b04190fa2: Verifying Checksum [2024-05-31T09:43:34.481Z] 5d3b04190fa2: Download complete [2024-05-31T09:43:34.481Z] ec43610c2a17: Verifying Checksum [2024-05-31T09:43:34.481Z] ec43610c2a17: Download complete [2024-05-31T09:43:34.481Z] 5eb5b503b376: Verifying Checksum [2024-05-31T09:43:34.481Z] 5eb5b503b376: Download complete [2024-05-31T09:43:35.435Z] 2f39f015ded8: Download complete [2024-05-31T09:43:35.694Z] 5eb5b503b376: Pull complete [2024-05-31T09:43:35.955Z] 5c69ac0246d0: Pull complete [2024-05-31T09:43:36.520Z] ec43610c2a17: Pull complete [2024-05-31T09:43:36.520Z] 3a2ae6a8a46f: Pull complete [2024-05-31T09:43:36.779Z] 33b1e0a273af: Pull complete [2024-05-31T09:43:36.779Z] 5d3b04190fa2: Pull complete [2024-05-31T09:43:40.961Z] 2f39f015ded8: Pull complete [2024-05-31T09:43:40.961Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-31T09:43:40.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:40.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:43:41.065Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T09:43:41.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-31T09:43:46.265Z] $ docker top 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:43:46.641Z] ---> job-cost.sh [2024-05-31T09:43:46.641Z] lf-activate-venv: SKIPPING [2024-05-31T09:43:46.641Z] INFO: No Stack... [2024-05-31T09:43:47.582Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-31T09:43:48.148Z] INFO: Archiving Costs [Pipeline] sh [2024-05-31T09:43:48.434Z] + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv [2024-05-31T09:43:48.434Z] + cut -d, -f6 [Pipeline] lock [2024-05-31T09:43:48.446Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [2024-05-31T09:43:48.454Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] did not exist. Created. [2024-05-31T09:43:48.462Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T09:43:48.775Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-31T09:43:48.838Z] Stashed 1 file(s) [Pipeline] } [2024-05-31T09:43:48.848Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-31T09:43:48.883Z] $ docker stop --time=1 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d [2024-05-31T09:43:50.086Z] $ docker rm -f --volumes 7a76812de1a055ed520bde18d1f2f5e78d01864a5eb45a04ccc192fdf38c4f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-31T10:03:51.975Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2482 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws [2024-05-31T10:03:51.992Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2024-05-31T10:03:52.034Z] The recommended git tool is: git [2024-05-31T10:04:01.874Z] using credential edgex-jenkins-ssh [2024-05-31T10:04:01.907Z] Cloning the remote Git repository [2024-05-31T10:04:01.995Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-05-31T10:04:02.245Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2024-05-31T10:04:02.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-05-31T10:04:02.575Z] > git --version # timeout=10 [2024-05-31T10:04:02.624Z] > git --version # 'git version 2.25.1' [2024-05-31T10:04:02.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-31T10:04:02.957Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-31T10:04:06.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-05-31T10:04:06.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-31T10:04:07.580Z] Avoid second fetch [2024-05-31T10:04:07.581Z] Checking out Revision 2d91178305c2fdb466838f343222f56a000ebb2b (napa) [2024-05-31T10:04:07.621Z] > git config core.sparsecheckout # timeout=10 [2024-05-31T10:04:07.735Z] > git checkout -f 2d91178305c2fdb466838f343222f56a000ebb2b # timeout=10 [2024-05-31T10:04:09.253Z] Commit message: "ci(lts-release): LTS release v3.1.1 @26dd2cd" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T10:04:13.847Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-31T10:04:13.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-31T10:04:13.847Z] Dload Upload Total Spent Left Speed [2024-05-31T10:04:13.847Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-05-31T10:04:14.178Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-31T10:04:14.503Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-05-31T10:04:14.503Z] sudo tee /etc/docker/daemon.new [2024-05-31T10:04:14.503Z] { [2024-05-31T10:04:14.503Z] "registry-mirrors": [ [2024-05-31T10:04:14.503Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-31T10:04:14.503Z] ], [2024-05-31T10:04:14.503Z] "bip": "10.250.0.254/24", [2024-05-31T10:04:14.503Z] "hosts": [ [2024-05-31T10:04:14.503Z] "tcp://0.0.0.0:5555", [2024-05-31T10:04:14.503Z] "unix:///var/run/docker.sock" [2024-05-31T10:04:14.503Z] ], [2024-05-31T10:04:14.503Z] "mtu": 1458, [2024-05-31T10:04:14.503Z] "selinux-enabled": true, [2024-05-31T10:04:14.503Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-31T10:04:14.503Z] } [Pipeline] sh [2024-05-31T10:04:14.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-31T10:04:15.189Z] + sudo service docker restart [Pipeline] sh [2024-05-31T10:04:33.773Z] + git checkout 2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T10:04:34.360Z] HEAD is now at 2d91178 ci(lts-release): LTS release v3.1.1 @26dd2cd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T10:04:34.395Z] provisioning config files... [2024-05-31T10:04:34.421Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config15779199226490527506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:04:35.089Z] ---> ****-login.sh [2024-05-31T10:04:35.090Z] nexus3.edgexfoundry.org:10001 [2024-05-31T10:04:35.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:04:36.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:04:36.649Z] Configure a credential helper to remove this warning. See [2024-05-31T10:04:36.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:04:36.649Z] [2024-05-31T10:04:36.649Z] Login Succeeded [2024-05-31T10:04:36.649Z] nexus3.edgexfoundry.org:10002 [2024-05-31T10:04:36.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:04:36.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:04:36.920Z] Configure a credential helper to remove this warning. See [2024-05-31T10:04:36.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:04:36.920Z] [2024-05-31T10:04:36.920Z] Login Succeeded [2024-05-31T10:04:36.920Z] nexus3.edgexfoundry.org:10003 [2024-05-31T10:04:37.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:04:37.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:04:37.462Z] Configure a credential helper to remove this warning. See [2024-05-31T10:04:37.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:04:37.462Z] [2024-05-31T10:04:37.462Z] Login Succeeded [2024-05-31T10:04:37.462Z] nexus3.edgexfoundry.org:10004 [2024-05-31T10:04:37.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:04:37.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:04:37.731Z] Configure a credential helper to remove this warning. See [2024-05-31T10:04:37.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:04:37.731Z] [2024-05-31T10:04:37.731Z] Login Succeeded [2024-05-31T10:04:37.731Z] ****.io [2024-05-31T10:04:37.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:04:38.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:04:38.268Z] Configure a credential helper to remove this warning. See [2024-05-31T10:04:38.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:04:38.268Z] [2024-05-31T10:04:38.268Z] Login Succeeded [2024-05-31T10:04:38.268Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T10:04:38.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-31T10:04:38.769Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-31T10:04:39.100Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-31T10:04:39.100Z] + cut -d -f 2 [Pipeline] echo [2024-05-31T10:04:39.167Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T10:04:39.189Z] ========================================================= [2024-05-31T10:04:39.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-31T10:04:39.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:04:39.560Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-31T10:04:42.156Z] Sending build context to Docker daemon 27.75MB [2024-05-31T10:04:42.156Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T10:04:42.156Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-31T10:04:42.156Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-31T10:04:42.156Z] c6b39de5b339: Pulling fs layer [2024-05-31T10:04:42.156Z] a69c41024577: Pulling fs layer [2024-05-31T10:04:42.156Z] d6de4b400683: Pulling fs layer [2024-05-31T10:04:42.156Z] 35cb2a7552d0: Pulling fs layer [2024-05-31T10:04:42.156Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T10:04:42.156Z] 9e011611b7f5: Pulling fs layer [2024-05-31T10:04:42.156Z] 3bd174042beb: Pulling fs layer [2024-05-31T10:04:42.156Z] 4476f39b5e91: Pulling fs layer [2024-05-31T10:04:42.156Z] 4f4fb700ef54: Waiting [2024-05-31T10:04:42.156Z] 9e011611b7f5: Waiting [2024-05-31T10:04:42.156Z] 3bd174042beb: Waiting [2024-05-31T10:04:42.156Z] 4476f39b5e91: Waiting [2024-05-31T10:04:42.156Z] 35cb2a7552d0: Waiting [2024-05-31T10:04:42.156Z] a69c41024577: Verifying Checksum [2024-05-31T10:04:42.156Z] a69c41024577: Download complete [2024-05-31T10:04:42.156Z] 35cb2a7552d0: Verifying Checksum [2024-05-31T10:04:42.156Z] 35cb2a7552d0: Download complete [2024-05-31T10:04:42.156Z] 4f4fb700ef54: Verifying Checksum [2024-05-31T10:04:42.156Z] 4f4fb700ef54: Download complete [2024-05-31T10:04:42.156Z] 9e011611b7f5: Verifying Checksum [2024-05-31T10:04:42.156Z] 9e011611b7f5: Download complete [2024-05-31T10:04:42.156Z] c6b39de5b339: Download complete [2024-05-31T10:04:42.769Z] 4476f39b5e91: Verifying Checksum [2024-05-31T10:04:42.769Z] 4476f39b5e91: Download complete [2024-05-31T10:04:43.373Z] c6b39de5b339: Pull complete [2024-05-31T10:04:43.976Z] a69c41024577: Pull complete [2024-05-31T10:04:44.246Z] d6de4b400683: Verifying Checksum [2024-05-31T10:04:44.246Z] d6de4b400683: Download complete [2024-05-31T10:04:45.209Z] 3bd174042beb: Verifying Checksum [2024-05-31T10:04:45.209Z] 3bd174042beb: Download complete [2024-05-31T10:04:57.535Z] d6de4b400683: Pull complete [2024-05-31T10:04:57.535Z] 35cb2a7552d0: Pull complete [2024-05-31T10:04:57.535Z] 4f4fb700ef54: Pull complete [2024-05-31T10:04:57.535Z] 9e011611b7f5: Pull complete [2024-05-31T10:05:07.627Z] 3bd174042beb: Pull complete [2024-05-31T10:05:07.627Z] 4476f39b5e91: Pull complete [2024-05-31T10:05:07.627Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-31T10:05:07.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-31T10:05:07.627Z] ---> 981a0608b64a [2024-05-31T10:05:07.627Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-31T10:05:10.243Z] ---> Running in 0ad17e46bff2 [2024-05-31T10:05:10.849Z] Removing intermediate container 0ad17e46bff2 [2024-05-31T10:05:10.849Z] ---> 9fc1e7041ada [2024-05-31T10:05:10.849Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T10:05:10.849Z] ---> Running in bc56678ca188 [2024-05-31T10:05:11.116Z] Removing intermediate container bc56678ca188 [2024-05-31T10:05:11.116Z] ---> 6626b43c88c2 [2024-05-31T10:05:11.116Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T10:05:11.388Z] ---> Running in fd96b389062a [2024-05-31T10:05:11.657Z] Removing intermediate container fd96b389062a [2024-05-31T10:05:11.657Z] ---> ee62d338be74 [2024-05-31T10:05:11.657Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T10:05:11.657Z] ---> Running in 243e1bfd83f6 [2024-05-31T10:05:11.926Z] Removing intermediate container 243e1bfd83f6 [2024-05-31T10:05:11.926Z] ---> 677726627cdd [2024-05-31T10:05:11.926Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T10:05:11.926Z] ---> Running in f84bb781e599 [2024-05-31T10:05:13.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T10:05:13.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T10:05:15.056Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-31T10:05:15.056Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-31T10:05:15.056Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-31T10:05:15.056Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-31T10:05:15.056Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T10:05:15.056Z] OK: 271 MiB in 56 packages [2024-05-31T10:05:16.028Z] Removing intermediate container f84bb781e599 [2024-05-31T10:05:16.028Z] ---> fe7ff5b4fa65 [2024-05-31T10:05:16.028Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-31T10:05:16.028Z] ---> Running in f5d87b6e409e [2024-05-31T10:05:16.619Z] Removing intermediate container f5d87b6e409e [2024-05-31T10:05:16.619Z] ---> b37b20fd7e9d [2024-05-31T10:05:16.619Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-31T10:05:23.306Z] ---> 95ade74e32f3 [2024-05-31T10:05:23.306Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T10:05:23.306Z] ---> Running in afde13e733d2 [2024-05-31T10:06:19.739Z] Removing intermediate container afde13e733d2 [2024-05-31T10:06:19.739Z] ---> 52164d28e8ad [2024-05-31T10:06:19.739Z] Step 11/12 : COPY . . [2024-05-31T10:06:26.395Z] ---> fa1e138ce92d [2024-05-31T10:06:26.396Z] Step 12/12 : RUN $MAKE [2024-05-31T10:06:26.396Z] ---> Running in 61bb20cd882f [2024-05-31T10:06:26.977Z] noop [2024-05-31T10:06:27.945Z] Removing intermediate container 61bb20cd882f [2024-05-31T10:06:27.945Z] ---> ef07beda9ac8 [2024-05-31T10:06:28.212Z] Successfully built ef07beda9ac8 [2024-05-31T10:06:28.212Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:06:28.575Z] + docker inspect -f . ci-base-image-arm64 [2024-05-31T10:06:28.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:06:28.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container [2024-05-31T10:06:28.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-31T10:06:30.130Z] $ docker top 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T10:06:30.974Z] + go version [2024-05-31T10:06:30.974Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-31T10:06:31.000Z] $ docker stop --time=1 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 [2024-05-31T10:06:32.680Z] $ docker rm -f --volumes 37e0c6cee680914528685bcbd67c93c5a948edaa789e990d90f0671f9bafc007 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:06:33.274Z] + docker inspect -f . ci-base-image-arm64 [2024-05-31T10:06:33.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:06:33.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container [2024-05-31T10:06:33.553Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-31T10:06:34.849Z] $ docker top c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T10:06:35.712Z] + git config --global --add safe.directory /w/workspace/device-rest-go/5 [Pipeline] fileExists [Pipeline] sh [2024-05-31T10:06:36.377Z] + make test [2024-05-31T10:06:36.378Z] go test ./... -coverprofile=coverage.out ./... [2024-05-31T10:06:39.729Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-31T10:08:46.484Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-31T10:08:48.424Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 33.2% of statements [2024-05-31T10:08:49.386Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-31T10:08:49.386Z] go vet ./... [2024-05-31T10:09:21.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-31T10:09:21.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-31T10:09:21.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-31T10:09:21.667Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-31T10:09:22.019Z] + go mod tidy [Pipeline] } [2024-05-31T10:09:26.314Z] $ docker stop --time=1 c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 [2024-05-31T10:09:28.227Z] $ docker rm -f --volumes c8f85e144957609f99a4b297ecdbd8d54761397e49e443977965190ff9d34e85 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T10:09:29.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-31T10:09:29.708Z] Warning: overwriting stash ‘coverage-report’ [2024-05-31T10:09:30.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T10:09:31.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-31T10:09:31.431Z] + ls -al . [2024-05-31T10:09:31.431Z] total 180 [2024-05-31T10:09:31.431Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 10:06 . [2024-05-31T10:09:31.431Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 10:04 .. [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 151 May 31 10:04 .dockerignore [2024-05-31T10:09:31.431Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 10:04 .git [2024-05-31T10:09:31.431Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 .github [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 256 May 31 10:04 .gitignore [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 10:04 .golangci.yml [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 31 10:04 Attribution.txt [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 31 10:04 CHANGELOG.md [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 31 10:04 Dockerfile [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 10:04 GOVERNANCE.md [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 10:04 Jenkinsfile [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 10:04 LICENSE [2024-05-31T10:09:31.431Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 31 10:04 Makefile [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 10:04 OWNERS.md [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 31 10:04 README.md [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION [2024-05-31T10:09:31.432Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:04 bin [2024-05-31T10:09:31.432Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 cmd [2024-05-31T10:09:31.432Z] -rw-r--r-- 1 jenkins jenkins 14499 May 31 10:08 coverage.out [2024-05-31T10:09:31.432Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 10:04 driver [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 31 10:04 go.mod [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 31 10:04 go.sum [2024-05-31T10:09:31.432Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 10:04 openapi [2024-05-31T10:09:31.432Z] drwxrwxr-x 6 jenkins jenkins 4096 May 31 10:04 vendor [2024-05-31T10:09:31.432Z] -rw-rw-r-- 1 jenkins jenkins 713 May 31 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:09:31.789Z] + 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=2d91178305c2fdb466838f343222f56a000ebb2b --label arch=arm64 --label version=3.1.1 . [2024-05-31T10:09:33.743Z] Sending build context to Docker daemon 27.76MB [2024-05-31T10:09:34.013Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T10:09:34.013Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-31T10:09:34.013Z] ---> ef07beda9ac8 [2024-05-31T10:09:34.013Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-31T10:09:34.281Z] ---> Running in ab87412740c2 [2024-05-31T10:09:34.551Z] Removing intermediate container ab87412740c2 [2024-05-31T10:09:34.551Z] ---> ffd8cc281354 [2024-05-31T10:09:34.551Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T10:09:34.817Z] ---> Running in 647effc65875 [2024-05-31T10:09:35.083Z] Removing intermediate container 647effc65875 [2024-05-31T10:09:35.083Z] ---> a4ddb21a8f1b [2024-05-31T10:09:35.083Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T10:09:35.083Z] ---> Running in 1d52c2d7dfc3 [2024-05-31T10:09:35.350Z] Removing intermediate container 1d52c2d7dfc3 [2024-05-31T10:09:35.350Z] ---> d75b9968d03b [2024-05-31T10:09:35.350Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T10:09:35.350Z] ---> Running in 6cd52864bab5 [2024-05-31T10:09:35.616Z] Removing intermediate container 6cd52864bab5 [2024-05-31T10:09:35.616Z] ---> 0c71cfa2e91a [2024-05-31T10:09:35.616Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T10:09:35.886Z] ---> Running in 0b31d0b96278 [2024-05-31T10:09:36.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T10:09:37.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T10:09:38.522Z] OK: 271 MiB in 56 packages [2024-05-31T10:09:39.124Z] Removing intermediate container 0b31d0b96278 [2024-05-31T10:09:39.124Z] ---> 58423441c876 [2024-05-31T10:09:39.124Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-31T10:09:39.124Z] ---> Running in 4ddd52323438 [2024-05-31T10:09:39.709Z] Removing intermediate container 4ddd52323438 [2024-05-31T10:09:39.709Z] ---> d07ddd77cd18 [2024-05-31T10:09:39.709Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-31T10:09:46.373Z] ---> 406a81b6afb5 [2024-05-31T10:09:46.373Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T10:09:46.373Z] ---> Running in a9ffbac38317 [2024-05-31T10:09:47.373Z] skipping... [2024-05-31T10:09:47.959Z] Removing intermediate container a9ffbac38317 [2024-05-31T10:09:47.959Z] ---> 57851cf537e1 [2024-05-31T10:09:47.959Z] Step 11/26 : COPY . . [2024-05-31T10:09:54.612Z] ---> eeb1fb21e83d [2024-05-31T10:09:54.612Z] Step 12/26 : RUN $MAKE [2024-05-31T10:09:54.612Z] ---> Running in 3b37e6a9ba65 [2024-05-31T10:09:56.022Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-31T10:12:17.825Z] Removing intermediate container 3b37e6a9ba65 [2024-05-31T10:12:17.825Z] ---> b7313a671b52 [2024-05-31T10:12:17.825Z] Step 13/26 : FROM alpine:3.18 [2024-05-31T10:12:17.825Z] 3.18: Pulling from library/alpine [2024-05-31T10:12:17.825Z] c6b39de5b339: Already exists [2024-05-31T10:12:17.825Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-31T10:12:17.825Z] Status: Downloaded newer image for alpine:3.18 [2024-05-31T10:12:17.825Z] ---> 33abbf032149 [2024-05-31T10:12:17.825Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-31T10:12:17.825Z] ---> Running in 717658407cc9 [2024-05-31T10:12:17.825Z] Removing intermediate container 717658407cc9 [2024-05-31T10:12:17.825Z] ---> a3caebac12be [2024-05-31T10:12:17.825Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-31T10:12:17.825Z] ---> Running in 10840336d123 [2024-05-31T10:12:17.825Z] Removing intermediate container 10840336d123 [2024-05-31T10:12:17.825Z] ---> 59fce93f6e68 [2024-05-31T10:12:17.825Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-31T10:12:17.825Z] ---> Running in e11bac338e4a [2024-05-31T10:12:17.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:17.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:18.790Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-31T10:12:18.790Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T10:12:18.790Z] OK: 8 MiB in 16 packages [2024-05-31T10:12:19.386Z] Removing intermediate container e11bac338e4a [2024-05-31T10:12:19.386Z] ---> dbbecd450ab5 [2024-05-31T10:12:19.386Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-31T10:12:19.656Z] ---> Running in 0a27e3535ce1 [2024-05-31T10:12:20.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:21.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:22.174Z] Upgrading critical system libraries and apk-tools: [2024-05-31T10:12:22.174Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-31T10:12:22.174Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T10:12:22.444Z] Continuing the upgrade transaction with new apk-tools: [2024-05-31T10:12:22.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:23.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T10:12:23.999Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T10:12:23.999Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-31T10:12:23.999Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T10:12:23.999Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-31T10:12:23.999Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T10:12:24.270Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T10:12:24.270Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T10:12:24.270Z] Executing busybox-1.36.1-r6.trigger [2024-05-31T10:12:24.270Z] OK: 8 MiB in 16 packages [2024-05-31T10:12:25.689Z] Removing intermediate container 0a27e3535ce1 [2024-05-31T10:12:25.689Z] ---> 792c762efecb [2024-05-31T10:12:25.689Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-31T10:12:27.103Z] ---> e658f33f2a0b [2024-05-31T10:12:27.103Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-31T10:12:27.372Z] ---> aa9f9a832ad4 [2024-05-31T10:12:27.372Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-31T10:12:27.959Z] ---> 71fcd0701bdd [2024-05-31T10:12:27.959Z] Step 21/26 : EXPOSE 59986 [2024-05-31T10:12:28.228Z] ---> Running in f5d26ab200aa [2024-05-31T10:12:28.496Z] Removing intermediate container f5d26ab200aa [2024-05-31T10:12:28.496Z] ---> 3058607ed8ff [2024-05-31T10:12:28.496Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-31T10:12:28.496Z] ---> Running in bf5aaf29f833 [2024-05-31T10:12:28.767Z] Removing intermediate container bf5aaf29f833 [2024-05-31T10:12:28.767Z] ---> c890cfe30611 [2024-05-31T10:12:28.767Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-31T10:12:29.034Z] ---> Running in d7cf516e27c2 [2024-05-31T10:12:29.300Z] Removing intermediate container d7cf516e27c2 [2024-05-31T10:12:29.301Z] ---> 849611f45bb5 [2024-05-31T10:12:29.301Z] Step 24/26 : LABEL arch=arm64 [2024-05-31T10:12:29.301Z] ---> Running in 6272c9e3d43f [2024-05-31T10:12:29.570Z] Removing intermediate container 6272c9e3d43f [2024-05-31T10:12:29.570Z] ---> 60fee7539332 [2024-05-31T10:12:29.570Z] Step 25/26 : LABEL git_sha=2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T10:12:29.844Z] ---> Running in 02d705744390 [2024-05-31T10:12:30.114Z] Removing intermediate container 02d705744390 [2024-05-31T10:12:30.114Z] ---> 8549daefb040 [2024-05-31T10:12:30.114Z] Step 26/26 : LABEL version=3.1.1 [2024-05-31T10:12:30.114Z] ---> Running in 74d50526fedd [2024-05-31T10:12:30.383Z] Removing intermediate container 74d50526fedd [2024-05-31T10:12:30.383Z] ---> a63eba042ff6 [2024-05-31T10:12:30.383Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-31T10:12:30.967Z] Successfully built a63eba042ff6 [2024-05-31T10:12:30.967Z] 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 [2024-05-31T10:12:31.123Z] provisioning config files... [2024-05-31T10:12:31.139Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config11469875105278067104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:12:31.479Z] ---> ****-login.sh [2024-05-31T10:12:31.479Z] nexus3.edgexfoundry.org:10001 [2024-05-31T10:12:31.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:12:31.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:12:31.748Z] Configure a credential helper to remove this warning. See [2024-05-31T10:12:31.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:12:31.748Z] [2024-05-31T10:12:31.748Z] Login Succeeded [2024-05-31T10:12:31.748Z] nexus3.edgexfoundry.org:10002 [2024-05-31T10:12:32.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:12:32.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:12:32.285Z] Configure a credential helper to remove this warning. See [2024-05-31T10:12:32.285Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:12:32.285Z] [2024-05-31T10:12:32.285Z] Login Succeeded [2024-05-31T10:12:32.285Z] nexus3.edgexfoundry.org:10003 [2024-05-31T10:12:32.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:12:32.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:12:32.553Z] Configure a credential helper to remove this warning. See [2024-05-31T10:12:32.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:12:32.553Z] [2024-05-31T10:12:32.553Z] Login Succeeded [2024-05-31T10:12:32.553Z] nexus3.edgexfoundry.org:10004 [2024-05-31T10:12:32.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:12:33.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:12:33.094Z] Configure a credential helper to remove this warning. See [2024-05-31T10:12:33.094Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:12:33.094Z] [2024-05-31T10:12:33.094Z] Login Succeeded [2024-05-31T10:12:33.094Z] ****.io [2024-05-31T10:12:33.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T10:12:33.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T10:12:33.627Z] Configure a credential helper to remove this warning. See [2024-05-31T10:12:33.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T10:12:33.627Z] [2024-05-31T10:12:33.627Z] Login Succeeded [2024-05-31T10:12:33.627Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T10:12:33.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T10:12:33.701Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T10:12:33.729Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-05-31T10:12:33.729Z] 2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T10:12:33.729Z] 3.1.1 [2024-05-31T10:12:33.729Z] 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T10:12:33.729Z] napa [2024-05-31T10:12:33.729Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:34.109Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:34.479Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T10:12:34.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-31T10:12:34.479Z] 5036926228b0: Preparing [2024-05-31T10:12:34.479Z] 92823b6a496a: Preparing [2024-05-31T10:12:34.479Z] 1f7ecebf6cd0: Preparing [2024-05-31T10:12:34.479Z] 5847d67acc33: Preparing [2024-05-31T10:12:34.479Z] 34e45e76112e: Preparing [2024-05-31T10:12:34.479Z] 7c504f21be85: Preparing [2024-05-31T10:12:34.479Z] 7c504f21be85: Waiting [2024-05-31T10:12:34.746Z] 5036926228b0: Pushed [2024-05-31T10:12:34.746Z] 92823b6a496a: Pushed [2024-05-31T10:12:34.746Z] 34e45e76112e: Pushed [2024-05-31T10:12:34.746Z] 7c504f21be85: Layer already exists [2024-05-31T10:12:36.144Z] 5847d67acc33: Pushed [2024-05-31T10:12:40.392Z] 1f7ecebf6cd0: Pushed [2024-05-31T10:12:40.662Z] 2d91178305c2fdb466838f343222f56a000ebb2b: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:41.034Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:41.417Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 [2024-05-31T10:12:41.417Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-31T10:12:41.417Z] 5036926228b0: Preparing [2024-05-31T10:12:41.417Z] 92823b6a496a: Preparing [2024-05-31T10:12:41.417Z] 1f7ecebf6cd0: Preparing [2024-05-31T10:12:41.417Z] 5847d67acc33: Preparing [2024-05-31T10:12:41.417Z] 34e45e76112e: Preparing [2024-05-31T10:12:41.417Z] 7c504f21be85: Preparing [2024-05-31T10:12:41.417Z] 7c504f21be85: Waiting [2024-05-31T10:12:41.417Z] 5036926228b0: Layer already exists [2024-05-31T10:12:41.417Z] 5847d67acc33: Layer already exists [2024-05-31T10:12:41.417Z] 34e45e76112e: Layer already exists [2024-05-31T10:12:41.417Z] 92823b6a496a: Layer already exists [2024-05-31T10:12:41.417Z] 1f7ecebf6cd0: Layer already exists [2024-05-31T10:12:41.417Z] 7c504f21be85: Layer already exists [2024-05-31T10:12:41.686Z] 3.1.1: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:42.070Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:42.436Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T10:12:42.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-31T10:12:42.436Z] 5036926228b0: Preparing [2024-05-31T10:12:42.436Z] 92823b6a496a: Preparing [2024-05-31T10:12:42.436Z] 1f7ecebf6cd0: Preparing [2024-05-31T10:12:42.436Z] 5847d67acc33: Preparing [2024-05-31T10:12:42.436Z] 34e45e76112e: Preparing [2024-05-31T10:12:42.436Z] 7c504f21be85: Preparing [2024-05-31T10:12:42.436Z] 7c504f21be85: Waiting [2024-05-31T10:12:42.436Z] 92823b6a496a: Layer already exists [2024-05-31T10:12:42.436Z] 1f7ecebf6cd0: Layer already exists [2024-05-31T10:12:42.436Z] 5036926228b0: Layer already exists [2024-05-31T10:12:42.436Z] 34e45e76112e: Layer already exists [2024-05-31T10:12:42.436Z] 5847d67acc33: Layer already exists [2024-05-31T10:12:42.436Z] 7c504f21be85: Layer already exists [2024-05-31T10:12:42.706Z] 2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:43.075Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:43.457Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [2024-05-31T10:12:43.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-31T10:12:43.457Z] 5036926228b0: Preparing [2024-05-31T10:12:43.457Z] 92823b6a496a: Preparing [2024-05-31T10:12:43.457Z] 1f7ecebf6cd0: Preparing [2024-05-31T10:12:43.457Z] 5847d67acc33: Preparing [2024-05-31T10:12:43.457Z] 34e45e76112e: Preparing [2024-05-31T10:12:43.457Z] 7c504f21be85: Preparing [2024-05-31T10:12:43.457Z] 7c504f21be85: Waiting [2024-05-31T10:12:43.457Z] 1f7ecebf6cd0: Layer already exists [2024-05-31T10:12:43.457Z] 5036926228b0: Layer already exists [2024-05-31T10:12:43.457Z] 34e45e76112e: Layer already exists [2024-05-31T10:12:43.457Z] 5847d67acc33: Layer already exists [2024-05-31T10:12:43.457Z] 92823b6a496a: Layer already exists [2024-05-31T10:12:43.457Z] 7c504f21be85: Layer already exists [2024-05-31T10:12:43.725Z] napa: digest: sha256:6b1719b66a2333bc05fb9ed01dc4f61c3eac531cbe5315ebd516305f2b29d27f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T10:12:43.803Z] ===================================================== [Pipeline] echo [2024-05-31T10:12:43.817Z] taggedImages: [2024-05-31T10:12:43.817Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b [2024-05-31T10:12:43.817Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1 [2024-05-31T10:12:43.817Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d91178305c2fdb466838f343222f56a000ebb2b-3.1.1 [2024-05-31T10:12:43.817Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:44.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T10:12:44.216Z] [2024-05-31T10:12:44.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:12:44.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T10:12:44.824Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-31T10:12:44.824Z] 8998bd30e6a1: Pulling fs layer [2024-05-31T10:12:44.824Z] 04944245beec: Pulling fs layer [2024-05-31T10:12:44.824Z] 699f458cf7ca: Pulling fs layer [2024-05-31T10:12:44.824Z] 765212b225bb: Pulling fs layer [2024-05-31T10:12:44.824Z] f23df028b6ca: Pulling fs layer [2024-05-31T10:12:44.824Z] d65c8cfc05b1: Pulling fs layer [2024-05-31T10:12:44.824Z] 2437ff75d9bd: Pulling fs layer [2024-05-31T10:12:44.824Z] 765212b225bb: Waiting [2024-05-31T10:12:44.824Z] f23df028b6ca: Waiting [2024-05-31T10:12:44.824Z] d65c8cfc05b1: Waiting [2024-05-31T10:12:44.824Z] 2437ff75d9bd: Waiting [2024-05-31T10:12:44.824Z] 04944245beec: Verifying Checksum [2024-05-31T10:12:44.824Z] 04944245beec: Download complete [2024-05-31T10:12:44.824Z] 765212b225bb: Verifying Checksum [2024-05-31T10:12:44.824Z] 765212b225bb: Download complete [2024-05-31T10:12:44.824Z] f23df028b6ca: Download complete [2024-05-31T10:12:44.824Z] d65c8cfc05b1: Verifying Checksum [2024-05-31T10:12:44.824Z] d65c8cfc05b1: Download complete [2024-05-31T10:12:45.092Z] 699f458cf7ca: Download complete [2024-05-31T10:12:45.360Z] 8998bd30e6a1: Download complete [2024-05-31T10:12:47.942Z] 2437ff75d9bd: Verifying Checksum [2024-05-31T10:12:47.942Z] 2437ff75d9bd: Download complete [2024-05-31T10:12:49.886Z] 8998bd30e6a1: Pull complete [2024-05-31T10:12:50.471Z] 04944245beec: Pull complete [2024-05-31T10:12:52.416Z] 699f458cf7ca: Pull complete [2024-05-31T10:12:52.416Z] 765212b225bb: Pull complete [2024-05-31T10:12:53.377Z] f23df028b6ca: Pull complete [2024-05-31T10:12:53.644Z] d65c8cfc05b1: Pull complete [2024-05-31T10:13:11.878Z] 2437ff75d9bd: Pull complete [2024-05-31T10:13:11.878Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-31T10:13:11.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T10:13:11.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:13:12.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container [2024-05-31T10:13:12.182Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-31T10:13:15.220Z] $ docker top ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:13:16.058Z] ---> job-cost.sh [2024-05-31T10:13:16.058Z] lf-activate-venv: SKIPPING [2024-05-31T10:13:16.058Z] INFO: No Stack... [2024-05-31T10:13:16.323Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-31T10:13:17.279Z] INFO: Archiving Costs [Pipeline] sh [2024-05-31T10:13:17.912Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2024-05-31T10:13:17.912Z] + cut -d, -f6 [Pipeline] lock [2024-05-31T10:13:17.931Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [2024-05-31T10:13:17.948Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] did not exist. Created. [2024-05-31T10:13:17.956Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T10:13:18.619Z] /w/workspace/device-rest-go/5@tmp/durable-6356f6c8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-31T10:13:19.270Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-31T10:13:19.297Z] Warning: overwriting stash ‘stack-cost’ [2024-05-31T10:13:19.735Z] Stashed 1 file(s) [Pipeline] } [2024-05-31T10:13:19.748Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-31T10:13:19.784Z] $ docker stop --time=1 ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc [2024-05-31T10:13:21.295Z] $ docker rm -f --volumes ac4ef96198dc9ccc755d247413535dee38824aeeef69fb4612aa933bdee8aefc [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 [2024-05-31T10:13:21.834Z] provisioning config files... [2024-05-31T10:13:21.842Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3000733227074455858tmp [Pipeline] { [Pipeline] sh [2024-05-31T10:13:22.145Z] + set +x [2024-05-31T10:13:22.145Z] + + curl -s https://codecov.io/bash [2024-05-31T10:13:22.145Z] bash -s -- [2024-05-31T10:13:22.145Z] [2024-05-31T10:13:22.145Z] _____ _ [2024-05-31T10:13:22.145Z] / ____| | | [2024-05-31T10:13:22.145Z] | | ___ __| | ___ ___ _____ __ [2024-05-31T10:13:22.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-31T10:13:22.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-31T10:13:22.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-31T10:13:22.145Z] Bash-1.0.6 [2024-05-31T10:13:22.145Z] [2024-05-31T10:13:22.145Z] [2024-05-31T10:13:22.145Z] ==> git version 2.25.1 found [2024-05-31T10:13:22.145Z] ==> 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 [2024-05-31T10:13:22.145Z] Release-Date: 2020-01-08 [2024-05-31T10:13:22.145Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-31T10:13:22.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-31T10:13:22.145Z] ==> Jenkins CI detected. [2024-05-31T10:13:22.145Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_napa [2024-05-31T10:13:22.145Z] project root: . [2024-05-31T10:13:22.145Z] --> token set from env [2024-05-31T10:13:22.145Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-31T10:13:22.145Z] ==> Running gcov in . (disable via -X gcov) [2024-05-31T10:13:22.145Z] ==> Python coveragepy not found [2024-05-31T10:13:22.145Z] ==> Searching for coverage reports in: [2024-05-31T10:13:22.145Z] + . [2024-05-31T10:13:22.145Z] -> Found 1 reports [2024-05-31T10:13:22.145Z] ==> Detecting git/mercurial file structure [2024-05-31T10:13:22.404Z] ==> Reading reports [2024-05-31T10:13:22.404Z] + ./coverage.out bytes=14499 [2024-05-31T10:13:22.404Z] ==> Appending adjustments [2024-05-31T10:13:22.404Z] https://docs.codecov.io/docs/fixing-reports [2024-05-31T10:13:22.404Z] + Found adjustments [2024-05-31T10:13:22.404Z] ==> Gzipping contents [2024-05-31T10:13:22.404Z] 16K /tmp/codecov.fCvqGF.gz [2024-05-31T10:13:22.404Z] ==> Uploading reports [2024-05-31T10:13:22.404Z] url: https://codecov.io [2024-05-31T10:13:22.404Z] query: branch=napa&commit=2d91178305c2fdb466838f343222f56a000ebb2b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-31T10:13:22.404Z] -> Pinging Codecov [2024-05-31T10:13:22.404Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=2d91178305c2fdb466838f343222f56a000ebb2b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-31T10:13:22.664Z] -> Uploading to [2024-05-31T10:13:22.664Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-31/4E5D53B4F1F92C436F7061BF334D961C/2d91178305c2fdb466838f343222f56a000ebb2b/51158e6f-c632-4212-9ab8-06c5c528aa90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T101322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07912fea4c00c9d5175c72d732f7221d75bb47b3e375b2822eba831ae1798b7a [2024-05-31T10:13:22.664Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-31T10:13:22.664Z] Dload Upload Total Spent Left Speed [2024-05-31T10:13:22.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 60303 --:--:-- --:--:-- --:--:-- 60046 [2024-05-31T10:13:22.924Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] } [2024-05-31T10:13:22.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-31T10:13:23.152Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-31T10:13:23.170Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:13:23.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T10:13:23.477Z] [2024-05-31T10:13:23.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:13:23.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T10:13:23.776Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-31T10:13:23.776Z] 619be1103602: Already exists [2024-05-31T10:13:23.776Z] f8ea3408117e: Pulling fs layer [2024-05-31T10:13:23.776Z] 91320369b822: Pulling fs layer [2024-05-31T10:13:23.776Z] 0406650e8295: Pulling fs layer [2024-05-31T10:13:23.776Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T10:13:23.776Z] 96d80e3f36e1: Pulling fs layer [2024-05-31T10:13:23.776Z] bcf3aedb951c: Pulling fs layer [2024-05-31T10:13:23.776Z] 96d80e3f36e1: Waiting [2024-05-31T10:13:23.776Z] 4f4fb700ef54: Waiting [2024-05-31T10:13:23.776Z] bcf3aedb951c: Waiting [2024-05-31T10:13:23.776Z] 0406650e8295: Verifying Checksum [2024-05-31T10:13:23.776Z] 0406650e8295: Download complete [2024-05-31T10:13:23.776Z] f8ea3408117e: Verifying Checksum [2024-05-31T10:13:23.776Z] f8ea3408117e: Download complete [2024-05-31T10:13:23.776Z] 4f4fb700ef54: Verifying Checksum [2024-05-31T10:13:23.776Z] 4f4fb700ef54: Download complete [2024-05-31T10:13:23.776Z] f8ea3408117e: Pull complete [2024-05-31T10:13:24.035Z] 96d80e3f36e1: Verifying Checksum [2024-05-31T10:13:24.297Z] 91320369b822: Verifying Checksum [2024-05-31T10:13:24.297Z] 91320369b822: Download complete [2024-05-31T10:13:24.863Z] bcf3aedb951c: Verifying Checksum [2024-05-31T10:13:24.863Z] bcf3aedb951c: Download complete [2024-05-31T10:13:27.388Z] 91320369b822: Pull complete [2024-05-31T10:13:27.388Z] 0406650e8295: Pull complete [2024-05-31T10:13:27.388Z] 4f4fb700ef54: Pull complete [2024-05-31T10:13:27.388Z] 96d80e3f36e1: Pull complete [2024-05-31T10:13:30.667Z] bcf3aedb951c: Pull complete [2024-05-31T10:13:30.667Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-31T10:13:30.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T10:13:30.667Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:13:30.776Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:13:30.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-31T10:13:37.337Z] $ docker top 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T10:13:37.661Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] echo [2024-05-31T10:13:37.668Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh [2024-05-31T10:13:37.942Z] + set -o pipefail [2024-05-31T10:13:37.942Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' [2024-05-31T10:13:40.472Z] [2024-05-31T10:13:40.472Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_napa (github.com/edgexfoundry/device-rest-go)... [2024-05-31T10:13:40.472Z] [2024-05-31T10:13:40.472Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6a24142c-bddd-4b89-b932-8b99182fe61d/history/65063bd2-438c-4e2d-821e-38a3b93145d3 [2024-05-31T10:13:40.472Z] [2024-05-31T10:13:40.472Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-31T10:13:40.472Z] [2024-05-31T10:13:40.731Z] [2024-05-31T10:13:40.731Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-05-31T10:13:40.731Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-05-31T10:13:40.753Z] $ docker stop --time=1 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed [2024-05-31T10:13:42.725Z] $ docker rm -f --volumes 5d1ef8a27e764ac540aa42b19a95bbf911918dfdbd5962da47a1435dfe7650ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T10:13:43.284Z] + git log --format=format:%s -1 2d91178305c2fdb466838f343222f56a000ebb2b [Pipeline] sh [2024-05-31T10:13:43.573Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T10:13:43.573Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:13:43.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T10:13:43.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:13:43.965Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:13:44.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-31T10:13:44.346Z] $ docker top dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 -eo pid,comm [2024-05-31T10:13:44.384Z] 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). [2024-05-31T10:13:44.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T10:13:44.424Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T10:13:44.716Z] + git semver [Pipeline] } [2024-05-31T10:13:44.999Z] $ docker stop --time=1 dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 [2024-05-31T10:13:46.305Z] $ docker rm -f --volumes dc3c3f45bd63c7e36eb4d74996b92656eea670726856419c973bbf18d8ce2508 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:13:46.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T10:13:46.706Z] [2024-05-31T10:13:46.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:13:47.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T10:13:47.005Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-31T10:13:47.005Z] ab5ef0e58194: Pulling fs layer [2024-05-31T10:13:47.005Z] 9712f1f96733: Pulling fs layer [2024-05-31T10:13:47.005Z] 63f879dbbcfc: Pulling fs layer [2024-05-31T10:13:47.005Z] 0d9ebad4ef96: Pulling fs layer [2024-05-31T10:13:47.005Z] e9a5061849ea: Pulling fs layer [2024-05-31T10:13:47.005Z] d747dcd14b5f: Pulling fs layer [2024-05-31T10:13:47.005Z] 2de7ff778b66: Pulling fs layer [2024-05-31T10:13:47.005Z] 0d9ebad4ef96: Waiting [2024-05-31T10:13:47.005Z] e9a5061849ea: Waiting [2024-05-31T10:13:47.005Z] d747dcd14b5f: Waiting [2024-05-31T10:13:47.005Z] 2de7ff778b66: Waiting [2024-05-31T10:13:47.005Z] 9712f1f96733: Download complete [2024-05-31T10:13:47.264Z] 63f879dbbcfc: Verifying Checksum [2024-05-31T10:13:47.264Z] 63f879dbbcfc: Download complete [2024-05-31T10:13:47.523Z] e9a5061849ea: Verifying Checksum [2024-05-31T10:13:47.523Z] e9a5061849ea: Download complete [2024-05-31T10:13:47.523Z] d747dcd14b5f: Verifying Checksum [2024-05-31T10:13:47.523Z] d747dcd14b5f: Download complete [2024-05-31T10:13:47.523Z] 0d9ebad4ef96: Verifying Checksum [2024-05-31T10:13:47.523Z] 0d9ebad4ef96: Download complete [2024-05-31T10:13:47.523Z] ab5ef0e58194: Download complete [2024-05-31T10:13:47.523Z] 2de7ff778b66: Verifying Checksum [2024-05-31T10:13:47.523Z] 2de7ff778b66: Download complete [2024-05-31T10:13:50.055Z] ab5ef0e58194: Pull complete [2024-05-31T10:13:50.055Z] 9712f1f96733: Pull complete [2024-05-31T10:13:50.987Z] 63f879dbbcfc: Pull complete [2024-05-31T10:13:55.183Z] 0d9ebad4ef96: Pull complete [2024-05-31T10:13:55.183Z] e9a5061849ea: Pull complete [2024-05-31T10:13:55.183Z] d747dcd14b5f: Pull complete [2024-05-31T10:13:55.751Z] 2de7ff778b66: Pull complete [2024-05-31T10:13:55.751Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-31T10:13:55.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T10:13:55.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:13:55.857Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:13:55.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-05-31T10:14:03.819Z] $ docker top ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-31T10:14:03.882Z] provisioning config files... [2024-05-31T10:14:03.889Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config16651293534842194461tmp [2024-05-31T10:14:03.899Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config15398136927454006893tmp [2024-05-31T10:14:03.908Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3377792920324133219tmp [Pipeline] { [Pipeline] echo [2024-05-31T10:14:03.942Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:04.240Z] ---> sigul-configuration.sh [2024-05-31T10:14:04.240Z] gpg: directory `/root/.gnupg' created [2024-05-31T10:14:04.240Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-31T10:14:04.240Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-31T10:14:04.240Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-31T10:14:04.240Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-31T10:14:04.240Z] gpg: CAST5 encrypted data [2024-05-31T10:14:04.240Z] gpg: encrypted with 1 passphrase [2024-05-31T10:14:04.240Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-31T10:14:04.532Z] + mkdir /home/jenkins [2024-05-31T10:14:04.532Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-31T10:14:04.825Z] + 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 [2024-05-31T10:14:04.840Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:05.133Z] ---> sigul-install.sh [2024-05-31T10:14:05.133Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-31T10:14:05.425Z] + git tag --list [2024-05-31T10:14:05.425Z] v1.0.0 [2024-05-31T10:14:05.425Z] v1.1.0 [2024-05-31T10:14:05.425Z] v1.1.1 [2024-05-31T10:14:05.425Z] v1.1.2 [2024-05-31T10:14:05.425Z] v1.2.0 [2024-05-31T10:14:05.425Z] v1.2.1 [2024-05-31T10:14:05.425Z] v2.0.0 [2024-05-31T10:14:05.425Z] v2.1.0 [2024-05-31T10:14:05.425Z] v2.1.1 [2024-05-31T10:14:05.425Z] v2.2.0 [2024-05-31T10:14:05.425Z] v2.3.0 [2024-05-31T10:14:05.425Z] v3.0 [2024-05-31T10:14:05.425Z] v3.0.0 [2024-05-31T10:14:05.425Z] v3.1 [2024-05-31T10:14:05.425Z] v3.1.0 [2024-05-31T10:14:05.425Z] v3.1.0-dev.1 [2024-05-31T10:14:05.425Z] v3.1.0-dev.10 [2024-05-31T10:14:05.425Z] v3.1.0-dev.11 [2024-05-31T10:14:05.425Z] v3.1.0-dev.12 [2024-05-31T10:14:05.425Z] v3.1.0-dev.13 [2024-05-31T10:14:05.425Z] v3.1.0-dev.14 [2024-05-31T10:14:05.425Z] v3.1.0-dev.15 [2024-05-31T10:14:05.425Z] v3.1.0-dev.16 [2024-05-31T10:14:05.425Z] v3.1.0-dev.17 [2024-05-31T10:14:05.425Z] v3.1.0-dev.18 [2024-05-31T10:14:05.425Z] v3.1.0-dev.19 [2024-05-31T10:14:05.425Z] v3.1.0-dev.2 [2024-05-31T10:14:05.425Z] v3.1.0-dev.20 [2024-05-31T10:14:05.425Z] v3.1.0-dev.21 [2024-05-31T10:14:05.425Z] v3.1.0-dev.22 [2024-05-31T10:14:05.425Z] v3.1.0-dev.23 [2024-05-31T10:14:05.425Z] v3.1.0-dev.24 [2024-05-31T10:14:05.425Z] v3.1.0-dev.25 [2024-05-31T10:14:05.425Z] v3.1.0-dev.26 [2024-05-31T10:14:05.425Z] v3.1.0-dev.27 [2024-05-31T10:14:05.425Z] v3.1.0-dev.28 [2024-05-31T10:14:05.425Z] v3.1.0-dev.29 [2024-05-31T10:14:05.425Z] v3.1.0-dev.3 [2024-05-31T10:14:05.425Z] v3.1.0-dev.30 [2024-05-31T10:14:05.425Z] v3.1.0-dev.31 [2024-05-31T10:14:05.425Z] v3.1.0-dev.32 [2024-05-31T10:14:05.425Z] v3.1.0-dev.4 [2024-05-31T10:14:05.425Z] v3.1.0-dev.5 [2024-05-31T10:14:05.425Z] v3.1.0-dev.6 [2024-05-31T10:14:05.425Z] v3.1.0-dev.7 [2024-05-31T10:14:05.425Z] v3.1.0-dev.8 [2024-05-31T10:14:05.425Z] v3.1.0-dev.9 [2024-05-31T10:14:05.425Z] v3.1.1 [2024-05-31T10:14:05.425Z] v3.2.0-dev.1 [2024-05-31T10:14:05.425Z] v3.2.0-dev.10 [2024-05-31T10:14:05.425Z] v3.2.0-dev.11 [2024-05-31T10:14:05.425Z] v3.2.0-dev.12 [2024-05-31T10:14:05.425Z] v3.2.0-dev.13 [2024-05-31T10:14:05.425Z] v3.2.0-dev.2 [2024-05-31T10:14:05.425Z] v3.2.0-dev.3 [2024-05-31T10:14:05.425Z] v3.2.0-dev.4 [2024-05-31T10:14:05.425Z] v3.2.0-dev.5 [2024-05-31T10:14:05.425Z] v3.2.0-dev.6 [2024-05-31T10:14:05.425Z] v3.2.0-dev.7 [2024-05-31T10:14:05.425Z] v3.2.0-dev.8 [2024-05-31T10:14:05.425Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-31T10:14:05.718Z] + lftools sign git-tag v3.1.1 [2024-05-31T10:14:06.283Z] Signing Git tag with Sigul... [2024-05-31T10:14:06.283Z] Signing v3.1.1 [Pipeline] echo [2024-05-31T10:14:06.554Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:06.843Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-31T10:14:06.848Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-31T10:14:06.885Z] $ docker stop --time=1 ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a [2024-05-31T10:14:08.147Z] $ docker rm -f --volumes ec939f6a06ecf25bd2eb2fd33f0542fa1ead5b3290dd979d932a7cf2727c0f4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-31T10:14:08.577Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T10:14:08.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:14:08.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T10:14:08.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:14:08.962Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:14:09.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-31T10:14:09.347Z] $ docker top c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T10:14:09.437Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T10:14:09.743Z] + git semver [Pipeline] } [2024-05-31T10:14:10.024Z] $ docker stop --time=1 c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a [2024-05-31T10:14:11.307Z] $ docker rm -f --volumes c4639f54d59318b4e36f67f3f0480849570bfb029e5cc3bb91f23b92abdc9b2a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T10:14:11.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T10:14:11.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:14:11.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T10:14:11.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:14:12.022Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:14:12.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-31T10:14:12.398Z] $ docker top eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 -eo pid,comm [2024-05-31T10:14:12.436Z] 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). [2024-05-31T10:14:12.436Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T10:14:12.476Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T10:14:12.777Z] + git semver [Pipeline] } [2024-05-31T10:14:13.057Z] $ docker stop --time=1 eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 [2024-05-31T10:14:14.341Z] $ docker rm -f --volumes eedd1683c5401766e228d1ba7cbf6ba9fad08cb56954984c60b81a435227a414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-31T10:14:14.930Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] [2024-05-31T10:14:14.930Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-31T10:14:14.930Z] total 16 [2024-05-31T10:14:14.930Z] drwxr-xr-x 3 root root 4096 May 31 09:43 . [2024-05-31T10:14:14.930Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 10:14 .. [2024-05-31T10:14:14.930Z] drwxr-xr-x 2 root root 4096 May 31 09:43 cost [2024-05-31T10:14:14.930Z] -rw-r--r-- 1 root root 84 May 31 09:43 cost.csv [2024-05-31T10:14:14.930Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-31T10:14:14.930Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-31T10:14:14.930Z] total 16 [2024-05-31T10:14:14.930Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:43 . [2024-05-31T10:14:14.930Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 10:14 .. [2024-05-31T10:14:14.930Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:43 cost [2024-05-31T10:14:14.930Z] -rw-r--r-- 1 jenkins jenkins 84 May 31 09:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:15.218Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:16.069Z] ---> package-listing.sh [2024-05-31T10:14:16.070Z] ++ facter osfamily [2024-05-31T10:14:16.070Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-31T10:14:16.328Z] + OS_FAMILY=debian [2024-05-31T10:14:16.328Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_napa [2024-05-31T10:14:16.328Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-31T10:14:16.328Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-31T10:14:16.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-31T10:14:16.328Z] + PACKAGES=/tmp/packages_start.txt [2024-05-31T10:14:16.328Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2024-05-31T10:14:16.328Z] + PACKAGES=/tmp/packages_end.txt [2024-05-31T10:14:16.328Z] + case "${OS_FAMILY}" in [2024-05-31T10:14:16.328Z] + dpkg -l [2024-05-31T10:14:16.328Z] + grep '^ii' [2024-05-31T10:14:16.328Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-31T10:14:16.328Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-31T10:14:16.328Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-31T10:14:16.328Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2024-05-31T10:14:16.328Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [2024-05-31T10:14:16.328Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo [2024-05-31T10:14:16.338Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-31T10:14:16.614Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T10:14:17.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T10:14:17.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T10:14:17.243Z] prd-ubuntu20.04-docker-8c-8g-2009 does not seem to be running inside a container [2024-05-31T10:14:17.281Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-31T10:14:17.459Z] $ docker top ef158418f151b07eb4f80865dfa6453ea9e76077351b9e33549763b708b16245 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T10:14:17.788Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-31T10:14:18.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-31T10:14:18.347Z] + ls /var/log/sa-host [2024-05-31T10:14:18.347Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T10:14:18.414Z] provisioning config files... [2024-05-31T10:14:18.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config3519846190793752241tmp [Pipeline] { [Pipeline] echo [2024-05-31T10:14:18.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:18.721Z] ---> create-netrc.sh [Pipeline] } [2024-05-31T10:14:18.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:19.051Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-31T10:14:19.059Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:19.341Z] ---> sudo-logs.sh [2024-05-31T10:14:19.341Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-31T10:14:19.373Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:19.651Z] ---> job-cost.sh [2024-05-31T10:14:19.651Z] lf-activate-venv: SKIPPING [2024-05-31T10:14:19.651Z] DEBUG: total: 0.2199999988079071 [2024-05-31T10:14:19.651Z] INFO: Retrieving Stack Cost... [2024-05-31T10:14:20.219Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-31T10:14:20.477Z] INFO: Archiving Costs [Pipeline] echo [2024-05-31T10:14:20.488Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T10:14:20.768Z] ---> logs-deploy.sh [2024-05-31T10:14:20.768Z] lf-activate-venv: SKIPPING [2024-05-31T10:14:20.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/5 [2024-05-31T10:14:20.768Z] INFO: archiving workspace using pattern(s): [2024-05-31T10:14:21.703Z] Archives upload complete. [2024-05-31T10:14:21.703Z] INFO: archiving logs to Nexus