Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 290df9772e99a502094e71001891edf463b76fa6 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-ssh15975005470078131255.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-ssh7396023317027248775.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2828439985596859445.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-ssh10576202385426139085.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8364189283177653512.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4992’ Running on prd-ubuntu20.04-docker-8c-8g-4995 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 290df9772e99a502094e71001891edf463b76fa6 (main) > 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 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" > git rev-list --no-walk f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-04T05:28:23.890Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-04T05:28:23.964Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-04T05:28:23.985Z] ========================================================= [2024-07-04T05:28:23.985Z] EdgeX Global Pipelines Version Info [2024-07-04T05:28:23.985Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:28:24.712Z] ------------------- [2024-07-04T05:28:24.712Z] stable info: [2024-07-04T05:28:24.712Z] ------------------- [2024-07-04T05:28:24.712Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-04T05:28:24.712Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-04T05:28:24.712Z] Message: update stable to v1.0.260 [2024-07-04T05:28:25.284Z] ------------------- [2024-07-04T05:28:25.284Z] experimental info: [2024-07-04T05:28:25.284Z] ------------------- [2024-07-04T05:28:25.284Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-04T05:28:25.284Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-04T05:28:25.284Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-04T05:28:25.353Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-04T05:28:25.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-04T05:28:25.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-04T05:28:25.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-04T05:28:25.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-04T05:28:25.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-04T05:28:25.492Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-04T05:28:25.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-04T05:28:25.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-04T05:28:25.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-04T05:28:25.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-04T05:28:25.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-04T05:28:25.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-04T05:28:25.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-04T05:28:25.675Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-04T05:28:25.697Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-04T05:28:25.722Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-04T05:28:25.746Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-04T05:28:25.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-04T05:28:25.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-04T05:28:25.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-04T05:28:25.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-04T05:28:25.880Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-04T05:28:25.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-04T05:28:25.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-04T05:28:25.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-04T05:28:25.978Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-04T05:28:25.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-04T05:28:26.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-04T05:28:26.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-04T05:28:26.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo [2024-07-04T05:28:26.083Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 290df97 [Pipeline] echo [2024-07-04T05:28:26.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T05:28:26.156Z] provisioning config files... [2024-07-04T05:28:26.168Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18053258518378764215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:28:26.504Z] ---> ****-login.sh [2024-07-04T05:28:26.504Z] nexus3.edgexfoundry.org:10001 [2024-07-04T05:28:26.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:26.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:26.763Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:26.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:26.763Z] [2024-07-04T05:28:26.763Z] Login Succeeded [2024-07-04T05:28:26.763Z] nexus3.edgexfoundry.org:10002 [2024-07-04T05:28:26.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:26.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:26.763Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:26.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:26.763Z] [2024-07-04T05:28:26.763Z] Login Succeeded [2024-07-04T05:28:26.763Z] nexus3.edgexfoundry.org:10003 [2024-07-04T05:28:27.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:27.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:27.022Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:27.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:27.022Z] [2024-07-04T05:28:27.022Z] Login Succeeded [2024-07-04T05:28:27.022Z] nexus3.edgexfoundry.org:10004 [2024-07-04T05:28:27.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:27.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:27.023Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:27.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:27.023Z] [2024-07-04T05:28:27.023Z] Login Succeeded [2024-07-04T05:28:27.023Z] ****.io [2024-07-04T05:28:27.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:27.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:27.282Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:27.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:27.282Z] [2024-07-04T05:28:27.282Z] Login Succeeded [2024-07-04T05:28:27.282Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T05:28:27.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-04T05:28:27.768Z] + git rev-list -1 --merges 290df9772e99a502094e71001891edf463b76fa6~1..290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo [2024-07-04T05:28:27.795Z] -----------> git rev-list -1 --merges 290df9772e99a502094e71001891edf463b76fa6~1..290df9772e99a502094e71001891edf463b76fa6 290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:28:27.795Z] 290df9772e99a502094e71001891edf463b76fa6 [false] [Pipeline] sh [2024-07-04T05:28:28.087Z] + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo [2024-07-04T05:28:28.104Z] ========================================================= [2024-07-04T05:28:28.104Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-04T05:28:28.104Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T05:28:28.444Z] + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] echo [2024-07-04T05:28:28.457Z] [semverPrep] GIT_COMMIT: 290df9772e99a502094e71001891edf463b76fa6, Commit Message: Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20 [Pipeline] echo [2024-07-04T05:28:28.475Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-04T05:28:28.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-04T05:28:28.837Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-04T05:28:28.837Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-04T05:28:28.837Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-04T05:28:28.837Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-04T05:28:28.837Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-04T05:28:28.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:28:29.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:28:29.188Z] [2024-07-04T05:28:29.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:28:29.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:28:29.495Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-04T05:28:29.495Z] b85a868b505f: Pulling fs layer [2024-07-04T05:28:29.495Z] e2be974225ed: Pulling fs layer [2024-07-04T05:28:29.495Z] 339a4e72a1f5: Pulling fs layer [2024-07-04T05:28:29.495Z] 988bab9f4d93: Pulling fs layer [2024-07-04T05:28:29.495Z] 1469e6f7b9e6: Pulling fs layer [2024-07-04T05:28:29.495Z] eaf3925da568: Pulling fs layer [2024-07-04T05:28:29.495Z] bab4dde63d76: Pulling fs layer [2024-07-04T05:28:29.495Z] bde34c3a00c8: Pulling fs layer [2024-07-04T05:28:29.495Z] b352a97aabf1: Pulling fs layer [2024-07-04T05:28:29.495Z] 4872d77fe225: Pulling fs layer [2024-07-04T05:28:29.495Z] 5851b861e8e6: Pulling fs layer [2024-07-04T05:28:29.495Z] b352a97aabf1: Waiting [2024-07-04T05:28:29.495Z] bab4dde63d76: Waiting [2024-07-04T05:28:29.495Z] 4872d77fe225: Waiting [2024-07-04T05:28:29.495Z] 5851b861e8e6: Waiting [2024-07-04T05:28:29.495Z] bde34c3a00c8: Waiting [2024-07-04T05:28:29.495Z] 988bab9f4d93: Waiting [2024-07-04T05:28:29.495Z] 1469e6f7b9e6: Waiting [2024-07-04T05:28:29.495Z] eaf3925da568: Waiting [2024-07-04T05:28:29.495Z] e2be974225ed: Verifying Checksum [2024-07-04T05:28:29.495Z] e2be974225ed: Download complete [2024-07-04T05:28:29.495Z] 988bab9f4d93: Verifying Checksum [2024-07-04T05:28:29.495Z] 988bab9f4d93: Download complete [2024-07-04T05:28:29.495Z] 1469e6f7b9e6: Verifying Checksum [2024-07-04T05:28:29.495Z] 1469e6f7b9e6: Download complete [2024-07-04T05:28:29.495Z] 339a4e72a1f5: Verifying Checksum [2024-07-04T05:28:29.495Z] 339a4e72a1f5: Download complete [2024-07-04T05:28:29.495Z] eaf3925da568: Download complete [2024-07-04T05:28:29.755Z] bde34c3a00c8: Verifying Checksum [2024-07-04T05:28:29.755Z] bde34c3a00c8: Download complete [2024-07-04T05:28:29.755Z] b352a97aabf1: Verifying Checksum [2024-07-04T05:28:29.755Z] b352a97aabf1: Download complete [2024-07-04T05:28:29.755Z] 4872d77fe225: Verifying Checksum [2024-07-04T05:28:29.755Z] 4872d77fe225: Download complete [2024-07-04T05:28:29.755Z] 5851b861e8e6: Verifying Checksum [2024-07-04T05:28:29.755Z] 5851b861e8e6: Download complete [2024-07-04T05:28:29.755Z] b85a868b505f: Verifying Checksum [2024-07-04T05:28:29.755Z] b85a868b505f: Download complete [2024-07-04T05:28:30.014Z] bab4dde63d76: Verifying Checksum [2024-07-04T05:28:30.014Z] bab4dde63d76: Download complete [2024-07-04T05:28:30.950Z] b85a868b505f: Pull complete [2024-07-04T05:28:30.950Z] e2be974225ed: Pull complete [2024-07-04T05:28:31.518Z] 339a4e72a1f5: Pull complete [2024-07-04T05:28:31.518Z] 988bab9f4d93: Pull complete [2024-07-04T05:28:31.776Z] 1469e6f7b9e6: Pull complete [2024-07-04T05:28:31.776Z] eaf3925da568: Pull complete [2024-07-04T05:28:33.677Z] bab4dde63d76: Pull complete [2024-07-04T05:28:33.677Z] bde34c3a00c8: Pull complete [2024-07-04T05:28:33.677Z] b352a97aabf1: Pull complete [2024-07-04T05:28:33.677Z] 4872d77fe225: Pull complete [2024-07-04T05:28:33.677Z] 5851b861e8e6: Pull complete [2024-07-04T05:28:33.677Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-04T05:28:33.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:28:33.937Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:28:34.072Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:28:34.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-04T05:28:36.889Z] $ docker top 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee -eo pid,comm [2024-07-04T05:28:36.942Z] 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-07-04T05:28:36.942Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-04T05:28:36.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T05:28:36.995Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T05:28:37.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T05:28:37.108Z] $ docker exec 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent [2024-07-04T05:28:37.234Z] SSH_AUTH_SOCK=/tmp/ssh-G9KGQQqXaAlA/agent.32 [2024-07-04T05:28:37.234Z] SSH_AGENT_PID=38 [2024-07-04T05:28:37.240Z] Running ssh-add (command line suppressed) [2024-07-04T05:28:37.337Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15562600535513392608.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15562600535513392608.key) [2024-07-04T05:28:37.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T05:28:37.640Z] + git tag --points-at HEAD [Pipeline] } [2024-07-04T05:28:37.652Z] $ docker exec --env ******** --env ******** 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent -k [2024-07-04T05:28:37.740Z] unset SSH_AUTH_SOCK; [2024-07-04T05:28:37.740Z] unset SSH_AGENT_PID; [2024-07-04T05:28:37.740Z] echo Agent pid 38 killed; [2024-07-04T05:28:37.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-04T05:28:37.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T05:28:37.793Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T05:28:37.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T05:28:37.896Z] $ docker exec 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent [2024-07-04T05:28:38.016Z] SSH_AUTH_SOCK=/tmp/ssh-Z7RlicTjFbGB/agent.71 [2024-07-04T05:28:38.016Z] SSH_AGENT_PID=77 [2024-07-04T05:28:38.020Z] Running ssh-add (command line suppressed) [2024-07-04T05:28:38.123Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8216570510761842772.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8216570510761842772.key) [2024-07-04T05:28:38.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T05:28:38.429Z] + git semver init [2024-07-04T05:28:38.688Z] 2024-07-04 05:28:38,578 [run_init] DEBUG init version:0.0.0 force:False [2024-07-04T05:28:38.688Z] 2024-07-04 05:28:38,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-04T05:28:38.688Z] 2024-07-04 05:28:38,579 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-04T05:28:38.688Z] 2024-07-04 05:28:38,579 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-04T05:28:40.067Z] 2024-07-04 05:28:39,794 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-07-04T05:28:40.067Z] 2024-07-04 05:28:39,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-07-04T05:28:40.067Z] 2024-07-04 05:28:39,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:28:40.067Z] 2024-07-04 05:28:39,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:28:40.067Z] 3.2.0-dev.15 [Pipeline] } [2024-07-04T05:28:40.076Z] $ docker exec --env ******** --env ******** 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee ssh-agent -k [2024-07-04T05:28:40.176Z] unset SSH_AUTH_SOCK; [2024-07-04T05:28:40.176Z] unset SSH_AGENT_PID; [2024-07-04T05:28:40.177Z] echo Agent pid 77 killed; [2024-07-04T05:28:40.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-04T05:28:40.504Z] + git semver [Pipeline] } [2024-07-04T05:28:40.776Z] $ docker stop --time=1 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee [2024-07-04T05:28:42.062Z] $ docker rm -f --volumes 7e81560619357118cba9aa4e7d24d6895242d6e29df9533282ce1343f8e158ee [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T05:28:42.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-04T05:28:42.639Z] Stashed 1 file(s) [Pipeline] echo [2024-07-04T05:28:42.643Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T05:28:42.818Z] provisioning config files... [2024-07-04T05:28:42.828Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9690003514397285682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:28:43.131Z] ---> ****-login.sh [2024-07-04T05:28:43.131Z] nexus3.edgexfoundry.org:10001 [2024-07-04T05:28:43.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:43.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:43.131Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:43.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:43.132Z] [2024-07-04T05:28:43.132Z] Login Succeeded [2024-07-04T05:28:43.132Z] nexus3.edgexfoundry.org:10002 [2024-07-04T05:28:43.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:43.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:43.132Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:43.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:43.132Z] [2024-07-04T05:28:43.132Z] Login Succeeded [2024-07-04T05:28:43.132Z] nexus3.edgexfoundry.org:10003 [2024-07-04T05:28:43.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:43.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:43.392Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:43.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:43.392Z] [2024-07-04T05:28:43.392Z] Login Succeeded [2024-07-04T05:28:43.392Z] nexus3.edgexfoundry.org:10004 [2024-07-04T05:28:43.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:43.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:43.393Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:43.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:43.393Z] [2024-07-04T05:28:43.393Z] Login Succeeded [2024-07-04T05:28:43.393Z] ****.io [2024-07-04T05:28:43.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:28:43.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:28:43.652Z] Configure a credential helper to remove this warning. See [2024-07-04T05:28:43.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:28:43.652Z] [2024-07-04T05:28:43.652Z] Login Succeeded [2024-07-04T05:28:43.652Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T05:28:43.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-04T05:28:43.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:28:43.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:28:43.785Z] ========================================================= [2024-07-04T05:28:43.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-04T05:28:43.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:28:44.123Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-04T05:28:44.123Z] Sending build context to Docker daemon 16.51MB [2024-07-04T05:28:44.123Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T05:28:44.123Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-04T05:28:45.504Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-04T05:28:45.504Z] 619be1103602: Pulling fs layer [2024-07-04T05:28:45.504Z] 7862e08f4a3e: Pulling fs layer [2024-07-04T05:28:45.504Z] 5df492c9dc93: Pulling fs layer [2024-07-04T05:28:45.504Z] 7629e6793208: Pulling fs layer [2024-07-04T05:28:45.504Z] 4f4fb700ef54: Pulling fs layer [2024-07-04T05:28:45.504Z] fb5054dd5b73: Pulling fs layer [2024-07-04T05:28:45.504Z] eeca6798cff9: Pulling fs layer [2024-07-04T05:28:45.504Z] aa269ceb94a6: Pulling fs layer [2024-07-04T05:28:45.504Z] ada007ff1a6a: Pulling fs layer [2024-07-04T05:28:45.504Z] fb5054dd5b73: Waiting [2024-07-04T05:28:45.504Z] aa269ceb94a6: Waiting [2024-07-04T05:28:45.504Z] ada007ff1a6a: Waiting [2024-07-04T05:28:45.504Z] 7629e6793208: Waiting [2024-07-04T05:28:45.504Z] 4f4fb700ef54: Waiting [2024-07-04T05:28:45.504Z] eeca6798cff9: Waiting [2024-07-04T05:28:45.504Z] 7862e08f4a3e: Verifying Checksum [2024-07-04T05:28:45.504Z] 7862e08f4a3e: Download complete [2024-07-04T05:28:45.504Z] 7629e6793208: Download complete [2024-07-04T05:28:45.504Z] 4f4fb700ef54: Download complete [2024-07-04T05:28:45.504Z] fb5054dd5b73: Download complete [2024-07-04T05:28:45.504Z] 619be1103602: Verifying Checksum [2024-07-04T05:28:45.504Z] 619be1103602: Download complete [2024-07-04T05:28:45.504Z] eeca6798cff9: Verifying Checksum [2024-07-04T05:28:45.504Z] eeca6798cff9: Download complete [2024-07-04T05:28:45.504Z] 619be1103602: Pull complete [2024-07-04T05:28:45.504Z] ada007ff1a6a: Verifying Checksum [2024-07-04T05:28:45.504Z] ada007ff1a6a: Download complete [2024-07-04T05:28:45.504Z] 7862e08f4a3e: Pull complete [2024-07-04T05:28:45.762Z] 5df492c9dc93: Verifying Checksum [2024-07-04T05:28:45.762Z] 5df492c9dc93: Download complete [2024-07-04T05:28:46.021Z] aa269ceb94a6: Verifying Checksum [2024-07-04T05:28:46.021Z] aa269ceb94a6: Download complete [2024-07-04T05:28:48.552Z] 5df492c9dc93: Pull complete [2024-07-04T05:28:48.812Z] 7629e6793208: Pull complete [2024-07-04T05:28:48.812Z] 4f4fb700ef54: Pull complete [2024-07-04T05:28:48.812Z] fb5054dd5b73: Pull complete [2024-07-04T05:28:49.070Z] eeca6798cff9: Pull complete [2024-07-04T05:28:51.599Z] aa269ceb94a6: Pull complete [2024-07-04T05:28:51.599Z] ada007ff1a6a: Pull complete [2024-07-04T05:28:51.599Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-04T05:28:51.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-04T05:28:51.599Z] ---> f489d0715acc [2024-07-04T05:28:51.599Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-04T05:28:55.790Z] ---> Running in d36b49bc1364 [2024-07-04T05:28:55.790Z] Removing intermediate container d36b49bc1364 [2024-07-04T05:28:55.790Z] ---> ff06f4846a74 [2024-07-04T05:28:55.790Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T05:28:55.790Z] ---> Running in 47e9d6c48aff [2024-07-04T05:28:55.790Z] Removing intermediate container 47e9d6c48aff [2024-07-04T05:28:55.790Z] ---> 3481a0e7509e [2024-07-04T05:28:55.790Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-04T05:28:55.790Z] ---> Running in 6fd7063fdf4a [2024-07-04T05:28:55.790Z] Removing intermediate container 6fd7063fdf4a [2024-07-04T05:28:55.790Z] ---> 42b74e562729 [2024-07-04T05:28:55.790Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T05:28:55.790Z] ---> Running in d1e6449f0e1a [2024-07-04T05:28:55.790Z] Removing intermediate container d1e6449f0e1a [2024-07-04T05:28:55.790Z] ---> e99e36c91a3e [2024-07-04T05:28:55.790Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T05:28:55.790Z] ---> Running in d626ddeae542 [2024-07-04T05:28:56.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T05:28:56.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T05:28:56.309Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-04T05:28:56.309Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-04T05:28:56.309Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-04T05:28:56.309Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-04T05:28:56.309Z] Executing busybox-1.36.1-r5.trigger [2024-07-04T05:28:56.309Z] OK: 268 MiB in 56 packages [2024-07-04T05:28:56.878Z] Removing intermediate container d626ddeae542 [2024-07-04T05:28:56.878Z] ---> 081bd558b495 [2024-07-04T05:28:56.878Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-04T05:28:56.878Z] ---> Running in 258ad4a04053 [2024-07-04T05:28:56.878Z] Removing intermediate container 258ad4a04053 [2024-07-04T05:28:56.878Z] ---> fb66d2d825a1 [2024-07-04T05:28:56.878Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-04T05:28:57.136Z] ---> 988bdb7ce473 [2024-07-04T05:28:57.136Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T05:28:57.136Z] ---> Running in 50ef36ea852b [2024-07-04T05:28:57.769Z] Still waiting to schedule task [2024-07-04T05:28:57.769Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4994’ [2024-07-04T05:29:43.850Z] Removing intermediate container 50ef36ea852b [2024-07-04T05:29:43.850Z] ---> 26623a696c1f [2024-07-04T05:29:43.850Z] Step 11/12 : COPY . . [2024-07-04T05:29:43.850Z] ---> 00bf42d864a4 [2024-07-04T05:29:43.850Z] Step 12/12 : RUN $MAKE [2024-07-04T05:29:43.850Z] ---> Running in c1aaeefbafaf [2024-07-04T05:29:43.850Z] noop [2024-07-04T05:29:43.850Z] Removing intermediate container c1aaeefbafaf [2024-07-04T05:29:43.850Z] ---> d8ca4a8bc0a8 [2024-07-04T05:29:43.850Z] Successfully built d8ca4a8bc0a8 [2024-07-04T05:29:43.850Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:29:44.177Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-04T05:29:44.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:29:44.268Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:29:44.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-04T05:29:44.644Z] $ docker top 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:29:44.995Z] + go version [2024-07-04T05:29:44.995Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-04T05:29:45.005Z] $ docker stop --time=1 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 [2024-07-04T05:29:46.304Z] $ docker rm -f --volumes 12f53e6f38654276f67cb37f9c7977fbefc3c7bacbd00c6d3af90172fa4177b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:29:46.737Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-04T05:29:46.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:29:46.824Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:29:46.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-04T05:29:47.185Z] $ docker top b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:29:47.537Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-04T05:29:47.834Z] + make test [2024-07-04T05:29:47.834Z] go test ./... -coverprofile=coverage.out ./... [2024-07-04T05:29:49.214Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-04T05:30:07.291Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-04T05:30:07.291Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-07-04T05:30:15.396Z] go vet ./... [2024-07-04T05:30:21.950Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-04T05:30:21.950Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-04T05:30:21.950Z] ./bin/test-attribution-txt.sh [2024-07-04T05:30:21.950Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-04T05:30:21.950Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-04T05:30:21.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-04T05:30:21.981Z] $ docker stop --time=1 b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 [2024-07-04T05:30:25.657Z] $ docker rm -f --volumes b0a784dca950b4b61e90fcc4095d0d27beefbe983aef6c96656fc322873137d9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T05:30:26.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-04T05:30:26.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-04T05:30:26.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-04T05:30:27.022Z] + ls -al . [2024-07-04T05:30:27.022Z] total 248 [2024-07-04T05:30:27.022Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:29 . [2024-07-04T05:30:27.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:28 .. [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 05:28 .dockerignore [2024-07-04T05:30:27.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:30 .git [2024-07-04T05:30:27.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 .github [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:28 .gitignore [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:28 .golangci.yml [2024-07-04T05:30:27.022Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:28 .semver [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 4 05:28 Attribution.txt [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 4 05:28 CHANGELOG.md [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 4 05:28 Dockerfile [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:28 GOVERNANCE.md [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:28 Jenkinsfile [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:28 LICENSE [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 4 05:28 Makefile [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:28 OWNERS.md [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 4 05:28 README.md [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION [2024-07-04T05:30:27.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:28 bin [2024-07-04T05:30:27.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 cmd [2024-07-04T05:30:27.022Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 4 05:30 coverage.out [2024-07-04T05:30:27.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:28 driver [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 7191 Jul 4 05:28 go.mod [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:28 go.sum [2024-07-04T05:30:27.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:28 openapi [2024-07-04T05:30:27.022Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 05:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:30:27.341Z] + 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=290df9772e99a502094e71001891edf463b76fa6 --label arch=amd64 --label version=3.2.0-dev.15 . [2024-07-04T05:30:27.341Z] Sending build context to Docker daemon 16.52MB [2024-07-04T05:30:27.341Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T05:30:27.341Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-04T05:30:27.341Z] ---> d8ca4a8bc0a8 [2024-07-04T05:30:27.341Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-04T05:30:27.601Z] ---> Running in 30f5d8bd8d17 [2024-07-04T05:30:27.861Z] Removing intermediate container 30f5d8bd8d17 [2024-07-04T05:30:27.861Z] ---> 19f55ab5595a [2024-07-04T05:30:27.861Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T05:30:27.861Z] ---> Running in 541ed9c57bf7 [2024-07-04T05:30:27.861Z] Removing intermediate container 541ed9c57bf7 [2024-07-04T05:30:27.861Z] ---> 2b8f7cdeff53 [2024-07-04T05:30:27.861Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-04T05:30:27.861Z] ---> Running in 37bd5ef3886c [2024-07-04T05:30:27.861Z] Removing intermediate container 37bd5ef3886c [2024-07-04T05:30:27.861Z] ---> ab402a58cd58 [2024-07-04T05:30:27.861Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T05:30:27.861Z] ---> Running in a4f8bd7c72ea [2024-07-04T05:30:28.122Z] Removing intermediate container a4f8bd7c72ea [2024-07-04T05:30:28.122Z] ---> 639c99407d04 [2024-07-04T05:30:28.122Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T05:30:28.122Z] ---> Running in 23ea35fe7795 [2024-07-04T05:30:28.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T05:30:28.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T05:30:28.641Z] OK: 268 MiB in 56 packages [2024-07-04T05:30:28.900Z] Removing intermediate container 23ea35fe7795 [2024-07-04T05:30:28.900Z] ---> a6fcb69175a7 [2024-07-04T05:30:28.900Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-04T05:30:29.159Z] ---> Running in 61065331995d [2024-07-04T05:30:29.159Z] Removing intermediate container 61065331995d [2024-07-04T05:30:29.159Z] ---> 87d721ce96a9 [2024-07-04T05:30:29.159Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-04T05:30:29.159Z] ---> ff6687041df7 [2024-07-04T05:30:29.159Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T05:30:29.159Z] ---> Running in bff98e9c077a [2024-07-04T05:30:29.726Z] Removing intermediate container bff98e9c077a [2024-07-04T05:30:29.726Z] ---> be5c9d0af66b [2024-07-04T05:30:29.726Z] Step 11/26 : COPY . . [2024-07-04T05:30:30.293Z] ---> 3ac579cfafbf [2024-07-04T05:30:30.293Z] Step 12/26 : RUN $MAKE [2024-07-04T05:30:30.293Z] ---> Running in f84cb72d8828 [2024-07-04T05:30:30.552Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-04T05:31:02.737Z] Removing intermediate container f84cb72d8828 [2024-07-04T05:31:02.737Z] ---> 5b822addd60d [2024-07-04T05:31:02.737Z] Step 13/26 : FROM alpine:3.18 [2024-07-04T05:31:02.737Z] 3.18: Pulling from library/alpine [2024-07-04T05:31:02.737Z] 73baa7ef167e: Pulling fs layer [2024-07-04T05:31:02.737Z] 73baa7ef167e: Download complete [2024-07-04T05:31:02.737Z] 73baa7ef167e: Pull complete [2024-07-04T05:31:02.737Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-04T05:31:02.737Z] Status: Downloaded newer image for alpine:3.18 [2024-07-04T05:31:02.737Z] ---> 8fd7cac70a4a [2024-07-04T05:31:02.737Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-04T05:31:02.737Z] ---> Running in f722e27bf571 [2024-07-04T05:31:02.738Z] Removing intermediate container f722e27bf571 [2024-07-04T05:31:02.738Z] ---> a4b74c0705d7 [2024-07-04T05:31:02.738Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-04T05:31:02.738Z] ---> Running in 9cee87f4927c [2024-07-04T05:31:02.738Z] Removing intermediate container 9cee87f4927c [2024-07-04T05:31:02.738Z] ---> 89e4b9874e5d [2024-07-04T05:31:02.738Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-04T05:31:02.738Z] ---> Running in 60855d96e42b [2024-07-04T05:31:02.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T05:31:02.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T05:31:02.738Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-04T05:31:02.738Z] Executing busybox-1.36.1-r7.trigger [2024-07-04T05:31:02.738Z] OK: 7 MiB in 16 packages [2024-07-04T05:31:02.738Z] Removing intermediate container 60855d96e42b [2024-07-04T05:31:02.738Z] ---> 153282d01036 [2024-07-04T05:31:02.738Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-04T05:31:02.738Z] ---> Running in cffa213579d6 [2024-07-04T05:31:02.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T05:31:02.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T05:31:02.738Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T05:31:02.738Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T05:31:02.738Z] OK: 7 MiB in 16 packages [2024-07-04T05:31:02.738Z] Removing intermediate container cffa213579d6 [2024-07-04T05:31:02.738Z] ---> adf339e9f614 [2024-07-04T05:31:02.738Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-04T05:31:02.738Z] ---> bedc0599df27 [2024-07-04T05:31:02.738Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-04T05:31:02.738Z] ---> 58af60bb3a56 [2024-07-04T05:31:02.738Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-04T05:31:02.738Z] ---> a76458fe1d49 [2024-07-04T05:31:02.738Z] Step 21/26 : EXPOSE 59986 [2024-07-04T05:31:02.738Z] ---> Running in b363f3381505 [2024-07-04T05:31:02.738Z] Removing intermediate container b363f3381505 [2024-07-04T05:31:02.738Z] ---> f1d8acdc1a4f [2024-07-04T05:31:02.738Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-04T05:31:02.738Z] ---> Running in 05df773efe63 [2024-07-04T05:31:02.999Z] Removing intermediate container 05df773efe63 [2024-07-04T05:31:02.999Z] ---> efbf62b992d8 [2024-07-04T05:31:02.999Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-04T05:31:02.999Z] ---> Running in 61bd66929326 [2024-07-04T05:31:02.999Z] Removing intermediate container 61bd66929326 [2024-07-04T05:31:02.999Z] ---> a701505dba73 [2024-07-04T05:31:02.999Z] Step 24/26 : LABEL arch=amd64 [2024-07-04T05:31:02.999Z] ---> Running in fa3537eb124f [2024-07-04T05:31:02.999Z] Removing intermediate container fa3537eb124f [2024-07-04T05:31:02.999Z] ---> ae541b28d596 [2024-07-04T05:31:02.999Z] Step 25/26 : LABEL git_sha=290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:31:02.999Z] ---> Running in 21ae4f1be67a [2024-07-04T05:31:03.267Z] Removing intermediate container 21ae4f1be67a [2024-07-04T05:31:03.267Z] ---> 8b8e85cb6e51 [2024-07-04T05:31:03.267Z] Step 26/26 : LABEL version=3.2.0-dev.15 [2024-07-04T05:31:03.267Z] ---> Running in 28d727010c84 [2024-07-04T05:31:03.267Z] Removing intermediate container 28d727010c84 [2024-07-04T05:31:03.267Z] ---> 3faf78f9d698 [2024-07-04T05:31:03.267Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-04T05:31:03.267Z] Successfully built 3faf78f9d698 [2024-07-04T05:31:03.267Z] 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-07-04T05:31:03.396Z] provisioning config files... [2024-07-04T05:31:03.405Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6327518114341673468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:31:03.703Z] ---> ****-login.sh [2024-07-04T05:31:03.703Z] nexus3.edgexfoundry.org:10001 [2024-07-04T05:31:03.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:31:03.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:31:03.703Z] Configure a credential helper to remove this warning. See [2024-07-04T05:31:03.703Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:31:03.703Z] [2024-07-04T05:31:03.703Z] Login Succeeded [2024-07-04T05:31:03.703Z] nexus3.edgexfoundry.org:10002 [2024-07-04T05:31:03.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:31:03.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:31:03.703Z] Configure a credential helper to remove this warning. See [2024-07-04T05:31:03.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:31:03.704Z] [2024-07-04T05:31:03.704Z] Login Succeeded [2024-07-04T05:31:03.704Z] nexus3.edgexfoundry.org:10003 [2024-07-04T05:31:03.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:31:03.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:31:03.964Z] Configure a credential helper to remove this warning. See [2024-07-04T05:31:03.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:31:03.964Z] [2024-07-04T05:31:03.964Z] Login Succeeded [2024-07-04T05:31:03.964Z] nexus3.edgexfoundry.org:10004 [2024-07-04T05:31:03.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:31:03.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:31:03.964Z] Configure a credential helper to remove this warning. See [2024-07-04T05:31:03.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:31:03.964Z] [2024-07-04T05:31:03.964Z] Login Succeeded [2024-07-04T05:31:03.964Z] ****.io [2024-07-04T05:31:03.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:31:04.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:31:04.223Z] Configure a credential helper to remove this warning. See [2024-07-04T05:31:04.223Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:31:04.223Z] [2024-07-04T05:31:04.223Z] Login Succeeded [2024-07-04T05:31:04.223Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T05:31:04.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-04T05:31:04.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:31:04.316Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-07-04T05:31:04.316Z] 290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:31:04.316Z] latest [2024-07-04T05:31:04.316Z] 3.2.0-dev.15 [2024-07-04T05:31:04.316Z] 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:31:04.316Z] main [2024-07-04T05:31:04.316Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:04.659Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:04.990Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:31:04.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-04T05:31:04.990Z] 0accbe50d8c6: Preparing [2024-07-04T05:31:04.990Z] f50636e27158: Preparing [2024-07-04T05:31:04.990Z] e050cde20278: Preparing [2024-07-04T05:31:04.990Z] 1ad828e5257e: Preparing [2024-07-04T05:31:04.990Z] bf714195a5b9: Preparing [2024-07-04T05:31:04.990Z] 63ec0bd56cf3: Preparing [2024-07-04T05:31:04.990Z] 63ec0bd56cf3: Waiting [2024-07-04T05:31:04.990Z] bf714195a5b9: Pushed [2024-07-04T05:31:04.990Z] f50636e27158: Pushed [2024-07-04T05:31:04.990Z] 0accbe50d8c6: Pushed [2024-07-04T05:31:04.990Z] 63ec0bd56cf3: Layer already exists [2024-07-04T05:31:05.556Z] 1ad828e5257e: Pushed [2024-07-04T05:31:08.091Z] e050cde20278: Pushed [2024-07-04T05:31:08.092Z] 290df9772e99a502094e71001891edf463b76fa6: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:08.433Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:08.763Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-04T05:31:08.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-04T05:31:08.763Z] 0accbe50d8c6: Preparing [2024-07-04T05:31:08.763Z] f50636e27158: Preparing [2024-07-04T05:31:08.763Z] e050cde20278: Preparing [2024-07-04T05:31:08.763Z] 1ad828e5257e: Preparing [2024-07-04T05:31:08.763Z] bf714195a5b9: Preparing [2024-07-04T05:31:08.763Z] 63ec0bd56cf3: Preparing [2024-07-04T05:31:08.763Z] 63ec0bd56cf3: Waiting [2024-07-04T05:31:08.763Z] bf714195a5b9: Layer already exists [2024-07-04T05:31:08.763Z] 1ad828e5257e: Layer already exists [2024-07-04T05:31:08.763Z] 0accbe50d8c6: Layer already exists [2024-07-04T05:31:08.763Z] f50636e27158: Layer already exists [2024-07-04T05:31:08.763Z] e050cde20278: Layer already exists [2024-07-04T05:31:08.763Z] 63ec0bd56cf3: Layer already exists [2024-07-04T05:31:08.763Z] latest: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:09.088Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:09.406Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 [2024-07-04T05:31:09.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-04T05:31:09.406Z] 0accbe50d8c6: Preparing [2024-07-04T05:31:09.406Z] f50636e27158: Preparing [2024-07-04T05:31:09.406Z] e050cde20278: Preparing [2024-07-04T05:31:09.406Z] 1ad828e5257e: Preparing [2024-07-04T05:31:09.406Z] bf714195a5b9: Preparing [2024-07-04T05:31:09.406Z] 63ec0bd56cf3: Preparing [2024-07-04T05:31:09.406Z] 63ec0bd56cf3: Waiting [2024-07-04T05:31:09.406Z] f50636e27158: Layer already exists [2024-07-04T05:31:09.406Z] e050cde20278: Layer already exists [2024-07-04T05:31:09.407Z] bf714195a5b9: Layer already exists [2024-07-04T05:31:09.407Z] 0accbe50d8c6: Layer already exists [2024-07-04T05:31:09.407Z] 1ad828e5257e: Layer already exists [2024-07-04T05:31:09.407Z] 63ec0bd56cf3: Layer already exists [2024-07-04T05:31:09.407Z] 3.2.0-dev.15: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:09.739Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:10.060Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:31:10.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-04T05:31:10.060Z] 0accbe50d8c6: Preparing [2024-07-04T05:31:10.060Z] f50636e27158: Preparing [2024-07-04T05:31:10.060Z] e050cde20278: Preparing [2024-07-04T05:31:10.060Z] 1ad828e5257e: Preparing [2024-07-04T05:31:10.060Z] bf714195a5b9: Preparing [2024-07-04T05:31:10.060Z] 63ec0bd56cf3: Preparing [2024-07-04T05:31:10.060Z] 63ec0bd56cf3: Waiting [2024-07-04T05:31:10.060Z] f50636e27158: Layer already exists [2024-07-04T05:31:10.060Z] bf714195a5b9: Layer already exists [2024-07-04T05:31:10.060Z] 0accbe50d8c6: Layer already exists [2024-07-04T05:31:10.060Z] 1ad828e5257e: Layer already exists [2024-07-04T05:31:10.060Z] e050cde20278: Layer already exists [2024-07-04T05:31:10.061Z] 63ec0bd56cf3: Layer already exists [2024-07-04T05:31:10.061Z] 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:10.387Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:10.718Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-07-04T05:31:10.718Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-04T05:31:10.718Z] 0accbe50d8c6: Preparing [2024-07-04T05:31:10.718Z] f50636e27158: Preparing [2024-07-04T05:31:10.718Z] e050cde20278: Preparing [2024-07-04T05:31:10.718Z] 1ad828e5257e: Preparing [2024-07-04T05:31:10.718Z] bf714195a5b9: Preparing [2024-07-04T05:31:10.718Z] 63ec0bd56cf3: Preparing [2024-07-04T05:31:10.718Z] 63ec0bd56cf3: Waiting [2024-07-04T05:31:10.718Z] 1ad828e5257e: Layer already exists [2024-07-04T05:31:10.718Z] e050cde20278: Layer already exists [2024-07-04T05:31:10.718Z] f50636e27158: Layer already exists [2024-07-04T05:31:10.718Z] bf714195a5b9: Layer already exists [2024-07-04T05:31:10.718Z] 0accbe50d8c6: Layer already exists [2024-07-04T05:31:10.718Z] 63ec0bd56cf3: Layer already exists [2024-07-04T05:31:10.718Z] main: digest: sha256:fc4a8ed841c118f8939c352ff7f8dd33bf81a7d998363a8a2c57e0dfac0ae563 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-04T05:31:10.805Z] ===================================================== [Pipeline] echo [2024-07-04T05:31:10.819Z] taggedImages: [2024-07-04T05:31:10.819Z] - nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:31:10.819Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-04T05:31:10.819Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.15 [2024-07-04T05:31:10.819Z] - nexus3.edgexfoundry.org:10004/device-rest:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:31:10.819Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:11.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T05:31:11.224Z] [2024-07-04T05:31:11.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:31:11.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T05:31:11.525Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-04T05:31:11.525Z] 5eb5b503b376: Pulling fs layer [2024-07-04T05:31:11.525Z] 5c69ac0246d0: Pulling fs layer [2024-07-04T05:31:11.525Z] ec43610c2a17: Pulling fs layer [2024-07-04T05:31:11.525Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-04T05:31:11.525Z] 33b1e0a273af: Pulling fs layer [2024-07-04T05:31:11.525Z] 5d3b04190fa2: Pulling fs layer [2024-07-04T05:31:11.525Z] 2f39f015ded8: Pulling fs layer [2024-07-04T05:31:11.525Z] 33b1e0a273af: Waiting [2024-07-04T05:31:11.525Z] 5d3b04190fa2: Waiting [2024-07-04T05:31:11.525Z] 3a2ae6a8a46f: Waiting [2024-07-04T05:31:11.525Z] 5c69ac0246d0: Verifying Checksum [2024-07-04T05:31:11.525Z] 5c69ac0246d0: Download complete [2024-07-04T05:31:11.525Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-04T05:31:11.525Z] 3a2ae6a8a46f: Download complete [2024-07-04T05:31:11.525Z] 33b1e0a273af: Verifying Checksum [2024-07-04T05:31:11.525Z] 33b1e0a273af: Download complete [2024-07-04T05:31:11.525Z] 5d3b04190fa2: Download complete [2024-07-04T05:31:11.525Z] ec43610c2a17: Verifying Checksum [2024-07-04T05:31:11.525Z] ec43610c2a17: Download complete [2024-07-04T05:31:11.784Z] 5eb5b503b376: Download complete [2024-07-04T05:31:12.352Z] 2f39f015ded8: Download complete [2024-07-04T05:31:12.918Z] 5eb5b503b376: Pull complete [2024-07-04T05:31:12.918Z] 5c69ac0246d0: Pull complete [2024-07-04T05:31:13.485Z] ec43610c2a17: Pull complete [2024-07-04T05:31:13.485Z] 3a2ae6a8a46f: Pull complete [2024-07-04T05:31:13.743Z] 33b1e0a273af: Pull complete [2024-07-04T05:31:13.743Z] 5d3b04190fa2: Pull complete [2024-07-04T05:31:17.924Z] 2f39f015ded8: Pull complete [2024-07-04T05:31:17.924Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-04T05:31:17.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T05:31:17.924Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:31:18.022Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:31:18.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-04T05:31:21.366Z] $ docker top 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:31:21.741Z] ---> job-cost.sh [2024-07-04T05:31:21.741Z] lf-activate-venv: SKIPPING [2024-07-04T05:31:21.741Z] INFO: No Stack... [2024-07-04T05:31:22.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-04T05:31:22.570Z] INFO: Archiving Costs [Pipeline] sh [2024-07-04T05:31:22.859Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-07-04T05:31:22.859Z] + cut -d, -f6 [Pipeline] lock [2024-07-04T05:31:22.872Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [2024-07-04T05:31:22.883Z] Resource [jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] did not exist. Created. [2024-07-04T05:31:22.893Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-04T05:31:23.204Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-04T05:31:23.228Z] Stashed 1 file(s) [Pipeline] } [2024-07-04T05:31:23.242Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-04T05:31:23.268Z] $ docker stop --time=1 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 [2024-07-04T05:31:24.425Z] $ docker rm -f --volumes 3df744a8898d7c1c06e4a098e65370512f833fe2cf0921cc9a50ca52b0411655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-04T05:31:51.688Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4998 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-07-04T05:31:51.709Z] Running in /w/workspace/device-rest-go/167 [Pipeline] { [Pipeline] checkout [2024-07-04T05:31:54.769Z] The recommended git tool is: git [2024-07-04T05:32:03.858Z] using credential edgex-jenkins-ssh [2024-07-04T05:32:03.889Z] Cloning the remote Git repository [2024-07-04T05:32:03.947Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-04T05:32:04.088Z] > git init /w/workspace/device-rest-go/167 # timeout=10 [2024-07-04T05:32:04.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-04T05:32:04.316Z] > git --version # timeout=10 [2024-07-04T05:32:04.355Z] > git --version # 'git version 2.25.1' [2024-07-04T05:32:04.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-04T05:32:04.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-04T05:32:08.042Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-04T05:32:08.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-04T05:32:09.040Z] Avoid second fetch [2024-07-04T05:32:09.041Z] Checking out Revision 290df9772e99a502094e71001891edf463b76fa6 (main) [2024-07-04T05:32:09.777Z] Commit message: "Merge pull request #397 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.20" [2024-07-04T05:32:09.055Z] > git config core.sparsecheckout # timeout=10 [2024-07-04T05:32:09.127Z] > git checkout -f 290df9772e99a502094e71001891edf463b76fa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T05:32:14.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-04T05:32:14.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-04T05:32:14.581Z] Dload Upload Total Spent Left Speed [2024-07-04T05:32:14.581Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2024-07-04T05:32:14.935Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-04T05:32:15.271Z] + sudo tee /etc/docker/daemon.new [2024-07-04T05:32:15.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-04T05:32:15.271Z] { [2024-07-04T05:32:15.271Z] "registry-mirrors": [ [2024-07-04T05:32:15.271Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-04T05:32:15.271Z] ], [2024-07-04T05:32:15.271Z] "bip": "10.250.0.254/24", [2024-07-04T05:32:15.271Z] "hosts": [ [2024-07-04T05:32:15.271Z] "tcp://0.0.0.0:5555", [2024-07-04T05:32:15.271Z] "unix:///var/run/docker.sock" [2024-07-04T05:32:15.271Z] ], [2024-07-04T05:32:15.271Z] "mtu": 1458, [2024-07-04T05:32:15.271Z] "selinux-enabled": true, [2024-07-04T05:32:15.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-04T05:32:15.271Z] } [Pipeline] sh [2024-07-04T05:32:15.626Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-04T05:32:15.973Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T05:32:34.251Z] provisioning config files... [2024-07-04T05:32:34.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/167@tmp/config10838650173296922398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:32:34.760Z] ---> ****-login.sh [2024-07-04T05:32:34.760Z] nexus3.edgexfoundry.org:10001 [2024-07-04T05:32:35.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:32:35.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:32:35.350Z] Configure a credential helper to remove this warning. See [2024-07-04T05:32:35.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:32:35.350Z] [2024-07-04T05:32:35.350Z] Login Succeeded [2024-07-04T05:32:35.350Z] nexus3.edgexfoundry.org:10002 [2024-07-04T05:32:35.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:32:35.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:32:35.903Z] Configure a credential helper to remove this warning. See [2024-07-04T05:32:35.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:32:35.903Z] [2024-07-04T05:32:35.903Z] Login Succeeded [2024-07-04T05:32:35.903Z] nexus3.edgexfoundry.org:10003 [2024-07-04T05:32:36.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:32:36.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:32:36.174Z] Configure a credential helper to remove this warning. See [2024-07-04T05:32:36.174Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:32:36.174Z] [2024-07-04T05:32:36.174Z] Login Succeeded [2024-07-04T05:32:36.174Z] nexus3.edgexfoundry.org:10004 [2024-07-04T05:32:36.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:32:36.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:32:36.453Z] Configure a credential helper to remove this warning. See [2024-07-04T05:32:36.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:32:36.453Z] [2024-07-04T05:32:36.453Z] Login Succeeded [2024-07-04T05:32:36.453Z] ****.io [2024-07-04T05:32:36.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:32:37.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:32:37.001Z] Configure a credential helper to remove this warning. See [2024-07-04T05:32:37.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:32:37.001Z] [2024-07-04T05:32:37.001Z] Login Succeeded [2024-07-04T05:32:37.001Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T05:32:37.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-04T05:32:37.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:32:37.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:32:37.428Z] ========================================================= [2024-07-04T05:32:37.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-04T05:32:37.428Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:32:37.803Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-04T05:32:37.803Z] Sending build context to Docker daemon 131.1kB [2024-07-04T05:32:38.072Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T05:32:38.072Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-04T05:32:38.346Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-04T05:32:38.346Z] c6b39de5b339: Pulling fs layer [2024-07-04T05:32:38.346Z] a69c41024577: Pulling fs layer [2024-07-04T05:32:38.346Z] d6de4b400683: Pulling fs layer [2024-07-04T05:32:38.346Z] 35cb2a7552d0: Pulling fs layer [2024-07-04T05:32:38.346Z] 4f4fb700ef54: Pulling fs layer [2024-07-04T05:32:38.346Z] 464afbd9ba4c: Pulling fs layer [2024-07-04T05:32:38.346Z] 00f215d4a9da: Pulling fs layer [2024-07-04T05:32:38.346Z] d496ad576159: Pulling fs layer [2024-07-04T05:32:38.346Z] 35cb2a7552d0: Waiting [2024-07-04T05:32:38.346Z] 4f4fb700ef54: Waiting [2024-07-04T05:32:38.346Z] 464afbd9ba4c: Waiting [2024-07-04T05:32:38.346Z] 00f215d4a9da: Waiting [2024-07-04T05:32:38.346Z] d496ad576159: Waiting [2024-07-04T05:32:38.346Z] a69c41024577: Verifying Checksum [2024-07-04T05:32:38.346Z] a69c41024577: Download complete [2024-07-04T05:32:38.346Z] 35cb2a7552d0: Verifying Checksum [2024-07-04T05:32:38.346Z] 35cb2a7552d0: Download complete [2024-07-04T05:32:38.346Z] 4f4fb700ef54: Verifying Checksum [2024-07-04T05:32:38.346Z] 4f4fb700ef54: Download complete [2024-07-04T05:32:38.346Z] 464afbd9ba4c: Verifying Checksum [2024-07-04T05:32:38.346Z] 464afbd9ba4c: Download complete [2024-07-04T05:32:38.346Z] c6b39de5b339: Verifying Checksum [2024-07-04T05:32:38.346Z] c6b39de5b339: Download complete [2024-07-04T05:32:38.949Z] d496ad576159: Verifying Checksum [2024-07-04T05:32:38.949Z] d496ad576159: Download complete [2024-07-04T05:32:39.222Z] c6b39de5b339: Pull complete [2024-07-04T05:32:39.832Z] a69c41024577: Pull complete [2024-07-04T05:32:40.434Z] d6de4b400683: Verifying Checksum [2024-07-04T05:32:40.434Z] d6de4b400683: Download complete [2024-07-04T05:32:41.411Z] 00f215d4a9da: Verifying Checksum [2024-07-04T05:32:41.411Z] 00f215d4a9da: Download complete [2024-07-04T05:32:53.766Z] d6de4b400683: Pull complete [2024-07-04T05:32:53.766Z] 35cb2a7552d0: Pull complete [2024-07-04T05:32:53.766Z] 4f4fb700ef54: Pull complete [2024-07-04T05:32:54.033Z] 464afbd9ba4c: Pull complete [2024-07-04T05:33:04.129Z] 00f215d4a9da: Pull complete [2024-07-04T05:33:04.720Z] d496ad576159: Pull complete [2024-07-04T05:33:04.720Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-04T05:33:04.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-04T05:33:04.720Z] ---> f246e2811388 [2024-07-04T05:33:04.720Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-04T05:33:06.157Z] ---> Running in 6987f16be06c [2024-07-04T05:33:06.431Z] Removing intermediate container 6987f16be06c [2024-07-04T05:33:06.431Z] ---> d14ceca6a0f0 [2024-07-04T05:33:06.431Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T05:33:06.431Z] ---> Running in d6cc0398efc1 [2024-07-04T05:33:06.706Z] Removing intermediate container d6cc0398efc1 [2024-07-04T05:33:06.706Z] ---> 60f86280b35a [2024-07-04T05:33:06.706Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-04T05:33:06.975Z] ---> Running in e17d5c53ecdb [2024-07-04T05:33:07.242Z] Removing intermediate container e17d5c53ecdb [2024-07-04T05:33:07.242Z] ---> 1ebd949d3bc8 [2024-07-04T05:33:07.242Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T05:33:07.242Z] ---> Running in 81ad33723ecd [2024-07-04T05:33:07.510Z] Removing intermediate container 81ad33723ecd [2024-07-04T05:33:07.510Z] ---> 586aaa9bf290 [2024-07-04T05:33:07.510Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T05:33:07.779Z] ---> Running in 7675ee1a4d0f [2024-07-04T05:33:10.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T05:33:10.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T05:33:12.050Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-04T05:33:12.050Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-04T05:33:12.050Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-04T05:33:12.050Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-04T05:33:12.050Z] Executing busybox-1.36.1-r5.trigger [2024-07-04T05:33:12.050Z] OK: 271 MiB in 56 packages [2024-07-04T05:33:13.019Z] Removing intermediate container 7675ee1a4d0f [2024-07-04T05:33:13.019Z] ---> 964391f00f4f [2024-07-04T05:33:13.019Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-04T05:33:13.291Z] ---> Running in cd7b795f1364 [2024-07-04T05:33:13.557Z] Removing intermediate container cd7b795f1364 [2024-07-04T05:33:13.557Z] ---> 6dfd97d897d9 [2024-07-04T05:33:13.557Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-04T05:33:14.172Z] ---> 42b84a0d943a [2024-07-04T05:33:14.172Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T05:33:14.172Z] ---> Running in 3152b1e700c9 [2024-07-04T05:35:05.868Z] Removing intermediate container 3152b1e700c9 [2024-07-04T05:35:05.868Z] ---> a04765cccbf7 [2024-07-04T05:35:05.868Z] Step 11/12 : COPY . . [2024-07-04T05:35:05.868Z] ---> 96283c29e65f [2024-07-04T05:35:05.868Z] Step 12/12 : RUN $MAKE [2024-07-04T05:35:05.868Z] ---> Running in b2cc2ed880ce [2024-07-04T05:35:05.868Z] noop [2024-07-04T05:35:05.868Z] Removing intermediate container b2cc2ed880ce [2024-07-04T05:35:05.868Z] ---> 23731c525ec1 [2024-07-04T05:35:05.868Z] Successfully built 23731c525ec1 [2024-07-04T05:35:05.868Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:35:06.233Z] + docker inspect -f . ci-base-image-arm64 [2024-07-04T05:35:06.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:35:06.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container [2024-07-04T05:35:06.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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-07-04T05:35:07.872Z] $ docker top 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:35:08.747Z] + go version [2024-07-04T05:35:08.747Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-04T05:35:08.763Z] $ docker stop --time=1 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd [2024-07-04T05:35:10.414Z] $ docker rm -f --volumes 92da499a43882fbabaa4fad64cdf9bb5ad86d5fb6dc225bb2189ec0d7cd020fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:35:11.032Z] + docker inspect -f . ci-base-image-arm64 [2024-07-04T05:35:11.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:35:11.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container [2024-07-04T05:35:11.321Z] $ 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/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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-07-04T05:35:12.556Z] $ docker top b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:35:13.453Z] + git config --global --add safe.directory /w/workspace/device-rest-go/167 [Pipeline] fileExists [Pipeline] sh [2024-07-04T05:35:14.112Z] + make test [2024-07-04T05:35:14.112Z] go test ./... -coverprofile=coverage.out ./... [2024-07-04T05:35:20.795Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-04T05:38:57.649Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-04T05:39:01.006Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements [2024-07-04T05:39:02.417Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-04T05:39:02.417Z] go vet ./... [2024-07-04T05:39:58.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-04T05:39:58.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-04T05:39:58.849Z] ./bin/test-attribution-txt.sh [2024-07-04T05:39:58.849Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-04T05:39:58.849Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-04T05:39:58.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-04T05:39:58.887Z] $ docker stop --time=1 b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 [2024-07-04T05:40:00.802Z] $ docker rm -f --volumes b3352fb923db83d40f4d0cbdf8415d8ac958b8de4fa7cecf4f61b27e6cf76166 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T05:40:02.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-04T05:40:02.522Z] Warning: overwriting stash ‘coverage-report’ [2024-07-04T05:40:03.294Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T05:40:03.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-04T05:40:04.071Z] + ls -al . [2024-07-04T05:40:04.071Z] total 244 [2024-07-04T05:40:04.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:35 . [2024-07-04T05:40:04.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:32 .. [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 05:32 .dockerignore [2024-07-04T05:40:04.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:32 .git [2024-07-04T05:40:04.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 .github [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:32 .gitignore [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:32 .golangci.yml [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 4 05:32 Attribution.txt [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 4 05:32 CHANGELOG.md [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 4 05:32 Dockerfile [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:32 GOVERNANCE.md [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 05:32 Jenkinsfile [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:32 LICENSE [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 4 05:32 Makefile [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:32 OWNERS.md [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 4 05:32 README.md [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 4 05:28 VERSION [2024-07-04T05:40:04.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:32 bin [2024-07-04T05:40:04.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 cmd [2024-07-04T05:40:04.071Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 4 05:39 coverage.out [2024-07-04T05:40:04.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:32 driver [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 7191 Jul 4 05:32 go.mod [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:32 go.sum [2024-07-04T05:40:04.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:32 openapi [2024-07-04T05:40:04.071Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:40:04.449Z] + 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=290df9772e99a502094e71001891edf463b76fa6 --label arch=arm64 --label version=3.2.0-dev.15 . [2024-07-04T05:40:04.449Z] Sending build context to Docker daemon 146.4kB [2024-07-04T05:40:04.751Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T05:40:04.751Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-04T05:40:04.751Z] ---> 23731c525ec1 [2024-07-04T05:40:04.751Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-04T05:40:04.751Z] ---> Running in 717d3e0d438d [2024-07-04T05:40:05.359Z] Removing intermediate container 717d3e0d438d [2024-07-04T05:40:05.359Z] ---> 8edd41c2d8bc [2024-07-04T05:40:05.359Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T05:40:05.359Z] ---> Running in 3bcc0ba258ee [2024-07-04T05:40:05.630Z] Removing intermediate container 3bcc0ba258ee [2024-07-04T05:40:05.630Z] ---> 0fa148117481 [2024-07-04T05:40:05.630Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-04T05:40:05.630Z] ---> Running in 52ef6a4203a2 [2024-07-04T05:40:05.903Z] Removing intermediate container 52ef6a4203a2 [2024-07-04T05:40:05.903Z] ---> 69ef7a75a082 [2024-07-04T05:40:05.903Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T05:40:06.176Z] ---> Running in 496e9997157b [2024-07-04T05:40:06.448Z] Removing intermediate container 496e9997157b [2024-07-04T05:40:06.448Z] ---> 4f9ac9bc4353 [2024-07-04T05:40:06.448Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T05:40:06.448Z] ---> Running in 2ffa03289b94 [2024-07-04T05:40:07.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T05:40:08.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T05:40:09.102Z] OK: 271 MiB in 56 packages [2024-07-04T05:40:10.090Z] Removing intermediate container 2ffa03289b94 [2024-07-04T05:40:10.090Z] ---> 63a5c0b44e94 [2024-07-04T05:40:10.090Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-04T05:40:10.090Z] ---> Running in 78280a82dfee [2024-07-04T05:40:10.358Z] Removing intermediate container 78280a82dfee [2024-07-04T05:40:10.358Z] ---> fb84512608ec [2024-07-04T05:40:10.358Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-04T05:40:10.947Z] ---> c8c29288571c [2024-07-04T05:40:10.947Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T05:40:10.947Z] ---> Running in b84b33b2a577 [2024-07-04T05:40:13.568Z] Removing intermediate container b84b33b2a577 [2024-07-04T05:40:13.568Z] ---> 1e55b9e75035 [2024-07-04T05:40:13.568Z] Step 11/26 : COPY . . [2024-07-04T05:40:14.151Z] ---> e378f5c4e534 [2024-07-04T05:40:14.152Z] Step 12/26 : RUN $MAKE [2024-07-04T05:40:14.152Z] ---> Running in 89037a6728c1 [2024-07-04T05:40:15.115Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-04T05:43:51.925Z] Removing intermediate container 89037a6728c1 [2024-07-04T05:43:51.925Z] ---> e9d9f6c5efe0 [2024-07-04T05:43:51.925Z] Step 13/26 : FROM alpine:3.18 [2024-07-04T05:43:51.925Z] 3.18: Pulling from library/alpine [2024-07-04T05:43:51.925Z] 5c905c7ebe2f: Pulling fs layer [2024-07-04T05:43:51.925Z] 5c905c7ebe2f: Verifying Checksum [2024-07-04T05:43:51.925Z] 5c905c7ebe2f: Download complete [2024-07-04T05:43:51.925Z] 5c905c7ebe2f: Pull complete [2024-07-04T05:43:51.925Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-04T05:43:51.925Z] Status: Downloaded newer image for alpine:3.18 [2024-07-04T05:43:51.925Z] ---> dec292d02e07 [2024-07-04T05:43:51.925Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-04T05:43:51.925Z] ---> Running in 86000fff53ae [2024-07-04T05:43:52.191Z] Removing intermediate container 86000fff53ae [2024-07-04T05:43:52.191Z] ---> 5c5ee4d4a82c [2024-07-04T05:43:52.191Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-04T05:43:52.191Z] ---> Running in 56519bcb5f9c [2024-07-04T05:43:52.777Z] Removing intermediate container 56519bcb5f9c [2024-07-04T05:43:52.777Z] ---> 5941f1ee2f71 [2024-07-04T05:43:52.777Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-04T05:43:52.777Z] ---> Running in 0eaf2bab81fb [2024-07-04T05:43:53.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T05:43:53.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T05:43:54.953Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-04T05:43:54.953Z] Executing busybox-1.36.1-r7.trigger [2024-07-04T05:43:54.953Z] OK: 8 MiB in 16 packages [2024-07-04T05:43:55.927Z] Removing intermediate container 0eaf2bab81fb [2024-07-04T05:43:55.927Z] ---> 6658ed5f6568 [2024-07-04T05:43:55.927Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-04T05:43:55.927Z] ---> Running in c15e6c01cebe [2024-07-04T05:43:56.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T05:43:57.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T05:43:58.101Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T05:43:58.101Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T05:43:58.101Z] OK: 8 MiB in 16 packages [2024-07-04T05:43:59.506Z] Removing intermediate container c15e6c01cebe [2024-07-04T05:43:59.506Z] ---> 8a13eaa5f15d [2024-07-04T05:43:59.506Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-04T05:44:00.906Z] ---> 84c9a6d9b727 [2024-07-04T05:44:00.906Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-04T05:44:01.491Z] ---> a3cd9943cf58 [2024-07-04T05:44:01.491Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-04T05:44:02.075Z] ---> ef4798bc93aa [2024-07-04T05:44:02.075Z] Step 21/26 : EXPOSE 59986 [2024-07-04T05:44:02.075Z] ---> Running in ab056046b389 [2024-07-04T05:44:02.341Z] Removing intermediate container ab056046b389 [2024-07-04T05:44:02.341Z] ---> cdbb78fca20d [2024-07-04T05:44:02.341Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-04T05:44:02.341Z] ---> Running in beed61c50d9b [2024-07-04T05:44:02.610Z] Removing intermediate container beed61c50d9b [2024-07-04T05:44:02.610Z] ---> 3450cb0e91cb [2024-07-04T05:44:02.610Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-04T05:44:02.874Z] ---> Running in 32f9597d28a3 [2024-07-04T05:44:03.141Z] Removing intermediate container 32f9597d28a3 [2024-07-04T05:44:03.141Z] ---> a722ecc039fe [2024-07-04T05:44:03.141Z] Step 24/26 : LABEL arch=arm64 [2024-07-04T05:44:03.141Z] ---> Running in 54f7f0f5d97d [2024-07-04T05:44:03.408Z] Removing intermediate container 54f7f0f5d97d [2024-07-04T05:44:03.408Z] ---> f06b840e0b70 [2024-07-04T05:44:03.408Z] Step 25/26 : LABEL git_sha=290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:44:03.673Z] ---> Running in 30bd9a8ee558 [2024-07-04T05:44:03.937Z] Removing intermediate container 30bd9a8ee558 [2024-07-04T05:44:03.937Z] ---> 3799a71dae38 [2024-07-04T05:44:03.937Z] Step 26/26 : LABEL version=3.2.0-dev.15 [2024-07-04T05:44:03.937Z] ---> Running in f50f02ad58d1 [2024-07-04T05:44:04.202Z] Removing intermediate container f50f02ad58d1 [2024-07-04T05:44:04.202Z] ---> 8b69cc688f96 [2024-07-04T05:44:04.202Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-04T05:44:04.202Z] Successfully built 8b69cc688f96 [2024-07-04T05:44:04.202Z] 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-07-04T05:44:04.337Z] provisioning config files... [2024-07-04T05:44:04.348Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/167@tmp/config17471545786628305398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:44:04.684Z] ---> ****-login.sh [2024-07-04T05:44:04.684Z] nexus3.edgexfoundry.org:10001 [2024-07-04T05:44:04.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:44:04.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:44:04.951Z] Configure a credential helper to remove this warning. See [2024-07-04T05:44:04.951Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:44:04.951Z] [2024-07-04T05:44:04.951Z] Login Succeeded [2024-07-04T05:44:04.951Z] nexus3.edgexfoundry.org:10002 [2024-07-04T05:44:05.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:44:05.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:44:05.218Z] Configure a credential helper to remove this warning. See [2024-07-04T05:44:05.218Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:44:05.218Z] [2024-07-04T05:44:05.218Z] Login Succeeded [2024-07-04T05:44:05.218Z] nexus3.edgexfoundry.org:10003 [2024-07-04T05:44:05.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:44:05.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:44:05.751Z] Configure a credential helper to remove this warning. See [2024-07-04T05:44:05.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:44:05.752Z] [2024-07-04T05:44:05.752Z] Login Succeeded [2024-07-04T05:44:05.752Z] nexus3.edgexfoundry.org:10004 [2024-07-04T05:44:06.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:44:06.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:44:06.018Z] Configure a credential helper to remove this warning. See [2024-07-04T05:44:06.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:44:06.018Z] [2024-07-04T05:44:06.018Z] Login Succeeded [2024-07-04T05:44:06.018Z] ****.io [2024-07-04T05:44:06.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T05:44:06.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T05:44:06.551Z] Configure a credential helper to remove this warning. See [2024-07-04T05:44:06.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T05:44:06.551Z] [2024-07-04T05:44:06.551Z] Login Succeeded [2024-07-04T05:44:06.551Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T05:44:06.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-04T05:44:06.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T05:44:06.651Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-07-04T05:44:06.651Z] 290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:44:06.651Z] latest [2024-07-04T05:44:06.651Z] 3.2.0-dev.15 [2024-07-04T05:44:06.651Z] 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:44:06.651Z] main [2024-07-04T05:44:06.651Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:07.020Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:07.379Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:44:07.380Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-04T05:44:07.380Z] 4a63894b6722: Preparing [2024-07-04T05:44:07.380Z] 2a4baba318e6: Preparing [2024-07-04T05:44:07.380Z] dd5ad054c029: Preparing [2024-07-04T05:44:07.380Z] a6aa4bad9c91: Preparing [2024-07-04T05:44:07.380Z] d4a03b4da067: Preparing [2024-07-04T05:44:07.380Z] da707bb00cb8: Preparing [2024-07-04T05:44:07.380Z] da707bb00cb8: Waiting [2024-07-04T05:44:07.646Z] d4a03b4da067: Pushed [2024-07-04T05:44:07.646Z] 2a4baba318e6: Pushed [2024-07-04T05:44:07.646Z] 4a63894b6722: Pushed [2024-07-04T05:44:07.646Z] da707bb00cb8: Layer already exists [2024-07-04T05:44:08.600Z] a6aa4bad9c91: Pushed [2024-07-04T05:44:13.928Z] dd5ad054c029: Pushed [2024-07-04T05:44:13.928Z] 290df9772e99a502094e71001891edf463b76fa6: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:14.558Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:14.910Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-04T05:44:14.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-04T05:44:14.910Z] 4a63894b6722: Preparing [2024-07-04T05:44:14.910Z] 2a4baba318e6: Preparing [2024-07-04T05:44:14.910Z] dd5ad054c029: Preparing [2024-07-04T05:44:14.910Z] a6aa4bad9c91: Preparing [2024-07-04T05:44:14.910Z] d4a03b4da067: Preparing [2024-07-04T05:44:14.910Z] da707bb00cb8: Preparing [2024-07-04T05:44:14.910Z] da707bb00cb8: Waiting [2024-07-04T05:44:14.911Z] dd5ad054c029: Layer already exists [2024-07-04T05:44:14.911Z] a6aa4bad9c91: Layer already exists [2024-07-04T05:44:14.911Z] 2a4baba318e6: Layer already exists [2024-07-04T05:44:14.911Z] d4a03b4da067: Layer already exists [2024-07-04T05:44:14.911Z] 4a63894b6722: Layer already exists [2024-07-04T05:44:14.911Z] da707bb00cb8: Layer already exists [2024-07-04T05:44:15.175Z] latest: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:15.534Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:15.889Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 [2024-07-04T05:44:15.889Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-04T05:44:15.889Z] 4a63894b6722: Preparing [2024-07-04T05:44:15.889Z] 2a4baba318e6: Preparing [2024-07-04T05:44:15.889Z] dd5ad054c029: Preparing [2024-07-04T05:44:15.889Z] a6aa4bad9c91: Preparing [2024-07-04T05:44:15.889Z] d4a03b4da067: Preparing [2024-07-04T05:44:15.889Z] da707bb00cb8: Preparing [2024-07-04T05:44:15.889Z] da707bb00cb8: Waiting [2024-07-04T05:44:15.889Z] 2a4baba318e6: Layer already exists [2024-07-04T05:44:15.889Z] d4a03b4da067: Layer already exists [2024-07-04T05:44:15.889Z] 4a63894b6722: Layer already exists [2024-07-04T05:44:15.889Z] dd5ad054c029: Layer already exists [2024-07-04T05:44:15.889Z] a6aa4bad9c91: Layer already exists [2024-07-04T05:44:15.889Z] da707bb00cb8: Layer already exists [2024-07-04T05:44:15.889Z] 3.2.0-dev.15: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:16.499Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:16.853Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:44:16.853Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-04T05:44:16.853Z] 4a63894b6722: Preparing [2024-07-04T05:44:16.853Z] 2a4baba318e6: Preparing [2024-07-04T05:44:16.853Z] dd5ad054c029: Preparing [2024-07-04T05:44:16.853Z] a6aa4bad9c91: Preparing [2024-07-04T05:44:16.853Z] d4a03b4da067: Preparing [2024-07-04T05:44:16.853Z] da707bb00cb8: Preparing [2024-07-04T05:44:16.853Z] da707bb00cb8: Waiting [2024-07-04T05:44:16.853Z] 4a63894b6722: Layer already exists [2024-07-04T05:44:16.853Z] dd5ad054c029: Layer already exists [2024-07-04T05:44:16.853Z] 2a4baba318e6: Layer already exists [2024-07-04T05:44:16.853Z] d4a03b4da067: Layer already exists [2024-07-04T05:44:16.853Z] a6aa4bad9c91: Layer already exists [2024-07-04T05:44:16.853Z] da707bb00cb8: Layer already exists [2024-07-04T05:44:16.853Z] 290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:17.212Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:17.570Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-07-04T05:44:17.570Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-04T05:44:17.570Z] 4a63894b6722: Preparing [2024-07-04T05:44:17.570Z] 2a4baba318e6: Preparing [2024-07-04T05:44:17.570Z] dd5ad054c029: Preparing [2024-07-04T05:44:17.570Z] a6aa4bad9c91: Preparing [2024-07-04T05:44:17.570Z] d4a03b4da067: Preparing [2024-07-04T05:44:17.570Z] da707bb00cb8: Preparing [2024-07-04T05:44:17.570Z] da707bb00cb8: Waiting [2024-07-04T05:44:17.570Z] 4a63894b6722: Layer already exists [2024-07-04T05:44:17.570Z] 2a4baba318e6: Layer already exists [2024-07-04T05:44:17.570Z] a6aa4bad9c91: Layer already exists [2024-07-04T05:44:17.570Z] dd5ad054c029: Layer already exists [2024-07-04T05:44:17.570Z] d4a03b4da067: Layer already exists [2024-07-04T05:44:17.570Z] da707bb00cb8: Layer already exists [2024-07-04T05:44:17.570Z] main: digest: sha256:ed214a42fe42bd1cde44c0d47281d2f92b063bd14010431e80e69238e1eb7b2f size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-04T05:44:17.649Z] ===================================================== [Pipeline] echo [2024-07-04T05:44:17.666Z] taggedImages: [2024-07-04T05:44:17.666Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6 [2024-07-04T05:44:17.666Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-04T05:44:17.666Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.15 [2024-07-04T05:44:17.666Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:290df9772e99a502094e71001891edf463b76fa6-3.2.0-dev.15 [2024-07-04T05:44:17.666Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:18.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T05:44:18.057Z] [2024-07-04T05:44:18.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:18.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T05:44:18.387Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-04T05:44:18.387Z] 8998bd30e6a1: Pulling fs layer [2024-07-04T05:44:18.387Z] 04944245beec: Pulling fs layer [2024-07-04T05:44:18.387Z] 699f458cf7ca: Pulling fs layer [2024-07-04T05:44:18.387Z] 765212b225bb: Pulling fs layer [2024-07-04T05:44:18.387Z] f23df028b6ca: Pulling fs layer [2024-07-04T05:44:18.387Z] d65c8cfc05b1: Pulling fs layer [2024-07-04T05:44:18.387Z] 2437ff75d9bd: Pulling fs layer [2024-07-04T05:44:18.387Z] d65c8cfc05b1: Waiting [2024-07-04T05:44:18.387Z] f23df028b6ca: Waiting [2024-07-04T05:44:18.387Z] 765212b225bb: Waiting [2024-07-04T05:44:18.387Z] 2437ff75d9bd: Waiting [2024-07-04T05:44:18.655Z] 04944245beec: Verifying Checksum [2024-07-04T05:44:18.655Z] 04944245beec: Download complete [2024-07-04T05:44:18.655Z] 765212b225bb: Verifying Checksum [2024-07-04T05:44:18.655Z] 765212b225bb: Download complete [2024-07-04T05:44:18.655Z] f23df028b6ca: Verifying Checksum [2024-07-04T05:44:18.655Z] f23df028b6ca: Download complete [2024-07-04T05:44:18.655Z] d65c8cfc05b1: Verifying Checksum [2024-07-04T05:44:18.655Z] d65c8cfc05b1: Download complete [2024-07-04T05:44:18.655Z] 699f458cf7ca: Verifying Checksum [2024-07-04T05:44:18.655Z] 699f458cf7ca: Download complete [2024-07-04T05:44:19.237Z] 8998bd30e6a1: Verifying Checksum [2024-07-04T05:44:19.237Z] 8998bd30e6a1: Download complete [2024-07-04T05:44:21.805Z] 2437ff75d9bd: Verifying Checksum [2024-07-04T05:44:21.805Z] 2437ff75d9bd: Download complete [2024-07-04T05:44:23.752Z] 8998bd30e6a1: Pull complete [2024-07-04T05:44:24.331Z] 04944245beec: Pull complete [2024-07-04T05:44:25.738Z] 699f458cf7ca: Pull complete [2024-07-04T05:44:26.005Z] 765212b225bb: Pull complete [2024-07-04T05:44:26.964Z] f23df028b6ca: Pull complete [2024-07-04T05:44:27.230Z] d65c8cfc05b1: Pull complete [2024-07-04T05:44:45.421Z] 2437ff75d9bd: Pull complete [2024-07-04T05:44:45.421Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-04T05:44:45.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T05:44:45.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:44:45.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-4998 does not seem to be running inside a container [2024-07-04T05:44:45.673Z] $ 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/167 -v /w/workspace/device-rest-go/167:/w/workspace/device-rest-go/167:rw,z -v /w/workspace/device-rest-go/167@tmp:/w/workspace/device-rest-go/167@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-07-04T05:44:48.329Z] $ docker top afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:44:49.158Z] ---> job-cost.sh [2024-07-04T05:44:49.158Z] lf-activate-venv: SKIPPING [2024-07-04T05:44:49.158Z] INFO: No Stack... [2024-07-04T05:44:49.423Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-04T05:44:50.378Z] INFO: Archiving Costs [Pipeline] sh [2024-07-04T05:44:50.689Z] + cut -d, -f6 [2024-07-04T05:44:50.689Z] + cat /w/workspace/device-rest-go/167/archives/cost.csv [Pipeline] lock [2024-07-04T05:44:51.009Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [2024-07-04T05:44:51.017Z] Resource [jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] did not exist. Created. [2024-07-04T05:44:51.023Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-04T05:44:51.678Z] /w/workspace/device-rest-go/167@tmp/durable-711e72e7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-04T05:44:52.310Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-04T05:44:52.337Z] Warning: overwriting stash ‘stack-cost’ [2024-07-04T05:44:52.378Z] Stashed 1 file(s) [Pipeline] } [2024-07-04T05:44:52.397Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-04T05:44:52.423Z] $ docker stop --time=1 afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 [2024-07-04T05:44:53.944Z] $ docker rm -f --volumes afc4be23b05855d501a01ceec17d15deb3a988641b0ddd8d7f0eab54165d8105 [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-07-04T05:44:54.434Z] provisioning config files... [2024-07-04T05:44:54.443Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6137980756613995891tmp [Pipeline] { [Pipeline] sh [2024-07-04T05:44:54.922Z] + set +x [2024-07-04T05:44:54.922Z] + bash -s -- [2024-07-04T05:44:54.922Z] + curl -s https://codecov.io/bash [2024-07-04T05:44:54.922Z] [2024-07-04T05:44:54.922Z] _____ _ [2024-07-04T05:44:54.922Z] / ____| | | [2024-07-04T05:44:54.922Z] | | ___ __| | ___ ___ _____ __ [2024-07-04T05:44:54.922Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-04T05:44:54.922Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-04T05:44:54.922Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-04T05:44:54.922Z] Bash-1.0.6 [2024-07-04T05:44:54.922Z] [2024-07-04T05:44:54.922Z] [2024-07-04T05:44:54.922Z] ==> git version 2.25.1 found [2024-07-04T05:44:54.922Z] ==> 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-07-04T05:44:54.922Z] Release-Date: 2020-01-08 [2024-07-04T05:44:54.922Z] 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-07-04T05:44:54.922Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-04T05:44:54.922Z] ==> Jenkins CI detected. [2024-07-04T05:44:54.922Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-07-04T05:44:54.922Z] project root: . [2024-07-04T05:44:54.922Z] --> token set from env [2024-07-04T05:44:54.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-04T05:44:54.922Z] ==> Running gcov in . (disable via -X gcov) [2024-07-04T05:44:55.198Z] ==> Python coveragepy not found [2024-07-04T05:44:55.198Z] ==> Searching for coverage reports in: [2024-07-04T05:44:55.198Z] + . [2024-07-04T05:44:55.198Z] -> Found 1 reports [2024-07-04T05:44:55.198Z] ==> Detecting git/mercurial file structure [2024-07-04T05:44:55.198Z] ==> Reading reports [2024-07-04T05:44:55.198Z] + ./coverage.out bytes=14499 [2024-07-04T05:44:55.198Z] ==> Appending adjustments [2024-07-04T05:44:55.198Z] https://docs.codecov.io/docs/fixing-reports [2024-07-04T05:44:55.198Z] + Found adjustments [2024-07-04T05:44:55.198Z] ==> Gzipping contents [2024-07-04T05:44:55.198Z] 4.0K /tmp/codecov.qkXDLe.gz [2024-07-04T05:44:55.198Z] ==> Uploading reports [2024-07-04T05:44:55.198Z] url: https://codecov.io [2024-07-04T05:44:55.198Z] query: branch=main&commit=290df9772e99a502094e71001891edf463b76fa6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-04T05:44:55.198Z] -> Pinging Codecov [2024-07-04T05:44:55.198Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=290df9772e99a502094e71001891edf463b76fa6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-04T05:44:55.781Z] -> Uploading to [2024-07-04T05:44:55.781Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-04/4E5D53B4F1F92C436F7061BF334D961C/290df9772e99a502094e71001891edf463b76fa6/135d8736-f4d8-411f-b957-3ab97dbb92c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T054455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9a75c75a6edd94bdae0d0bf65292a953f4de3985b7360493b818c75418220c9 [2024-07-04T05:44:55.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-04T05:44:55.781Z] Dload Upload Total Spent Left Speed [2024-07-04T05:44:55.781Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10269 --:--:-- --:--:-- --:--:-- 10269 [2024-07-04T05:44:55.781Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/290df9772e99a502094e71001891edf463b76fa6 [Pipeline] } [2024-07-04T05:44:55.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-04T05:44:55.934Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-04T05:44:55.952Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:56.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-04T05:44:56.263Z] [2024-07-04T05:44:56.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:44:58.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-04T05:44:58.019Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-04T05:44:58.019Z] 619be1103602: Already exists [2024-07-04T05:44:58.019Z] f8ea3408117e: Pulling fs layer [2024-07-04T05:44:58.019Z] 91320369b822: Pulling fs layer [2024-07-04T05:44:58.019Z] 0406650e8295: Pulling fs layer [2024-07-04T05:44:58.019Z] 4f4fb700ef54: Pulling fs layer [2024-07-04T05:44:58.019Z] 96d80e3f36e1: Pulling fs layer [2024-07-04T05:44:58.019Z] bcf3aedb951c: Pulling fs layer [2024-07-04T05:44:58.019Z] 4f4fb700ef54: Waiting [2024-07-04T05:44:58.019Z] 96d80e3f36e1: Waiting [2024-07-04T05:44:58.019Z] bcf3aedb951c: Waiting [2024-07-04T05:44:58.019Z] 0406650e8295: Download complete [2024-07-04T05:44:58.019Z] f8ea3408117e: Verifying Checksum [2024-07-04T05:44:58.019Z] f8ea3408117e: Download complete [2024-07-04T05:44:58.019Z] 4f4fb700ef54: Verifying Checksum [2024-07-04T05:44:58.019Z] 4f4fb700ef54: Download complete [2024-07-04T05:44:58.019Z] f8ea3408117e: Pull complete [2024-07-04T05:44:58.278Z] 96d80e3f36e1: Download complete [2024-07-04T05:45:09.035Z] 91320369b822: Verifying Checksum [2024-07-04T05:45:09.035Z] 91320369b822: Download complete [2024-07-04T05:45:15.418Z] 91320369b822: Pull complete [2024-07-04T05:45:15.418Z] 0406650e8295: Pull complete [2024-07-04T05:45:15.418Z] 4f4fb700ef54: Pull complete [2024-07-04T05:45:15.679Z] 96d80e3f36e1: Pull complete [2024-07-04T05:45:15.941Z] bcf3aedb951c: Verifying Checksum [2024-07-04T05:45:15.941Z] bcf3aedb951c: Download complete [2024-07-04T05:45:19.243Z] bcf3aedb951c: Pull complete [2024-07-04T05:45:19.243Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-04T05:45:19.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-04T05:45:19.243Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:45:19.356Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:45:19.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-04T05:45:22.566Z] $ docker top b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:45:22.925Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-07-04T05:45:22.936Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-07-04T05:45:23.220Z] + set -o pipefail [2024-07-04T05:45:23.220Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-07-04T05:45:29.790Z] [2024-07-04T05:45:29.790Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-07-04T05:45:29.790Z] [2024-07-04T05:45:29.790Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/9c583262-2a33-4493-b5c6-e40d3bde1a44 [2024-07-04T05:45:29.790Z] [2024-07-04T05:45:29.790Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-04T05:45:29.790Z] [2024-07-04T05:45:29.790Z] [2024-07-04T05:45:29.790Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-04T05:45:29.790Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-04T05:45:29.799Z] $ docker stop --time=1 b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 [2024-07-04T05:45:35.051Z] $ docker rm -f --volumes b2962bf2a9a0f81c71cc28c0aa26e2d064333966a4a207799f27343009e99200 [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-07-04T05:45:36.517Z] + git log --format=format:%s -1 290df9772e99a502094e71001891edf463b76fa6 [Pipeline] sh [2024-07-04T05:45:36.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-04T05:45:36.844Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:45:37.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:45:37.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:45:37.259Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:45:37.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-04T05:45:37.724Z] $ docker top 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-04T05:45:37.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T05:45:37.838Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T05:45:37.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T05:45:37.953Z] $ docker exec 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f ssh-agent [2024-07-04T05:45:38.064Z] SSH_AUTH_SOCK=/tmp/ssh-rB0v7FifJORu/agent.31 [2024-07-04T05:45:38.065Z] SSH_AGENT_PID=37 [2024-07-04T05:45:38.069Z] Running ssh-add (command line suppressed) [2024-07-04T05:45:38.162Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11532165678866537429.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11532165678866537429.key) [2024-07-04T05:45:38.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T05:45:38.473Z] + git semver tag [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,661 [run_tag] DEBUG tag force:False [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,661 [check_head_tag] DEBUG check head tag [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,662 [execute] INFO git cat-file --batch-check [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,667 [execute] INFO git cat-file --batch [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,689 [execute] INFO git tag -a v3.2.0-dev.15 -m v3.2.0-dev.15 [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.15', '-m', 'v3.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-04T05:45:38.732Z] 2024-07-04 05:45:38,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:45:38.732Z] 3.2.0-dev.15 [Pipeline] } [2024-07-04T05:45:38.738Z] $ docker exec --env ******** --env ******** 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f ssh-agent -k [2024-07-04T05:45:38.833Z] unset SSH_AUTH_SOCK; [2024-07-04T05:45:38.833Z] unset SSH_AGENT_PID; [2024-07-04T05:45:38.833Z] echo Agent pid 37 killed; [2024-07-04T05:45:38.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-04T05:45:39.176Z] + git semver [Pipeline] } [2024-07-04T05:45:39.444Z] $ docker stop --time=1 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f [2024-07-04T05:45:40.709Z] $ docker rm -f --volumes 01674f6670a924b5cbf23b313dba36c6b5cbb518d27769b59d6171d1c3dd7e3f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:45:41.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-04T05:45:41.157Z] [2024-07-04T05:45:41.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:45:41.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-04T05:45:41.466Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-04T05:45:41.466Z] ab5ef0e58194: Pulling fs layer [2024-07-04T05:45:41.466Z] 9712f1f96733: Pulling fs layer [2024-07-04T05:45:41.466Z] 63f879dbbcfc: Pulling fs layer [2024-07-04T05:45:41.466Z] 0d9ebad4ef96: Pulling fs layer [2024-07-04T05:45:41.466Z] e9a5061849ea: Pulling fs layer [2024-07-04T05:45:41.466Z] d747dcd14b5f: Pulling fs layer [2024-07-04T05:45:41.466Z] 2de7ff778b66: Pulling fs layer [2024-07-04T05:45:41.466Z] e9a5061849ea: Waiting [2024-07-04T05:45:41.466Z] 0d9ebad4ef96: Waiting [2024-07-04T05:45:41.466Z] d747dcd14b5f: Waiting [2024-07-04T05:45:41.466Z] 2de7ff778b66: Waiting [2024-07-04T05:45:41.466Z] 9712f1f96733: Verifying Checksum [2024-07-04T05:45:41.466Z] 9712f1f96733: Download complete [2024-07-04T05:45:41.725Z] 63f879dbbcfc: Verifying Checksum [2024-07-04T05:45:41.725Z] 63f879dbbcfc: Download complete [2024-07-04T05:45:41.984Z] e9a5061849ea: Verifying Checksum [2024-07-04T05:45:41.984Z] e9a5061849ea: Download complete [2024-07-04T05:45:41.984Z] d747dcd14b5f: Verifying Checksum [2024-07-04T05:45:41.984Z] d747dcd14b5f: Download complete [2024-07-04T05:45:41.984Z] ab5ef0e58194: Verifying Checksum [2024-07-04T05:45:41.984Z] ab5ef0e58194: Download complete [2024-07-04T05:45:41.984Z] 0d9ebad4ef96: Verifying Checksum [2024-07-04T05:45:41.984Z] 2de7ff778b66: Verifying Checksum [2024-07-04T05:45:41.984Z] 2de7ff778b66: Download complete [2024-07-04T05:45:45.270Z] ab5ef0e58194: Pull complete [2024-07-04T05:45:45.270Z] 9712f1f96733: Pull complete [2024-07-04T05:45:45.528Z] 63f879dbbcfc: Pull complete [2024-07-04T05:45:49.709Z] 0d9ebad4ef96: Pull complete [2024-07-04T05:45:49.709Z] e9a5061849ea: Pull complete [2024-07-04T05:45:49.709Z] d747dcd14b5f: Pull complete [2024-07-04T05:45:50.642Z] 2de7ff778b66: Pull complete [2024-07-04T05:45:50.642Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-04T05:45:50.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-04T05:45:50.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:45:50.732Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:45:50.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-04T05:45:55.529Z] $ docker top 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-04T05:45:55.615Z] provisioning config files... [2024-07-04T05:45:55.623Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4329171100612106118tmp [2024-07-04T05:45:55.633Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15175944981327017880tmp [2024-07-04T05:45:55.646Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15305170012580054069tmp [Pipeline] { [Pipeline] echo [2024-07-04T05:45:55.672Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:45:55.969Z] ---> sigul-configuration.sh [2024-07-04T05:45:55.969Z] gpg: directory `/root/.gnupg' created [2024-07-04T05:45:55.969Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-04T05:45:55.969Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-04T05:45:55.969Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-04T05:45:55.969Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-04T05:45:55.970Z] gpg: CAST5 encrypted data [2024-07-04T05:45:55.970Z] gpg: encrypted with 1 passphrase [2024-07-04T05:45:55.970Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-04T05:45:56.267Z] + mkdir /home/jenkins [2024-07-04T05:45:56.268Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-04T05:45:56.569Z] + 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-07-04T05:45:56.585Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:45:56.887Z] ---> sigul-install.sh [2024-07-04T05:45:56.888Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-04T05:45:57.186Z] + git tag --list [2024-07-04T05:45:57.186Z] v1.0.0 [2024-07-04T05:45:57.186Z] v1.1.0 [2024-07-04T05:45:57.186Z] v1.1.1 [2024-07-04T05:45:57.186Z] v1.1.2 [2024-07-04T05:45:57.186Z] v1.2.0 [2024-07-04T05:45:57.186Z] v1.2.1 [2024-07-04T05:45:57.186Z] v2.0.0 [2024-07-04T05:45:57.186Z] v2.1.0 [2024-07-04T05:45:57.186Z] v2.1.1 [2024-07-04T05:45:57.186Z] v2.2.0 [2024-07-04T05:45:57.186Z] v2.3.0 [2024-07-04T05:45:57.186Z] v3.0 [2024-07-04T05:45:57.186Z] v3.0.0 [2024-07-04T05:45:57.186Z] v3.1 [2024-07-04T05:45:57.186Z] v3.1.0 [2024-07-04T05:45:57.186Z] v3.1.0-dev.1 [2024-07-04T05:45:57.186Z] v3.1.0-dev.10 [2024-07-04T05:45:57.186Z] v3.1.0-dev.11 [2024-07-04T05:45:57.186Z] v3.1.0-dev.12 [2024-07-04T05:45:57.186Z] v3.1.0-dev.13 [2024-07-04T05:45:57.186Z] v3.1.0-dev.14 [2024-07-04T05:45:57.186Z] v3.1.0-dev.15 [2024-07-04T05:45:57.186Z] v3.1.0-dev.16 [2024-07-04T05:45:57.186Z] v3.1.0-dev.17 [2024-07-04T05:45:57.186Z] v3.1.0-dev.18 [2024-07-04T05:45:57.186Z] v3.1.0-dev.19 [2024-07-04T05:45:57.186Z] v3.1.0-dev.2 [2024-07-04T05:45:57.186Z] v3.1.0-dev.20 [2024-07-04T05:45:57.186Z] v3.1.0-dev.21 [2024-07-04T05:45:57.186Z] v3.1.0-dev.22 [2024-07-04T05:45:57.186Z] v3.1.0-dev.23 [2024-07-04T05:45:57.186Z] v3.1.0-dev.24 [2024-07-04T05:45:57.186Z] v3.1.0-dev.25 [2024-07-04T05:45:57.186Z] v3.1.0-dev.26 [2024-07-04T05:45:57.186Z] v3.1.0-dev.27 [2024-07-04T05:45:57.186Z] v3.1.0-dev.28 [2024-07-04T05:45:57.186Z] v3.1.0-dev.29 [2024-07-04T05:45:57.186Z] v3.1.0-dev.3 [2024-07-04T05:45:57.186Z] v3.1.0-dev.30 [2024-07-04T05:45:57.186Z] v3.1.0-dev.31 [2024-07-04T05:45:57.186Z] v3.1.0-dev.32 [2024-07-04T05:45:57.186Z] v3.1.0-dev.4 [2024-07-04T05:45:57.186Z] v3.1.0-dev.5 [2024-07-04T05:45:57.186Z] v3.1.0-dev.6 [2024-07-04T05:45:57.186Z] v3.1.0-dev.7 [2024-07-04T05:45:57.186Z] v3.1.0-dev.8 [2024-07-04T05:45:57.186Z] v3.1.0-dev.9 [2024-07-04T05:45:57.186Z] v3.1.1 [2024-07-04T05:45:57.186Z] v3.2.0-dev.1 [2024-07-04T05:45:57.186Z] v3.2.0-dev.10 [2024-07-04T05:45:57.186Z] v3.2.0-dev.11 [2024-07-04T05:45:57.186Z] v3.2.0-dev.12 [2024-07-04T05:45:57.186Z] v3.2.0-dev.13 [2024-07-04T05:45:57.186Z] v3.2.0-dev.14 [2024-07-04T05:45:57.186Z] v3.2.0-dev.15 [2024-07-04T05:45:57.186Z] v3.2.0-dev.2 [2024-07-04T05:45:57.186Z] v3.2.0-dev.3 [2024-07-04T05:45:57.186Z] v3.2.0-dev.4 [2024-07-04T05:45:57.186Z] v3.2.0-dev.5 [2024-07-04T05:45:57.186Z] v3.2.0-dev.6 [2024-07-04T05:45:57.186Z] v3.2.0-dev.7 [2024-07-04T05:45:57.186Z] v3.2.0-dev.8 [2024-07-04T05:45:57.186Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-04T05:45:57.481Z] + lftools sign git-tag v3.2.0-dev.15 [2024-07-04T05:45:58.049Z] Signing Git tag with Sigul... [2024-07-04T05:45:58.049Z] Signing v3.2.0-dev.15 [Pipeline] echo [2024-07-04T05:45:58.322Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:45:58.615Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-04T05:45:58.623Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-04T05:45:58.650Z] $ docker stop --time=1 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 [2024-07-04T05:45:59.941Z] $ docker rm -f --volumes 96a3459fd1676dca35bd3b9455e277153515ab9c235514d6fcdf08ac9bf482d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-04T05:46:00.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-04T05:46:00.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:46:00.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:46:00.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:46:00.798Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:46:00.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-04T05:46:01.187Z] $ docker top 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-04T05:46:01.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T05:46:01.308Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T05:46:01.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T05:46:01.417Z] $ docker exec 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 ssh-agent [2024-07-04T05:46:01.532Z] SSH_AUTH_SOCK=/tmp/ssh-ny1qxJh7MVa4/agent.33 [2024-07-04T05:46:01.532Z] SSH_AGENT_PID=39 [2024-07-04T05:46:01.536Z] Running ssh-add (command line suppressed) [2024-07-04T05:46:01.639Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14760206018405464314.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14760206018405464314.key) [2024-07-04T05:46:01.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T05:46:01.958Z] + git semver bump pre [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,111 [bump_version] DEBUG bumping version:3.2.0-dev.15 on axis:pre with prefix:dev [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,111 [bump_version] DEBUG bumped version:3.2.0-dev.16 [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,111 [write_version] DEBUG write version:3.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,112 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,114 [execute] INFO git cat-file --batch-check [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,119 [execute] INFO git cat-file --batch [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-04T05:46:02.217Z] 2024-07-04 05:46:02,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:46:02.217Z] 3.2.0-dev.16 [Pipeline] } [2024-07-04T05:46:02.224Z] $ docker exec --env ******** --env ******** 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 ssh-agent -k [2024-07-04T05:46:02.326Z] unset SSH_AUTH_SOCK; [2024-07-04T05:46:02.327Z] unset SSH_AGENT_PID; [2024-07-04T05:46:02.327Z] echo Agent pid 39 killed; [2024-07-04T05:46:02.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-04T05:46:02.665Z] + git semver [Pipeline] } [2024-07-04T05:46:02.935Z] $ docker stop --time=1 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 [2024-07-04T05:46:04.243Z] $ docker rm -f --volumes 4aa1e7d2facbba1ac85679493ef21b23df0ed2b4709440ce343a201b112abf52 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T05:46:04.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-04T05:46:04.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:46:04.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T05:46:04.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:46:04.982Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:46:05.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-04T05:46:05.375Z] $ docker top e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd -eo pid,comm [2024-07-04T05:46:05.420Z] 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-07-04T05:46:05.420Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-04T05:46:05.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T05:46:05.486Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T05:46:05.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T05:46:05.603Z] $ docker exec e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd ssh-agent [2024-07-04T05:46:05.711Z] SSH_AUTH_SOCK=/tmp/ssh-c4CoQQe4IWLH/agent.32 [2024-07-04T05:46:05.711Z] SSH_AGENT_PID=38 [2024-07-04T05:46:05.716Z] Running ssh-add (command line suppressed) [2024-07-04T05:46:05.826Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1679151751365251484.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1679151751365251484.key) [2024-07-04T05:46:05.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T05:46:06.137Z] + git semver push [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,319 [run_push] DEBUG push [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,320 [execute] INFO git cat-file --batch-check [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,324 [execute] INFO git rev-list ee27b3a2059a17a1284d5e7b9ef6c273f4fc1994 -- [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,324 [execute] DEBUG Popen(['git', 'rev-list', 'ee27b3a2059a17a1284d5e7b9ef6c273f4fc1994', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,334 [execute] INFO git fetch -v origin [2024-07-04T05:46:06.397Z] 2024-07-04 05:46:06,334 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-04T05:46:06.966Z] 2024-07-04 05:46:06,778 [run_push] DEBUG no remote changes detected [2024-07-04T05:46:06.966Z] 2024-07-04 05:46:06,778 [execute] INFO git push origin semver [2024-07-04T05:46:06.966Z] 2024-07-04 05:46:06,779 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-04T05:46:07.536Z] 2024-07-04 05:46:07,509 [run_push] DEBUG push all version tags [2024-07-04T05:46:07.536Z] 2024-07-04 05:46:07,509 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-04T05:46:07.536Z] 2024-07-04 05:46:07,510 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-04T05:46:08.471Z] 2024-07-04 05:46:08,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-04T05:46:08.471Z] 3.2.0-dev.16 [Pipeline] } [2024-07-04T05:46:08.478Z] $ docker exec --env ******** --env ******** e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd ssh-agent -k [2024-07-04T05:46:08.583Z] unset SSH_AUTH_SOCK; [2024-07-04T05:46:08.583Z] unset SSH_AGENT_PID; [2024-07-04T05:46:08.583Z] echo Agent pid 38 killed; [2024-07-04T05:46:08.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-04T05:46:08.921Z] + git semver [Pipeline] } [2024-07-04T05:46:09.192Z] $ docker stop --time=1 e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd [2024-07-04T05:46:10.509Z] $ docker rm -f --volumes e0e5440eaf235311b5dab5a33c2fd372e0de1442f8f55f2d0203a796a49cf3cd [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-07-04T05:46:11.140Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-07-04T05:46:11.140Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-04T05:46:11.140Z] total 16 [2024-07-04T05:46:11.140Z] drwxr-xr-x 3 root root 4096 Jul 4 05:31 . [2024-07-04T05:46:11.140Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:45 .. [2024-07-04T05:46:11.140Z] drwxr-xr-x 2 root root 4096 Jul 4 05:31 cost [2024-07-04T05:46:11.140Z] -rw-r--r-- 1 root root 86 Jul 4 05:31 cost.csv [2024-07-04T05:46:11.140Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-04T05:46:11.140Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-04T05:46:11.140Z] total 16 [2024-07-04T05:46:11.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:31 . [2024-07-04T05:46:11.140Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:45 .. [2024-07-04T05:46:11.140Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:31 cost [2024-07-04T05:46:11.140Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 4 05:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:11.431Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:12.285Z] ---> package-listing.sh [2024-07-04T05:46:12.285Z] ++ facter osfamily [2024-07-04T05:46:12.285Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-04T05:46:12.546Z] + OS_FAMILY=debian [2024-07-04T05:46:12.546Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-07-04T05:46:12.546Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-04T05:46:12.546Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-04T05:46:12.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-04T05:46:12.546Z] + PACKAGES=/tmp/packages_start.txt [2024-07-04T05:46:12.546Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-04T05:46:12.546Z] + PACKAGES=/tmp/packages_end.txt [2024-07-04T05:46:12.546Z] + case "${OS_FAMILY}" in [2024-07-04T05:46:12.546Z] + dpkg -l [2024-07-04T05:46:12.546Z] + grep '^ii' [2024-07-04T05:46:12.546Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-04T05:46:12.546Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-04T05:46:12.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-04T05:46:12.546Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-04T05:46:12.546Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-07-04T05:46:12.546Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-07-04T05:46:12.557Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-04T05:46:12.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T05:46:13.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T05:46:13.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T05:46:13.492Z] prd-ubuntu20.04-docker-8c-8g-4995 does not seem to be running inside a container [2024-07-04T05:46:13.517Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-04T05:46:13.768Z] $ docker top fc36505f7c4c26903d89903ac8e7be6436d1e4d1750134bc78017996fac54a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T05:46:14.120Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-04T05:46:14.405Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-04T05:46:14.687Z] + ls /var/log/sa-host [2024-07-04T05:46:14.687Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T05:46:14.762Z] provisioning config files... [2024-07-04T05:46:14.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15234551782655689606tmp [Pipeline] { [Pipeline] echo [2024-07-04T05:46:14.787Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:15.068Z] ---> create-netrc.sh [Pipeline] } [2024-07-04T05:46:15.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:15.411Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-04T05:46:15.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:15.701Z] ---> sudo-logs.sh [2024-07-04T05:46:15.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-04T05:46:15.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:16.002Z] ---> job-cost.sh [2024-07-04T05:46:16.002Z] lf-activate-venv: SKIPPING [2024-07-04T05:46:16.002Z] DEBUG: total: 0.2199999988079071 [2024-07-04T05:46:16.002Z] INFO: Retrieving Stack Cost... [2024-07-04T05:46:16.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-04T05:46:16.830Z] INFO: Archiving Costs [Pipeline] echo [2024-07-04T05:46:16.842Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T05:46:17.124Z] ---> logs-deploy.sh [2024-07-04T05:46:17.124Z] lf-activate-venv: SKIPPING [2024-07-04T05:46:17.124Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/167 [2024-07-04T05:46:17.124Z] INFO: archiving workspace using pattern(s): [2024-07-04T05:46:18.061Z] Archives upload complete. [2024-07-04T05:46:18.061Z] INFO: archiving logs to Nexus