Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21994e07934c8f95cd7e226e9631b4cfe7f28119 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-ssh9195032129888614745.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-ssh9584566044645064874.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-ssh15565414133685201138.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-ssh9020707714372973852.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-ssh1445694896113111264.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-975’ Running on prd-ubuntu20.04-docker-8c-8g-978 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 21994e07934c8f95cd7e226e9631b4cfe7f28119 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" > git rev-list --no-walk b98d36f300d40b3d26074dc2f5d3a4b80ec3fbcc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-28T23:51:33.178Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-28T23:51:33.267Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-28T23:51:33.297Z] ========================================================= [2024-05-28T23:51:33.297Z] EdgeX Global Pipelines Version Info [2024-05-28T23:51:33.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:51:34.048Z] ------------------- [2024-05-28T23:51:34.048Z] stable info: [2024-05-28T23:51:34.048Z] ------------------- [2024-05-28T23:51:34.048Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-28T23:51:34.048Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-28T23:51:34.048Z] Message: update stable to v1.0.260 [2024-05-28T23:51:34.618Z] ------------------- [2024-05-28T23:51:34.618Z] experimental info: [2024-05-28T23:51:34.618Z] ------------------- [2024-05-28T23:51:34.618Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-28T23:51:34.618Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-28T23:51:34.618Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-28T23:51:34.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-05-28T23:51:34.725Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-05-28T23:51:34.753Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-28T23:51:34.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-28T23:51:34.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-28T23:51:34.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-28T23:51:34.855Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-28T23:51:34.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-28T23:51:34.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-28T23:51:34.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-28T23:51:34.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-28T23:51:34.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-05-28T23:51:34.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-28T23:51:35.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-28T23:51:35.028Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-28T23:51:35.059Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-28T23:51:35.087Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-28T23:51:35.112Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-28T23:51:35.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-28T23:51:35.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-28T23:51:35.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-28T23:51:35.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-28T23:51:35.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-28T23:51:35.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-28T23:51:35.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-28T23:51:35.310Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-28T23:51:35.332Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-28T23:51:35.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-28T23:51:35.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-28T23:51:35.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-28T23:51:35.438Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo [2024-05-28T23:51:35.459Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21994e0 [Pipeline] echo [2024-05-28T23:51:35.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T23:51:35.537Z] provisioning config files... [2024-05-28T23:51:35.551Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8979925312676435784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:51:35.886Z] ---> ****-login.sh [2024-05-28T23:51:35.886Z] nexus3.edgexfoundry.org:10001 [2024-05-28T23:51:36.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:36.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:36.146Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:36.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:36.146Z] [2024-05-28T23:51:36.146Z] Login Succeeded [2024-05-28T23:51:36.146Z] nexus3.edgexfoundry.org:10002 [2024-05-28T23:51:36.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:36.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:36.146Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:36.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:36.146Z] [2024-05-28T23:51:36.146Z] Login Succeeded [2024-05-28T23:51:36.146Z] nexus3.edgexfoundry.org:10003 [2024-05-28T23:51:36.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:36.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:36.405Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:36.405Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:36.405Z] [2024-05-28T23:51:36.405Z] Login Succeeded [2024-05-28T23:51:36.405Z] nexus3.edgexfoundry.org:10004 [2024-05-28T23:51:36.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:36.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:36.405Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:36.405Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:36.405Z] [2024-05-28T23:51:36.405Z] Login Succeeded [2024-05-28T23:51:36.405Z] ****.io [2024-05-28T23:51:36.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:36.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:36.664Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:36.664Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:36.664Z] [2024-05-28T23:51:36.664Z] Login Succeeded [2024-05-28T23:51:36.664Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T23:51:36.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-28T23:51:37.085Z] + git rev-list -1 --merges 21994e07934c8f95cd7e226e9631b4cfe7f28119~1..21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo [2024-05-28T23:51:37.113Z] -----------> git rev-list -1 --merges 21994e07934c8f95cd7e226e9631b4cfe7f28119~1..21994e07934c8f95cd7e226e9631b4cfe7f28119 21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-28T23:51:37.113Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119 [false] [Pipeline] sh [2024-05-28T23:51:37.406Z] + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo [2024-05-28T23:51:37.424Z] ========================================================= [2024-05-28T23:51:37.424Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-28T23:51:37.424Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-28T23:51:37.762Z] + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] echo [2024-05-28T23:51:37.776Z] [semverPrep] GIT_COMMIT: 21994e07934c8f95cd7e226e9631b4cfe7f28119, Commit Message: Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15 [Pipeline] echo [2024-05-28T23:51:37.794Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-28T23:51:38.152Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-28T23:51:38.152Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-28T23:51:38.152Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-28T23:51:38.152Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-28T23:51:38.152Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-28T23:51:38.152Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-28T23:51:38.152Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:51:38.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T23:51:38.682Z] [2024-05-28T23:51:38.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:51:38.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T23:51:38.986Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-28T23:51:38.986Z] b85a868b505f: Pulling fs layer [2024-05-28T23:51:38.986Z] e2be974225ed: Pulling fs layer [2024-05-28T23:51:38.986Z] 339a4e72a1f5: Pulling fs layer [2024-05-28T23:51:38.986Z] 988bab9f4d93: Pulling fs layer [2024-05-28T23:51:38.986Z] 1469e6f7b9e6: Pulling fs layer [2024-05-28T23:51:38.986Z] eaf3925da568: Pulling fs layer [2024-05-28T23:51:38.986Z] bab4dde63d76: Pulling fs layer [2024-05-28T23:51:38.986Z] bde34c3a00c8: Pulling fs layer [2024-05-28T23:51:38.986Z] b352a97aabf1: Pulling fs layer [2024-05-28T23:51:38.986Z] 4872d77fe225: Pulling fs layer [2024-05-28T23:51:38.986Z] 5851b861e8e6: Pulling fs layer [2024-05-28T23:51:38.986Z] 988bab9f4d93: Waiting [2024-05-28T23:51:38.986Z] 1469e6f7b9e6: Waiting [2024-05-28T23:51:38.986Z] eaf3925da568: Waiting [2024-05-28T23:51:38.986Z] bab4dde63d76: Waiting [2024-05-28T23:51:38.986Z] bde34c3a00c8: Waiting [2024-05-28T23:51:38.986Z] b352a97aabf1: Waiting [2024-05-28T23:51:38.986Z] 4872d77fe225: Waiting [2024-05-28T23:51:38.986Z] 5851b861e8e6: Waiting [2024-05-28T23:51:38.986Z] e2be974225ed: Download complete [2024-05-28T23:51:38.986Z] 988bab9f4d93: Verifying Checksum [2024-05-28T23:51:38.986Z] 988bab9f4d93: Download complete [2024-05-28T23:51:38.986Z] 1469e6f7b9e6: Verifying Checksum [2024-05-28T23:51:38.986Z] 1469e6f7b9e6: Download complete [2024-05-28T23:51:38.986Z] eaf3925da568: Download complete [2024-05-28T23:51:39.246Z] 339a4e72a1f5: Verifying Checksum [2024-05-28T23:51:39.246Z] 339a4e72a1f5: Download complete [2024-05-28T23:51:39.246Z] bde34c3a00c8: Download complete [2024-05-28T23:51:39.246Z] b352a97aabf1: Verifying Checksum [2024-05-28T23:51:39.246Z] b352a97aabf1: Download complete [2024-05-28T23:51:39.246Z] 4872d77fe225: Download complete [2024-05-28T23:51:39.246Z] 5851b861e8e6: Verifying Checksum [2024-05-28T23:51:39.246Z] 5851b861e8e6: Download complete [2024-05-28T23:51:39.246Z] b85a868b505f: Verifying Checksum [2024-05-28T23:51:39.246Z] b85a868b505f: Download complete [2024-05-28T23:51:39.504Z] bab4dde63d76: Verifying Checksum [2024-05-28T23:51:39.504Z] bab4dde63d76: Download complete [2024-05-28T23:51:40.442Z] b85a868b505f: Pull complete [2024-05-28T23:51:40.442Z] e2be974225ed: Pull complete [2024-05-28T23:51:40.701Z] 339a4e72a1f5: Pull complete [2024-05-28T23:51:40.962Z] 988bab9f4d93: Pull complete [2024-05-28T23:51:41.222Z] 1469e6f7b9e6: Pull complete [2024-05-28T23:51:41.222Z] eaf3925da568: Pull complete [2024-05-28T23:51:43.124Z] bab4dde63d76: Pull complete [2024-05-28T23:51:43.124Z] bde34c3a00c8: Pull complete [2024-05-28T23:51:43.124Z] b352a97aabf1: Pull complete [2024-05-28T23:51:43.124Z] 4872d77fe225: Pull complete [2024-05-28T23:51:43.124Z] 5851b861e8e6: Pull complete [2024-05-28T23:51:43.124Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-28T23:51:43.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-28T23:51:43.124Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:51:43.282Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-28T23:51:43.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-28T23:51:47.315Z] $ docker top 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d -eo pid,comm [2024-05-28T23:51:47.359Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-28T23:51:47.359Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-28T23:51:47.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-28T23:51:47.418Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-28T23:51:47.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-28T23:51:47.530Z] $ docker exec 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent [2024-05-28T23:51:47.632Z] SSH_AUTH_SOCK=/tmp/ssh-mrXuyKVy4f9g/agent.32 [2024-05-28T23:51:47.632Z] SSH_AGENT_PID=38 [2024-05-28T23:51:47.638Z] Running ssh-add (command line suppressed) [2024-05-28T23:51:47.741Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8447367203944076310.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8447367203944076310.key) [2024-05-28T23:51:47.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-28T23:51:48.044Z] + git tag --points-at HEAD [Pipeline] } [2024-05-28T23:51:48.060Z] $ docker exec --env ******** --env ******** 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent -k [2024-05-28T23:51:48.142Z] unset SSH_AUTH_SOCK; [2024-05-28T23:51:48.142Z] unset SSH_AGENT_PID; [2024-05-28T23:51:48.142Z] echo Agent pid 38 killed; [2024-05-28T23:51:48.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-28T23:51:48.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-28T23:51:48.190Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-28T23:51:48.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-28T23:51:48.311Z] $ docker exec 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent [2024-05-28T23:51:48.412Z] SSH_AUTH_SOCK=/tmp/ssh-WFZqvvUv2PG8/agent.72 [2024-05-28T23:51:48.412Z] SSH_AGENT_PID=78 [2024-05-28T23:51:48.416Z] Running ssh-add (command line suppressed) [2024-05-28T23:51:48.509Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8633788202699441198.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8633788202699441198.key) [2024-05-28T23:51:48.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-28T23:51:48.810Z] + git semver init [2024-05-28T23:51:49.069Z] 2024-05-28 23:51:48,966 [run_init] DEBUG init version:0.0.0 force:False [2024-05-28T23:51:49.069Z] 2024-05-28 23:51:48,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-05-28T23:51:49.069Z] 2024-05-28 23:51:48,968 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-05-28T23:51:49.069Z] 2024-05-28 23:51:48,968 [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-05-28T23:51:50.450Z] 2024-05-28 23:51:50,409 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-05-28T23:51:50.450Z] 2024-05-28 23:51:50,410 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-05-28T23:51:50.450Z] 2024-05-28 23:51:50,410 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-28T23:51:50.450Z] 2024-05-28 23:51:50,410 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-28T23:51:50.450Z] 3.2.0-dev.13 [Pipeline] } [2024-05-28T23:51:50.465Z] $ docker exec --env ******** --env ******** 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d ssh-agent -k [2024-05-28T23:51:50.555Z] unset SSH_AUTH_SOCK; [2024-05-28T23:51:50.555Z] unset SSH_AGENT_PID; [2024-05-28T23:51:50.556Z] echo Agent pid 78 killed; [2024-05-28T23:51:50.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-28T23:51:50.905Z] + git semver [Pipeline] } [2024-05-28T23:51:51.182Z] $ docker stop --time=1 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d [2024-05-28T23:51:52.432Z] $ docker rm -f --volumes 91c10c61fc9b88bc3707ea2d0a68c0edde869f48d15e5660c37470447302ca1d [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-28T23:51:52.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-28T23:51:52.987Z] Stashed 1 file(s) [Pipeline] echo [2024-05-28T23:51:52.990Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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-05-28T23:51:53.214Z] provisioning config files... [2024-05-28T23:51:53.223Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7197504602583022742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:51:53.523Z] ---> ****-login.sh [2024-05-28T23:51:53.523Z] nexus3.edgexfoundry.org:10001 [2024-05-28T23:51:53.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:53.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:53.523Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:53.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:53.523Z] [2024-05-28T23:51:53.523Z] Login Succeeded [2024-05-28T23:51:53.523Z] nexus3.edgexfoundry.org:10002 [2024-05-28T23:51:53.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:53.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:53.523Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:53.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:53.523Z] [2024-05-28T23:51:53.523Z] Login Succeeded [2024-05-28T23:51:53.523Z] nexus3.edgexfoundry.org:10003 [2024-05-28T23:51:53.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:53.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:53.784Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:53.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:53.784Z] [2024-05-28T23:51:53.784Z] Login Succeeded [2024-05-28T23:51:53.784Z] nexus3.edgexfoundry.org:10004 [2024-05-28T23:51:53.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:53.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:53.784Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:53.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:53.784Z] [2024-05-28T23:51:53.784Z] Login Succeeded [2024-05-28T23:51:53.784Z] ****.io [2024-05-28T23:51:53.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:51:54.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:51:54.043Z] Configure a credential helper to remove this warning. See [2024-05-28T23:51:54.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:51:54.043Z] [2024-05-28T23:51:54.043Z] Login Succeeded [2024-05-28T23:51:54.043Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T23:51:54.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-28T23:51:54.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T23:51:54.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T23:51:54.176Z] ========================================================= [2024-05-28T23:51:54.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-28T23:51:54.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:51:54.515Z] + 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-05-28T23:51:54.515Z] Sending build context to Docker daemon 18.17MB [2024-05-28T23:51:54.515Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T23:51:54.515Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-28T23:51:54.515Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-28T23:51:54.515Z] 619be1103602: Pulling fs layer [2024-05-28T23:51:54.515Z] 7862e08f4a3e: Pulling fs layer [2024-05-28T23:51:54.515Z] 5df492c9dc93: Pulling fs layer [2024-05-28T23:51:54.515Z] 7629e6793208: Pulling fs layer [2024-05-28T23:51:54.515Z] 4f4fb700ef54: Pulling fs layer [2024-05-28T23:51:54.515Z] fb5054dd5b73: Pulling fs layer [2024-05-28T23:51:54.515Z] eeca6798cff9: Pulling fs layer [2024-05-28T23:51:54.515Z] aa269ceb94a6: Pulling fs layer [2024-05-28T23:51:54.515Z] ada007ff1a6a: Pulling fs layer [2024-05-28T23:51:54.515Z] aa269ceb94a6: Waiting [2024-05-28T23:51:54.515Z] ada007ff1a6a: Waiting [2024-05-28T23:51:54.515Z] 4f4fb700ef54: Waiting [2024-05-28T23:51:54.515Z] fb5054dd5b73: Waiting [2024-05-28T23:51:54.515Z] eeca6798cff9: Waiting [2024-05-28T23:51:54.515Z] 7629e6793208: Waiting [2024-05-28T23:51:54.515Z] 7862e08f4a3e: Download complete [2024-05-28T23:51:54.515Z] 7629e6793208: Verifying Checksum [2024-05-28T23:51:54.515Z] 7629e6793208: Download complete [2024-05-28T23:51:54.774Z] 4f4fb700ef54: Verifying Checksum [2024-05-28T23:51:54.774Z] 4f4fb700ef54: Download complete [2024-05-28T23:51:54.774Z] fb5054dd5b73: Verifying Checksum [2024-05-28T23:51:54.774Z] fb5054dd5b73: Download complete [2024-05-28T23:51:54.774Z] 619be1103602: Verifying Checksum [2024-05-28T23:51:54.774Z] 619be1103602: Download complete [2024-05-28T23:51:54.774Z] eeca6798cff9: Verifying Checksum [2024-05-28T23:51:54.774Z] eeca6798cff9: Download complete [2024-05-28T23:51:54.774Z] 619be1103602: Pull complete [2024-05-28T23:51:55.032Z] 7862e08f4a3e: Pull complete [2024-05-28T23:51:55.032Z] ada007ff1a6a: Verifying Checksum [2024-05-28T23:51:55.032Z] ada007ff1a6a: Download complete [2024-05-28T23:51:55.032Z] 5df492c9dc93: Verifying Checksum [2024-05-28T23:51:55.032Z] 5df492c9dc93: Download complete [2024-05-28T23:51:55.596Z] aa269ceb94a6: Verifying Checksum [2024-05-28T23:51:55.596Z] aa269ceb94a6: Download complete [2024-05-28T23:51:58.128Z] 5df492c9dc93: Pull complete [2024-05-28T23:51:58.129Z] 7629e6793208: Pull complete [2024-05-28T23:51:58.129Z] 4f4fb700ef54: Pull complete [2024-05-28T23:51:58.129Z] fb5054dd5b73: Pull complete [2024-05-28T23:51:58.129Z] eeca6798cff9: Pull complete [2024-05-28T23:52:00.657Z] aa269ceb94a6: Pull complete [2024-05-28T23:52:00.657Z] ada007ff1a6a: Pull complete [2024-05-28T23:52:00.657Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-28T23:52:00.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-28T23:52:00.657Z] ---> f489d0715acc [2024-05-28T23:52:00.657Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-28T23:52:05.967Z] ---> Running in 0b1589956fcb [2024-05-28T23:52:05.967Z] Removing intermediate container 0b1589956fcb [2024-05-28T23:52:05.967Z] ---> 09e089a40e8d [2024-05-28T23:52:05.967Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-28T23:52:05.967Z] ---> Running in b52013224df7 [2024-05-28T23:52:05.967Z] Removing intermediate container b52013224df7 [2024-05-28T23:52:05.967Z] ---> b2decf5222a7 [2024-05-28T23:52:05.967Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-28T23:52:05.967Z] ---> Running in eae61b4181c2 [2024-05-28T23:52:05.967Z] Removing intermediate container eae61b4181c2 [2024-05-28T23:52:05.967Z] ---> 6c7a173d915c [2024-05-28T23:52:05.967Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-28T23:52:05.967Z] ---> Running in 73d48ea85639 [2024-05-28T23:52:05.967Z] Removing intermediate container 73d48ea85639 [2024-05-28T23:52:05.967Z] ---> 2b93d1f45eeb [2024-05-28T23:52:05.967Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-28T23:52:05.967Z] ---> Running in 9b5308c865c6 [2024-05-28T23:52:05.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T23:52:05.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T23:52:06.230Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-28T23:52:06.230Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-28T23:52:06.230Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-28T23:52:06.230Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-28T23:52:06.230Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T23:52:06.489Z] OK: 268 MiB in 56 packages [2024-05-28T23:52:06.752Z] Removing intermediate container 9b5308c865c6 [2024-05-28T23:52:06.752Z] ---> 2f6b1365aa37 [2024-05-28T23:52:06.752Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-28T23:52:07.009Z] ---> Running in c9fb194af76b [2024-05-28T23:52:07.009Z] Removing intermediate container c9fb194af76b [2024-05-28T23:52:07.009Z] ---> e4349464c321 [2024-05-28T23:52:07.009Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-28T23:52:07.009Z] ---> ac3f7648ced8 [2024-05-28T23:52:07.009Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T23:52:07.009Z] ---> Running in e81434d4e094 [2024-05-28T23:52:08.157Z] Still waiting to schedule task [2024-05-28T23:52:08.158Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-977’ [2024-05-28T23:52:53.700Z] Removing intermediate container e81434d4e094 [2024-05-28T23:52:53.700Z] ---> 8e67b83b9b5e [2024-05-28T23:52:53.700Z] Step 11/12 : COPY . . [2024-05-28T23:52:53.963Z] ---> 4f44c0834c8d [2024-05-28T23:52:53.963Z] Step 12/12 : RUN $MAKE [2024-05-28T23:52:53.963Z] ---> Running in 233d12efd6e4 [2024-05-28T23:52:54.222Z] noop [2024-05-28T23:52:54.481Z] Removing intermediate container 233d12efd6e4 [2024-05-28T23:52:54.481Z] ---> d3ef0c03bcec [2024-05-28T23:52:54.481Z] Successfully built d3ef0c03bcec [2024-05-28T23:52:54.481Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:52:54.810Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-28T23:52:54.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:52:54.898Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-28T23:52:54.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-28T23:52:55.253Z] $ docker top 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T23:52:55.595Z] + go version [2024-05-28T23:52:55.595Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-28T23:52:55.608Z] $ docker stop --time=1 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad [2024-05-28T23:52:56.865Z] $ docker rm -f --volumes 65c5112e3c557c9fe26333b2edcef3897aefc81395d94d14f5b6a1af972a2fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:52:57.321Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-28T23:52:57.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:52:57.408Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-28T23:52:57.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-28T23:52:57.750Z] $ docker top 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T23:52:58.100Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-28T23:52:58.401Z] + make test [2024-05-28T23:52:58.401Z] go test ./... -coverprofile=coverage.out ./... [2024-05-28T23:53:00.305Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-28T23:53:18.380Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-28T23:53:18.380Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2024-05-28T23:53:24.934Z] go vet ./... [2024-05-28T23:53:30.199Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-28T23:53:30.199Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-28T23:53:30.199Z] ./bin/test-attribution-txt.sh [2024-05-28T23:53:30.199Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.199Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-28T23:53:30.458Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-28T23:53:30.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-28T23:53:30.497Z] $ docker stop --time=1 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 [2024-05-28T23:53:35.223Z] $ docker rm -f --volumes 09c60090fe586f0c91dc5965dbe7146e6fe726b7b3a4c28e8fe5bc4606b85b40 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-28T23:53:35.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-28T23:53:35.816Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-28T23:53:36.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-28T23:53:36.575Z] + ls -al . [2024-05-28T23:53:36.575Z] total 248 [2024-05-28T23:53:36.575Z] drwxrwxr-x 9 jenkins jenkins 4096 May 28 23:52 . [2024-05-28T23:53:36.575Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:51 .. [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:51 .dockerignore [2024-05-28T23:53:36.575Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:53 .git [2024-05-28T23:53:36.575Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 .github [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 264 May 28 23:51 .gitignore [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:51 .golangci.yml [2024-05-28T23:53:36.575Z] drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:51 .semver [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 10300 May 28 23:51 Attribution.txt [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 28 23:51 CHANGELOG.md [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 28 23:51 Dockerfile [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:51 GOVERNANCE.md [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:51 Jenkinsfile [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:51 LICENSE [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 2016 May 28 23:51 Makefile [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 620 May 28 23:51 OWNERS.md [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 28 23:51 README.md [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION [2024-05-28T23:53:36.575Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:51 bin [2024-05-28T23:53:36.575Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 cmd [2024-05-28T23:53:36.575Z] -rw-r--r-- 1 jenkins jenkins 14499 May 28 23:53 coverage.out [2024-05-28T23:53:36.575Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:51 driver [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 7190 May 28 23:51 go.mod [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 101544 May 28 23:51 go.sum [2024-05-28T23:53:36.575Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:51 openapi [2024-05-28T23:53:36.575Z] -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:53:36.887Z] + 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=21994e07934c8f95cd7e226e9631b4cfe7f28119 --label arch=amd64 --label version=3.2.0-dev.13 . [2024-05-28T23:53:36.887Z] Sending build context to Docker daemon 18.19MB [2024-05-28T23:53:36.887Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T23:53:36.887Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-28T23:53:36.887Z] ---> d3ef0c03bcec [2024-05-28T23:53:36.887Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-28T23:53:37.455Z] ---> Running in 51dbe88d031b [2024-05-28T23:53:37.455Z] Removing intermediate container 51dbe88d031b [2024-05-28T23:53:37.455Z] ---> 95ff236d8f5e [2024-05-28T23:53:37.455Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-28T23:53:37.455Z] ---> Running in 29e3dbb3af53 [2024-05-28T23:53:37.455Z] Removing intermediate container 29e3dbb3af53 [2024-05-28T23:53:37.455Z] ---> 9f7aadf3a37f [2024-05-28T23:53:37.455Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-28T23:53:37.455Z] ---> Running in 090c248a238d [2024-05-28T23:53:37.455Z] Removing intermediate container 090c248a238d [2024-05-28T23:53:37.455Z] ---> 97cf90e2b55d [2024-05-28T23:53:37.455Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-28T23:53:37.455Z] ---> Running in 8ac959fa5d20 [2024-05-28T23:53:37.713Z] Removing intermediate container 8ac959fa5d20 [2024-05-28T23:53:37.713Z] ---> 31637bbffcf1 [2024-05-28T23:53:37.714Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-28T23:53:37.714Z] ---> Running in 74b0cabc28c4 [2024-05-28T23:53:37.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T23:53:37.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T23:53:38.232Z] OK: 268 MiB in 56 packages [2024-05-28T23:53:38.495Z] Removing intermediate container 74b0cabc28c4 [2024-05-28T23:53:38.495Z] ---> fe4c61442496 [2024-05-28T23:53:38.495Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-28T23:53:38.495Z] ---> Running in 5cb18b8b29da [2024-05-28T23:53:38.754Z] Removing intermediate container 5cb18b8b29da [2024-05-28T23:53:38.754Z] ---> 80f2edf11cbf [2024-05-28T23:53:38.754Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-28T23:53:38.754Z] ---> 33802c5a7a16 [2024-05-28T23:53:38.754Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T23:53:38.754Z] ---> Running in 882782d8aa2f [2024-05-28T23:53:39.320Z] Removing intermediate container 882782d8aa2f [2024-05-28T23:53:39.320Z] ---> d6b7ec28c530 [2024-05-28T23:53:39.320Z] Step 11/26 : COPY . . [2024-05-28T23:53:40.256Z] ---> 8628b5a28ec9 [2024-05-28T23:53:40.256Z] Step 12/26 : RUN $MAKE [2024-05-28T23:53:40.256Z] ---> Running in f54a165c9ff6 [2024-05-28T23:53:40.256Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-28T23:54:12.318Z] Removing intermediate container f54a165c9ff6 [2024-05-28T23:54:12.318Z] ---> 0a96944b599b [2024-05-28T23:54:12.318Z] Step 13/26 : FROM alpine:3.18 [2024-05-28T23:54:12.318Z] 3.18: Pulling from library/alpine [2024-05-28T23:54:12.318Z] 619be1103602: Already exists [2024-05-28T23:54:12.318Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-28T23:54:12.318Z] Status: Downloaded newer image for alpine:3.18 [2024-05-28T23:54:12.318Z] ---> d3782b16ccc9 [2024-05-28T23:54:12.318Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-28T23:54:12.318Z] ---> Running in 8c4a9f2fd592 [2024-05-28T23:54:12.318Z] Removing intermediate container 8c4a9f2fd592 [2024-05-28T23:54:12.318Z] ---> 29e69f9d3556 [2024-05-28T23:54:12.318Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-28T23:54:12.318Z] ---> Running in 925be26e948f [2024-05-28T23:54:12.318Z] Removing intermediate container 925be26e948f [2024-05-28T23:54:12.318Z] ---> 7d3b86d5fc96 [2024-05-28T23:54:12.318Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-28T23:54:12.318Z] ---> Running in 4069748a32ad [2024-05-28T23:54:12.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-28T23:54:12.319Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T23:54:12.319Z] OK: 7 MiB in 16 packages [2024-05-28T23:54:12.319Z] Removing intermediate container 4069748a32ad [2024-05-28T23:54:12.319Z] ---> 620d498ea4f6 [2024-05-28T23:54:12.319Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-28T23:54:12.319Z] ---> Running in cbe0af70a864 [2024-05-28T23:54:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] Upgrading critical system libraries and apk-tools: [2024-05-28T23:54:12.319Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-28T23:54:12.319Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T23:54:12.319Z] Continuing the upgrade transaction with new apk-tools: [2024-05-28T23:54:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-28T23:54:12.319Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T23:54:12.319Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-28T23:54:12.319Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T23:54:12.319Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-28T23:54:12.319Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T23:54:12.319Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-28T23:54:12.319Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-28T23:54:12.319Z] Executing busybox-1.36.1-r6.trigger [2024-05-28T23:54:12.319Z] OK: 7 MiB in 16 packages [2024-05-28T23:54:12.887Z] Removing intermediate container cbe0af70a864 [2024-05-28T23:54:12.888Z] ---> 58a7ad42be03 [2024-05-28T23:54:12.888Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-28T23:54:14.261Z] ---> 89d4c4b93b17 [2024-05-28T23:54:14.261Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-28T23:54:14.261Z] ---> 1f202e1e6b90 [2024-05-28T23:54:14.261Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-28T23:54:14.519Z] ---> 4573edac62ef [2024-05-28T23:54:14.519Z] Step 21/26 : EXPOSE 59986 [2024-05-28T23:54:14.519Z] ---> Running in 7265c94331c2 [2024-05-28T23:54:14.519Z] Removing intermediate container 7265c94331c2 [2024-05-28T23:54:14.519Z] ---> 830e7c401f3b [2024-05-28T23:54:14.519Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-28T23:54:14.519Z] ---> Running in da03b55e77d7 [2024-05-28T23:54:14.519Z] Removing intermediate container da03b55e77d7 [2024-05-28T23:54:14.519Z] ---> 4ad00353d3e3 [2024-05-28T23:54:14.519Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-28T23:54:14.519Z] ---> Running in f6aa93cd9a70 [2024-05-28T23:54:14.777Z] Removing intermediate container f6aa93cd9a70 [2024-05-28T23:54:14.777Z] ---> fcd6631de794 [2024-05-28T23:54:14.777Z] Step 24/26 : LABEL arch=amd64 [2024-05-28T23:54:14.777Z] ---> Running in b7d7e637e1ba [2024-05-28T23:54:14.777Z] Removing intermediate container b7d7e637e1ba [2024-05-28T23:54:14.777Z] ---> dee075eece2f [2024-05-28T23:54:14.777Z] Step 25/26 : LABEL git_sha=21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-28T23:54:14.777Z] ---> Running in 6390bddce68a [2024-05-28T23:54:14.777Z] Removing intermediate container 6390bddce68a [2024-05-28T23:54:14.777Z] ---> 6500c9272dc1 [2024-05-28T23:54:14.777Z] Step 26/26 : LABEL version=3.2.0-dev.13 [2024-05-28T23:54:14.777Z] ---> Running in 81f0a20a50d2 [2024-05-28T23:54:15.035Z] Removing intermediate container 81f0a20a50d2 [2024-05-28T23:54:15.035Z] ---> d3d2ec2d0d92 [2024-05-28T23:54:15.035Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-28T23:54:15.035Z] Successfully built d3d2ec2d0d92 [2024-05-28T23:54:15.035Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T23:54:15.179Z] provisioning config files... [2024-05-28T23:54:15.192Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config988851586829643740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:54:15.495Z] ---> ****-login.sh [2024-05-28T23:54:15.495Z] nexus3.edgexfoundry.org:10001 [2024-05-28T23:54:15.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:54:15.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:54:15.495Z] Configure a credential helper to remove this warning. See [2024-05-28T23:54:15.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:54:15.495Z] [2024-05-28T23:54:15.495Z] Login Succeeded [2024-05-28T23:54:15.495Z] nexus3.edgexfoundry.org:10002 [2024-05-28T23:54:15.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:54:15.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:54:15.496Z] Configure a credential helper to remove this warning. See [2024-05-28T23:54:15.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:54:15.496Z] [2024-05-28T23:54:15.496Z] Login Succeeded [2024-05-28T23:54:15.496Z] nexus3.edgexfoundry.org:10003 [2024-05-28T23:54:15.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:54:15.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:54:15.755Z] Configure a credential helper to remove this warning. See [2024-05-28T23:54:15.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:54:15.755Z] [2024-05-28T23:54:15.755Z] Login Succeeded [2024-05-28T23:54:15.755Z] nexus3.edgexfoundry.org:10004 [2024-05-28T23:54:15.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:54:15.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:54:15.755Z] Configure a credential helper to remove this warning. See [2024-05-28T23:54:15.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:54:15.755Z] [2024-05-28T23:54:15.755Z] Login Succeeded [2024-05-28T23:54:15.755Z] ****.io [2024-05-28T23:54:15.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:54:16.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:54:16.014Z] Configure a credential helper to remove this warning. See [2024-05-28T23:54:16.014Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:54:16.014Z] [2024-05-28T23:54:16.014Z] Login Succeeded [2024-05-28T23:54:16.014Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T23:54:16.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-28T23:54:16.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T23:54:16.106Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-05-28T23:54:16.106Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-28T23:54:16.106Z] latest [2024-05-28T23:54:16.106Z] 3.2.0-dev.13 [2024-05-28T23:54:16.106Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-28T23:54:16.106Z] main [2024-05-28T23:54:16.106Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:16.460Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:16.798Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-28T23:54:16.798Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-28T23:54:16.798Z] e40c66c3acc2: Preparing [2024-05-28T23:54:16.798Z] a4526f792b06: Preparing [2024-05-28T23:54:16.798Z] 3e0479a59c32: Preparing [2024-05-28T23:54:16.798Z] 60cd2b4124af: Preparing [2024-05-28T23:54:16.798Z] 34bcf458bec9: Preparing [2024-05-28T23:54:16.798Z] aedc3bda2944: Preparing [2024-05-28T23:54:16.798Z] a4526f792b06: Pushed [2024-05-28T23:54:16.798Z] e40c66c3acc2: Pushed [2024-05-28T23:54:16.798Z] 34bcf458bec9: Pushed [2024-05-28T23:54:16.798Z] aedc3bda2944: Layer already exists [2024-05-28T23:54:17.368Z] 60cd2b4124af: Pushed [2024-05-28T23:54:19.907Z] 3e0479a59c32: Pushed [2024-05-28T23:54:19.907Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:20.250Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:20.589Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-05-28T23:54:20.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-28T23:54:20.589Z] e40c66c3acc2: Preparing [2024-05-28T23:54:20.589Z] a4526f792b06: Preparing [2024-05-28T23:54:20.589Z] 3e0479a59c32: Preparing [2024-05-28T23:54:20.589Z] 60cd2b4124af: Preparing [2024-05-28T23:54:20.589Z] 34bcf458bec9: Preparing [2024-05-28T23:54:20.589Z] aedc3bda2944: Preparing [2024-05-28T23:54:20.589Z] aedc3bda2944: Waiting [2024-05-28T23:54:20.589Z] 34bcf458bec9: Layer already exists [2024-05-28T23:54:20.589Z] a4526f792b06: Layer already exists [2024-05-28T23:54:20.589Z] 3e0479a59c32: Layer already exists [2024-05-28T23:54:20.589Z] 60cd2b4124af: Layer already exists [2024-05-28T23:54:20.589Z] e40c66c3acc2: Layer already exists [2024-05-28T23:54:20.589Z] aedc3bda2944: Layer already exists [2024-05-28T23:54:20.589Z] latest: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:20.924Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:21.240Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 [2024-05-28T23:54:21.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-28T23:54:21.241Z] e40c66c3acc2: Preparing [2024-05-28T23:54:21.241Z] a4526f792b06: Preparing [2024-05-28T23:54:21.241Z] 3e0479a59c32: Preparing [2024-05-28T23:54:21.241Z] 60cd2b4124af: Preparing [2024-05-28T23:54:21.241Z] 34bcf458bec9: Preparing [2024-05-28T23:54:21.241Z] aedc3bda2944: Preparing [2024-05-28T23:54:21.241Z] aedc3bda2944: Waiting [2024-05-28T23:54:21.241Z] 34bcf458bec9: Layer already exists [2024-05-28T23:54:21.241Z] 3e0479a59c32: Layer already exists [2024-05-28T23:54:21.241Z] a4526f792b06: Layer already exists [2024-05-28T23:54:21.241Z] 60cd2b4124af: Layer already exists [2024-05-28T23:54:21.241Z] e40c66c3acc2: Layer already exists [2024-05-28T23:54:21.241Z] aedc3bda2944: Layer already exists [2024-05-28T23:54:21.241Z] 3.2.0-dev.13: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:21.557Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:21.908Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-28T23:54:21.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-28T23:54:21.908Z] e40c66c3acc2: Preparing [2024-05-28T23:54:21.908Z] a4526f792b06: Preparing [2024-05-28T23:54:21.908Z] 3e0479a59c32: Preparing [2024-05-28T23:54:21.908Z] 60cd2b4124af: Preparing [2024-05-28T23:54:21.908Z] 34bcf458bec9: Preparing [2024-05-28T23:54:21.908Z] aedc3bda2944: Preparing [2024-05-28T23:54:21.908Z] 3e0479a59c32: Layer already exists [2024-05-28T23:54:21.908Z] 60cd2b4124af: Layer already exists [2024-05-28T23:54:21.908Z] a4526f792b06: Layer already exists [2024-05-28T23:54:21.908Z] e40c66c3acc2: Layer already exists [2024-05-28T23:54:21.908Z] 34bcf458bec9: Layer already exists [2024-05-28T23:54:21.908Z] aedc3bda2944: Layer already exists [2024-05-28T23:54:21.908Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:22.241Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:22.587Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-05-28T23:54:22.587Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-28T23:54:22.587Z] e40c66c3acc2: Preparing [2024-05-28T23:54:22.587Z] a4526f792b06: Preparing [2024-05-28T23:54:22.587Z] 3e0479a59c32: Preparing [2024-05-28T23:54:22.587Z] 60cd2b4124af: Preparing [2024-05-28T23:54:22.587Z] 34bcf458bec9: Preparing [2024-05-28T23:54:22.587Z] aedc3bda2944: Preparing [2024-05-28T23:54:22.587Z] aedc3bda2944: Waiting [2024-05-28T23:54:22.587Z] a4526f792b06: Layer already exists [2024-05-28T23:54:22.587Z] 3e0479a59c32: Layer already exists [2024-05-28T23:54:22.587Z] 60cd2b4124af: Layer already exists [2024-05-28T23:54:22.587Z] e40c66c3acc2: Layer already exists [2024-05-28T23:54:22.587Z] 34bcf458bec9: Layer already exists [2024-05-28T23:54:22.587Z] aedc3bda2944: Layer already exists [2024-05-28T23:54:22.587Z] main: digest: sha256:ef1a2d32451137c563c2d18f7fa3e6401dc2809b1a18b7d30fdc15da81bc683b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-28T23:54:22.674Z] ===================================================== [Pipeline] echo [2024-05-28T23:54:22.684Z] taggedImages: [2024-05-28T23:54:22.684Z] - nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-28T23:54:22.684Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-05-28T23:54:22.684Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.13 [2024-05-28T23:54:22.684Z] - nexus3.edgexfoundry.org:10004/device-rest:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-28T23:54:22.684Z] - 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-05-28T23:54:23.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T23:54:23.175Z] [2024-05-28T23:54:23.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:54:23.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T23:54:23.482Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-28T23:54:23.482Z] 5eb5b503b376: Pulling fs layer [2024-05-28T23:54:23.482Z] 5c69ac0246d0: Pulling fs layer [2024-05-28T23:54:23.482Z] ec43610c2a17: Pulling fs layer [2024-05-28T23:54:23.482Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-28T23:54:23.482Z] 33b1e0a273af: Pulling fs layer [2024-05-28T23:54:23.482Z] 5d3b04190fa2: Pulling fs layer [2024-05-28T23:54:23.482Z] 2f39f015ded8: Pulling fs layer [2024-05-28T23:54:23.482Z] 3a2ae6a8a46f: Waiting [2024-05-28T23:54:23.482Z] 33b1e0a273af: Waiting [2024-05-28T23:54:23.482Z] 5d3b04190fa2: Waiting [2024-05-28T23:54:23.482Z] 2f39f015ded8: Waiting [2024-05-28T23:54:23.482Z] 5c69ac0246d0: Verifying Checksum [2024-05-28T23:54:23.482Z] 5c69ac0246d0: Download complete [2024-05-28T23:54:23.482Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-28T23:54:23.482Z] 3a2ae6a8a46f: Download complete [2024-05-28T23:54:23.482Z] 33b1e0a273af: Verifying Checksum [2024-05-28T23:54:23.482Z] 33b1e0a273af: Download complete [2024-05-28T23:54:23.482Z] 5d3b04190fa2: Verifying Checksum [2024-05-28T23:54:23.482Z] 5d3b04190fa2: Download complete [2024-05-28T23:54:23.482Z] ec43610c2a17: Verifying Checksum [2024-05-28T23:54:23.482Z] ec43610c2a17: Download complete [2024-05-28T23:54:23.741Z] 5eb5b503b376: Download complete [2024-05-28T23:54:24.307Z] 2f39f015ded8: Download complete [2024-05-28T23:54:24.565Z] 5eb5b503b376: Pull complete [2024-05-28T23:54:24.823Z] 5c69ac0246d0: Pull complete [2024-05-28T23:54:25.421Z] ec43610c2a17: Pull complete [2024-05-28T23:54:25.421Z] 3a2ae6a8a46f: Pull complete [2024-05-28T23:54:25.421Z] 33b1e0a273af: Pull complete [2024-05-28T23:54:25.680Z] 5d3b04190fa2: Pull complete [2024-05-28T23:54:29.908Z] 2f39f015ded8: Pull complete [2024-05-28T23:54:29.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-28T23:54:29.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-28T23:54:29.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:54:30.005Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-28T23:54:30.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-28T23:54:34.781Z] $ docker top 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:54:35.155Z] ---> job-cost.sh [2024-05-28T23:54:35.155Z] lf-activate-venv: SKIPPING [2024-05-28T23:54:35.155Z] INFO: No Stack... [2024-05-28T23:54:35.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-28T23:54:35.983Z] INFO: Archiving Costs [Pipeline] sh [2024-05-28T23:54:36.278Z] + cut -d, -f6 [2024-05-28T23:54:36.278Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2024-05-28T23:54:36.292Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [2024-05-28T23:54:36.301Z] Resource [jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] did not exist. Created. [2024-05-28T23:54:36.308Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-28T23:54:36.628Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-28T23:54:36.663Z] Stashed 1 file(s) [Pipeline] } [2024-05-28T23:54:36.672Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-28T23:54:36.698Z] $ docker stop --time=1 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 [2024-05-28T23:54:37.850Z] $ docker rm -f --volumes 9a18cff981d29dc8d3d0beaa56a483c781e8e5fb84b49153b2f61f1548f6a674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-28T23:54:56.395Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-980 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-05-28T23:54:56.415Z] Running in /w/workspace/device-rest-go/165 [Pipeline] { [Pipeline] checkout [2024-05-28T23:54:56.460Z] The recommended git tool is: git [2024-05-28T23:55:05.390Z] using credential edgex-jenkins-ssh [2024-05-28T23:55:05.418Z] Cloning the remote Git repository [2024-05-28T23:55:05.476Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-05-28T23:55:05.602Z] > git init /w/workspace/device-rest-go/165 # timeout=10 [2024-05-28T23:55:05.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-05-28T23:55:05.852Z] > git --version # timeout=10 [2024-05-28T23:55:05.894Z] > git --version # 'git version 2.25.1' [2024-05-28T23:55:05.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-28T23:55:06.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-28T23:55:09.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-05-28T23:55:09.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-28T23:55:11.352Z] Avoid second fetch [2024-05-28T23:55:11.353Z] Checking out Revision 21994e07934c8f95cd7e226e9631b4cfe7f28119 (main) [2024-05-28T23:55:11.380Z] > git config core.sparsecheckout # timeout=10 [2024-05-28T23:55:11.502Z] > git checkout -f 21994e07934c8f95cd7e226e9631b4cfe7f28119 # timeout=10 [2024-05-28T23:55:12.283Z] Commit message: "Merge pull request #392 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-28T23:55:17.088Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-28T23:55:17.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-28T23:55:17.089Z] Dload Upload Total Spent Left Speed [2024-05-28T23:55:17.089Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-05-28T23:55:17.450Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-28T23:55:17.794Z] + sudo tee /etc/docker/daemon.new [2024-05-28T23:55:17.794Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-28T23:55:17.794Z] { [2024-05-28T23:55:17.794Z] "registry-mirrors": [ [2024-05-28T23:55:17.794Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-28T23:55:17.794Z] ], [2024-05-28T23:55:17.794Z] "bip": "10.250.0.254/24", [2024-05-28T23:55:17.794Z] "hosts": [ [2024-05-28T23:55:17.794Z] "tcp://0.0.0.0:5555", [2024-05-28T23:55:17.794Z] "unix:///var/run/docker.sock" [2024-05-28T23:55:17.794Z] ], [2024-05-28T23:55:17.794Z] "mtu": 1458, [2024-05-28T23:55:17.794Z] "selinux-enabled": true, [2024-05-28T23:55:17.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-28T23:55:17.794Z] } [Pipeline] sh [2024-05-28T23:55:18.147Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-28T23:55:18.510Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-28T23:55:36.842Z] provisioning config files... [2024-05-28T23:55:36.884Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/165@tmp/config3974262083630792314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-28T23:55:37.388Z] ---> ****-login.sh [2024-05-28T23:55:37.388Z] nexus3.edgexfoundry.org:10001 [2024-05-28T23:55:37.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:55:38.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:55:38.966Z] Configure a credential helper to remove this warning. See [2024-05-28T23:55:38.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:55:38.966Z] [2024-05-28T23:55:38.967Z] Login Succeeded [2024-05-28T23:55:38.967Z] nexus3.edgexfoundry.org:10002 [2024-05-28T23:55:39.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:55:39.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:55:39.576Z] Configure a credential helper to remove this warning. See [2024-05-28T23:55:39.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:55:39.576Z] [2024-05-28T23:55:39.576Z] Login Succeeded [2024-05-28T23:55:39.576Z] nexus3.edgexfoundry.org:10003 [2024-05-28T23:55:39.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:55:39.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:55:39.851Z] Configure a credential helper to remove this warning. See [2024-05-28T23:55:39.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:55:39.851Z] [2024-05-28T23:55:39.851Z] Login Succeeded [2024-05-28T23:55:39.851Z] nexus3.edgexfoundry.org:10004 [2024-05-28T23:55:40.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:55:40.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:55:40.412Z] Configure a credential helper to remove this warning. See [2024-05-28T23:55:40.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:55:40.412Z] [2024-05-28T23:55:40.412Z] Login Succeeded [2024-05-28T23:55:40.412Z] ****.io [2024-05-28T23:55:40.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-28T23:55:40.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-28T23:55:40.962Z] Configure a credential helper to remove this warning. See [2024-05-28T23:55:40.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-28T23:55:40.962Z] [2024-05-28T23:55:40.962Z] Login Succeeded [2024-05-28T23:55:40.962Z] ---> ****-login.sh ends [Pipeline] } [2024-05-28T23:55:40.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-28T23:55:41.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T23:55:41.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-28T23:55:41.449Z] ========================================================= [2024-05-28T23:55:41.449Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-28T23:55:41.449Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:55:41.837Z] + 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-05-28T23:55:41.837Z] Sending build context to Docker daemon 131.1kB [2024-05-28T23:55:42.110Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-28T23:55:42.110Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-28T23:55:42.383Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-28T23:55:42.383Z] c6b39de5b339: Pulling fs layer [2024-05-28T23:55:42.383Z] a69c41024577: Pulling fs layer [2024-05-28T23:55:42.383Z] d6de4b400683: Pulling fs layer [2024-05-28T23:55:42.383Z] 35cb2a7552d0: Pulling fs layer [2024-05-28T23:55:42.383Z] 4f4fb700ef54: Pulling fs layer [2024-05-28T23:55:42.383Z] 464afbd9ba4c: Pulling fs layer [2024-05-28T23:55:42.383Z] 00f215d4a9da: Pulling fs layer [2024-05-28T23:55:42.383Z] d496ad576159: Pulling fs layer [2024-05-28T23:55:42.383Z] 4f4fb700ef54: Waiting [2024-05-28T23:55:42.383Z] 464afbd9ba4c: Waiting [2024-05-28T23:55:42.383Z] 00f215d4a9da: Waiting [2024-05-28T23:55:42.383Z] d496ad576159: Waiting [2024-05-28T23:55:42.383Z] 35cb2a7552d0: Waiting [2024-05-28T23:55:42.383Z] a69c41024577: Verifying Checksum [2024-05-28T23:55:42.383Z] a69c41024577: Download complete [2024-05-28T23:55:42.383Z] 4f4fb700ef54: Verifying Checksum [2024-05-28T23:55:42.383Z] 4f4fb700ef54: Download complete [2024-05-28T23:55:42.383Z] c6b39de5b339: Verifying Checksum [2024-05-28T23:55:42.383Z] c6b39de5b339: Download complete [2024-05-28T23:55:42.383Z] 464afbd9ba4c: Verifying Checksum [2024-05-28T23:55:42.383Z] 464afbd9ba4c: Download complete [2024-05-28T23:55:42.976Z] d496ad576159: Verifying Checksum [2024-05-28T23:55:42.976Z] d496ad576159: Download complete [2024-05-28T23:55:43.572Z] c6b39de5b339: Pull complete [2024-05-28T23:55:44.171Z] a69c41024577: Pull complete [2024-05-28T23:55:44.448Z] d6de4b400683: Verifying Checksum [2024-05-28T23:55:44.448Z] d6de4b400683: Download complete [2024-05-28T23:55:45.879Z] 00f215d4a9da: Verifying Checksum [2024-05-28T23:55:45.879Z] 00f215d4a9da: Download complete [2024-05-28T23:55:58.235Z] d6de4b400683: Pull complete [2024-05-28T23:55:58.235Z] 35cb2a7552d0: Pull complete [2024-05-28T23:55:58.235Z] 4f4fb700ef54: Pull complete [2024-05-28T23:55:58.235Z] 464afbd9ba4c: Pull complete [2024-05-28T23:56:08.344Z] 00f215d4a9da: Pull complete [2024-05-28T23:56:08.344Z] d496ad576159: Pull complete [2024-05-28T23:56:08.344Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-28T23:56:08.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-28T23:56:08.625Z] ---> f246e2811388 [2024-05-28T23:56:08.625Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-28T23:56:09.596Z] ---> Running in cc6faa16d982 [2024-05-28T23:56:09.865Z] Removing intermediate container cc6faa16d982 [2024-05-28T23:56:09.865Z] ---> 7ead4099b4c0 [2024-05-28T23:56:09.865Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-28T23:56:09.865Z] ---> Running in b365055cdfca [2024-05-28T23:56:10.134Z] Removing intermediate container b365055cdfca [2024-05-28T23:56:10.134Z] ---> 4e98c0ce42d2 [2024-05-28T23:56:10.134Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-28T23:56:10.134Z] ---> Running in 32e502f6856b [2024-05-28T23:56:10.404Z] Removing intermediate container 32e502f6856b [2024-05-28T23:56:10.404Z] ---> e89d9542c437 [2024-05-28T23:56:10.404Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-28T23:56:10.673Z] ---> Running in c8dd35c1a4d5 [2024-05-28T23:56:10.944Z] Removing intermediate container c8dd35c1a4d5 [2024-05-28T23:56:10.944Z] ---> f9639929d60c [2024-05-28T23:56:10.944Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-28T23:56:10.944Z] ---> Running in ad7753c13b6b [2024-05-28T23:56:12.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-28T23:56:12.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-28T23:56:14.046Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-28T23:56:14.046Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-28T23:56:14.046Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-28T23:56:14.046Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-28T23:56:14.046Z] Executing busybox-1.36.1-r5.trigger [2024-05-28T23:56:14.046Z] OK: 271 MiB in 56 packages [2024-05-28T23:56:15.484Z] Removing intermediate container ad7753c13b6b [2024-05-28T23:56:15.484Z] ---> 0c99ab28d9f0 [2024-05-28T23:56:15.484Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-28T23:56:15.484Z] ---> Running in 93b0302262d6 [2024-05-28T23:56:15.758Z] Removing intermediate container 93b0302262d6 [2024-05-28T23:56:15.758Z] ---> bc3c260b361a [2024-05-28T23:56:15.758Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-28T23:56:16.345Z] ---> 93db9217d88c [2024-05-28T23:56:16.345Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-28T23:56:16.345Z] ---> Running in 0770b3f491b4 [2024-05-28T23:58:08.085Z] Removing intermediate container 0770b3f491b4 [2024-05-28T23:58:08.085Z] ---> b96839e233f3 [2024-05-28T23:58:08.085Z] Step 11/12 : COPY . . [2024-05-28T23:58:08.357Z] ---> 7752fc172d8a [2024-05-28T23:58:08.357Z] Step 12/12 : RUN $MAKE [2024-05-28T23:58:08.357Z] ---> Running in 561c01bc0156 [2024-05-28T23:58:09.783Z] noop [2024-05-28T23:58:10.371Z] Removing intermediate container 561c01bc0156 [2024-05-28T23:58:10.371Z] ---> fa7ef6d6547c [2024-05-28T23:58:10.371Z] Successfully built fa7ef6d6547c [2024-05-28T23:58:10.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:58:10.752Z] + docker inspect -f . ci-base-image-arm64 [2024-05-28T23:58:10.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:58:11.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container [2024-05-28T23:58:11.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-28T23:58:12.427Z] $ docker top 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T23:58:13.340Z] + go version [2024-05-28T23:58:13.340Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-28T23:58:13.355Z] $ docker stop --time=1 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 [2024-05-28T23:58:15.072Z] $ docker rm -f --volumes 7b6fa0b977b9edc4cf419484b188b51c83395b95e162b944ebd5962dc76bdce0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-28T23:58:15.695Z] + docker inspect -f . ci-base-image-arm64 [2024-05-28T23:58:15.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-28T23:58:15.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container [2024-05-28T23:58:15.995Z] $ 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/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-28T23:58:17.342Z] $ docker top 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-28T23:58:18.241Z] + git config --global --add safe.directory /w/workspace/device-rest-go/165 [Pipeline] fileExists [Pipeline] sh [2024-05-28T23:58:18.930Z] + make test [2024-05-28T23:58:18.930Z] go test ./... -coverprofile=coverage.out ./... [2024-05-28T23:58:25.617Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-29T00:02:02.501Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-29T00:02:09.179Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.2% of statements [2024-05-29T00:02:09.767Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T00:02:09.767Z] go vet ./... [2024-05-29T00:03:06.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T00:03:06.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T00:03:06.228Z] ./bin/test-attribution-txt.sh [2024-05-29T00:03:06.228Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-29T00:03:06.228Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-29T00:03:06.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-29T00:03:06.255Z] $ docker stop --time=1 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d [2024-05-29T00:03:08.251Z] $ docker rm -f --volumes 8789c8ec3d0491253bf3047f2550f5e1a1faf075e12612d7984f2f821f5c4f1d [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T00:03:09.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T00:03:09.889Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T00:03:10.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T00:03:10.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T00:03:11.340Z] + ls -al . [2024-05-29T00:03:11.341Z] total 244 [2024-05-29T00:03:11.341Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:58 . [2024-05-29T00:03:11.341Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 23:55 .. [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 151 May 28 23:55 .dockerignore [2024-05-29T00:03:11.341Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 23:55 .git [2024-05-29T00:03:11.341Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 .github [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 264 May 28 23:55 .gitignore [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 41 May 28 23:55 .golangci.yml [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 10300 May 28 23:55 Attribution.txt [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 28 23:55 CHANGELOG.md [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 28 23:55 Dockerfile [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 677 May 28 23:55 GOVERNANCE.md [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 680 May 28 23:55 Jenkinsfile [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 28 23:55 LICENSE [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 2016 May 28 23:55 Makefile [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 620 May 28 23:55 OWNERS.md [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 28 23:55 README.md [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 12 May 28 23:51 VERSION [2024-05-29T00:03:11.341Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:55 bin [2024-05-29T00:03:11.341Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 cmd [2024-05-29T00:03:11.341Z] -rw-r--r-- 1 jenkins jenkins 14499 May 29 00:02 coverage.out [2024-05-29T00:03:11.341Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 23:55 driver [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 7190 May 28 23:55 go.mod [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 101544 May 28 23:55 go.sum [2024-05-29T00:03:11.341Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 23:55 openapi [2024-05-29T00:03:11.341Z] -rw-rw-r-- 1 jenkins jenkins 713 May 28 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:03:11.723Z] + 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=21994e07934c8f95cd7e226e9631b4cfe7f28119 --label arch=arm64 --label version=3.2.0-dev.13 . [2024-05-29T00:03:11.723Z] Sending build context to Docker daemon 146.4kB [2024-05-29T00:03:12.003Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T00:03:12.003Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T00:03:12.003Z] ---> fa7ef6d6547c [2024-05-29T00:03:12.003Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T00:03:12.003Z] ---> Running in 68c6e090445a [2024-05-29T00:03:12.595Z] Removing intermediate container 68c6e090445a [2024-05-29T00:03:12.595Z] ---> a3501b7176f0 [2024-05-29T00:03:12.595Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T00:03:12.595Z] ---> Running in 57f57e2040a5 [2024-05-29T00:03:12.863Z] Removing intermediate container 57f57e2040a5 [2024-05-29T00:03:12.863Z] ---> a86e9b2b4120 [2024-05-29T00:03:12.863Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-29T00:03:12.863Z] ---> Running in c84050224a91 [2024-05-29T00:03:13.449Z] Removing intermediate container c84050224a91 [2024-05-29T00:03:13.449Z] ---> 63e2f417938c [2024-05-29T00:03:13.449Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T00:03:13.449Z] ---> Running in 05241fce214f [2024-05-29T00:03:13.716Z] Removing intermediate container 05241fce214f [2024-05-29T00:03:13.716Z] ---> d7fca039dd20 [2024-05-29T00:03:13.716Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T00:03:13.716Z] ---> Running in 1ddb9e32caed [2024-05-29T00:03:15.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T00:03:15.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T00:03:16.365Z] OK: 271 MiB in 56 packages [2024-05-29T00:03:17.333Z] Removing intermediate container 1ddb9e32caed [2024-05-29T00:03:17.333Z] ---> a9c5e613ac7f [2024-05-29T00:03:17.333Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-29T00:03:17.333Z] ---> Running in 2f911fde3014 [2024-05-29T00:03:17.921Z] Removing intermediate container 2f911fde3014 [2024-05-29T00:03:17.921Z] ---> 8b830bb8199b [2024-05-29T00:03:17.921Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-29T00:03:18.188Z] ---> 6fc2f0321394 [2024-05-29T00:03:18.188Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T00:03:18.459Z] ---> Running in a4d51577cc66 [2024-05-29T00:03:21.055Z] Removing intermediate container a4d51577cc66 [2024-05-29T00:03:21.055Z] ---> 2117324f7033 [2024-05-29T00:03:21.055Z] Step 11/26 : COPY . . [2024-05-29T00:03:21.328Z] ---> b1d8c2df00d6 [2024-05-29T00:03:21.328Z] Step 12/26 : RUN $MAKE [2024-05-29T00:03:21.328Z] ---> Running in 2a1d2ba74e0d [2024-05-29T00:03:22.744Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-29T00:06:59.556Z] Removing intermediate container 2a1d2ba74e0d [2024-05-29T00:06:59.556Z] ---> 47f2f0d122be [2024-05-29T00:06:59.556Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T00:06:59.556Z] 3.18: Pulling from library/alpine [2024-05-29T00:06:59.556Z] c6b39de5b339: Already exists [2024-05-29T00:06:59.556Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T00:06:59.556Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T00:06:59.556Z] ---> 33abbf032149 [2024-05-29T00:06:59.556Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-29T00:06:59.556Z] ---> Running in 64d06981932e [2024-05-29T00:06:59.556Z] Removing intermediate container 64d06981932e [2024-05-29T00:06:59.556Z] ---> c07477b9a7f0 [2024-05-29T00:06:59.556Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-29T00:06:59.556Z] ---> Running in 36bb84cd3c8e [2024-05-29T00:06:59.824Z] Removing intermediate container 36bb84cd3c8e [2024-05-29T00:06:59.824Z] ---> 80a970c3050c [2024-05-29T00:06:59.824Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T00:06:59.824Z] ---> Running in d23fda6a6305 [2024-05-29T00:07:00.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:01.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:02.015Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T00:07:02.015Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T00:07:02.015Z] OK: 8 MiB in 16 packages [2024-05-29T00:07:02.979Z] Removing intermediate container d23fda6a6305 [2024-05-29T00:07:02.979Z] ---> 0b941e36c7bc [2024-05-29T00:07:02.979Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-29T00:07:02.979Z] ---> Running in 4189059c2b7f [2024-05-29T00:07:03.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:04.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:05.482Z] Upgrading critical system libraries and apk-tools: [2024-05-29T00:07:05.482Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T00:07:05.482Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T00:07:05.746Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T00:07:05.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:06.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T00:07:06.960Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T00:07:06.960Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T00:07:06.960Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T00:07:06.960Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T00:07:06.960Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T00:07:06.960Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T00:07:06.960Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T00:07:06.960Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T00:07:07.227Z] OK: 8 MiB in 16 packages [2024-05-29T00:07:08.190Z] Removing intermediate container 4189059c2b7f [2024-05-29T00:07:08.190Z] ---> 841fa291b73d [2024-05-29T00:07:08.190Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-29T00:07:10.123Z] ---> 21fcc4867349 [2024-05-29T00:07:10.123Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-29T00:07:10.123Z] ---> 8c65e67e39a8 [2024-05-29T00:07:10.123Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-29T00:07:11.086Z] ---> 337b470f15c4 [2024-05-29T00:07:11.086Z] Step 21/26 : EXPOSE 59986 [2024-05-29T00:07:11.086Z] ---> Running in a701ebcc3976 [2024-05-29T00:07:11.353Z] Removing intermediate container a701ebcc3976 [2024-05-29T00:07:11.353Z] ---> b5c378b7874f [2024-05-29T00:07:11.353Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-29T00:07:11.353Z] ---> Running in e993f6bf8cda [2024-05-29T00:07:11.619Z] Removing intermediate container e993f6bf8cda [2024-05-29T00:07:11.619Z] ---> 83e3677ee542 [2024-05-29T00:07:11.619Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-29T00:07:11.884Z] ---> Running in fbefb2fdc7e2 [2024-05-29T00:07:12.175Z] Removing intermediate container fbefb2fdc7e2 [2024-05-29T00:07:12.175Z] ---> a905adfe6603 [2024-05-29T00:07:12.175Z] Step 24/26 : LABEL arch=arm64 [2024-05-29T00:07:12.175Z] ---> Running in 15fc02bdf9fd [2024-05-29T00:07:12.445Z] Removing intermediate container 15fc02bdf9fd [2024-05-29T00:07:12.445Z] ---> 40ee794de1b5 [2024-05-29T00:07:12.445Z] Step 25/26 : LABEL git_sha=21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-29T00:07:12.445Z] ---> Running in 7d48fe2886c8 [2024-05-29T00:07:12.714Z] Removing intermediate container 7d48fe2886c8 [2024-05-29T00:07:12.714Z] ---> 01e619ba7a07 [2024-05-29T00:07:12.714Z] Step 26/26 : LABEL version=3.2.0-dev.13 [2024-05-29T00:07:12.982Z] ---> Running in 05bb3451fd7b [2024-05-29T00:07:13.248Z] Removing intermediate container 05bb3451fd7b [2024-05-29T00:07:13.248Z] ---> 80942b9d8589 [2024-05-29T00:07:13.248Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T00:07:13.248Z] Successfully built 80942b9d8589 [2024-05-29T00:07:13.248Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T00:07:13.440Z] provisioning config files... [2024-05-29T00:07:13.455Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/165@tmp/config1158163527640028203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:07:13.871Z] ---> ****-login.sh [2024-05-29T00:07:13.871Z] nexus3.edgexfoundry.org:10001 [2024-05-29T00:07:13.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T00:07:14.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T00:07:14.143Z] Configure a credential helper to remove this warning. See [2024-05-29T00:07:14.143Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T00:07:14.143Z] [2024-05-29T00:07:14.143Z] Login Succeeded [2024-05-29T00:07:14.143Z] nexus3.edgexfoundry.org:10002 [2024-05-29T00:07:14.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T00:07:14.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T00:07:14.411Z] Configure a credential helper to remove this warning. See [2024-05-29T00:07:14.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T00:07:14.411Z] [2024-05-29T00:07:14.411Z] Login Succeeded [2024-05-29T00:07:14.411Z] nexus3.edgexfoundry.org:10003 [2024-05-29T00:07:14.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T00:07:14.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T00:07:14.944Z] Configure a credential helper to remove this warning. See [2024-05-29T00:07:14.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T00:07:14.944Z] [2024-05-29T00:07:14.944Z] Login Succeeded [2024-05-29T00:07:14.944Z] nexus3.edgexfoundry.org:10004 [2024-05-29T00:07:14.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T00:07:15.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T00:07:15.212Z] Configure a credential helper to remove this warning. See [2024-05-29T00:07:15.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T00:07:15.212Z] [2024-05-29T00:07:15.212Z] Login Succeeded [2024-05-29T00:07:15.212Z] ****.io [2024-05-29T00:07:15.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T00:07:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T00:07:15.746Z] Configure a credential helper to remove this warning. See [2024-05-29T00:07:15.746Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T00:07:15.746Z] [2024-05-29T00:07:15.746Z] Login Succeeded [2024-05-29T00:07:15.746Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T00:07:15.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-29T00:07:15.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T00:07:15.858Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-05-29T00:07:15.858Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-29T00:07:15.858Z] latest [2024-05-29T00:07:15.858Z] 3.2.0-dev.13 [2024-05-29T00:07:15.858Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-29T00:07:15.858Z] main [2024-05-29T00:07:15.858Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:16.238Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:16.596Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-29T00:07:16.596Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-29T00:07:16.596Z] f081bae8c50f: Preparing [2024-05-29T00:07:16.596Z] 204ef747b55a: Preparing [2024-05-29T00:07:16.596Z] 9649255ea009: Preparing [2024-05-29T00:07:16.596Z] 517685c3bfeb: Preparing [2024-05-29T00:07:16.596Z] 008792777513: Preparing [2024-05-29T00:07:16.596Z] 7c504f21be85: Preparing [2024-05-29T00:07:16.596Z] 7c504f21be85: Waiting [2024-05-29T00:07:16.862Z] f081bae8c50f: Pushed [2024-05-29T00:07:16.862Z] 204ef747b55a: Pushed [2024-05-29T00:07:16.862Z] 7c504f21be85: Layer already exists [2024-05-29T00:07:16.862Z] 008792777513: Pushed [2024-05-29T00:07:18.267Z] 517685c3bfeb: Pushed [2024-05-29T00:07:23.593Z] 9649255ea009: Pushed [2024-05-29T00:07:23.593Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:23.954Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:24.313Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-05-29T00:07:24.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-29T00:07:24.313Z] f081bae8c50f: Preparing [2024-05-29T00:07:24.313Z] 204ef747b55a: Preparing [2024-05-29T00:07:24.313Z] 9649255ea009: Preparing [2024-05-29T00:07:24.313Z] 517685c3bfeb: Preparing [2024-05-29T00:07:24.313Z] 008792777513: Preparing [2024-05-29T00:07:24.313Z] 7c504f21be85: Preparing [2024-05-29T00:07:24.313Z] 7c504f21be85: Waiting [2024-05-29T00:07:24.313Z] 9649255ea009: Layer already exists [2024-05-29T00:07:24.313Z] 008792777513: Layer already exists [2024-05-29T00:07:24.313Z] f081bae8c50f: Layer already exists [2024-05-29T00:07:24.313Z] 517685c3bfeb: Layer already exists [2024-05-29T00:07:24.313Z] 204ef747b55a: Layer already exists [2024-05-29T00:07:24.313Z] 7c504f21be85: Layer already exists [2024-05-29T00:07:24.578Z] latest: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:24.927Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:25.295Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 [2024-05-29T00:07:25.295Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-29T00:07:25.295Z] f081bae8c50f: Preparing [2024-05-29T00:07:25.295Z] 204ef747b55a: Preparing [2024-05-29T00:07:25.295Z] 9649255ea009: Preparing [2024-05-29T00:07:25.295Z] 517685c3bfeb: Preparing [2024-05-29T00:07:25.295Z] 008792777513: Preparing [2024-05-29T00:07:25.295Z] 7c504f21be85: Preparing [2024-05-29T00:07:25.295Z] 7c504f21be85: Waiting [2024-05-29T00:07:25.295Z] 517685c3bfeb: Layer already exists [2024-05-29T00:07:25.295Z] 008792777513: Layer already exists [2024-05-29T00:07:25.295Z] 204ef747b55a: Layer already exists [2024-05-29T00:07:25.295Z] f081bae8c50f: Layer already exists [2024-05-29T00:07:25.295Z] 9649255ea009: Layer already exists [2024-05-29T00:07:25.295Z] 7c504f21be85: Layer already exists [2024-05-29T00:07:25.560Z] 3.2.0-dev.13: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:25.922Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:26.263Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-29T00:07:26.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-29T00:07:26.263Z] f081bae8c50f: Preparing [2024-05-29T00:07:26.263Z] 204ef747b55a: Preparing [2024-05-29T00:07:26.263Z] 9649255ea009: Preparing [2024-05-29T00:07:26.263Z] 517685c3bfeb: Preparing [2024-05-29T00:07:26.263Z] 008792777513: Preparing [2024-05-29T00:07:26.263Z] 7c504f21be85: Preparing [2024-05-29T00:07:26.263Z] 7c504f21be85: Waiting [2024-05-29T00:07:26.263Z] 008792777513: Layer already exists [2024-05-29T00:07:26.263Z] f081bae8c50f: Layer already exists [2024-05-29T00:07:26.263Z] 517685c3bfeb: Layer already exists [2024-05-29T00:07:26.263Z] 9649255ea009: Layer already exists [2024-05-29T00:07:26.263Z] 204ef747b55a: Layer already exists [2024-05-29T00:07:26.263Z] 7c504f21be85: Layer already exists [2024-05-29T00:07:26.263Z] 21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:26.620Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:26.981Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-05-29T00:07:26.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-29T00:07:26.981Z] f081bae8c50f: Preparing [2024-05-29T00:07:26.981Z] 204ef747b55a: Preparing [2024-05-29T00:07:26.981Z] 9649255ea009: Preparing [2024-05-29T00:07:26.981Z] 517685c3bfeb: Preparing [2024-05-29T00:07:26.981Z] 008792777513: Preparing [2024-05-29T00:07:26.981Z] 7c504f21be85: Preparing [2024-05-29T00:07:26.981Z] 008792777513: Layer already exists [2024-05-29T00:07:26.981Z] 204ef747b55a: Layer already exists [2024-05-29T00:07:26.981Z] 9649255ea009: Layer already exists [2024-05-29T00:07:26.981Z] f081bae8c50f: Layer already exists [2024-05-29T00:07:26.981Z] 517685c3bfeb: Layer already exists [2024-05-29T00:07:26.981Z] 7c504f21be85: Layer already exists [2024-05-29T00:07:26.981Z] main: digest: sha256:03e2973122b2fb4d14bbf69cfc7c9dbcb2fd062cec4b285179ca546cbf2650c8 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-29T00:07:27.335Z] ===================================================== [Pipeline] echo [2024-05-29T00:07:27.351Z] taggedImages: [2024-05-29T00:07:27.351Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119 [2024-05-29T00:07:27.351Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-05-29T00:07:27.351Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.13 [2024-05-29T00:07:27.351Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:21994e07934c8f95cd7e226e9631b4cfe7f28119-3.2.0-dev.13 [2024-05-29T00:07:27.351Z] - 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-05-29T00:07:27.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T00:07:27.743Z] [2024-05-29T00:07:27.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:07:28.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T00:07:28.343Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T00:07:28.343Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T00:07:28.343Z] 04944245beec: Pulling fs layer [2024-05-29T00:07:28.343Z] 699f458cf7ca: Pulling fs layer [2024-05-29T00:07:28.343Z] 765212b225bb: Pulling fs layer [2024-05-29T00:07:28.343Z] f23df028b6ca: Pulling fs layer [2024-05-29T00:07:28.343Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T00:07:28.343Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T00:07:28.343Z] 765212b225bb: Waiting [2024-05-29T00:07:28.343Z] f23df028b6ca: Waiting [2024-05-29T00:07:28.343Z] d65c8cfc05b1: Waiting [2024-05-29T00:07:28.343Z] 2437ff75d9bd: Waiting [2024-05-29T00:07:28.343Z] 04944245beec: Verifying Checksum [2024-05-29T00:07:28.343Z] 04944245beec: Download complete [2024-05-29T00:07:28.343Z] 765212b225bb: Verifying Checksum [2024-05-29T00:07:28.343Z] 765212b225bb: Download complete [2024-05-29T00:07:28.343Z] f23df028b6ca: Verifying Checksum [2024-05-29T00:07:28.343Z] f23df028b6ca: Download complete [2024-05-29T00:07:28.343Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T00:07:28.343Z] d65c8cfc05b1: Download complete [2024-05-29T00:07:28.608Z] 699f458cf7ca: Verifying Checksum [2024-05-29T00:07:28.608Z] 699f458cf7ca: Download complete [2024-05-29T00:07:28.874Z] 8998bd30e6a1: Verifying Checksum [2024-05-29T00:07:28.874Z] 8998bd30e6a1: Download complete [2024-05-29T00:07:31.443Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T00:07:31.443Z] 2437ff75d9bd: Download complete [2024-05-29T00:07:33.383Z] 8998bd30e6a1: Pull complete [2024-05-29T00:07:33.648Z] 04944245beec: Pull complete [2024-05-29T00:07:35.580Z] 699f458cf7ca: Pull complete [2024-05-29T00:07:35.580Z] 765212b225bb: Pull complete [2024-05-29T00:07:36.531Z] f23df028b6ca: Pull complete [2024-05-29T00:07:36.531Z] d65c8cfc05b1: Pull complete [2024-05-29T00:07:54.700Z] 2437ff75d9bd: Pull complete [2024-05-29T00:07:54.700Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T00:07:54.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T00:07:54.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:07:54.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-980 does not seem to be running inside a container [2024-05-29T00:07:54.946Z] $ 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/165 -v /w/workspace/device-rest-go/165:/w/workspace/device-rest-go/165:rw,z -v /w/workspace/device-rest-go/165@tmp:/w/workspace/device-rest-go/165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T00:07:57.550Z] $ docker top ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:07:58.421Z] ---> job-cost.sh [2024-05-29T00:07:58.421Z] lf-activate-venv: SKIPPING [2024-05-29T00:07:58.421Z] INFO: No Stack... [2024-05-29T00:07:58.687Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T00:07:59.644Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T00:08:00.277Z] + cat /w/workspace/device-rest-go/165/archives/cost.csv [2024-05-29T00:08:00.277Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T00:08:00.332Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [2024-05-29T00:08:00.348Z] Resource [jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] did not exist. Created. [2024-05-29T00:08:00.355Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T00:08:01.014Z] /w/workspace/device-rest-go/165@tmp/durable-bd881225/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T00:08:01.750Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T00:08:01.771Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T00:08:01.846Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T00:08:01.855Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T00:08:01.858Z] $ docker stop --time=1 ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff [2024-05-29T00:08:03.424Z] $ docker rm -f --volumes ff3167ba99187146e9bfd7e5c438e0460b7eb47d66e7fe7a1e306d9323133aff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-05-29T00:08:03.927Z] provisioning config files... [2024-05-29T00:08:03.935Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13267744328647655997tmp [Pipeline] { [Pipeline] sh [2024-05-29T00:08:04.232Z] + set +x [2024-05-29T00:08:04.232Z] + curl -s https://codecov.io/bash [2024-05-29T00:08:04.232Z] + bash -s -- [2024-05-29T00:08:04.232Z] [2024-05-29T00:08:04.232Z] _____ _ [2024-05-29T00:08:04.232Z] / ____| | | [2024-05-29T00:08:04.232Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T00:08:04.232Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T00:08:04.233Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T00:08:04.233Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T00:08:04.233Z] Bash-1.0.6 [2024-05-29T00:08:04.233Z] [2024-05-29T00:08:04.233Z] [2024-05-29T00:08:04.233Z] ==> git version 2.25.1 found [2024-05-29T00:08:04.233Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-05-29T00:08:04.233Z] Release-Date: 2020-01-08 [2024-05-29T00:08:04.233Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-29T00:08:04.233Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T00:08:04.233Z] ==> Jenkins CI detected. [2024-05-29T00:08:04.233Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-05-29T00:08:04.233Z] project root: . [2024-05-29T00:08:04.233Z] --> token set from env [2024-05-29T00:08:04.233Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-29T00:08:04.233Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T00:08:04.233Z] ==> Python coveragepy not found [2024-05-29T00:08:04.233Z] ==> Searching for coverage reports in: [2024-05-29T00:08:04.233Z] + . [2024-05-29T00:08:04.233Z] -> Found 1 reports [2024-05-29T00:08:04.233Z] ==> Detecting git/mercurial file structure [2024-05-29T00:08:04.233Z] ==> Reading reports [2024-05-29T00:08:04.233Z] + ./coverage.out bytes=14499 [2024-05-29T00:08:04.233Z] ==> Appending adjustments [2024-05-29T00:08:04.233Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T00:08:04.569Z] + Found adjustments [2024-05-29T00:08:04.569Z] ==> Gzipping contents [2024-05-29T00:08:04.569Z] 4.0K /tmp/codecov.L9Xp3S.gz [2024-05-29T00:08:04.569Z] ==> Uploading reports [2024-05-29T00:08:04.569Z] url: https://codecov.io [2024-05-29T00:08:04.569Z] query: branch=main&commit=21994e07934c8f95cd7e226e9631b4cfe7f28119&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-29T00:08:04.569Z] -> Pinging Codecov [2024-05-29T00:08:04.569Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=21994e07934c8f95cd7e226e9631b4cfe7f28119&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-29T00:08:04.569Z] -> Uploading to [2024-05-29T00:08:04.569Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/4E5D53B4F1F92C436F7061BF334D961C/21994e07934c8f95cd7e226e9631b4cfe7f28119/bc14fcf8-e60f-4fef-9c19-0f2a4a51d77f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T000804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88489d3d75d1252d10b0852e5e6037cd2cbe4f5f46fa1abf57dbfd3f17d99673 [2024-05-29T00:08:04.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T00:08:04.569Z] Dload Upload Total Spent Left Speed [2024-05-29T00:08:04.828Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11490 --:--:-- --:--:-- --:--:-- 11433 100 2321 0 0 100 2321 0 9752 --:--:-- --:--:-- --:--:-- 9711 [2024-05-29T00:08:04.828Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] } [2024-05-29T00:08:04.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-29T00:08:04.990Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-29T00:08:05.006Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:08:05.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-29T00:08:05.344Z] [2024-05-29T00:08:05.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:08:05.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-29T00:08:05.696Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-29T00:08:05.696Z] 619be1103602: Already exists [2024-05-29T00:08:05.696Z] f8ea3408117e: Pulling fs layer [2024-05-29T00:08:05.696Z] 91320369b822: Pulling fs layer [2024-05-29T00:08:05.696Z] 0406650e8295: Pulling fs layer [2024-05-29T00:08:05.696Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T00:08:05.696Z] 96d80e3f36e1: Pulling fs layer [2024-05-29T00:08:05.696Z] bcf3aedb951c: Pulling fs layer [2024-05-29T00:08:05.696Z] 96d80e3f36e1: Waiting [2024-05-29T00:08:05.696Z] bcf3aedb951c: Waiting [2024-05-29T00:08:05.696Z] 4f4fb700ef54: Waiting [2024-05-29T00:08:05.696Z] 0406650e8295: Download complete [2024-05-29T00:08:05.696Z] f8ea3408117e: Verifying Checksum [2024-05-29T00:08:05.696Z] f8ea3408117e: Download complete [2024-05-29T00:08:05.696Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T00:08:05.696Z] 4f4fb700ef54: Download complete [2024-05-29T00:08:05.696Z] f8ea3408117e: Pull complete [2024-05-29T00:08:05.964Z] 96d80e3f36e1: Verifying Checksum [2024-05-29T00:08:05.964Z] 96d80e3f36e1: Download complete [2024-05-29T00:08:06.222Z] 91320369b822: Verifying Checksum [2024-05-29T00:08:06.222Z] 91320369b822: Download complete [2024-05-29T00:08:06.481Z] bcf3aedb951c: Verifying Checksum [2024-05-29T00:08:06.481Z] bcf3aedb951c: Download complete [2024-05-29T00:08:09.010Z] 91320369b822: Pull complete [2024-05-29T00:08:09.010Z] 0406650e8295: Pull complete [2024-05-29T00:08:09.010Z] 4f4fb700ef54: Pull complete [2024-05-29T00:08:09.268Z] 96d80e3f36e1: Pull complete [2024-05-29T00:08:12.553Z] bcf3aedb951c: Pull complete [2024-05-29T00:08:12.553Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-29T00:08:12.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-29T00:08:12.553Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:08:12.658Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:08:12.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-29T00:08:18.386Z] $ docker top 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T00:08:18.735Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-05-29T00:08:18.745Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-05-29T00:08:19.025Z] + set -o pipefail [2024-05-29T00:08:19.026Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-05-29T00:08:25.614Z] [2024-05-29T00:08:25.614Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-05-29T00:08:25.614Z] [2024-05-29T00:08:25.614Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/22b2d9ba-7720-476a-805d-b6facbb6bd19 [2024-05-29T00:08:25.614Z] [2024-05-29T00:08:25.614Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-29T00:08:25.614Z] [2024-05-29T00:08:25.614Z] [2024-05-29T00:08:25.614Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-05-29T00:08:25.614Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-05-29T00:08:26.191Z] $ docker stop --time=1 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 [2024-05-29T00:08:33.105Z] $ docker rm -f --volumes 0ebf6ebb8f916a896af4ada12c43e610d68f64c4e336d7eee7ac6e796de1a9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T00:08:33.975Z] + git log --format=format:%s -1 21994e07934c8f95cd7e226e9631b4cfe7f28119 [Pipeline] sh [2024-05-29T00:08:34.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T00:08:34.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:08:34.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T00:08:34.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:08:34.648Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:08:34.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T00:08:35.228Z] $ docker top da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 -eo pid,comm [2024-05-29T00:08:35.274Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-29T00:08:35.274Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T00:08:35.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T00:08:35.342Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T00:08:35.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T00:08:35.462Z] $ docker exec da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 ssh-agent [2024-05-29T00:08:35.555Z] SSH_AUTH_SOCK=/tmp/ssh-b0S8H5pNKL2q/agent.33 [2024-05-29T00:08:35.555Z] SSH_AGENT_PID=39 [2024-05-29T00:08:35.560Z] Running ssh-add (command line suppressed) [2024-05-29T00:08:35.663Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2343413380809243761.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2343413380809243761.key) [2024-05-29T00:08:35.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T00:08:35.969Z] + git semver tag [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,137 [run_tag] DEBUG tag force:False [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,137 [check_head_tag] DEBUG check head tag [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,138 [execute] INFO git cat-file --batch-check [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,143 [execute] INFO git cat-file --batch [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,164 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,164 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-05-29T00:08:36.229Z] 2024-05-29 00:08:36,168 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:08:36.229Z] 3.2.0-dev.13 [Pipeline] } [2024-05-29T00:08:36.237Z] $ docker exec --env ******** --env ******** da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 ssh-agent -k [2024-05-29T00:08:36.334Z] unset SSH_AUTH_SOCK; [2024-05-29T00:08:36.335Z] unset SSH_AGENT_PID; [2024-05-29T00:08:36.335Z] echo Agent pid 39 killed; [2024-05-29T00:08:36.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T00:08:36.664Z] + git semver [Pipeline] } [2024-05-29T00:08:36.933Z] $ docker stop --time=1 da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 [2024-05-29T00:08:38.209Z] $ docker rm -f --volumes da1e5511f4ddf83b17cb575ef8eb4cb261a87a155716f6e97a237ecd237f0502 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:08:38.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-29T00:08:38.615Z] [2024-05-29T00:08:38.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:08:38.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-29T00:08:38.928Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-29T00:08:38.928Z] ab5ef0e58194: Pulling fs layer [2024-05-29T00:08:38.928Z] 9712f1f96733: Pulling fs layer [2024-05-29T00:08:38.928Z] 63f879dbbcfc: Pulling fs layer [2024-05-29T00:08:38.928Z] 0d9ebad4ef96: Pulling fs layer [2024-05-29T00:08:38.928Z] e9a5061849ea: Pulling fs layer [2024-05-29T00:08:38.928Z] d747dcd14b5f: Pulling fs layer [2024-05-29T00:08:38.928Z] 2de7ff778b66: Pulling fs layer [2024-05-29T00:08:38.928Z] 0d9ebad4ef96: Waiting [2024-05-29T00:08:38.928Z] e9a5061849ea: Waiting [2024-05-29T00:08:38.928Z] d747dcd14b5f: Waiting [2024-05-29T00:08:38.928Z] 2de7ff778b66: Waiting [2024-05-29T00:08:38.928Z] 9712f1f96733: Verifying Checksum [2024-05-29T00:08:39.186Z] 63f879dbbcfc: Verifying Checksum [2024-05-29T00:08:39.186Z] 63f879dbbcfc: Download complete [2024-05-29T00:08:39.444Z] e9a5061849ea: Verifying Checksum [2024-05-29T00:08:39.444Z] e9a5061849ea: Download complete [2024-05-29T00:08:39.444Z] d747dcd14b5f: Verifying Checksum [2024-05-29T00:08:39.444Z] d747dcd14b5f: Download complete [2024-05-29T00:08:39.444Z] ab5ef0e58194: Download complete [2024-05-29T00:08:39.444Z] 0d9ebad4ef96: Verifying Checksum [2024-05-29T00:08:39.444Z] 0d9ebad4ef96: Download complete [2024-05-29T00:08:39.444Z] 2de7ff778b66: Verifying Checksum [2024-05-29T00:08:39.444Z] 2de7ff778b66: Download complete [2024-05-29T00:08:41.974Z] ab5ef0e58194: Pull complete [2024-05-29T00:08:42.233Z] 9712f1f96733: Pull complete [2024-05-29T00:08:42.800Z] 63f879dbbcfc: Pull complete [2024-05-29T00:08:46.989Z] 0d9ebad4ef96: Pull complete [2024-05-29T00:08:46.989Z] e9a5061849ea: Pull complete [2024-05-29T00:08:46.989Z] d747dcd14b5f: Pull complete [2024-05-29T00:08:47.924Z] 2de7ff778b66: Pull complete [2024-05-29T00:08:47.924Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-29T00:08:47.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-29T00:08:47.924Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:08:48.041Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:08:48.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-05-29T00:08:55.798Z] $ docker top 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-29T00:08:55.873Z] provisioning config files... [2024-05-29T00:08:55.880Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5777672726323554292tmp [2024-05-29T00:08:55.888Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17886506923664322410tmp [2024-05-29T00:08:55.897Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16845845034924779601tmp [Pipeline] { [Pipeline] echo [2024-05-29T00:08:55.931Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:08:56.227Z] ---> sigul-configuration.sh [2024-05-29T00:08:56.227Z] gpg: directory `/root/.gnupg' created [2024-05-29T00:08:56.227Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-29T00:08:56.227Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-29T00:08:56.227Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-29T00:08:56.227Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-29T00:08:56.227Z] gpg: CAST5 encrypted data [2024-05-29T00:08:56.227Z] gpg: encrypted with 1 passphrase [2024-05-29T00:08:56.227Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-29T00:08:56.525Z] + mkdir /home/jenkins [2024-05-29T00:08:56.525Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-29T00:08:56.818Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-05-29T00:08:56.832Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:08:57.126Z] ---> sigul-install.sh [2024-05-29T00:08:57.126Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-29T00:08:57.422Z] + git tag --list [2024-05-29T00:08:57.422Z] v1.0.0 [2024-05-29T00:08:57.422Z] v1.1.0 [2024-05-29T00:08:57.422Z] v1.1.1 [2024-05-29T00:08:57.422Z] v1.1.2 [2024-05-29T00:08:57.422Z] v1.2.0 [2024-05-29T00:08:57.422Z] v1.2.1 [2024-05-29T00:08:57.422Z] v2.0.0 [2024-05-29T00:08:57.422Z] v2.1.0 [2024-05-29T00:08:57.422Z] v2.1.1 [2024-05-29T00:08:57.422Z] v2.2.0 [2024-05-29T00:08:57.422Z] v2.3.0 [2024-05-29T00:08:57.422Z] v3.0 [2024-05-29T00:08:57.422Z] v3.0.0 [2024-05-29T00:08:57.422Z] v3.1 [2024-05-29T00:08:57.422Z] v3.1.0 [2024-05-29T00:08:57.422Z] v3.1.0-dev.1 [2024-05-29T00:08:57.422Z] v3.1.0-dev.10 [2024-05-29T00:08:57.422Z] v3.1.0-dev.11 [2024-05-29T00:08:57.422Z] v3.1.0-dev.12 [2024-05-29T00:08:57.422Z] v3.1.0-dev.13 [2024-05-29T00:08:57.422Z] v3.1.0-dev.14 [2024-05-29T00:08:57.422Z] v3.1.0-dev.15 [2024-05-29T00:08:57.422Z] v3.1.0-dev.16 [2024-05-29T00:08:57.422Z] v3.1.0-dev.17 [2024-05-29T00:08:57.422Z] v3.1.0-dev.18 [2024-05-29T00:08:57.422Z] v3.1.0-dev.19 [2024-05-29T00:08:57.422Z] v3.1.0-dev.2 [2024-05-29T00:08:57.422Z] v3.1.0-dev.20 [2024-05-29T00:08:57.422Z] v3.1.0-dev.21 [2024-05-29T00:08:57.422Z] v3.1.0-dev.22 [2024-05-29T00:08:57.422Z] v3.1.0-dev.23 [2024-05-29T00:08:57.422Z] v3.1.0-dev.24 [2024-05-29T00:08:57.422Z] v3.1.0-dev.25 [2024-05-29T00:08:57.422Z] v3.1.0-dev.26 [2024-05-29T00:08:57.422Z] v3.1.0-dev.27 [2024-05-29T00:08:57.422Z] v3.1.0-dev.28 [2024-05-29T00:08:57.422Z] v3.1.0-dev.29 [2024-05-29T00:08:57.422Z] v3.1.0-dev.3 [2024-05-29T00:08:57.422Z] v3.1.0-dev.30 [2024-05-29T00:08:57.422Z] v3.1.0-dev.31 [2024-05-29T00:08:57.422Z] v3.1.0-dev.32 [2024-05-29T00:08:57.422Z] v3.1.0-dev.4 [2024-05-29T00:08:57.422Z] v3.1.0-dev.5 [2024-05-29T00:08:57.422Z] v3.1.0-dev.6 [2024-05-29T00:08:57.422Z] v3.1.0-dev.7 [2024-05-29T00:08:57.422Z] v3.1.0-dev.8 [2024-05-29T00:08:57.422Z] v3.1.0-dev.9 [2024-05-29T00:08:57.422Z] v3.2.0-dev.1 [2024-05-29T00:08:57.422Z] v3.2.0-dev.10 [2024-05-29T00:08:57.422Z] v3.2.0-dev.11 [2024-05-29T00:08:57.422Z] v3.2.0-dev.12 [2024-05-29T00:08:57.422Z] v3.2.0-dev.13 [2024-05-29T00:08:57.422Z] v3.2.0-dev.2 [2024-05-29T00:08:57.422Z] v3.2.0-dev.3 [2024-05-29T00:08:57.422Z] v3.2.0-dev.4 [2024-05-29T00:08:57.422Z] v3.2.0-dev.5 [2024-05-29T00:08:57.422Z] v3.2.0-dev.6 [2024-05-29T00:08:57.422Z] v3.2.0-dev.7 [2024-05-29T00:08:57.422Z] v3.2.0-dev.8 [2024-05-29T00:08:57.422Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-29T00:08:57.718Z] + lftools sign git-tag v3.2.0-dev.13 [2024-05-29T00:08:58.286Z] Signing Git tag with Sigul... [2024-05-29T00:08:58.286Z] Signing v3.2.0-dev.13 [Pipeline] echo [2024-05-29T00:08:58.560Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:08:58.857Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-29T00:08:58.866Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-29T00:08:58.899Z] $ docker stop --time=1 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab [2024-05-29T00:09:00.204Z] $ docker rm -f --volumes 0991f8f1d0613192584773e92e59f6ec91c8954646d43868a1c78971d5fa2bab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-29T00:09:00.642Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T00:09:00.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:09:00.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T00:09:00.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:09:01.021Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:09:01.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T00:09:01.379Z] $ docker top 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d -eo pid,comm [2024-05-29T00:09:01.424Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-05-29T00:09:01.424Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T00:09:01.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T00:09:01.565Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T00:09:01.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T00:09:01.668Z] $ docker exec 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d ssh-agent [2024-05-29T00:09:01.783Z] SSH_AUTH_SOCK=/tmp/ssh-GUrxFnjQqZYN/agent.32 [2024-05-29T00:09:01.783Z] SSH_AGENT_PID=38 [2024-05-29T00:09:01.787Z] Running ssh-add (command line suppressed) [2024-05-29T00:09:01.876Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16902367068887070079.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16902367068887070079.key) [2024-05-29T00:09:01.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T00:09:02.188Z] + git semver bump pre [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,356 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,357 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,357 [bump_version] DEBUG bumped version:3.2.0-dev.14 [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,357 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,357 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,359 [execute] INFO git cat-file --batch-check [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,365 [execute] INFO git cat-file --batch [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T00:09:02.454Z] 2024-05-29 00:09:02,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:09:02.454Z] 3.2.0-dev.14 [Pipeline] } [2024-05-29T00:09:02.461Z] $ docker exec --env ******** --env ******** 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d ssh-agent -k [2024-05-29T00:09:02.541Z] unset SSH_AUTH_SOCK; [2024-05-29T00:09:02.541Z] unset SSH_AGENT_PID; [2024-05-29T00:09:02.541Z] echo Agent pid 38 killed; [2024-05-29T00:09:02.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T00:09:02.940Z] + git semver [Pipeline] } [2024-05-29T00:09:03.209Z] $ docker stop --time=1 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d [2024-05-29T00:09:04.487Z] $ docker rm -f --volumes 4caa58323461d71e4139bcf3278af303e4f5561e20cd0b961973ccbff2f0283d [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T00:09:04.841Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T00:09:04.841Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:09:05.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T00:09:05.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:09:05.228Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:09:05.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T00:09:05.574Z] $ docker top 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T00:09:05.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T00:09:05.675Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T00:09:05.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T00:09:05.784Z] $ docker exec 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd ssh-agent [2024-05-29T00:09:05.884Z] SSH_AUTH_SOCK=/tmp/ssh-mBbTRoy4RWxr/agent.32 [2024-05-29T00:09:05.884Z] SSH_AGENT_PID=38 [2024-05-29T00:09:05.888Z] Running ssh-add (command line suppressed) [2024-05-29T00:09:05.982Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4997795789050929179.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4997795789050929179.key) [2024-05-29T00:09:05.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T00:09:06.291Z] + git semver push [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,458 [run_push] DEBUG push [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,459 [execute] INFO git cat-file --batch-check [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,461 [execute] INFO git rev-list 99e4e8920ad90332ca6cfd328098d8aea4cdb446 -- [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,462 [execute] DEBUG Popen(['git', 'rev-list', '99e4e8920ad90332ca6cfd328098d8aea4cdb446', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,471 [execute] INFO git fetch -v origin [2024-05-29T00:09:06.550Z] 2024-05-29 00:09:06,471 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-05-29T00:09:07.120Z] 2024-05-29 00:09:06,930 [run_push] DEBUG no remote changes detected [2024-05-29T00:09:07.120Z] 2024-05-29 00:09:06,931 [execute] INFO git push origin semver [2024-05-29T00:09:07.120Z] 2024-05-29 00:09:06,931 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-29T00:09:07.689Z] 2024-05-29 00:09:07,684 [run_push] DEBUG push all version tags [2024-05-29T00:09:07.689Z] 2024-05-29 00:09:07,685 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-05-29T00:09:07.689Z] 2024-05-29 00:09:07,685 [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-05-29T00:09:09.076Z] 2024-05-29 00:09:08,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-05-29T00:09:09.076Z] 3.2.0-dev.14 [Pipeline] } [2024-05-29T00:09:09.085Z] $ docker exec --env ******** --env ******** 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd ssh-agent -k [2024-05-29T00:09:09.181Z] unset SSH_AUTH_SOCK; [2024-05-29T00:09:09.181Z] unset SSH_AGENT_PID; [2024-05-29T00:09:09.181Z] echo Agent pid 38 killed; [2024-05-29T00:09:09.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T00:09:09.523Z] + git semver [Pipeline] } [2024-05-29T00:09:09.792Z] $ docker stop --time=1 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd [2024-05-29T00:09:11.094Z] $ docker rm -f --volumes 651ff1a9337e780bd4a9a66c081279abab1a2d55e3a8097b8fc8ad0da94cd4dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-29T00:09:11.675Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-05-29T00:09:11.675Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-05-29T00:09:11.675Z] total 16 [2024-05-29T00:09:11.675Z] drwxr-xr-x 3 root root 4096 May 28 23:54 . [2024-05-29T00:09:11.675Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 00:08 .. [2024-05-29T00:09:11.675Z] drwxr-xr-x 2 root root 4096 May 28 23:54 cost [2024-05-29T00:09:11.675Z] -rw-r--r-- 1 root root 86 May 28 23:54 cost.csv [2024-05-29T00:09:11.675Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-05-29T00:09:11.675Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-05-29T00:09:11.675Z] total 16 [2024-05-29T00:09:11.675Z] drwxr-xr-x 3 jenkins jenkins 4096 May 28 23:54 . [2024-05-29T00:09:11.675Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 00:08 .. [2024-05-29T00:09:11.675Z] drwxr-xr-x 2 jenkins jenkins 4096 May 28 23:54 cost [2024-05-29T00:09:11.675Z] -rw-r--r-- 1 jenkins jenkins 86 May 28 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:11.958Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:12.814Z] ---> package-listing.sh [2024-05-29T00:09:12.814Z] ++ facter osfamily [2024-05-29T00:09:12.814Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T00:09:13.073Z] + OS_FAMILY=debian [2024-05-29T00:09:13.073Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-05-29T00:09:13.073Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T00:09:13.073Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T00:09:13.073Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T00:09:13.073Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T00:09:13.073Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-05-29T00:09:13.073Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T00:09:13.073Z] + case "${OS_FAMILY}" in [2024-05-29T00:09:13.073Z] + dpkg -l [2024-05-29T00:09:13.073Z] + grep '^ii' [2024-05-29T00:09:13.073Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T00:09:13.073Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T00:09:13.073Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T00:09:13.073Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-05-29T00:09:13.073Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-05-29T00:09:13.073Z] + 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-05-29T00:09:13.084Z] 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-05-29T00:09:13.363Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T00:09:13.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T00:09:13.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T00:09:14.016Z] prd-ubuntu20.04-docker-8c-8g-978 does not seem to be running inside a container [2024-05-29T00:09:14.042Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T00:09:14.215Z] $ docker top 8f54857342dcfd8bce73c94c73dff8a840af7766aa507f05528c8812a100257f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T00:09:14.580Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T00:09:14.862Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T00:09:15.146Z] + ls /var/log/sa-host [2024-05-29T00:09:15.146Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T00:09:15.216Z] provisioning config files... [2024-05-29T00:09:15.226Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18385719212252010594tmp [Pipeline] { [Pipeline] echo [2024-05-29T00:09:15.246Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:15.532Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T00:09:15.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:15.887Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T00:09:15.895Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:16.176Z] ---> sudo-logs.sh [2024-05-29T00:09:16.176Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T00:09:16.203Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:16.480Z] ---> job-cost.sh [2024-05-29T00:09:16.480Z] lf-activate-venv: SKIPPING [2024-05-29T00:09:16.480Z] DEBUG: total: 0.2199999988079071 [2024-05-29T00:09:16.480Z] INFO: Retrieving Stack Cost... [2024-05-29T00:09:17.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T00:09:17.310Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T00:09:17.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T00:09:17.604Z] ---> logs-deploy.sh [2024-05-29T00:09:17.604Z] lf-activate-venv: SKIPPING [2024-05-29T00:09:17.604Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/165 [2024-05-29T00:09:17.604Z] INFO: archiving workspace using pattern(s): [2024-05-29T00:09:18.544Z] Archives upload complete. [2024-05-29T00:09:18.544Z] INFO: archiving logs to Nexus