Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f76f4517c34d0712f0a5b1769cf5436b862bb8e0 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-ssh2765471598279995099.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-ssh11978648226025712294.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-ssh12297170718222991940.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-ssh2827933548557301115.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-ssh5205123100538842416.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-4419’ Running on prd-ubuntu20.04-docker-8c-8g-4430 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 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 (main) Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" > 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 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 > git rev-list --no-walk 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-26T05:27:01.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-26T05:27:01.763Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-26T05:27:01.786Z] ========================================================= [2024-06-26T05:27:01.786Z] EdgeX Global Pipelines Version Info [2024-06-26T05:27:01.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:27:02.503Z] ------------------- [2024-06-26T05:27:02.503Z] stable info: [2024-06-26T05:27:02.503Z] ------------------- [2024-06-26T05:27:02.503Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-26T05:27:02.503Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-26T05:27:02.503Z] Message: update stable to v1.0.260 [2024-06-26T05:27:03.073Z] ------------------- [2024-06-26T05:27:03.073Z] experimental info: [2024-06-26T05:27:03.073Z] ------------------- [2024-06-26T05:27:03.073Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-26T05:27:03.073Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-26T05:27:03.073Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-26T05:27:03.143Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-06-26T05:27:03.164Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-06-26T05:27:03.197Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-26T05:27:03.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-26T05:27:03.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-26T05:27:03.262Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-26T05:27:03.284Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-26T05:27:03.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-26T05:27:03.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-26T05:27:03.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-26T05:27:03.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-26T05:27:03.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-06-26T05:27:03.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-26T05:27:03.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-26T05:27:03.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-26T05:27:03.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-26T05:27:03.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-26T05:27:03.543Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-26T05:27:03.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-26T05:27:03.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-26T05:27:03.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-06-26T05:27:03.642Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-06-26T05:27:03.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-26T05:27:03.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-26T05:27:03.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-26T05:27:03.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-26T05:27:03.766Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-26T05:27:03.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-06-26T05:27:03.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-06-26T05:27:03.843Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-06-26T05:27:03.871Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo [2024-06-26T05:27:03.901Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f76f451 [Pipeline] echo [2024-06-26T05:27:03.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-26T05:27:03.988Z] provisioning config files... [2024-06-26T05:27:04.000Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config973572499844628968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:27:04.331Z] ---> ****-login.sh [2024-06-26T05:27:04.332Z] nexus3.edgexfoundry.org:10001 [2024-06-26T05:27:04.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:04.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:04.597Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:04.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:04.597Z] [2024-06-26T05:27:04.597Z] Login Succeeded [2024-06-26T05:27:04.597Z] nexus3.edgexfoundry.org:10002 [2024-06-26T05:27:04.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:04.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:04.597Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:04.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:04.597Z] [2024-06-26T05:27:04.597Z] Login Succeeded [2024-06-26T05:27:04.597Z] nexus3.edgexfoundry.org:10003 [2024-06-26T05:27:04.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:04.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:04.858Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:04.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:04.859Z] [2024-06-26T05:27:04.859Z] Login Succeeded [2024-06-26T05:27:04.859Z] nexus3.edgexfoundry.org:10004 [2024-06-26T05:27:04.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:04.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:04.859Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:04.859Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:04.859Z] [2024-06-26T05:27:04.859Z] Login Succeeded [2024-06-26T05:27:04.859Z] ****.io [2024-06-26T05:27:04.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:05.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:05.125Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:05.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:05.125Z] [2024-06-26T05:27:05.125Z] Login Succeeded [2024-06-26T05:27:05.125Z] ---> ****-login.sh ends [Pipeline] } [2024-06-26T05:27:05.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-26T05:27:05.534Z] + git rev-list -1 --merges f76f4517c34d0712f0a5b1769cf5436b862bb8e0~1..f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo [2024-06-26T05:27:05.563Z] -----------> git rev-list -1 --merges f76f4517c34d0712f0a5b1769cf5436b862bb8e0~1..f76f4517c34d0712f0a5b1769cf5436b862bb8e0 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:27:05.563Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [false] [Pipeline] sh [2024-06-26T05:27:05.860Z] + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo [2024-06-26T05:27:05.876Z] ========================================================= [2024-06-26T05:27:05.876Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-26T05:27:05.876Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-26T05:27:06.235Z] + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] echo [2024-06-26T05:27:06.245Z] [semverPrep] GIT_COMMIT: f76f4517c34d0712f0a5b1769cf5436b862bb8e0, Commit Message: Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18 [Pipeline] echo [2024-06-26T05:27:06.256Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-26T05:27:06.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-26T05:27:06.613Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-26T05:27:06.613Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-26T05:27:06.613Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-26T05:27:06.613Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-26T05:27:06.613Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-26T05:27:06.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:27:06.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:27:06.964Z] [2024-06-26T05:27:06.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:27:07.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:27:07.268Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-26T05:27:07.268Z] b85a868b505f: Pulling fs layer [2024-06-26T05:27:07.268Z] e2be974225ed: Pulling fs layer [2024-06-26T05:27:07.268Z] 339a4e72a1f5: Pulling fs layer [2024-06-26T05:27:07.268Z] 988bab9f4d93: Pulling fs layer [2024-06-26T05:27:07.268Z] 1469e6f7b9e6: Pulling fs layer [2024-06-26T05:27:07.268Z] eaf3925da568: Pulling fs layer [2024-06-26T05:27:07.268Z] bab4dde63d76: Pulling fs layer [2024-06-26T05:27:07.268Z] bde34c3a00c8: Pulling fs layer [2024-06-26T05:27:07.268Z] b352a97aabf1: Pulling fs layer [2024-06-26T05:27:07.268Z] 4872d77fe225: Pulling fs layer [2024-06-26T05:27:07.268Z] 5851b861e8e6: Pulling fs layer [2024-06-26T05:27:07.268Z] 988bab9f4d93: Waiting [2024-06-26T05:27:07.268Z] eaf3925da568: Waiting [2024-06-26T05:27:07.268Z] bde34c3a00c8: Waiting [2024-06-26T05:27:07.268Z] b352a97aabf1: Waiting [2024-06-26T05:27:07.268Z] 1469e6f7b9e6: Waiting [2024-06-26T05:27:07.268Z] bab4dde63d76: Waiting [2024-06-26T05:27:07.268Z] 4872d77fe225: Waiting [2024-06-26T05:27:07.268Z] 5851b861e8e6: Waiting [2024-06-26T05:27:07.268Z] e2be974225ed: Download complete [2024-06-26T05:27:07.268Z] 988bab9f4d93: Verifying Checksum [2024-06-26T05:27:07.268Z] 988bab9f4d93: Download complete [2024-06-26T05:27:07.268Z] 1469e6f7b9e6: Verifying Checksum [2024-06-26T05:27:07.268Z] 1469e6f7b9e6: Download complete [2024-06-26T05:27:07.268Z] eaf3925da568: Download complete [2024-06-26T05:27:07.527Z] 339a4e72a1f5: Verifying Checksum [2024-06-26T05:27:07.527Z] 339a4e72a1f5: Download complete [2024-06-26T05:27:07.527Z] bde34c3a00c8: Download complete [2024-06-26T05:27:07.527Z] b352a97aabf1: Verifying Checksum [2024-06-26T05:27:07.527Z] b352a97aabf1: Download complete [2024-06-26T05:27:07.527Z] 4872d77fe225: Verifying Checksum [2024-06-26T05:27:07.527Z] 4872d77fe225: Download complete [2024-06-26T05:27:07.527Z] 5851b861e8e6: Download complete [2024-06-26T05:27:07.527Z] b85a868b505f: Verifying Checksum [2024-06-26T05:27:07.786Z] bab4dde63d76: Verifying Checksum [2024-06-26T05:27:07.786Z] bab4dde63d76: Download complete [2024-06-26T05:27:08.722Z] b85a868b505f: Pull complete [2024-06-26T05:27:08.981Z] e2be974225ed: Pull complete [2024-06-26T05:27:09.554Z] 339a4e72a1f5: Pull complete [2024-06-26T05:27:09.554Z] 988bab9f4d93: Pull complete [2024-06-26T05:27:09.813Z] 1469e6f7b9e6: Pull complete [2024-06-26T05:27:09.813Z] eaf3925da568: Pull complete [2024-06-26T05:27:11.716Z] bab4dde63d76: Pull complete [2024-06-26T05:27:11.716Z] bde34c3a00c8: Pull complete [2024-06-26T05:27:11.977Z] b352a97aabf1: Pull complete [2024-06-26T05:27:11.977Z] 4872d77fe225: Pull complete [2024-06-26T05:27:11.977Z] 5851b861e8e6: Pull complete [2024-06-26T05:27:11.977Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-26T05:27:11.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:27:11.977Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:27:12.118Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:27:12.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-26T05:27:15.599Z] $ docker top f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 -eo pid,comm [2024-06-26T05:27:15.650Z] 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-06-26T05:27:15.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-26T05:27:15.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-26T05:27:15.712Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-26T05:27:15.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-26T05:27:15.833Z] $ docker exec f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent [2024-06-26T05:27:15.934Z] SSH_AUTH_SOCK=/tmp/ssh-d6yFgISl1yxq/agent.32 [2024-06-26T05:27:15.934Z] SSH_AGENT_PID=38 [2024-06-26T05:27:15.941Z] Running ssh-add (command line suppressed) [2024-06-26T05:27:16.046Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6629108572972307182.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6629108572972307182.key) [2024-06-26T05:27:16.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-26T05:27:16.353Z] + git tag --points-at HEAD [Pipeline] } [2024-06-26T05:27:16.364Z] $ docker exec --env ******** --env ******** f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent -k [2024-06-26T05:27:16.462Z] unset SSH_AUTH_SOCK; [2024-06-26T05:27:16.463Z] unset SSH_AGENT_PID; [2024-06-26T05:27:16.463Z] echo Agent pid 38 killed; [2024-06-26T05:27:16.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-26T05:27:16.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-26T05:27:16.513Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-26T05:27:16.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-26T05:27:16.622Z] $ docker exec f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent [2024-06-26T05:27:16.725Z] SSH_AUTH_SOCK=/tmp/ssh-yikMX7idMpGB/agent.72 [2024-06-26T05:27:16.725Z] SSH_AGENT_PID=78 [2024-06-26T05:27:16.729Z] Running ssh-add (command line suppressed) [2024-06-26T05:27:16.822Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12748946401750854011.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12748946401750854011.key) [2024-06-26T05:27:16.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-26T05:27:17.128Z] + git semver init [2024-06-26T05:27:17.386Z] 2024-06-26 05:27:17,304 [run_init] DEBUG init version:0.0.0 force:False [2024-06-26T05:27:17.386Z] 2024-06-26 05:27:17,305 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-06-26T05:27:17.386Z] 2024-06-26 05:27:17,306 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-06-26T05:27:17.386Z] 2024-06-26 05:27:17,306 [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-06-26T05:27:19.293Z] 2024-06-26 05:27:18,859 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-06-26T05:27:19.293Z] 2024-06-26 05:27:18,859 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-06-26T05:27:19.293Z] 2024-06-26 05:27:18,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:27:19.293Z] 2024-06-26 05:27:18,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:27:19.293Z] 3.2.0-dev.14 [Pipeline] } [2024-06-26T05:27:19.303Z] $ docker exec --env ******** --env ******** f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 ssh-agent -k [2024-06-26T05:27:19.409Z] unset SSH_AUTH_SOCK; [2024-06-26T05:27:19.410Z] unset SSH_AGENT_PID; [2024-06-26T05:27:19.410Z] echo Agent pid 78 killed; [2024-06-26T05:27:19.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-26T05:27:19.768Z] + git semver [Pipeline] } [2024-06-26T05:27:20.042Z] $ docker stop --time=1 f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 [2024-06-26T05:27:21.351Z] $ docker rm -f --volumes f3416c92d44e32c75455602f18d16799164f382c563edc1fd830029202f31213 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-26T05:27:21.691Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-26T05:27:21.982Z] Stashed 1 file(s) [Pipeline] echo [2024-06-26T05:27:21.985Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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-06-26T05:27:22.209Z] provisioning config files... [2024-06-26T05:27:22.218Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2446250031845424705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:27:22.522Z] ---> ****-login.sh [2024-06-26T05:27:22.523Z] nexus3.edgexfoundry.org:10001 [2024-06-26T05:27:22.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:22.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:22.523Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:22.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:22.523Z] [2024-06-26T05:27:22.523Z] Login Succeeded [2024-06-26T05:27:22.523Z] nexus3.edgexfoundry.org:10002 [2024-06-26T05:27:22.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:22.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:22.523Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:22.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:22.523Z] [2024-06-26T05:27:22.523Z] Login Succeeded [2024-06-26T05:27:22.523Z] nexus3.edgexfoundry.org:10003 [2024-06-26T05:27:22.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:22.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:22.782Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:22.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:22.782Z] [2024-06-26T05:27:22.782Z] Login Succeeded [2024-06-26T05:27:22.782Z] nexus3.edgexfoundry.org:10004 [2024-06-26T05:27:22.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:22.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:22.782Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:22.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:22.782Z] [2024-06-26T05:27:22.782Z] Login Succeeded [2024-06-26T05:27:22.782Z] ****.io [2024-06-26T05:27:23.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:27:23.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:27:23.042Z] Configure a credential helper to remove this warning. See [2024-06-26T05:27:23.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:27:23.042Z] [2024-06-26T05:27:23.042Z] Login Succeeded [2024-06-26T05:27:23.042Z] ---> ****-login.sh ends [Pipeline] } [2024-06-26T05:27:23.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-26T05:27:23.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:27:23.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:27:23.195Z] ========================================================= [2024-06-26T05:27:23.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-26T05:27:23.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:27:23.537Z] + 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-06-26T05:27:23.537Z] Sending build context to Docker daemon 18.18MB [2024-06-26T05:27:23.537Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-26T05:27:23.537Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-26T05:27:23.795Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-26T05:27:23.795Z] 619be1103602: Pulling fs layer [2024-06-26T05:27:23.795Z] 7862e08f4a3e: Pulling fs layer [2024-06-26T05:27:23.795Z] 5df492c9dc93: Pulling fs layer [2024-06-26T05:27:23.795Z] 7629e6793208: Pulling fs layer [2024-06-26T05:27:23.795Z] 4f4fb700ef54: Pulling fs layer [2024-06-26T05:27:23.795Z] fb5054dd5b73: Pulling fs layer [2024-06-26T05:27:23.795Z] eeca6798cff9: Pulling fs layer [2024-06-26T05:27:23.795Z] aa269ceb94a6: Pulling fs layer [2024-06-26T05:27:23.795Z] 7629e6793208: Waiting [2024-06-26T05:27:23.795Z] 4f4fb700ef54: Waiting [2024-06-26T05:27:23.795Z] fb5054dd5b73: Waiting [2024-06-26T05:27:23.795Z] eeca6798cff9: Waiting [2024-06-26T05:27:23.795Z] aa269ceb94a6: Waiting [2024-06-26T05:27:23.795Z] ada007ff1a6a: Pulling fs layer [2024-06-26T05:27:23.795Z] 7862e08f4a3e: Verifying Checksum [2024-06-26T05:27:23.795Z] 7862e08f4a3e: Download complete [2024-06-26T05:27:23.795Z] 7629e6793208: Verifying Checksum [2024-06-26T05:27:23.795Z] 7629e6793208: Download complete [2024-06-26T05:27:23.795Z] 4f4fb700ef54: Verifying Checksum [2024-06-26T05:27:23.795Z] fb5054dd5b73: Download complete [2024-06-26T05:27:23.795Z] 619be1103602: Verifying Checksum [2024-06-26T05:27:23.795Z] 619be1103602: Download complete [2024-06-26T05:27:24.054Z] eeca6798cff9: Verifying Checksum [2024-06-26T05:27:24.054Z] eeca6798cff9: Download complete [2024-06-26T05:27:24.054Z] ada007ff1a6a: Verifying Checksum [2024-06-26T05:27:24.054Z] ada007ff1a6a: Download complete [2024-06-26T05:27:24.054Z] 619be1103602: Pull complete [2024-06-26T05:27:24.313Z] 5df492c9dc93: Verifying Checksum [2024-06-26T05:27:24.313Z] 5df492c9dc93: Download complete [2024-06-26T05:27:24.572Z] 7862e08f4a3e: Pull complete [2024-06-26T05:27:24.830Z] aa269ceb94a6: Verifying Checksum [2024-06-26T05:27:24.830Z] aa269ceb94a6: Download complete [2024-06-26T05:27:29.016Z] 5df492c9dc93: Pull complete [2024-06-26T05:27:29.016Z] 7629e6793208: Pull complete [2024-06-26T05:27:29.016Z] 4f4fb700ef54: Pull complete [2024-06-26T05:27:29.016Z] fb5054dd5b73: Pull complete [2024-06-26T05:27:29.016Z] eeca6798cff9: Pull complete [2024-06-26T05:27:31.547Z] aa269ceb94a6: Pull complete [2024-06-26T05:27:31.806Z] ada007ff1a6a: Pull complete [2024-06-26T05:27:31.806Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-26T05:27:31.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-26T05:27:31.806Z] ---> f489d0715acc [2024-06-26T05:27:31.806Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-06-26T05:27:37.099Z] ---> Running in 89a7881d361a [2024-06-26T05:27:37.099Z] Removing intermediate container 89a7881d361a [2024-06-26T05:27:37.099Z] ---> f4d177ae8ea3 [2024-06-26T05:27:37.099Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-26T05:27:37.099Z] ---> Running in 1a4fa7ce972a [2024-06-26T05:27:37.099Z] Removing intermediate container 1a4fa7ce972a [2024-06-26T05:27:37.099Z] ---> 94f10a4b75b4 [2024-06-26T05:27:37.099Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-26T05:27:37.099Z] ---> Running in adb2b28b96ab [2024-06-26T05:27:37.099Z] Removing intermediate container adb2b28b96ab [2024-06-26T05:27:37.099Z] ---> 5e38d93104fa [2024-06-26T05:27:37.099Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-26T05:27:37.099Z] ---> Running in de9ed3ebc1d5 [2024-06-26T05:27:37.099Z] Removing intermediate container de9ed3ebc1d5 [2024-06-26T05:27:37.099Z] ---> 652ce41d52db [2024-06-26T05:27:37.099Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-26T05:27:37.146Z] Still waiting to schedule task [2024-06-26T05:27:37.146Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-06-26T05:27:37.357Z] ---> Running in edd54478035d [2024-06-26T05:27:37.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-26T05:27:37.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-26T05:27:37.879Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-26T05:27:37.879Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-26T05:27:37.879Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-26T05:27:37.879Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-26T05:27:37.879Z] Executing busybox-1.36.1-r5.trigger [2024-06-26T05:27:37.879Z] OK: 268 MiB in 56 packages [2024-06-26T05:27:38.447Z] Removing intermediate container edd54478035d [2024-06-26T05:27:38.447Z] ---> d463a95972b3 [2024-06-26T05:27:38.447Z] Step 8/12 : WORKDIR /device-rest-go [2024-06-26T05:27:38.447Z] ---> Running in 9b9636a1943c [2024-06-26T05:27:38.707Z] Removing intermediate container 9b9636a1943c [2024-06-26T05:27:38.707Z] ---> 507c7b6109b0 [2024-06-26T05:27:38.707Z] Step 9/12 : COPY go.mod vendor* ./ [2024-06-26T05:27:38.707Z] ---> 122bd931b38e [2024-06-26T05:27:38.707Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-26T05:27:38.707Z] ---> Running in e766d15bb8fd [2024-06-26T05:28:35.389Z] Removing intermediate container e766d15bb8fd [2024-06-26T05:28:35.389Z] ---> dcd0d574ef73 [2024-06-26T05:28:35.389Z] Step 11/12 : COPY . . [2024-06-26T05:28:35.389Z] ---> 2342e32f426e [2024-06-26T05:28:35.389Z] Step 12/12 : RUN $MAKE [2024-06-26T05:28:35.389Z] ---> Running in c5e303032ece [2024-06-26T05:28:35.389Z] noop [2024-06-26T05:28:35.389Z] Removing intermediate container c5e303032ece [2024-06-26T05:28:35.389Z] ---> 53241da583fc [2024-06-26T05:28:35.389Z] Successfully built 53241da583fc [2024-06-26T05:28:35.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:28:35.725Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-26T05:28:35.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:28:35.811Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:28:35.842Z] $ 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 ******** ci-base-image-x86_64 cat [2024-06-26T05:28:36.213Z] $ docker top a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:28:36.561Z] + go version [2024-06-26T05:28:36.562Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-26T05:28:36.574Z] $ docker stop --time=1 a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 [2024-06-26T05:28:37.844Z] $ docker rm -f --volumes a7e5a5999f2425335b18e3cc23eb80a8db756884aa0410188632fe49b8f88829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:28:38.298Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-26T05:28:38.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:28:38.387Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:28:38.422Z] $ 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 ******** ci-base-image-x86_64 cat [2024-06-26T05:28:38.730Z] $ docker top 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:28:39.079Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-06-26T05:28:39.386Z] + make test [2024-06-26T05:28:39.386Z] go test ./... -coverprofile=coverage.out ./... [2024-06-26T05:28:40.761Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-06-26T05:28:58.846Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-06-26T05:28:58.846Z] ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements [2024-06-26T05:29:06.949Z] go vet ./... [2024-06-26T05:29:13.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-26T05:29:13.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-26T05:29:13.506Z] ./bin/test-attribution-txt.sh [2024-06-26T05:29:13.506Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-26T05:29:13.506Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-26T05:29:13.507Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-26T05:29:13.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-26T05:29:13.538Z] $ docker stop --time=1 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 [2024-06-26T05:29:16.626Z] $ docker rm -f --volumes 22c25658a393097e99d247129c55fa893330338399c5d41f263fbfa748f661d2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-26T05:29:17.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-26T05:29:17.245Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-26T05:29:17.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-26T05:29:17.986Z] + ls -al . [2024-06-26T05:29:17.986Z] total 248 [2024-06-26T05:29:17.986Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 05:28 . [2024-06-26T05:29:17.986Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 05:26 .. [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 26 05:26 .dockerignore [2024-06-26T05:29:17.986Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:28 .git [2024-06-26T05:29:17.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 .github [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 26 05:26 .gitignore [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 05:26 .golangci.yml [2024-06-26T05:29:17.986Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 05:27 .semver [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jun 26 05:26 Attribution.txt [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jun 26 05:26 CHANGELOG.md [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jun 26 05:26 Dockerfile [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 05:26 GOVERNANCE.md [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 26 05:26 Jenkinsfile [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 26 05:26 LICENSE [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jun 26 05:26 Makefile [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 26 05:26 OWNERS.md [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 26 05:26 README.md [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 26 05:27 VERSION [2024-06-26T05:29:17.986Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:26 bin [2024-06-26T05:29:17.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 cmd [2024-06-26T05:29:17.986Z] -rw-r--r-- 1 jenkins jenkins 14499 Jun 26 05:28 coverage.out [2024-06-26T05:29:17.986Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:26 driver [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 7190 Jun 26 05:26 go.mod [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jun 26 05:26 go.sum [2024-06-26T05:29:17.986Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:26 openapi [2024-06-26T05:29:17.986Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 26 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:29:18.301Z] + 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=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 --label arch=amd64 --label version=3.2.0-dev.14 . [2024-06-26T05:29:18.302Z] Sending build context to Docker daemon 18.2MB [2024-06-26T05:29:18.302Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-26T05:29:18.302Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-26T05:29:18.302Z] ---> 53241da583fc [2024-06-26T05:29:18.302Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-06-26T05:29:18.559Z] ---> Running in 061b02630bc4 [2024-06-26T05:29:18.818Z] Removing intermediate container 061b02630bc4 [2024-06-26T05:29:18.818Z] ---> 43257b2a4624 [2024-06-26T05:29:18.818Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-26T05:29:18.818Z] ---> Running in b3fd2dbd84f3 [2024-06-26T05:29:18.818Z] Removing intermediate container b3fd2dbd84f3 [2024-06-26T05:29:18.818Z] ---> 1178644861ed [2024-06-26T05:29:18.818Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-26T05:29:18.818Z] ---> Running in 66a1a8b06639 [2024-06-26T05:29:18.818Z] Removing intermediate container 66a1a8b06639 [2024-06-26T05:29:18.818Z] ---> f0866d5ca565 [2024-06-26T05:29:18.818Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-26T05:29:18.818Z] ---> Running in 7a48434f5fe6 [2024-06-26T05:29:19.076Z] Removing intermediate container 7a48434f5fe6 [2024-06-26T05:29:19.076Z] ---> d6106932d4c3 [2024-06-26T05:29:19.076Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-26T05:29:19.076Z] ---> Running in dcfaf315cf42 [2024-06-26T05:29:19.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-26T05:29:19.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-26T05:29:19.594Z] OK: 268 MiB in 56 packages [2024-06-26T05:29:19.854Z] Removing intermediate container dcfaf315cf42 [2024-06-26T05:29:19.854Z] ---> 855aeca277c8 [2024-06-26T05:29:19.854Z] Step 8/26 : WORKDIR /device-rest-go [2024-06-26T05:29:20.113Z] ---> Running in 29703c321907 [2024-06-26T05:29:20.113Z] Removing intermediate container 29703c321907 [2024-06-26T05:29:20.113Z] ---> cebeee842c05 [2024-06-26T05:29:20.113Z] Step 9/26 : COPY go.mod vendor* ./ [2024-06-26T05:29:20.113Z] ---> 03c3fdc8fe0a [2024-06-26T05:29:20.113Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-26T05:29:20.113Z] ---> Running in e713b053b3e4 [2024-06-26T05:29:21.053Z] Removing intermediate container e713b053b3e4 [2024-06-26T05:29:21.053Z] ---> c71bb7dbfdc9 [2024-06-26T05:29:21.053Z] Step 11/26 : COPY . . [2024-06-26T05:29:21.622Z] ---> 9d6298748f2a [2024-06-26T05:29:21.622Z] Step 12/26 : RUN $MAKE [2024-06-26T05:29:21.622Z] ---> Running in b38fa8906c78 [2024-06-26T05:29:21.881Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-06-26T05:29:35.472Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4435 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-06-26T05:29:35.490Z] Running in /w/workspace/device-rest-go/166 [Pipeline] { [Pipeline] checkout [2024-06-26T05:29:36.549Z] The recommended git tool is: git [2024-06-26T05:29:43.288Z] using credential edgex-jenkins-ssh [2024-06-26T05:29:43.314Z] Cloning the remote Git repository [2024-06-26T05:29:43.376Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-06-26T05:29:43.512Z] > git init /w/workspace/device-rest-go/166 # timeout=10 [2024-06-26T05:29:43.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-06-26T05:29:43.716Z] > git --version # timeout=10 [2024-06-26T05:29:43.748Z] > git --version # 'git version 2.25.1' [2024-06-26T05:29:43.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-26T05:29:43.974Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-26T05:29:47.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-06-26T05:29:47.868Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-26T05:29:49.287Z] Avoid second fetch [2024-06-26T05:29:49.287Z] Checking out Revision f76f4517c34d0712f0a5b1769cf5436b862bb8e0 (main) [2024-06-26T05:29:50.213Z] Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" [2024-06-26T05:29:49.316Z] > git config core.sparsecheckout # timeout=10 [2024-06-26T05:29:49.416Z] > git checkout -f f76f4517c34d0712f0a5b1769cf5436b862bb8e0 # timeout=10 [2024-06-26T05:29:53.962Z] Removing intermediate container b38fa8906c78 [2024-06-26T05:29:53.962Z] ---> 22a64e64914e [2024-06-26T05:29:53.962Z] Step 13/26 : FROM alpine:3.18 [2024-06-26T05:29:53.962Z] 3.18: Pulling from library/alpine [2024-06-26T05:29:53.962Z] 73baa7ef167e: Pulling fs layer [2024-06-26T05:29:53.962Z] 73baa7ef167e: Verifying Checksum [2024-06-26T05:29:53.962Z] 73baa7ef167e: Download complete [2024-06-26T05:29:53.962Z] 73baa7ef167e: Pull complete [2024-06-26T05:29:53.962Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-26T05:29:53.962Z] Status: Downloaded newer image for alpine:3.18 [2024-06-26T05:29:53.962Z] ---> 8fd7cac70a4a [2024-06-26T05:29:53.962Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-26T05:29:53.962Z] ---> Running in 60feb67db292 [2024-06-26T05:29:53.962Z] Removing intermediate container 60feb67db292 [2024-06-26T05:29:53.962Z] ---> c7b33f3874a0 [2024-06-26T05:29:53.962Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-06-26T05:29:53.962Z] ---> Running in 81b9b2257de8 [2024-06-26T05:29:53.962Z] Removing intermediate container 81b9b2257de8 [2024-06-26T05:29:53.962Z] ---> 1eb854f95ab4 [2024-06-26T05:29:53.962Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-06-26T05:29:53.962Z] ---> Running in 5d1b00297291 [2024-06-26T05:29:53.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-26T05:29:53.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-26T05:29:53.962Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-26T05:29:53.962Z] Executing busybox-1.36.1-r7.trigger [2024-06-26T05:29:53.962Z] OK: 7 MiB in 16 packages [2024-06-26T05:29:53.962Z] Removing intermediate container 5d1b00297291 [2024-06-26T05:29:53.962Z] ---> 5dbaecdbb9f7 [2024-06-26T05:29:53.962Z] Step 17/26 : RUN apk --no-cache upgrade [2024-06-26T05:29:54.224Z] ---> Running in 0fb1779cf72d [2024-06-26T05:29:54.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-26T05:29:54.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-26T05:29:54.743Z] OK: 7 MiB in 16 packages [2024-06-26T05:29:55.001Z] Removing intermediate container 0fb1779cf72d [2024-06-26T05:29:55.001Z] ---> 6d0df7cb00de [2024-06-26T05:29:55.001Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-06-26T05:29:55.306Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-26T05:29:55.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-26T05:29:55.306Z] Dload Upload Total Spent Left Speed [2024-06-26T05:29:55.306Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2024-06-26T05:29:55.677Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-26T05:29:55.936Z] ---> b94423774566 [2024-06-26T05:29:55.937Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-06-26T05:29:55.937Z] ---> 0206434a38f1 [2024-06-26T05:29:55.937Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-06-26T05:29:55.937Z] ---> d66f68e17a7a [2024-06-26T05:29:55.937Z] Step 21/26 : EXPOSE 59986 [2024-06-26T05:29:55.937Z] ---> Running in 57d95550a145 [2024-06-26T05:29:56.031Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-26T05:29:56.032Z] + sudo tee /etc/docker/daemon.new [2024-06-26T05:29:56.032Z] { [2024-06-26T05:29:56.032Z] "registry-mirrors": [ [2024-06-26T05:29:56.032Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-26T05:29:56.032Z] ], [2024-06-26T05:29:56.032Z] "bip": "10.250.0.254/24", [2024-06-26T05:29:56.032Z] "hosts": [ [2024-06-26T05:29:56.032Z] "tcp://0.0.0.0:5555", [2024-06-26T05:29:56.032Z] "unix:///var/run/docker.sock" [2024-06-26T05:29:56.032Z] ], [2024-06-26T05:29:56.032Z] "mtu": 1458, [2024-06-26T05:29:56.032Z] "selinux-enabled": true, [2024-06-26T05:29:56.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-26T05:29:56.032Z] } [Pipeline] sh [2024-06-26T05:29:56.195Z] Removing intermediate container 57d95550a145 [2024-06-26T05:29:56.195Z] ---> 730032cd55e4 [2024-06-26T05:29:56.195Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-06-26T05:29:56.195Z] ---> Running in e4f8cd1941c8 [2024-06-26T05:29:56.195Z] Removing intermediate container e4f8cd1941c8 [2024-06-26T05:29:56.195Z] ---> 5057fdf3890b [2024-06-26T05:29:56.195Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-26T05:29:56.195Z] ---> Running in ec97c29ce57a [2024-06-26T05:29:56.195Z] Removing intermediate container ec97c29ce57a [2024-06-26T05:29:56.195Z] ---> 9cc30b4e467e [2024-06-26T05:29:56.195Z] Step 24/26 : LABEL arch=amd64 [2024-06-26T05:29:56.195Z] ---> Running in 36a3bc7efeb3 [2024-06-26T05:29:56.387Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-26T05:29:56.454Z] Removing intermediate container 36a3bc7efeb3 [2024-06-26T05:29:56.454Z] ---> 074db515e395 [2024-06-26T05:29:56.454Z] Step 25/26 : LABEL git_sha=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:29:56.454Z] ---> Running in dfee7845faa4 [2024-06-26T05:29:56.454Z] Removing intermediate container dfee7845faa4 [2024-06-26T05:29:56.454Z] ---> b7a0214e4bbb [2024-06-26T05:29:56.454Z] Step 26/26 : LABEL version=3.2.0-dev.14 [2024-06-26T05:29:56.454Z] ---> Running in e4759794489e [2024-06-26T05:29:56.454Z] Removing intermediate container e4759794489e [2024-06-26T05:29:56.454Z] ---> 677f0fa04ffe [2024-06-26T05:29:56.454Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-26T05:29:56.454Z] Successfully built 677f0fa04ffe [2024-06-26T05:29:56.454Z] 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-06-26T05:29:56.640Z] provisioning config files... [2024-06-26T05:29:56.650Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2479532781312621713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:29:56.770Z] + sudo service docker restart [2024-06-26T05:29:56.953Z] ---> ****-login.sh [2024-06-26T05:29:56.954Z] nexus3.edgexfoundry.org:10001 [2024-06-26T05:29:56.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:29:56.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:29:56.954Z] Configure a credential helper to remove this warning. See [2024-06-26T05:29:56.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:29:56.954Z] [2024-06-26T05:29:56.954Z] Login Succeeded [2024-06-26T05:29:56.954Z] nexus3.edgexfoundry.org:10002 [2024-06-26T05:29:56.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:29:56.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:29:56.954Z] Configure a credential helper to remove this warning. See [2024-06-26T05:29:56.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:29:56.954Z] [2024-06-26T05:29:56.954Z] Login Succeeded [2024-06-26T05:29:56.954Z] nexus3.edgexfoundry.org:10003 [2024-06-26T05:29:57.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:29:57.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:29:57.214Z] Configure a credential helper to remove this warning. See [2024-06-26T05:29:57.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:29:57.214Z] [2024-06-26T05:29:57.214Z] Login Succeeded [2024-06-26T05:29:57.214Z] nexus3.edgexfoundry.org:10004 [2024-06-26T05:29:57.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:29:57.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:29:57.215Z] Configure a credential helper to remove this warning. See [2024-06-26T05:29:57.215Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:29:57.215Z] [2024-06-26T05:29:57.215Z] Login Succeeded [2024-06-26T05:29:57.215Z] ****.io [2024-06-26T05:29:57.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:29:57.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:29:57.474Z] Configure a credential helper to remove this warning. See [2024-06-26T05:29:57.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:29:57.474Z] [2024-06-26T05:29:57.474Z] Login Succeeded [2024-06-26T05:29:57.474Z] ---> ****-login.sh ends [Pipeline] } [2024-06-26T05:29:57.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-26T05:29:57.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:29:57.572Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-06-26T05:29:57.572Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:29:57.572Z] latest [2024-06-26T05:29:57.572Z] 3.2.0-dev.14 [2024-06-26T05:29:57.572Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:29:57.572Z] main [2024-06-26T05:29:57.572Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:29:57.917Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:29:58.257Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:29:58.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-06-26T05:29:58.258Z] ce51b08399fb: Preparing [2024-06-26T05:29:58.258Z] 2a637bdc8a66: Preparing [2024-06-26T05:29:58.258Z] 9b47333d0cb3: Preparing [2024-06-26T05:29:58.258Z] db68b1ac04aa: Preparing [2024-06-26T05:29:58.258Z] ba8897ac5f66: Preparing [2024-06-26T05:29:58.258Z] 63ec0bd56cf3: Preparing [2024-06-26T05:29:58.258Z] 63ec0bd56cf3: Waiting [2024-06-26T05:29:58.258Z] db68b1ac04aa: Pushed [2024-06-26T05:29:58.258Z] 2a637bdc8a66: Pushed [2024-06-26T05:29:58.258Z] ce51b08399fb: Pushed [2024-06-26T05:29:58.258Z] ba8897ac5f66: Pushed [2024-06-26T05:29:58.258Z] 63ec0bd56cf3: Layer already exists [2024-06-26T05:30:01.543Z] 9b47333d0cb3: Pushed [2024-06-26T05:30:01.543Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:01.897Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:02.229Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-06-26T05:30:02.230Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-06-26T05:30:02.230Z] ce51b08399fb: Preparing [2024-06-26T05:30:02.230Z] 2a637bdc8a66: Preparing [2024-06-26T05:30:02.230Z] 9b47333d0cb3: Preparing [2024-06-26T05:30:02.230Z] db68b1ac04aa: Preparing [2024-06-26T05:30:02.230Z] ba8897ac5f66: Preparing [2024-06-26T05:30:02.230Z] 63ec0bd56cf3: Preparing [2024-06-26T05:30:02.230Z] 63ec0bd56cf3: Waiting [2024-06-26T05:30:02.230Z] db68b1ac04aa: Layer already exists [2024-06-26T05:30:02.230Z] 2a637bdc8a66: Layer already exists [2024-06-26T05:30:02.230Z] ba8897ac5f66: Layer already exists [2024-06-26T05:30:02.230Z] 9b47333d0cb3: Layer already exists [2024-06-26T05:30:02.230Z] ce51b08399fb: Layer already exists [2024-06-26T05:30:02.230Z] 63ec0bd56cf3: Layer already exists [2024-06-26T05:30:02.230Z] latest: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:02.552Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:02.880Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 [2024-06-26T05:30:02.880Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-06-26T05:30:02.880Z] ce51b08399fb: Preparing [2024-06-26T05:30:02.880Z] 2a637bdc8a66: Preparing [2024-06-26T05:30:02.880Z] 9b47333d0cb3: Preparing [2024-06-26T05:30:02.880Z] db68b1ac04aa: Preparing [2024-06-26T05:30:02.880Z] ba8897ac5f66: Preparing [2024-06-26T05:30:02.880Z] 63ec0bd56cf3: Preparing [2024-06-26T05:30:02.880Z] 9b47333d0cb3: Layer already exists [2024-06-26T05:30:02.880Z] 2a637bdc8a66: Layer already exists [2024-06-26T05:30:02.881Z] db68b1ac04aa: Layer already exists [2024-06-26T05:30:02.881Z] ba8897ac5f66: Layer already exists [2024-06-26T05:30:02.881Z] ce51b08399fb: Layer already exists [2024-06-26T05:30:02.881Z] 63ec0bd56cf3: Layer already exists [2024-06-26T05:30:02.881Z] 3.2.0-dev.14: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:03.219Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:03.556Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:30:03.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-06-26T05:30:03.556Z] ce51b08399fb: Preparing [2024-06-26T05:30:03.556Z] 2a637bdc8a66: Preparing [2024-06-26T05:30:03.556Z] 9b47333d0cb3: Preparing [2024-06-26T05:30:03.556Z] db68b1ac04aa: Preparing [2024-06-26T05:30:03.556Z] ba8897ac5f66: Preparing [2024-06-26T05:30:03.556Z] 63ec0bd56cf3: Preparing [2024-06-26T05:30:03.556Z] 63ec0bd56cf3: Waiting [2024-06-26T05:30:03.556Z] 2a637bdc8a66: Layer already exists [2024-06-26T05:30:03.556Z] 9b47333d0cb3: Layer already exists [2024-06-26T05:30:03.556Z] ce51b08399fb: Layer already exists [2024-06-26T05:30:03.556Z] db68b1ac04aa: Layer already exists [2024-06-26T05:30:03.556Z] ba8897ac5f66: Layer already exists [2024-06-26T05:30:03.556Z] 63ec0bd56cf3: Layer already exists [2024-06-26T05:30:03.556Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:03.899Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:04.225Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-06-26T05:30:04.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-06-26T05:30:04.225Z] ce51b08399fb: Preparing [2024-06-26T05:30:04.225Z] 2a637bdc8a66: Preparing [2024-06-26T05:30:04.225Z] 9b47333d0cb3: Preparing [2024-06-26T05:30:04.225Z] db68b1ac04aa: Preparing [2024-06-26T05:30:04.225Z] ba8897ac5f66: Preparing [2024-06-26T05:30:04.225Z] 63ec0bd56cf3: Preparing [2024-06-26T05:30:04.225Z] 63ec0bd56cf3: Waiting [2024-06-26T05:30:04.225Z] 2a637bdc8a66: Layer already exists [2024-06-26T05:30:04.225Z] db68b1ac04aa: Layer already exists [2024-06-26T05:30:04.225Z] 9b47333d0cb3: Layer already exists [2024-06-26T05:30:04.225Z] ce51b08399fb: Layer already exists [2024-06-26T05:30:04.225Z] ba8897ac5f66: Layer already exists [2024-06-26T05:30:04.225Z] 63ec0bd56cf3: Layer already exists [2024-06-26T05:30:04.225Z] main: digest: sha256:977374842ae8489ecfadc5f17f409049b29ca8b70238b85646caab2327303026 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-26T05:30:04.312Z] ===================================================== [Pipeline] echo [2024-06-26T05:30:04.330Z] taggedImages: [2024-06-26T05:30:04.330Z] - nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:30:04.330Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-06-26T05:30:04.330Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.14 [2024-06-26T05:30:04.330Z] - nexus3.edgexfoundry.org:10004/device-rest:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:30:04.330Z] - 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-06-26T05:30:04.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-26T05:30:04.770Z] [2024-06-26T05:30:04.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:05.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-26T05:30:05.079Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-26T05:30:05.079Z] 5eb5b503b376: Pulling fs layer [2024-06-26T05:30:05.079Z] 5c69ac0246d0: Pulling fs layer [2024-06-26T05:30:05.079Z] ec43610c2a17: Pulling fs layer [2024-06-26T05:30:05.079Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-26T05:30:05.079Z] 33b1e0a273af: Pulling fs layer [2024-06-26T05:30:05.079Z] 5d3b04190fa2: Pulling fs layer [2024-06-26T05:30:05.079Z] 2f39f015ded8: Pulling fs layer [2024-06-26T05:30:05.079Z] 3a2ae6a8a46f: Waiting [2024-06-26T05:30:05.079Z] 33b1e0a273af: Waiting [2024-06-26T05:30:05.079Z] 2f39f015ded8: Waiting [2024-06-26T05:30:05.079Z] 5d3b04190fa2: Waiting [2024-06-26T05:30:05.079Z] 5c69ac0246d0: Verifying Checksum [2024-06-26T05:30:05.079Z] 5c69ac0246d0: Download complete [2024-06-26T05:30:05.079Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-26T05:30:05.079Z] 3a2ae6a8a46f: Download complete [2024-06-26T05:30:05.079Z] 33b1e0a273af: Verifying Checksum [2024-06-26T05:30:05.079Z] 33b1e0a273af: Download complete [2024-06-26T05:30:05.079Z] 5d3b04190fa2: Verifying Checksum [2024-06-26T05:30:05.079Z] 5d3b04190fa2: Download complete [2024-06-26T05:30:05.338Z] ec43610c2a17: Verifying Checksum [2024-06-26T05:30:05.338Z] ec43610c2a17: Download complete [2024-06-26T05:30:05.338Z] 5eb5b503b376: Verifying Checksum [2024-06-26T05:30:05.338Z] 5eb5b503b376: Download complete [2024-06-26T05:30:05.907Z] 2f39f015ded8: Download complete [2024-06-26T05:30:06.475Z] 5eb5b503b376: Pull complete [2024-06-26T05:30:06.735Z] 5c69ac0246d0: Pull complete [2024-06-26T05:30:06.995Z] ec43610c2a17: Pull complete [2024-06-26T05:30:07.254Z] 3a2ae6a8a46f: Pull complete [2024-06-26T05:30:07.254Z] 33b1e0a273af: Pull complete [2024-06-26T05:30:07.512Z] 5d3b04190fa2: Pull complete [2024-06-26T05:30:11.693Z] 2f39f015ded8: Pull complete [2024-06-26T05:30:11.693Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-26T05:30:11.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-26T05:30:11.693Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:30:11.803Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:30:11.828Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-26T05:30:15.762Z] $ docker top 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2024-06-26T05:30:15.917Z] provisioning config files... [2024-06-26T05:30:15.957Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/166@tmp/config11686298891215279845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:30:16.168Z] ---> job-cost.sh [2024-06-26T05:30:16.168Z] lf-activate-venv: SKIPPING [2024-06-26T05:30:16.168Z] INFO: No Stack... [2024-06-26T05:30:16.427Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-26T05:30:16.468Z] ---> ****-login.sh [2024-06-26T05:30:16.468Z] nexus3.edgexfoundry.org:10001 [2024-06-26T05:30:16.998Z] INFO: Archiving Costs [Pipeline] sh [2024-06-26T05:30:17.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:30:17.289Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-06-26T05:30:17.289Z] + cut -d, -f6 [Pipeline] lock [2024-06-26T05:30:17.301Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [2024-06-26T05:30:17.312Z] Resource [jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] did not exist. Created. [2024-06-26T05:30:17.318Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [2024-06-26T05:30:17.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:30:17.349Z] Configure a credential helper to remove this warning. See [2024-06-26T05:30:17.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:30:17.349Z] [2024-06-26T05:30:17.349Z] Login Succeeded [2024-06-26T05:30:17.349Z] nexus3.edgexfoundry.org:10002 [Pipeline] sh [2024-06-26T05:30:17.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:30:17.632Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-26T05:30:17.667Z] Stashed 1 file(s) [Pipeline] } [2024-06-26T05:30:17.675Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-26T05:30:17.712Z] $ docker stop --time=1 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d [2024-06-26T05:30:18.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:30:18.233Z] Configure a credential helper to remove this warning. See [2024-06-26T05:30:18.233Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:30:18.233Z] [2024-06-26T05:30:18.233Z] Login Succeeded [2024-06-26T05:30:18.233Z] nexus3.edgexfoundry.org:10003 [2024-06-26T05:30:18.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:30:18.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:30:18.783Z] Configure a credential helper to remove this warning. See [2024-06-26T05:30:18.783Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:30:18.783Z] [2024-06-26T05:30:18.784Z] Login Succeeded [2024-06-26T05:30:18.784Z] nexus3.edgexfoundry.org:10004 [2024-06-26T05:30:18.866Z] $ docker rm -f --volumes 1a4fc8b283837ce342791218b28b978f566c432c73ee0283d0f8ddbbb48f192d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-26T05:30:19.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:30:19.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:30:19.073Z] Configure a credential helper to remove this warning. See [2024-06-26T05:30:19.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:30:19.073Z] [2024-06-26T05:30:19.073Z] Login Succeeded [2024-06-26T05:30:19.073Z] ****.io [2024-06-26T05:30:19.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:30:19.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:30:19.956Z] Configure a credential helper to remove this warning. See [2024-06-26T05:30:19.956Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:30:19.956Z] [2024-06-26T05:30:19.956Z] Login Succeeded [2024-06-26T05:30:19.956Z] ---> ****-login.sh ends [Pipeline] } [2024-06-26T05:30:19.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-26T05:30:20.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:30:20.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:30:20.550Z] ========================================================= [2024-06-26T05:30:20.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-26T05:30:20.550Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:30:20.958Z] + 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-06-26T05:30:20.958Z] Sending build context to Docker daemon 131.1kB [2024-06-26T05:30:21.245Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-06-26T05:30:21.245Z] Step 2/12 : FROM ${BASE} AS builder [2024-06-26T05:30:21.853Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-26T05:30:21.853Z] c6b39de5b339: Pulling fs layer [2024-06-26T05:30:21.853Z] a69c41024577: Pulling fs layer [2024-06-26T05:30:21.853Z] d6de4b400683: Pulling fs layer [2024-06-26T05:30:21.853Z] 35cb2a7552d0: Pulling fs layer [2024-06-26T05:30:21.853Z] 4f4fb700ef54: Pulling fs layer [2024-06-26T05:30:21.853Z] 464afbd9ba4c: Pulling fs layer [2024-06-26T05:30:21.853Z] 00f215d4a9da: Pulling fs layer [2024-06-26T05:30:21.853Z] d496ad576159: Pulling fs layer [2024-06-26T05:30:21.853Z] 35cb2a7552d0: Waiting [2024-06-26T05:30:21.853Z] 4f4fb700ef54: Waiting [2024-06-26T05:30:21.853Z] 464afbd9ba4c: Waiting [2024-06-26T05:30:21.853Z] 00f215d4a9da: Waiting [2024-06-26T05:30:21.853Z] d496ad576159: Waiting [2024-06-26T05:30:21.853Z] a69c41024577: Verifying Checksum [2024-06-26T05:30:21.853Z] a69c41024577: Download complete [2024-06-26T05:30:21.853Z] 35cb2a7552d0: Verifying Checksum [2024-06-26T05:30:21.853Z] 35cb2a7552d0: Download complete [2024-06-26T05:30:21.853Z] 4f4fb700ef54: Verifying Checksum [2024-06-26T05:30:21.853Z] 4f4fb700ef54: Download complete [2024-06-26T05:30:21.853Z] 464afbd9ba4c: Verifying Checksum [2024-06-26T05:30:21.853Z] 464afbd9ba4c: Download complete [2024-06-26T05:30:21.853Z] c6b39de5b339: Download complete [2024-06-26T05:30:22.459Z] d496ad576159: Verifying Checksum [2024-06-26T05:30:22.459Z] d496ad576159: Download complete [2024-06-26T05:30:23.063Z] c6b39de5b339: Pull complete [2024-06-26T05:30:24.065Z] a69c41024577: Pull complete [2024-06-26T05:30:24.065Z] d6de4b400683: Verifying Checksum [2024-06-26T05:30:24.065Z] d6de4b400683: Download complete [2024-06-26T05:30:25.512Z] 00f215d4a9da: Verifying Checksum [2024-06-26T05:30:25.512Z] 00f215d4a9da: Download complete [2024-06-26T05:30:40.571Z] d6de4b400683: Pull complete [2024-06-26T05:30:40.571Z] 35cb2a7552d0: Pull complete [2024-06-26T05:30:40.571Z] 4f4fb700ef54: Pull complete [2024-06-26T05:30:40.571Z] 464afbd9ba4c: Pull complete [2024-06-26T05:30:50.679Z] 00f215d4a9da: Pull complete [2024-06-26T05:30:50.954Z] d496ad576159: Pull complete [2024-06-26T05:30:50.954Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-26T05:30:50.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-26T05:30:50.954Z] ---> f246e2811388 [2024-06-26T05:30:50.954Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-06-26T05:30:53.549Z] ---> Running in 8c97c5d24b61 [2024-06-26T05:30:53.549Z] Removing intermediate container 8c97c5d24b61 [2024-06-26T05:30:53.549Z] ---> d7f04aed8540 [2024-06-26T05:30:53.549Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-26T05:30:53.549Z] ---> Running in 4630163457c6 [2024-06-26T05:30:54.138Z] Removing intermediate container 4630163457c6 [2024-06-26T05:30:54.138Z] ---> 0dbf5ed9043a [2024-06-26T05:30:54.138Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-26T05:30:54.138Z] ---> Running in 7338ef0256a4 [2024-06-26T05:30:54.410Z] Removing intermediate container 7338ef0256a4 [2024-06-26T05:30:54.410Z] ---> 2fa2bf87e6c2 [2024-06-26T05:30:54.410Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-06-26T05:30:54.681Z] ---> Running in a3b9c457ed58 [2024-06-26T05:30:54.950Z] Removing intermediate container a3b9c457ed58 [2024-06-26T05:30:54.950Z] ---> 159c51547dfc [2024-06-26T05:30:54.950Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-26T05:30:54.950Z] ---> Running in ef701ee8b5ab [2024-06-26T05:30:56.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-26T05:30:56.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-26T05:30:57.931Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-06-26T05:30:57.931Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-06-26T05:30:57.931Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-06-26T05:30:57.931Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-06-26T05:30:58.220Z] Executing busybox-1.36.1-r5.trigger [2024-06-26T05:30:58.220Z] OK: 271 MiB in 56 packages [2024-06-26T05:30:59.188Z] Removing intermediate container ef701ee8b5ab [2024-06-26T05:30:59.188Z] ---> f8fe6a2f28e2 [2024-06-26T05:30:59.188Z] Step 8/12 : WORKDIR /device-rest-go [2024-06-26T05:30:59.459Z] ---> Running in a0ae15f1c61d [2024-06-26T05:30:59.728Z] Removing intermediate container a0ae15f1c61d [2024-06-26T05:30:59.728Z] ---> 4b87b809dae8 [2024-06-26T05:30:59.728Z] Step 9/12 : COPY go.mod vendor* ./ [2024-06-26T05:31:00.318Z] ---> a625f37b6ced [2024-06-26T05:31:00.318Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-26T05:31:00.318Z] ---> Running in 2e0b714febaa [2024-06-26T05:33:22.306Z] Removing intermediate container 2e0b714febaa [2024-06-26T05:33:22.306Z] ---> ad0787503700 [2024-06-26T05:33:22.306Z] Step 11/12 : COPY . . [2024-06-26T05:33:22.306Z] ---> e77a9c3f4afe [2024-06-26T05:33:22.306Z] Step 12/12 : RUN $MAKE [2024-06-26T05:33:22.306Z] ---> Running in df87d5a0ede7 [2024-06-26T05:33:22.306Z] noop [2024-06-26T05:33:22.306Z] Removing intermediate container df87d5a0ede7 [2024-06-26T05:33:22.306Z] ---> 1851bc9c36b8 [2024-06-26T05:33:22.306Z] Successfully built 1851bc9c36b8 [2024-06-26T05:33:22.306Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:33:22.710Z] + docker inspect -f . ci-base-image-arm64 [2024-06-26T05:33:22.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:33:22.992Z] prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container [2024-06-26T05:33:23.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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-06-26T05:33:24.711Z] $ docker top 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:33:25.657Z] + go version [2024-06-26T05:33:25.657Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-26T05:33:25.681Z] $ docker stop --time=1 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 [2024-06-26T05:33:27.499Z] $ docker rm -f --volumes 50fdb6ff2cb4ca7c3c1a1ab750eea1ef6650839746ac363cd07b8c9348799269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:33:28.170Z] + docker inspect -f . ci-base-image-arm64 [2024-06-26T05:33:28.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:33:28.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container [2024-06-26T05:33:28.528Z] $ 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/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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-06-26T05:33:30.042Z] $ docker top b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:33:30.962Z] + git config --global --add safe.directory /w/workspace/device-rest-go/166 [Pipeline] fileExists [Pipeline] sh [2024-06-26T05:33:31.652Z] + make test [2024-06-26T05:33:31.652Z] go test ./... -coverprofile=coverage.out ./... [2024-06-26T05:33:39.923Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-06-26T05:38:33.433Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-06-26T05:38:40.174Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2024-06-26T05:38:41.585Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-26T05:38:41.585Z] go vet ./... [2024-06-26T05:39:49.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-26T05:39:49.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-26T05:39:49.498Z] ./bin/test-attribution-txt.sh [2024-06-26T05:39:49.498Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-26T05:39:49.498Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-26T05:39:49.499Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-26T05:39:49.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-26T05:39:49.532Z] $ docker stop --time=1 b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b [2024-06-26T05:39:51.626Z] $ docker rm -f --volumes b577f567ad7c8c1aeff965b9cf87fd3641853f4195d75a5c6e18d17d7df0623b [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-26T05:39:53.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-26T05:39:53.439Z] Warning: overwriting stash ‘coverage-report’ [2024-06-26T05:39:54.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-26T05:39:54.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-26T05:39:54.889Z] + ls -al . [2024-06-26T05:39:54.889Z] total 244 [2024-06-26T05:39:54.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:33 . [2024-06-26T05:39:54.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 05:29 .. [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 26 05:29 .dockerignore [2024-06-26T05:39:54.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 05:29 .git [2024-06-26T05:39:54.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 .github [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 264 Jun 26 05:29 .gitignore [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 05:29 .golangci.yml [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jun 26 05:29 Attribution.txt [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jun 26 05:29 CHANGELOG.md [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jun 26 05:29 Dockerfile [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 05:29 GOVERNANCE.md [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 26 05:29 Jenkinsfile [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 26 05:29 LICENSE [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jun 26 05:29 Makefile [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 26 05:29 OWNERS.md [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jun 26 05:29 README.md [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 26 05:27 VERSION [2024-06-26T05:39:54.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:29 bin [2024-06-26T05:39:54.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 cmd [2024-06-26T05:39:54.889Z] -rw-r--r-- 1 jenkins jenkins 14499 Jun 26 05:38 coverage.out [2024-06-26T05:39:54.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 05:29 driver [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 7190 Jun 26 05:29 go.mod [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jun 26 05:29 go.sum [2024-06-26T05:39:54.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 05:29 openapi [2024-06-26T05:39:54.889Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 26 05:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:39:55.283Z] + 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=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 --label arch=arm64 --label version=3.2.0-dev.14 . [2024-06-26T05:39:55.283Z] Sending build context to Docker daemon 146.4kB [2024-06-26T05:39:55.555Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-06-26T05:39:55.555Z] Step 2/26 : FROM ${BASE} AS builder [2024-06-26T05:39:55.555Z] ---> 1851bc9c36b8 [2024-06-26T05:39:55.555Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-06-26T05:39:55.826Z] ---> Running in ac1ad48bada1 [2024-06-26T05:39:56.095Z] Removing intermediate container ac1ad48bada1 [2024-06-26T05:39:56.095Z] ---> 639c0b193cab [2024-06-26T05:39:56.095Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-26T05:39:56.367Z] ---> Running in 2e916b677a76 [2024-06-26T05:39:56.642Z] Removing intermediate container 2e916b677a76 [2024-06-26T05:39:56.643Z] ---> 0200af40263c [2024-06-26T05:39:56.643Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-06-26T05:39:56.915Z] ---> Running in 2ae932c44771 [2024-06-26T05:39:57.253Z] Removing intermediate container 2ae932c44771 [2024-06-26T05:39:57.253Z] ---> a9f69d9c7c73 [2024-06-26T05:39:57.253Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-06-26T05:39:57.253Z] ---> Running in 2bafa7a34096 [2024-06-26T05:39:57.588Z] Removing intermediate container 2bafa7a34096 [2024-06-26T05:39:57.588Z] ---> 027543506cc5 [2024-06-26T05:39:57.588Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-26T05:39:57.864Z] ---> Running in c9af046b8690 [2024-06-26T05:39:59.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-26T05:39:59.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-26T05:40:00.571Z] OK: 271 MiB in 56 packages [2024-06-26T05:40:02.004Z] Removing intermediate container c9af046b8690 [2024-06-26T05:40:02.004Z] ---> 825a2bcbbeed [2024-06-26T05:40:02.004Z] Step 8/26 : WORKDIR /device-rest-go [2024-06-26T05:40:02.004Z] ---> Running in 989d7be94341 [2024-06-26T05:40:02.275Z] Removing intermediate container 989d7be94341 [2024-06-26T05:40:02.275Z] ---> 4dd31f1e0724 [2024-06-26T05:40:02.275Z] Step 9/26 : COPY go.mod vendor* ./ [2024-06-26T05:40:02.867Z] ---> ae1f075eb107 [2024-06-26T05:40:02.867Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-26T05:40:02.867Z] ---> Running in 7123c53280a3 [2024-06-26T05:40:06.234Z] Removing intermediate container 7123c53280a3 [2024-06-26T05:40:06.234Z] ---> e934add3b631 [2024-06-26T05:40:06.234Z] Step 11/26 : COPY . . [2024-06-26T05:40:06.234Z] ---> e930b9c05084 [2024-06-26T05:40:06.234Z] Step 12/26 : RUN $MAKE [2024-06-26T05:40:06.504Z] ---> Running in cdf3923bd257 [2024-06-26T05:40:07.472Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-06-26T05:44:14.319Z] Removing intermediate container cdf3923bd257 [2024-06-26T05:44:14.319Z] ---> 83f414bc3876 [2024-06-26T05:44:14.319Z] Step 13/26 : FROM alpine:3.18 [2024-06-26T05:44:14.319Z] 3.18: Pulling from library/alpine [2024-06-26T05:44:14.319Z] 5c905c7ebe2f: Pulling fs layer [2024-06-26T05:44:14.319Z] 5c905c7ebe2f: Verifying Checksum [2024-06-26T05:44:14.319Z] 5c905c7ebe2f: Download complete [2024-06-26T05:44:14.319Z] 5c905c7ebe2f: Pull complete [2024-06-26T05:44:14.319Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-26T05:44:14.319Z] Status: Downloaded newer image for alpine:3.18 [2024-06-26T05:44:14.319Z] ---> dec292d02e07 [2024-06-26T05:44:14.319Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-06-26T05:44:14.319Z] ---> Running in 97f2f4918f09 [2024-06-26T05:44:14.319Z] Removing intermediate container 97f2f4918f09 [2024-06-26T05:44:14.319Z] ---> 48154c95cb24 [2024-06-26T05:44:14.319Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-06-26T05:44:14.319Z] ---> Running in 81b3c753e706 [2024-06-26T05:44:14.587Z] Removing intermediate container 81b3c753e706 [2024-06-26T05:44:14.587Z] ---> 6e777abcd24d [2024-06-26T05:44:14.587Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-06-26T05:44:14.587Z] ---> Running in 33191e7cb3bc [2024-06-26T05:44:15.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-26T05:44:16.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-26T05:44:17.089Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-26T05:44:17.089Z] Executing busybox-1.36.1-r7.trigger [2024-06-26T05:44:17.089Z] OK: 8 MiB in 16 packages [2024-06-26T05:44:18.054Z] Removing intermediate container 33191e7cb3bc [2024-06-26T05:44:18.054Z] ---> cbda7654783e [2024-06-26T05:44:18.054Z] Step 17/26 : RUN apk --no-cache upgrade [2024-06-26T05:44:18.054Z] ---> Running in c102d134a3e4 [2024-06-26T05:44:19.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-26T05:44:19.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-26T05:44:20.232Z] OK: 8 MiB in 16 packages [2024-06-26T05:44:20.814Z] Removing intermediate container c102d134a3e4 [2024-06-26T05:44:20.814Z] ---> 47362a54d291 [2024-06-26T05:44:20.814Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-06-26T05:44:22.755Z] ---> 8699e6273038 [2024-06-26T05:44:22.755Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-06-26T05:44:23.021Z] ---> 475c24cf63d4 [2024-06-26T05:44:23.021Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-06-26T05:44:23.601Z] ---> d19849ea2c1c [2024-06-26T05:44:23.601Z] Step 21/26 : EXPOSE 59986 [2024-06-26T05:44:23.601Z] ---> Running in 52bde38bef39 [2024-06-26T05:44:24.178Z] Removing intermediate container 52bde38bef39 [2024-06-26T05:44:24.178Z] ---> 00f86f871d1f [2024-06-26T05:44:24.178Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-06-26T05:44:24.178Z] ---> Running in 1081cca8db1a [2024-06-26T05:44:24.444Z] Removing intermediate container 1081cca8db1a [2024-06-26T05:44:24.444Z] ---> 91a0889f5985 [2024-06-26T05:44:24.444Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-26T05:44:24.444Z] ---> Running in 330ff2ddabee [2024-06-26T05:44:24.711Z] Removing intermediate container 330ff2ddabee [2024-06-26T05:44:24.711Z] ---> 1617b4c59252 [2024-06-26T05:44:24.711Z] Step 24/26 : LABEL arch=arm64 [2024-06-26T05:44:24.978Z] ---> Running in 995acc3ad90d [2024-06-26T05:44:25.244Z] Removing intermediate container 995acc3ad90d [2024-06-26T05:44:25.244Z] ---> f2732de788d7 [2024-06-26T05:44:25.244Z] Step 25/26 : LABEL git_sha=f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:44:25.244Z] ---> Running in 476a409dd1cc [2024-06-26T05:44:25.509Z] Removing intermediate container 476a409dd1cc [2024-06-26T05:44:25.509Z] ---> 772274fc73bb [2024-06-26T05:44:25.509Z] Step 26/26 : LABEL version=3.2.0-dev.14 [2024-06-26T05:44:25.775Z] ---> Running in db799331bcaf [2024-06-26T05:44:26.041Z] Removing intermediate container db799331bcaf [2024-06-26T05:44:26.041Z] ---> 1b67c6415934 [2024-06-26T05:44:26.041Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-26T05:44:26.041Z] Successfully built 1b67c6415934 [2024-06-26T05:44:26.041Z] 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-06-26T05:44:26.201Z] provisioning config files... [2024-06-26T05:44:26.214Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/166@tmp/config4169835367789886974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:44:26.580Z] ---> ****-login.sh [2024-06-26T05:44:26.580Z] nexus3.edgexfoundry.org:10001 [2024-06-26T05:44:26.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:44:26.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:44:26.843Z] Configure a credential helper to remove this warning. See [2024-06-26T05:44:26.844Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:44:26.844Z] [2024-06-26T05:44:26.844Z] Login Succeeded [2024-06-26T05:44:26.844Z] nexus3.edgexfoundry.org:10002 [2024-06-26T05:44:27.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:44:27.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:44:27.108Z] Configure a credential helper to remove this warning. See [2024-06-26T05:44:27.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:44:27.108Z] [2024-06-26T05:44:27.108Z] Login Succeeded [2024-06-26T05:44:27.108Z] nexus3.edgexfoundry.org:10003 [2024-06-26T05:44:27.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:44:27.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:44:27.639Z] Configure a credential helper to remove this warning. See [2024-06-26T05:44:27.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:44:27.639Z] [2024-06-26T05:44:27.639Z] Login Succeeded [2024-06-26T05:44:27.639Z] nexus3.edgexfoundry.org:10004 [2024-06-26T05:44:27.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:44:27.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:44:27.905Z] Configure a credential helper to remove this warning. See [2024-06-26T05:44:27.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:44:27.905Z] [2024-06-26T05:44:27.905Z] Login Succeeded [2024-06-26T05:44:27.905Z] ****.io [2024-06-26T05:44:28.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-26T05:44:28.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-26T05:44:28.436Z] Configure a credential helper to remove this warning. See [2024-06-26T05:44:28.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-26T05:44:28.436Z] [2024-06-26T05:44:28.436Z] Login Succeeded [2024-06-26T05:44:28.436Z] ---> ****-login.sh ends [Pipeline] } [2024-06-26T05:44:28.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-26T05:44:28.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-26T05:44:28.527Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-06-26T05:44:28.527Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:44:28.527Z] latest [2024-06-26T05:44:28.527Z] 3.2.0-dev.14 [2024-06-26T05:44:28.527Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:44:28.527Z] main [2024-06-26T05:44:28.527Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:28.898Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:29.261Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:44:29.261Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-06-26T05:44:29.261Z] 4e844d076ce9: Preparing [2024-06-26T05:44:29.261Z] b8c169ea310c: Preparing [2024-06-26T05:44:29.261Z] 52e1e0a2d6ff: Preparing [2024-06-26T05:44:29.261Z] 087fb768f6c2: Preparing [2024-06-26T05:44:29.261Z] 795f99322ab6: Preparing [2024-06-26T05:44:29.261Z] da707bb00cb8: Preparing [2024-06-26T05:44:29.261Z] da707bb00cb8: Waiting [2024-06-26T05:44:29.533Z] b8c169ea310c: Pushed [2024-06-26T05:44:29.533Z] 795f99322ab6: Pushed [2024-06-26T05:44:29.533Z] 087fb768f6c2: Pushed [2024-06-26T05:44:29.533Z] 4e844d076ce9: Pushed [2024-06-26T05:44:29.533Z] da707bb00cb8: Layer already exists [2024-06-26T05:44:36.158Z] 52e1e0a2d6ff: Pushed [2024-06-26T05:44:36.158Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:36.527Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:36.891Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-06-26T05:44:36.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-06-26T05:44:36.891Z] 4e844d076ce9: Preparing [2024-06-26T05:44:36.891Z] b8c169ea310c: Preparing [2024-06-26T05:44:36.891Z] 52e1e0a2d6ff: Preparing [2024-06-26T05:44:36.891Z] 087fb768f6c2: Preparing [2024-06-26T05:44:36.891Z] 795f99322ab6: Preparing [2024-06-26T05:44:36.891Z] da707bb00cb8: Preparing [2024-06-26T05:44:36.891Z] da707bb00cb8: Waiting [2024-06-26T05:44:36.891Z] 087fb768f6c2: Layer already exists [2024-06-26T05:44:36.891Z] 52e1e0a2d6ff: Layer already exists [2024-06-26T05:44:36.891Z] 4e844d076ce9: Layer already exists [2024-06-26T05:44:36.891Z] b8c169ea310c: Layer already exists [2024-06-26T05:44:36.891Z] 795f99322ab6: Layer already exists [2024-06-26T05:44:36.891Z] da707bb00cb8: Layer already exists [2024-06-26T05:44:37.157Z] latest: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:37.544Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:37.901Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 [2024-06-26T05:44:37.901Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-06-26T05:44:37.901Z] 4e844d076ce9: Preparing [2024-06-26T05:44:37.901Z] b8c169ea310c: Preparing [2024-06-26T05:44:37.901Z] 52e1e0a2d6ff: Preparing [2024-06-26T05:44:37.901Z] 087fb768f6c2: Preparing [2024-06-26T05:44:37.901Z] 795f99322ab6: Preparing [2024-06-26T05:44:37.901Z] da707bb00cb8: Preparing [2024-06-26T05:44:37.901Z] da707bb00cb8: Waiting [2024-06-26T05:44:37.901Z] 087fb768f6c2: Layer already exists [2024-06-26T05:44:37.901Z] b8c169ea310c: Layer already exists [2024-06-26T05:44:37.901Z] 52e1e0a2d6ff: Layer already exists [2024-06-26T05:44:37.901Z] 4e844d076ce9: Layer already exists [2024-06-26T05:44:37.901Z] 795f99322ab6: Layer already exists [2024-06-26T05:44:37.901Z] da707bb00cb8: Layer already exists [2024-06-26T05:44:38.166Z] 3.2.0-dev.14: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:38.526Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:38.871Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:44:38.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-06-26T05:44:38.871Z] 4e844d076ce9: Preparing [2024-06-26T05:44:38.871Z] b8c169ea310c: Preparing [2024-06-26T05:44:38.871Z] 52e1e0a2d6ff: Preparing [2024-06-26T05:44:38.871Z] 087fb768f6c2: Preparing [2024-06-26T05:44:38.871Z] 795f99322ab6: Preparing [2024-06-26T05:44:38.871Z] da707bb00cb8: Preparing [2024-06-26T05:44:38.871Z] da707bb00cb8: Waiting [2024-06-26T05:44:38.871Z] b8c169ea310c: Layer already exists [2024-06-26T05:44:38.871Z] 52e1e0a2d6ff: Layer already exists [2024-06-26T05:44:38.871Z] 4e844d076ce9: Layer already exists [2024-06-26T05:44:38.871Z] 087fb768f6c2: Layer already exists [2024-06-26T05:44:38.871Z] 795f99322ab6: Layer already exists [2024-06-26T05:44:38.871Z] da707bb00cb8: Layer already exists [2024-06-26T05:44:39.136Z] f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:39.497Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:39.922Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-06-26T05:44:39.922Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-06-26T05:44:39.922Z] 4e844d076ce9: Preparing [2024-06-26T05:44:39.922Z] b8c169ea310c: Preparing [2024-06-26T05:44:39.922Z] 52e1e0a2d6ff: Preparing [2024-06-26T05:44:39.922Z] 087fb768f6c2: Preparing [2024-06-26T05:44:39.922Z] 795f99322ab6: Preparing [2024-06-26T05:44:39.922Z] da707bb00cb8: Preparing [2024-06-26T05:44:39.922Z] da707bb00cb8: Waiting [2024-06-26T05:44:39.922Z] 52e1e0a2d6ff: Layer already exists [2024-06-26T05:44:39.922Z] 087fb768f6c2: Layer already exists [2024-06-26T05:44:39.922Z] 4e844d076ce9: Layer already exists [2024-06-26T05:44:39.922Z] 795f99322ab6: Layer already exists [2024-06-26T05:44:39.922Z] b8c169ea310c: Layer already exists [2024-06-26T05:44:39.922Z] da707bb00cb8: Layer already exists [2024-06-26T05:44:40.188Z] main: digest: sha256:1ee1d4d070699b9c87ce58a0251024cca7e7634a2bcba3d47687a5cee98567c1 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-26T05:44:40.272Z] ===================================================== [Pipeline] echo [2024-06-26T05:44:40.284Z] taggedImages: [2024-06-26T05:44:40.284Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [2024-06-26T05:44:40.284Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-06-26T05:44:40.284Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.14 [2024-06-26T05:44:40.284Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f76f4517c34d0712f0a5b1769cf5436b862bb8e0-3.2.0-dev.14 [2024-06-26T05:44:40.284Z] - 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-06-26T05:44:40.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-26T05:44:40.688Z] [2024-06-26T05:44:40.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:44:41.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-26T05:44:41.032Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-26T05:44:41.032Z] 8998bd30e6a1: Pulling fs layer [2024-06-26T05:44:41.032Z] 04944245beec: Pulling fs layer [2024-06-26T05:44:41.032Z] 699f458cf7ca: Pulling fs layer [2024-06-26T05:44:41.032Z] 765212b225bb: Pulling fs layer [2024-06-26T05:44:41.032Z] f23df028b6ca: Pulling fs layer [2024-06-26T05:44:41.032Z] d65c8cfc05b1: Pulling fs layer [2024-06-26T05:44:41.032Z] 2437ff75d9bd: Pulling fs layer [2024-06-26T05:44:41.032Z] f23df028b6ca: Waiting [2024-06-26T05:44:41.032Z] d65c8cfc05b1: Waiting [2024-06-26T05:44:41.032Z] 2437ff75d9bd: Waiting [2024-06-26T05:44:41.032Z] 765212b225bb: Waiting [2024-06-26T05:44:41.300Z] 04944245beec: Verifying Checksum [2024-06-26T05:44:41.300Z] 04944245beec: Download complete [2024-06-26T05:44:41.300Z] 765212b225bb: Verifying Checksum [2024-06-26T05:44:41.300Z] 765212b225bb: Download complete [2024-06-26T05:44:41.300Z] f23df028b6ca: Verifying Checksum [2024-06-26T05:44:41.300Z] f23df028b6ca: Download complete [2024-06-26T05:44:41.300Z] d65c8cfc05b1: Verifying Checksum [2024-06-26T05:44:41.300Z] d65c8cfc05b1: Download complete [2024-06-26T05:44:41.568Z] 699f458cf7ca: Verifying Checksum [2024-06-26T05:44:41.568Z] 699f458cf7ca: Download complete [2024-06-26T05:44:41.834Z] 8998bd30e6a1: Verifying Checksum [2024-06-26T05:44:41.834Z] 8998bd30e6a1: Download complete [2024-06-26T05:44:44.411Z] 2437ff75d9bd: Verifying Checksum [2024-06-26T05:44:44.411Z] 2437ff75d9bd: Download complete [2024-06-26T05:44:46.348Z] 8998bd30e6a1: Pull complete [2024-06-26T05:44:46.613Z] 04944245beec: Pull complete [2024-06-26T05:44:48.016Z] 699f458cf7ca: Pull complete [2024-06-26T05:44:48.282Z] 765212b225bb: Pull complete [2024-06-26T05:44:49.236Z] f23df028b6ca: Pull complete [2024-06-26T05:44:49.236Z] d65c8cfc05b1: Pull complete [2024-06-26T05:45:07.427Z] 2437ff75d9bd: Pull complete [2024-06-26T05:45:07.427Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-26T05:45:07.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-26T05:45:07.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:45:07.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-4435 does not seem to be running inside a container [2024-06-26T05:45:07.751Z] $ 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/166 -v /w/workspace/device-rest-go/166:/w/workspace/device-rest-go/166:rw,z -v /w/workspace/device-rest-go/166@tmp:/w/workspace/device-rest-go/166@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-06-26T05:45:10.657Z] $ docker top 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:45:11.493Z] ---> job-cost.sh [2024-06-26T05:45:11.493Z] lf-activate-venv: SKIPPING [2024-06-26T05:45:11.493Z] INFO: No Stack... [2024-06-26T05:45:11.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-26T05:45:12.705Z] INFO: Archiving Costs [Pipeline] sh [2024-06-26T05:45:13.023Z] + cat /w/workspace/device-rest-go/166/archives/cost.csv [2024-06-26T05:45:13.023Z] + cut -d, -f6 [Pipeline] lock [2024-06-26T05:45:13.343Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [2024-06-26T05:45:13.350Z] Resource [jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] did not exist. Created. [2024-06-26T05:45:13.356Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-26T05:45:14.010Z] /w/workspace/device-rest-go/166@tmp/durable-78aee7d0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-26T05:45:14.328Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-26T05:45:14.355Z] Warning: overwriting stash ‘stack-cost’ [2024-06-26T05:45:14.397Z] Stashed 1 file(s) [Pipeline] } [2024-06-26T05:45:14.405Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-26T05:45:14.434Z] $ docker stop --time=1 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 [2024-06-26T05:45:15.876Z] $ docker rm -f --volumes 33c98b315a0c33139863a70cdc7d02f24eff8ea41f9cb19cf180545c62bf53a1 [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-06-26T05:45:16.358Z] provisioning config files... [2024-06-26T05:45:16.364Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8006942942449476630tmp [Pipeline] { [Pipeline] sh [2024-06-26T05:45:16.683Z] + set +x [2024-06-26T05:45:16.683Z] + bash -s -- [2024-06-26T05:45:16.683Z] + curl -s https://codecov.io/bash [2024-06-26T05:45:16.683Z] [2024-06-26T05:45:16.683Z] _____ _ [2024-06-26T05:45:16.683Z] / ____| | | [2024-06-26T05:45:16.683Z] | | ___ __| | ___ ___ _____ __ [2024-06-26T05:45:16.683Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-26T05:45:16.683Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-26T05:45:16.683Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-26T05:45:16.683Z] Bash-1.0.6 [2024-06-26T05:45:16.683Z] [2024-06-26T05:45:16.683Z] [2024-06-26T05:45:16.683Z] ==> git version 2.25.1 found [2024-06-26T05:45:16.683Z] ==> 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-06-26T05:45:16.683Z] Release-Date: 2020-01-08 [2024-06-26T05:45:16.683Z] 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-06-26T05:45:16.683Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-26T05:45:16.683Z] ==> Jenkins CI detected. [2024-06-26T05:45:16.683Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-06-26T05:45:16.683Z] project root: . [2024-06-26T05:45:16.683Z] --> token set from env [2024-06-26T05:45:16.683Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-26T05:45:16.683Z] ==> Running gcov in . (disable via -X gcov) [2024-06-26T05:45:16.683Z] ==> Python coveragepy not found [2024-06-26T05:45:16.683Z] ==> Searching for coverage reports in: [2024-06-26T05:45:16.683Z] + . [2024-06-26T05:45:16.683Z] -> Found 1 reports [2024-06-26T05:45:16.683Z] ==> Detecting git/mercurial file structure [2024-06-26T05:45:16.683Z] ==> Reading reports [2024-06-26T05:45:16.683Z] + ./coverage.out bytes=14499 [2024-06-26T05:45:16.683Z] ==> Appending adjustments [2024-06-26T05:45:16.683Z] https://docs.codecov.io/docs/fixing-reports [2024-06-26T05:45:16.944Z] + Found adjustments [2024-06-26T05:45:16.944Z] ==> Gzipping contents [2024-06-26T05:45:16.944Z] 4.0K /tmp/codecov.s2wCgx.gz [2024-06-26T05:45:16.944Z] ==> Uploading reports [2024-06-26T05:45:16.944Z] url: https://codecov.io [2024-06-26T05:45:16.944Z] query: branch=main&commit=f76f4517c34d0712f0a5b1769cf5436b862bb8e0&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-26T05:45:16.944Z] -> Pinging Codecov [2024-06-26T05:45:16.944Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f76f4517c34d0712f0a5b1769cf5436b862bb8e0&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-26T05:45:16.944Z] -> Uploading to [2024-06-26T05:45:16.944Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-26/4E5D53B4F1F92C436F7061BF334D961C/f76f4517c34d0712f0a5b1769cf5436b862bb8e0/f2047cd5-d20a-42c2-8c9f-7871f8f4422b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240626%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240626T054516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97f58279e44aa0da5e92629ae9fa6d7d3dd0062daf2b5b3e51a702322caa45bb [2024-06-26T05:45:16.944Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-26T05:45:16.944Z] Dload Upload Total Spent Left Speed [2024-06-26T05:45:17.205Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10598 --:--:-- --:--:-- --:--:-- 10598 [2024-06-26T05:45:17.205Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] } [2024-06-26T05:45:17.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-06-26T05:45:17.374Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-06-26T05:45:17.390Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:45:17.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-26T05:45:17.709Z] [2024-06-26T05:45:17.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:45:18.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-26T05:45:18.016Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-06-26T05:45:18.016Z] 619be1103602: Already exists [2024-06-26T05:45:18.016Z] f8ea3408117e: Pulling fs layer [2024-06-26T05:45:18.016Z] 91320369b822: Pulling fs layer [2024-06-26T05:45:18.016Z] 0406650e8295: Pulling fs layer [2024-06-26T05:45:18.016Z] 4f4fb700ef54: Pulling fs layer [2024-06-26T05:45:18.016Z] 96d80e3f36e1: Pulling fs layer [2024-06-26T05:45:18.016Z] bcf3aedb951c: Pulling fs layer [2024-06-26T05:45:18.016Z] 96d80e3f36e1: Waiting [2024-06-26T05:45:18.016Z] bcf3aedb951c: Waiting [2024-06-26T05:45:18.016Z] 0406650e8295: Verifying Checksum [2024-06-26T05:45:18.016Z] 0406650e8295: Download complete [2024-06-26T05:45:18.016Z] f8ea3408117e: Download complete [2024-06-26T05:45:18.016Z] 4f4fb700ef54: Verifying Checksum [2024-06-26T05:45:18.016Z] 4f4fb700ef54: Download complete [2024-06-26T05:45:18.016Z] f8ea3408117e: Pull complete [2024-06-26T05:45:18.276Z] 96d80e3f36e1: Verifying Checksum [2024-06-26T05:45:18.276Z] 96d80e3f36e1: Download complete [2024-06-26T05:45:18.534Z] 91320369b822: Verifying Checksum [2024-06-26T05:45:18.534Z] 91320369b822: Download complete [2024-06-26T05:45:19.103Z] bcf3aedb951c: Verifying Checksum [2024-06-26T05:45:19.103Z] bcf3aedb951c: Download complete [2024-06-26T05:45:22.389Z] 91320369b822: Pull complete [2024-06-26T05:45:22.389Z] 0406650e8295: Pull complete [2024-06-26T05:45:22.389Z] 4f4fb700ef54: Pull complete [2024-06-26T05:45:22.389Z] 96d80e3f36e1: Pull complete [2024-06-26T05:45:25.674Z] bcf3aedb951c: Pull complete [2024-06-26T05:45:25.674Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-06-26T05:45:25.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-26T05:45:25.674Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:45:25.792Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:45:25.826Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-06-26T05:45:30.059Z] $ docker top 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:45:30.430Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-06-26T05:45:30.440Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-06-26T05:45:30.721Z] + set -o pipefail [2024-06-26T05:45:30.721Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-06-26T05:45:37.289Z] [2024-06-26T05:45:37.289Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-06-26T05:45:37.289Z] [2024-06-26T05:45:37.289Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/7fc010d2-638d-4a2c-839f-921154b033cf [2024-06-26T05:45:37.289Z] [2024-06-26T05:45:37.289Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-06-26T05:45:37.289Z] [2024-06-26T05:45:37.859Z] [2024-06-26T05:45:37.859Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2024-06-26T05:45:37.859Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-06-26T05:45:37.868Z] $ docker stop --time=1 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a [2024-06-26T05:45:42.817Z] $ docker rm -f --volumes 75abebb17c9ab91cc93474bb03dcb15c962ab32c3ebdb15a921c394e46bcfd5a [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-06-26T05:45:43.705Z] + git log --format=format:%s -1 f76f4517c34d0712f0a5b1769cf5436b862bb8e0 [Pipeline] sh [2024-06-26T05:45:44.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-26T05:45:44.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:45:44.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:45:44.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:45:44.389Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:45:44.418Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-26T05:45:44.923Z] $ docker top a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 -eo pid,comm [2024-06-26T05:45:44.972Z] 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-06-26T05:45:44.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-26T05:45:45.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-26T05:45:45.031Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-26T05:45:45.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-26T05:45:45.140Z] $ docker exec a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 ssh-agent [2024-06-26T05:45:45.242Z] SSH_AUTH_SOCK=/tmp/ssh-lrDr9VtPWTQI/agent.32 [2024-06-26T05:45:45.242Z] SSH_AGENT_PID=38 [2024-06-26T05:45:45.247Z] Running ssh-add (command line suppressed) [2024-06-26T05:45:45.347Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15176040359696633256.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15176040359696633256.key) [2024-06-26T05:45:45.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-26T05:45:45.740Z] + git semver tag [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,891 [run_tag] DEBUG tag force:False [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,891 [check_head_tag] DEBUG check head tag [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,892 [execute] INFO git cat-file --batch-check [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,895 [execute] INFO git cat-file --batch [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,918 [execute] INFO git tag -a v3.2.0-dev.14 -m v3.2.0-dev.14 [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,919 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.14', '-m', 'v3.2.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-26T05:45:46.019Z] 2024-06-26 05:45:45,923 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:45:46.019Z] 3.2.0-dev.14 [Pipeline] } [2024-06-26T05:45:46.041Z] $ docker exec --env ******** --env ******** a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 ssh-agent -k [2024-06-26T05:45:46.142Z] unset SSH_AUTH_SOCK; [2024-06-26T05:45:46.143Z] unset SSH_AGENT_PID; [2024-06-26T05:45:46.143Z] echo Agent pid 38 killed; [2024-06-26T05:45:46.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-26T05:45:46.523Z] + git semver [Pipeline] } [2024-06-26T05:45:46.812Z] $ docker stop --time=1 a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 [2024-06-26T05:45:48.062Z] $ docker rm -f --volumes a87f517e2a4aa984e62ff5eed94900b291c9e06ab49eb1ff158bb9af5e6f2457 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:45:48.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-26T05:45:48.484Z] [2024-06-26T05:45:48.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:45:48.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-26T05:45:48.783Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-06-26T05:45:48.783Z] ab5ef0e58194: Pulling fs layer [2024-06-26T05:45:48.783Z] 9712f1f96733: Pulling fs layer [2024-06-26T05:45:48.783Z] 63f879dbbcfc: Pulling fs layer [2024-06-26T05:45:48.783Z] 0d9ebad4ef96: Pulling fs layer [2024-06-26T05:45:48.783Z] e9a5061849ea: Pulling fs layer [2024-06-26T05:45:48.783Z] d747dcd14b5f: Pulling fs layer [2024-06-26T05:45:48.783Z] 2de7ff778b66: Pulling fs layer [2024-06-26T05:45:48.783Z] d747dcd14b5f: Waiting [2024-06-26T05:45:48.783Z] 2de7ff778b66: Waiting [2024-06-26T05:45:48.783Z] 0d9ebad4ef96: Waiting [2024-06-26T05:45:48.783Z] e9a5061849ea: Waiting [2024-06-26T05:45:48.783Z] 9712f1f96733: Verifying Checksum [2024-06-26T05:45:48.783Z] 9712f1f96733: Download complete [2024-06-26T05:45:49.353Z] 63f879dbbcfc: Verifying Checksum [2024-06-26T05:45:49.353Z] 63f879dbbcfc: Download complete [2024-06-26T05:45:49.353Z] ab5ef0e58194: Verifying Checksum [2024-06-26T05:45:49.353Z] ab5ef0e58194: Download complete [2024-06-26T05:45:49.353Z] d747dcd14b5f: Verifying Checksum [2024-06-26T05:45:49.353Z] d747dcd14b5f: Download complete [2024-06-26T05:45:49.353Z] e9a5061849ea: Verifying Checksum [2024-06-26T05:45:49.353Z] e9a5061849ea: Download complete [2024-06-26T05:45:49.353Z] 0d9ebad4ef96: Verifying Checksum [2024-06-26T05:45:49.353Z] 0d9ebad4ef96: Download complete [2024-06-26T05:45:49.353Z] 2de7ff778b66: Verifying Checksum [2024-06-26T05:45:49.353Z] 2de7ff778b66: Download complete [2024-06-26T05:45:52.638Z] ab5ef0e58194: Pull complete [2024-06-26T05:45:52.638Z] 9712f1f96733: Pull complete [2024-06-26T05:45:52.897Z] 63f879dbbcfc: Pull complete [2024-06-26T05:45:57.078Z] 0d9ebad4ef96: Pull complete [2024-06-26T05:45:57.078Z] e9a5061849ea: Pull complete [2024-06-26T05:45:57.078Z] d747dcd14b5f: Pull complete [2024-06-26T05:45:58.012Z] 2de7ff778b66: Pull complete [2024-06-26T05:45:58.012Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-06-26T05:45:58.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-26T05:45:58.270Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:45:58.376Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:45:58.404Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-06-26T05:46:03.995Z] $ docker top 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-06-26T05:46:04.074Z] provisioning config files... [2024-06-26T05:46:04.080Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5232724769979741162tmp [2024-06-26T05:46:04.096Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17653916234837630975tmp [2024-06-26T05:46:04.105Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14467357249684656248tmp [Pipeline] { [Pipeline] echo [2024-06-26T05:46:04.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:04.435Z] ---> sigul-configuration.sh [2024-06-26T05:46:04.435Z] gpg: directory `/root/.gnupg' created [2024-06-26T05:46:04.435Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-06-26T05:46:04.435Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-06-26T05:46:04.435Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-06-26T05:46:04.435Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-06-26T05:46:04.435Z] gpg: CAST5 encrypted data [2024-06-26T05:46:04.435Z] gpg: encrypted with 1 passphrase [2024-06-26T05:46:04.435Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-06-26T05:46:04.729Z] + mkdir /home/jenkins [2024-06-26T05:46:04.729Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-06-26T05:46:05.022Z] + 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-06-26T05:46:05.036Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:05.340Z] ---> sigul-install.sh [2024-06-26T05:46:05.340Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-06-26T05:46:05.638Z] + git tag --list [2024-06-26T05:46:05.638Z] v1.0.0 [2024-06-26T05:46:05.638Z] v1.1.0 [2024-06-26T05:46:05.638Z] v1.1.1 [2024-06-26T05:46:05.638Z] v1.1.2 [2024-06-26T05:46:05.638Z] v1.2.0 [2024-06-26T05:46:05.638Z] v1.2.1 [2024-06-26T05:46:05.638Z] v2.0.0 [2024-06-26T05:46:05.638Z] v2.1.0 [2024-06-26T05:46:05.638Z] v2.1.1 [2024-06-26T05:46:05.638Z] v2.2.0 [2024-06-26T05:46:05.638Z] v2.3.0 [2024-06-26T05:46:05.638Z] v3.0 [2024-06-26T05:46:05.638Z] v3.0.0 [2024-06-26T05:46:05.638Z] v3.1 [2024-06-26T05:46:05.638Z] v3.1.0 [2024-06-26T05:46:05.638Z] v3.1.0-dev.1 [2024-06-26T05:46:05.638Z] v3.1.0-dev.10 [2024-06-26T05:46:05.638Z] v3.1.0-dev.11 [2024-06-26T05:46:05.638Z] v3.1.0-dev.12 [2024-06-26T05:46:05.638Z] v3.1.0-dev.13 [2024-06-26T05:46:05.638Z] v3.1.0-dev.14 [2024-06-26T05:46:05.638Z] v3.1.0-dev.15 [2024-06-26T05:46:05.638Z] v3.1.0-dev.16 [2024-06-26T05:46:05.638Z] v3.1.0-dev.17 [2024-06-26T05:46:05.638Z] v3.1.0-dev.18 [2024-06-26T05:46:05.638Z] v3.1.0-dev.19 [2024-06-26T05:46:05.638Z] v3.1.0-dev.2 [2024-06-26T05:46:05.638Z] v3.1.0-dev.20 [2024-06-26T05:46:05.638Z] v3.1.0-dev.21 [2024-06-26T05:46:05.638Z] v3.1.0-dev.22 [2024-06-26T05:46:05.638Z] v3.1.0-dev.23 [2024-06-26T05:46:05.638Z] v3.1.0-dev.24 [2024-06-26T05:46:05.638Z] v3.1.0-dev.25 [2024-06-26T05:46:05.638Z] v3.1.0-dev.26 [2024-06-26T05:46:05.638Z] v3.1.0-dev.27 [2024-06-26T05:46:05.638Z] v3.1.0-dev.28 [2024-06-26T05:46:05.638Z] v3.1.0-dev.29 [2024-06-26T05:46:05.638Z] v3.1.0-dev.3 [2024-06-26T05:46:05.638Z] v3.1.0-dev.30 [2024-06-26T05:46:05.638Z] v3.1.0-dev.31 [2024-06-26T05:46:05.638Z] v3.1.0-dev.32 [2024-06-26T05:46:05.638Z] v3.1.0-dev.4 [2024-06-26T05:46:05.638Z] v3.1.0-dev.5 [2024-06-26T05:46:05.638Z] v3.1.0-dev.6 [2024-06-26T05:46:05.638Z] v3.1.0-dev.7 [2024-06-26T05:46:05.638Z] v3.1.0-dev.8 [2024-06-26T05:46:05.638Z] v3.1.0-dev.9 [2024-06-26T05:46:05.638Z] v3.1.1 [2024-06-26T05:46:05.638Z] v3.2.0-dev.1 [2024-06-26T05:46:05.638Z] v3.2.0-dev.10 [2024-06-26T05:46:05.638Z] v3.2.0-dev.11 [2024-06-26T05:46:05.638Z] v3.2.0-dev.12 [2024-06-26T05:46:05.638Z] v3.2.0-dev.13 [2024-06-26T05:46:05.638Z] v3.2.0-dev.14 [2024-06-26T05:46:05.638Z] v3.2.0-dev.2 [2024-06-26T05:46:05.638Z] v3.2.0-dev.3 [2024-06-26T05:46:05.638Z] v3.2.0-dev.4 [2024-06-26T05:46:05.638Z] v3.2.0-dev.5 [2024-06-26T05:46:05.638Z] v3.2.0-dev.6 [2024-06-26T05:46:05.638Z] v3.2.0-dev.7 [2024-06-26T05:46:05.638Z] v3.2.0-dev.8 [2024-06-26T05:46:05.638Z] v3.2.0-dev.9 [Pipeline] sh [2024-06-26T05:46:05.934Z] + lftools sign git-tag v3.2.0-dev.14 [2024-06-26T05:46:06.502Z] Signing Git tag with Sigul... [2024-06-26T05:46:06.502Z] Signing v3.2.0-dev.14 [Pipeline] echo [2024-06-26T05:46:07.085Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:07.381Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-06-26T05:46:07.389Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-06-26T05:46:07.424Z] $ docker stop --time=1 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 [2024-06-26T05:46:08.692Z] $ docker rm -f --volumes 15ab0bd7f6c03c9088c49f92127e48500a2791157b09235671d75b744690df56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-06-26T05:46:09.157Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-26T05:46:09.157Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:46:09.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:46:09.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:46:09.540Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:46:09.562Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-26T05:46:09.916Z] $ docker top b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 -eo pid,comm [2024-06-26T05:46:09.965Z] 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-06-26T05:46:09.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-26T05:46:10.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-26T05:46:10.033Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-26T05:46:10.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-26T05:46:10.159Z] $ docker exec b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 ssh-agent [2024-06-26T05:46:10.275Z] SSH_AUTH_SOCK=/tmp/ssh-sIDGNObxaDNk/agent.32 [2024-06-26T05:46:10.275Z] SSH_AGENT_PID=38 [2024-06-26T05:46:10.281Z] Running ssh-add (command line suppressed) [2024-06-26T05:46:10.396Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17859389648464960399.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17859389648464960399.key) [2024-06-26T05:46:10.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-26T05:46:10.774Z] + git semver bump pre [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,966 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,967 [bump_version] DEBUG bumping version:3.2.0-dev.14 on axis:pre with prefix:dev [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,967 [bump_version] DEBUG bumped version:3.2.0-dev.15 [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,967 [write_version] DEBUG write version:3.2.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,967 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,968 [execute] INFO git cat-file --batch-check [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,974 [execute] INFO git cat-file --batch [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-26T05:46:11.034Z] 2024-06-26 05:46:10,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:46:11.034Z] 3.2.0-dev.15 [Pipeline] } [2024-06-26T05:46:11.043Z] $ docker exec --env ******** --env ******** b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 ssh-agent -k [2024-06-26T05:46:11.147Z] unset SSH_AUTH_SOCK; [2024-06-26T05:46:11.147Z] unset SSH_AGENT_PID; [2024-06-26T05:46:11.148Z] echo Agent pid 38 killed; [2024-06-26T05:46:11.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-26T05:46:11.487Z] + git semver [Pipeline] } [2024-06-26T05:46:11.762Z] $ docker stop --time=1 b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 [2024-06-26T05:46:13.065Z] $ docker rm -f --volumes b4dd3ce7b2e7e7f616a49316a80162e14ba400e7cf09961291c1183405acae06 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-26T05:46:13.441Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-26T05:46:13.441Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:46:13.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-26T05:46:13.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:46:13.827Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:46:13.853Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-26T05:46:14.213Z] $ docker top f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-26T05:46:14.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-26T05:46:14.325Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-26T05:46:14.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-26T05:46:14.446Z] $ docker exec f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb ssh-agent [2024-06-26T05:46:14.561Z] SSH_AUTH_SOCK=/tmp/ssh-GQUZo8SiEblI/agent.32 [2024-06-26T05:46:14.561Z] SSH_AGENT_PID=38 [2024-06-26T05:46:14.565Z] Running ssh-add (command line suppressed) [2024-06-26T05:46:14.683Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1615616294397672995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1615616294397672995.key) [2024-06-26T05:46:14.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-26T05:46:14.990Z] + git semver push [2024-06-26T05:46:15.250Z] 2024-06-26 05:46:15,232 [run_push] DEBUG push [2024-06-26T05:46:15.250Z] 2024-06-26 05:46:15,233 [execute] INFO git cat-file --batch-check [2024-06-26T05:46:15.250Z] 2024-06-26 05:46:15,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-26T05:46:15.250Z] 2024-06-26 05:46:15,238 [execute] INFO git rev-list b85b259e2389fa45951b79511feb9abe2602d879 -- [2024-06-26T05:46:15.250Z] 2024-06-26 05:46:15,238 [execute] DEBUG Popen(['git', 'rev-list', 'b85b259e2389fa45951b79511feb9abe2602d879', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-26T05:46:15.508Z] 2024-06-26 05:46:15,252 [execute] INFO git fetch -v origin [2024-06-26T05:46:15.508Z] 2024-06-26 05:46:15,252 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-06-26T05:46:15.769Z] 2024-06-26 05:46:15,708 [run_push] DEBUG no remote changes detected [2024-06-26T05:46:15.769Z] 2024-06-26 05:46:15,708 [execute] INFO git push origin semver [2024-06-26T05:46:15.769Z] 2024-06-26 05:46:15,709 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-26T05:46:16.709Z] 2024-06-26 05:46:16,447 [run_push] DEBUG push all version tags [2024-06-26T05:46:16.709Z] 2024-06-26 05:46:16,447 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-06-26T05:46:16.709Z] 2024-06-26 05:46:16,448 [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-06-26T05:46:17.277Z] 2024-06-26 05:46:17,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-06-26T05:46:17.277Z] 3.2.0-dev.15 [Pipeline] } [2024-06-26T05:46:17.286Z] $ docker exec --env ******** --env ******** f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb ssh-agent -k [2024-06-26T05:46:17.405Z] unset SSH_AUTH_SOCK; [2024-06-26T05:46:17.405Z] unset SSH_AGENT_PID; [2024-06-26T05:46:17.405Z] echo Agent pid 38 killed; [2024-06-26T05:46:17.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-26T05:46:17.763Z] + git semver [Pipeline] } [2024-06-26T05:46:18.036Z] $ docker stop --time=1 f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb [2024-06-26T05:46:19.306Z] $ docker rm -f --volumes f3ced6ae8206167821b9563e97e06fded02bb3b672e6e8474330c65b8ee5d2fb [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-06-26T05:46:20.002Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-06-26T05:46:20.002Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-06-26T05:46:20.002Z] total 16 [2024-06-26T05:46:20.002Z] drwxr-xr-x 3 root root 4096 Jun 26 05:30 . [2024-06-26T05:46:20.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 05:46 .. [2024-06-26T05:46:20.002Z] drwxr-xr-x 2 root root 4096 Jun 26 05:30 cost [2024-06-26T05:46:20.002Z] -rw-r--r-- 1 root root 86 Jun 26 05:30 cost.csv [2024-06-26T05:46:20.002Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-06-26T05:46:20.002Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-06-26T05:46:20.002Z] total 16 [2024-06-26T05:46:20.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 05:30 . [2024-06-26T05:46:20.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 05:46 .. [2024-06-26T05:46:20.002Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 05:30 cost [2024-06-26T05:46:20.002Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 26 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:20.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:21.158Z] ---> package-listing.sh [2024-06-26T05:46:21.158Z] ++ facter osfamily [2024-06-26T05:46:21.158Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-26T05:46:21.418Z] + OS_FAMILY=debian [2024-06-26T05:46:21.418Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-06-26T05:46:21.418Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-26T05:46:21.418Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-26T05:46:21.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-26T05:46:21.418Z] + PACKAGES=/tmp/packages_start.txt [2024-06-26T05:46:21.418Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-06-26T05:46:21.418Z] + PACKAGES=/tmp/packages_end.txt [2024-06-26T05:46:21.418Z] + case "${OS_FAMILY}" in [2024-06-26T05:46:21.418Z] + dpkg -l [2024-06-26T05:46:21.418Z] + grep '^ii' [2024-06-26T05:46:21.418Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-26T05:46:21.418Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-26T05:46:21.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-26T05:46:21.418Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-06-26T05:46:21.418Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-06-26T05:46:21.418Z] + 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-06-26T05:46:21.428Z] 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-06-26T05:46:21.704Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-26T05:46:22.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-26T05:46:22.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-26T05:46:22.349Z] prd-ubuntu20.04-docker-8c-8g-4430 does not seem to be running inside a container [2024-06-26T05:46:22.370Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-26T05:46:22.584Z] $ docker top ffaa19728441390990406ce339560041e04a8637f97e33b90423c59cfe28addb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-26T05:46:22.946Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-26T05:46:23.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-26T05:46:23.511Z] + ls /var/log/sa-host [2024-06-26T05:46:23.511Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-26T05:46:23.590Z] provisioning config files... [2024-06-26T05:46:23.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13543723231252268697tmp [Pipeline] { [Pipeline] echo [2024-06-26T05:46:23.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:23.900Z] ---> create-netrc.sh [Pipeline] } [2024-06-26T05:46:23.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:24.233Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-26T05:46:24.242Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:24.525Z] ---> sudo-logs.sh [2024-06-26T05:46:24.525Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-26T05:46:24.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:24.843Z] ---> job-cost.sh [2024-06-26T05:46:24.843Z] lf-activate-venv: SKIPPING [2024-06-26T05:46:24.843Z] DEBUG: total: 0.2199999988079071 [2024-06-26T05:46:24.843Z] INFO: Retrieving Stack Cost... [2024-06-26T05:46:25.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-26T05:46:25.668Z] INFO: Archiving Costs [Pipeline] echo [2024-06-26T05:46:25.680Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-26T05:46:25.962Z] ---> logs-deploy.sh [2024-06-26T05:46:25.962Z] lf-activate-venv: SKIPPING [2024-06-26T05:46:25.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/166 [2024-06-26T05:46:25.962Z] INFO: archiving workspace using pattern(s): [2024-06-26T05:46:26.900Z] Archives upload complete. [2024-06-26T05:46:26.900Z] INFO: archiving logs to Nexus