Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f16f1098eb92bf801dde80d57265cdf1f99e8d64 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-ssh1964873550721555253.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-ssh3222797788157994259.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-ssh11243580297350979650.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-ssh8661347237562589839.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-ssh11016641207393686547.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 ‘prd-centos7-blackbox-4c-2g-5991’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5992’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6008’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6010 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f16f1098eb92bf801dde80d57265cdf1f99e8d64 (main) Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" > git config core.sparsecheckout # timeout=10 > git checkout -f f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 > git rev-list --no-walk ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-20T15:14:46.002Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-20T15:14:46.079Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-20T15:14:46.108Z] ========================================================= [2024-07-20T15:14:46.108Z] EdgeX Global Pipelines Version Info [2024-07-20T15:14:46.108Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:14:46.876Z] ------------------- [2024-07-20T15:14:46.876Z] stable info: [2024-07-20T15:14:46.876Z] ------------------- [2024-07-20T15:14:46.876Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-20T15:14:46.876Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-20T15:14:46.876Z] Message: update stable to v1.0.260 [2024-07-20T15:14:47.452Z] ------------------- [2024-07-20T15:14:47.452Z] experimental info: [2024-07-20T15:14:47.452Z] ------------------- [2024-07-20T15:14:47.452Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-20T15:14:47.452Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-20T15:14:47.452Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-20T15:14:47.512Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-20T15:14:47.526Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-20T15:14:47.544Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-20T15:14:47.562Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-20T15:14:47.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-20T15:14:47.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-20T15:14:47.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-20T15:14:47.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-20T15:14:47.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-20T15:14:47.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-20T15:14:47.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-20T15:14:47.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-20T15:14:47.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-20T15:14:47.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-20T15:14:47.849Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-20T15:14:47.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-20T15:14:47.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-20T15:14:47.904Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-20T15:14:47.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-20T15:14:47.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-20T15:14:47.964Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-20T15:14:47.982Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-20T15:14:48.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-20T15:14:48.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-20T15:14:48.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-20T15:14:48.067Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-20T15:14:48.090Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-20T15:14:48.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-20T15:14:48.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-20T15:14:48.148Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-20T15:14:48.166Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo [2024-07-20T15:14:48.191Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f16f109 [Pipeline] echo [2024-07-20T15:14:48.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:14:48.248Z] provisioning config files... [2024-07-20T15:14:48.298Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10270421685453760011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:14:48.622Z] ---> ****-login.sh [2024-07-20T15:14:48.622Z] nexus3.edgexfoundry.org:10001 [2024-07-20T15:14:48.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:14:48.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:14:48.881Z] Configure a credential helper to remove this warning. See [2024-07-20T15:14:48.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:14:48.881Z] [2024-07-20T15:14:48.881Z] Login Succeeded [2024-07-20T15:14:48.881Z] nexus3.edgexfoundry.org:10002 [2024-07-20T15:14:48.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:14:48.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:14:48.881Z] Configure a credential helper to remove this warning. See [2024-07-20T15:14:48.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:14:48.881Z] [2024-07-20T15:14:48.881Z] Login Succeeded [2024-07-20T15:14:48.881Z] nexus3.edgexfoundry.org:10003 [2024-07-20T15:14:49.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:14:49.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:14:49.140Z] Configure a credential helper to remove this warning. See [2024-07-20T15:14:49.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:14:49.140Z] [2024-07-20T15:14:49.140Z] Login Succeeded [2024-07-20T15:14:49.140Z] nexus3.edgexfoundry.org:10004 [2024-07-20T15:14:49.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:14:49.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:14:49.140Z] Configure a credential helper to remove this warning. See [2024-07-20T15:14:49.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:14:49.140Z] [2024-07-20T15:14:49.140Z] Login Succeeded [2024-07-20T15:14:49.140Z] ****.io [2024-07-20T15:14:49.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:14:49.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:14:49.399Z] Configure a credential helper to remove this warning. See [2024-07-20T15:14:49.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:14:49.399Z] [2024-07-20T15:14:49.399Z] Login Succeeded [2024-07-20T15:14:49.399Z] ---> ****-login.sh ends [Pipeline] } [2024-07-20T15:14:49.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-20T15:14:49.814Z] + git rev-list -1 --merges f16f1098eb92bf801dde80d57265cdf1f99e8d64~1..f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo [2024-07-20T15:14:49.842Z] -----------> git rev-list -1 --merges f16f1098eb92bf801dde80d57265cdf1f99e8d64~1..f16f1098eb92bf801dde80d57265cdf1f99e8d64 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:14:49.842Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64 [false] [Pipeline] sh [2024-07-20T15:14:50.134Z] + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo [2024-07-20T15:14:50.149Z] ========================================================= [2024-07-20T15:14:50.149Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-20T15:14:50.149Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-20T15:14:50.478Z] + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] echo [2024-07-20T15:14:50.490Z] [semverPrep] GIT_COMMIT: f16f1098eb92bf801dde80d57265cdf1f99e8d64, Commit Message: Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25 [Pipeline] echo [2024-07-20T15:14:50.503Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-20T15:14:50.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-20T15:14:50.851Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-20T15:14:50.851Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-20T15:14:50.851Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-20T15:14:50.851Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-20T15:14:50.851Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-20T15:14:50.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:14:51.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:14:51.201Z] [2024-07-20T15:14:51.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:14:51.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:14:51.517Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-20T15:14:51.517Z] b85a868b505f: Pulling fs layer [2024-07-20T15:14:51.517Z] e2be974225ed: Pulling fs layer [2024-07-20T15:14:51.517Z] 339a4e72a1f5: Pulling fs layer [2024-07-20T15:14:51.517Z] 988bab9f4d93: Pulling fs layer [2024-07-20T15:14:51.517Z] 1469e6f7b9e6: Pulling fs layer [2024-07-20T15:14:51.517Z] eaf3925da568: Pulling fs layer [2024-07-20T15:14:51.517Z] bab4dde63d76: Pulling fs layer [2024-07-20T15:14:51.517Z] bde34c3a00c8: Pulling fs layer [2024-07-20T15:14:51.517Z] b352a97aabf1: Pulling fs layer [2024-07-20T15:14:51.517Z] 4872d77fe225: Pulling fs layer [2024-07-20T15:14:51.517Z] 5851b861e8e6: Pulling fs layer [2024-07-20T15:14:51.517Z] 988bab9f4d93: Waiting [2024-07-20T15:14:51.517Z] 1469e6f7b9e6: Waiting [2024-07-20T15:14:51.517Z] eaf3925da568: Waiting [2024-07-20T15:14:51.517Z] bab4dde63d76: Waiting [2024-07-20T15:14:51.517Z] bde34c3a00c8: Waiting [2024-07-20T15:14:51.517Z] b352a97aabf1: Waiting [2024-07-20T15:14:51.517Z] 4872d77fe225: Waiting [2024-07-20T15:14:51.517Z] 5851b861e8e6: Waiting [2024-07-20T15:14:51.517Z] e2be974225ed: Verifying Checksum [2024-07-20T15:14:51.517Z] e2be974225ed: Download complete [2024-07-20T15:14:51.517Z] 988bab9f4d93: Verifying Checksum [2024-07-20T15:14:51.517Z] 988bab9f4d93: Download complete [2024-07-20T15:14:51.776Z] 339a4e72a1f5: Download complete [2024-07-20T15:14:51.776Z] 1469e6f7b9e6: Verifying Checksum [2024-07-20T15:14:51.776Z] 1469e6f7b9e6: Download complete [2024-07-20T15:14:51.776Z] eaf3925da568: Verifying Checksum [2024-07-20T15:14:51.776Z] eaf3925da568: Download complete [2024-07-20T15:14:51.776Z] bde34c3a00c8: Verifying Checksum [2024-07-20T15:14:51.776Z] bde34c3a00c8: Download complete [2024-07-20T15:14:51.776Z] b352a97aabf1: Download complete [2024-07-20T15:14:51.776Z] 4872d77fe225: Download complete [2024-07-20T15:14:51.776Z] 5851b861e8e6: Verifying Checksum [2024-07-20T15:14:51.776Z] 5851b861e8e6: Download complete [2024-07-20T15:14:51.776Z] b85a868b505f: Verifying Checksum [2024-07-20T15:14:51.776Z] b85a868b505f: Download complete [2024-07-20T15:14:52.036Z] bab4dde63d76: Verifying Checksum [2024-07-20T15:14:52.036Z] bab4dde63d76: Download complete [2024-07-20T15:14:53.410Z] b85a868b505f: Pull complete [2024-07-20T15:14:53.410Z] e2be974225ed: Pull complete [2024-07-20T15:14:53.669Z] 339a4e72a1f5: Pull complete [2024-07-20T15:14:53.928Z] 988bab9f4d93: Pull complete [2024-07-20T15:14:54.187Z] 1469e6f7b9e6: Pull complete [2024-07-20T15:14:54.187Z] eaf3925da568: Pull complete [2024-07-20T15:14:56.092Z] bab4dde63d76: Pull complete [2024-07-20T15:14:56.092Z] bde34c3a00c8: Pull complete [2024-07-20T15:14:56.092Z] b352a97aabf1: Pull complete [2024-07-20T15:14:56.092Z] 4872d77fe225: Pull complete [2024-07-20T15:14:56.351Z] 5851b861e8e6: Pull complete [2024-07-20T15:14:56.351Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-20T15:14:56.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:14:56.351Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:14:56.489Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:14:56.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-20T15:15:00.632Z] $ docker top 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af -eo pid,comm [2024-07-20T15:15:00.689Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-20T15:15:00.689Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-20T15:15:05.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-20T15:15:05.682Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-20T15:15:05.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-20T15:15:05.802Z] $ docker exec 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent [2024-07-20T15:15:05.922Z] SSH_AUTH_SOCK=/tmp/ssh-rtOkIOoichBx/agent.34 [2024-07-20T15:15:05.922Z] SSH_AGENT_PID=40 [2024-07-20T15:15:05.927Z] Running ssh-add (command line suppressed) [2024-07-20T15:15:06.011Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9402034278876701857.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9402034278876701857.key) [2024-07-20T15:15:06.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-20T15:15:06.314Z] + git tag --points-at HEAD [Pipeline] } [2024-07-20T15:15:06.322Z] $ docker exec --env ******** --env ******** 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent -k [2024-07-20T15:15:06.422Z] unset SSH_AUTH_SOCK; [2024-07-20T15:15:06.422Z] unset SSH_AGENT_PID; [2024-07-20T15:15:06.422Z] echo Agent pid 40 killed; [2024-07-20T15:15:06.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-20T15:15:06.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-20T15:15:06.472Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-20T15:15:06.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-20T15:15:06.593Z] $ docker exec 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent [2024-07-20T15:15:06.713Z] SSH_AUTH_SOCK=/tmp/ssh-7YsnhwmJlX59/agent.73 [2024-07-20T15:15:06.713Z] SSH_AGENT_PID=79 [2024-07-20T15:15:06.716Z] Running ssh-add (command line suppressed) [2024-07-20T15:15:06.814Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5625048681408212263.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5625048681408212263.key) [2024-07-20T15:15:06.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-20T15:15:07.129Z] + git semver init [2024-07-20T15:15:07.390Z] 2024-07-20 15:15:07,313 [run_init] DEBUG init version:0.0.0 force:False [2024-07-20T15:15:07.390Z] 2024-07-20 15:15:07,314 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-20T15:15:07.390Z] 2024-07-20 15:15:07,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-20T15:15:07.390Z] 2024-07-20 15:15:07,315 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-20T15:15:09.295Z] 2024-07-20 15:15:08,895 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-07-20T15:15:09.295Z] 2024-07-20 15:15:08,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-07-20T15:15:09.295Z] 2024-07-20 15:15:08,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:15:09.295Z] 2024-07-20 15:15:08,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:15:09.295Z] 3.2.0-dev.17 [Pipeline] } [2024-07-20T15:15:09.300Z] $ docker exec --env ******** --env ******** 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af ssh-agent -k [2024-07-20T15:15:09.411Z] unset SSH_AUTH_SOCK; [2024-07-20T15:15:09.411Z] unset SSH_AGENT_PID; [2024-07-20T15:15:09.412Z] echo Agent pid 79 killed; [2024-07-20T15:15:09.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-20T15:15:09.744Z] + git semver [Pipeline] } [2024-07-20T15:15:10.013Z] $ docker stop --time=1 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af [2024-07-20T15:15:11.313Z] $ docker rm -f --volumes 8be0d006b14833b336e0200cf2a3bf147ef99fb7453c23fcbe6726c7ed9c08af [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-20T15:15:11.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-20T15:15:11.918Z] Stashed 1 file(s) [Pipeline] echo [2024-07-20T15:15:11.921Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:15:12.082Z] provisioning config files... [2024-07-20T15:15:12.092Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9140160553294044649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:15:12.396Z] ---> ****-login.sh [2024-07-20T15:15:12.396Z] nexus3.edgexfoundry.org:10001 [2024-07-20T15:15:12.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:15:12.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:15:12.397Z] Configure a credential helper to remove this warning. See [2024-07-20T15:15:12.397Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:15:12.397Z] [2024-07-20T15:15:12.397Z] Login Succeeded [2024-07-20T15:15:12.397Z] nexus3.edgexfoundry.org:10002 [2024-07-20T15:15:12.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:15:12.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:15:12.656Z] Configure a credential helper to remove this warning. See [2024-07-20T15:15:12.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:15:12.656Z] [2024-07-20T15:15:12.656Z] Login Succeeded [2024-07-20T15:15:12.656Z] nexus3.edgexfoundry.org:10003 [2024-07-20T15:15:12.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:15:12.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:15:12.656Z] Configure a credential helper to remove this warning. See [2024-07-20T15:15:12.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:15:12.656Z] [2024-07-20T15:15:12.656Z] Login Succeeded [2024-07-20T15:15:12.656Z] nexus3.edgexfoundry.org:10004 [2024-07-20T15:15:12.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:15:12.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:15:12.915Z] Configure a credential helper to remove this warning. See [2024-07-20T15:15:12.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:15:12.915Z] [2024-07-20T15:15:12.915Z] Login Succeeded [2024-07-20T15:15:12.915Z] ****.io [2024-07-20T15:15:12.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:15:12.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:15:12.915Z] Configure a credential helper to remove this warning. See [2024-07-20T15:15:12.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:15:12.915Z] [2024-07-20T15:15:12.915Z] Login Succeeded [2024-07-20T15:15:12.915Z] ---> ****-login.sh ends [Pipeline] } [2024-07-20T15:15:12.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-20T15:15:13.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:15:13.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:15:13.035Z] ========================================================= [2024-07-20T15:15:13.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-20T15:15:13.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:15:13.397Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-20T15:15:13.397Z] Sending build context to Docker daemon 16.54MB [2024-07-20T15:15:13.397Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-20T15:15:13.397Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-20T15:15:13.397Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-20T15:15:13.397Z] 619be1103602: Pulling fs layer [2024-07-20T15:15:13.397Z] 7862e08f4a3e: Pulling fs layer [2024-07-20T15:15:13.397Z] 5df492c9dc93: Pulling fs layer [2024-07-20T15:15:13.397Z] 7629e6793208: Pulling fs layer [2024-07-20T15:15:13.397Z] 4f4fb700ef54: Pulling fs layer [2024-07-20T15:15:13.397Z] fb5054dd5b73: Pulling fs layer [2024-07-20T15:15:13.397Z] eeca6798cff9: Pulling fs layer [2024-07-20T15:15:13.397Z] aa269ceb94a6: Pulling fs layer [2024-07-20T15:15:13.397Z] ada007ff1a6a: Pulling fs layer [2024-07-20T15:15:13.397Z] 7629e6793208: Waiting [2024-07-20T15:15:13.397Z] 4f4fb700ef54: Waiting [2024-07-20T15:15:13.397Z] fb5054dd5b73: Waiting [2024-07-20T15:15:13.397Z] eeca6798cff9: Waiting [2024-07-20T15:15:13.397Z] 7862e08f4a3e: Verifying Checksum [2024-07-20T15:15:13.397Z] 7862e08f4a3e: Download complete [2024-07-20T15:15:13.657Z] 7629e6793208: Verifying Checksum [2024-07-20T15:15:13.657Z] 7629e6793208: Download complete [2024-07-20T15:15:13.657Z] 4f4fb700ef54: Download complete [2024-07-20T15:15:13.657Z] fb5054dd5b73: Download complete [2024-07-20T15:15:13.657Z] 619be1103602: Verifying Checksum [2024-07-20T15:15:13.657Z] 619be1103602: Download complete [2024-07-20T15:15:13.657Z] eeca6798cff9: Verifying Checksum [2024-07-20T15:15:13.657Z] eeca6798cff9: Download complete [2024-07-20T15:15:13.657Z] 619be1103602: Pull complete [2024-07-20T15:15:13.917Z] ada007ff1a6a: Download complete [2024-07-20T15:15:13.917Z] 7862e08f4a3e: Pull complete [2024-07-20T15:15:14.176Z] 5df492c9dc93: Verifying Checksum [2024-07-20T15:15:14.176Z] 5df492c9dc93: Download complete [2024-07-20T15:15:14.433Z] aa269ceb94a6: Verifying Checksum [2024-07-20T15:15:14.433Z] aa269ceb94a6: Download complete [2024-07-20T15:15:17.711Z] 5df492c9dc93: Pull complete [2024-07-20T15:15:17.711Z] 7629e6793208: Pull complete [2024-07-20T15:15:17.711Z] 4f4fb700ef54: Pull complete [2024-07-20T15:15:17.970Z] fb5054dd5b73: Pull complete [2024-07-20T15:15:17.970Z] eeca6798cff9: Pull complete [2024-07-20T15:15:20.507Z] aa269ceb94a6: Pull complete [2024-07-20T15:15:21.073Z] ada007ff1a6a: Pull complete [2024-07-20T15:15:21.074Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-20T15:15:21.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-20T15:15:21.074Z] ---> f489d0715acc [2024-07-20T15:15:21.074Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-20T15:15:27.029Z] Still waiting to schedule task [2024-07-20T15:15:27.030Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6007’ [2024-07-20T15:15:27.693Z] ---> Running in dfdb21bf42a0 [2024-07-20T15:15:27.693Z] Removing intermediate container dfdb21bf42a0 [2024-07-20T15:15:27.693Z] ---> 9b0e5cd6a2fc [2024-07-20T15:15:27.693Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-20T15:15:27.693Z] ---> Running in 6f9464933aad [2024-07-20T15:15:27.693Z] Removing intermediate container 6f9464933aad [2024-07-20T15:15:27.693Z] ---> 876b83e59744 [2024-07-20T15:15:27.693Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-20T15:15:27.693Z] ---> Running in 28b6d7f10f6d [2024-07-20T15:15:27.693Z] Removing intermediate container 28b6d7f10f6d [2024-07-20T15:15:27.693Z] ---> 9f3084ccf68f [2024-07-20T15:15:27.693Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-20T15:15:27.693Z] ---> Running in d82179c27247 [2024-07-20T15:15:27.693Z] Removing intermediate container d82179c27247 [2024-07-20T15:15:27.693Z] ---> 22d8cd747bd5 [2024-07-20T15:15:27.693Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-20T15:15:27.693Z] ---> Running in f23efb6edbea [2024-07-20T15:15:27.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-20T15:15:27.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-20T15:15:27.991Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-20T15:15:27.991Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-20T15:15:27.991Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-20T15:15:27.991Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-20T15:15:27.991Z] Executing busybox-1.36.1-r5.trigger [2024-07-20T15:15:27.991Z] OK: 268 MiB in 56 packages [2024-07-20T15:15:28.561Z] Removing intermediate container f23efb6edbea [2024-07-20T15:15:28.561Z] ---> 5b3db57c83e3 [2024-07-20T15:15:28.561Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-20T15:15:28.561Z] ---> Running in 8898a7dd269f [2024-07-20T15:15:28.561Z] Removing intermediate container 8898a7dd269f [2024-07-20T15:15:28.561Z] ---> e198d4400ab0 [2024-07-20T15:15:28.561Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-20T15:15:28.561Z] ---> ccb664c56dbb [2024-07-20T15:15:28.561Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-20T15:15:28.820Z] ---> Running in 330142f6feea [2024-07-20T15:16:25.554Z] Removing intermediate container 330142f6feea [2024-07-20T15:16:25.554Z] ---> fd978cc3c3f1 [2024-07-20T15:16:25.554Z] Step 11/12 : COPY . . [2024-07-20T15:16:25.554Z] ---> ec17100d589f [2024-07-20T15:16:25.554Z] Step 12/12 : RUN $MAKE [2024-07-20T15:16:25.555Z] ---> Running in 7675e88d0329 [2024-07-20T15:16:25.555Z] noop [2024-07-20T15:16:25.555Z] Removing intermediate container 7675e88d0329 [2024-07-20T15:16:25.555Z] ---> 7bff6323d100 [2024-07-20T15:16:25.555Z] Successfully built 7bff6323d100 [2024-07-20T15:16:25.555Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:16:25.876Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-20T15:16:25.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:16:25.952Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:16:25.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-20T15:16:26.301Z] $ docker top 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:16:26.650Z] + go version [2024-07-20T15:16:26.650Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-20T15:16:26.656Z] $ docker stop --time=1 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea [2024-07-20T15:16:27.937Z] $ docker rm -f --volumes 97aed2f82ad7dbc1ecb6e843c13b17f08ca3b553166db484820ab7743e3680ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:16:28.379Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-20T15:16:28.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:16:28.460Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:16:28.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-20T15:16:28.824Z] $ docker top 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:16:29.171Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-20T15:16:29.476Z] + make test [2024-07-20T15:16:29.476Z] go test ./... -coverprofile=coverage.out ./... [2024-07-20T15:16:31.372Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-20T15:16:49.440Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-20T15:16:49.440Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-07-20T15:16:59.398Z] go vet ./... [2024-07-20T15:17:03.583Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-20T15:17:03.583Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-20T15:17:03.583Z] ./bin/test-attribution-txt.sh [2024-07-20T15:17:03.583Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-20T15:17:03.583Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-20T15:17:03.584Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-20T15:17:03.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-20T15:17:03.611Z] $ docker stop --time=1 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 [2024-07-20T15:17:08.672Z] $ docker rm -f --volumes 788bd47a482e0529815cd51c0ed774d46f9fd2f509e7b23e57999d0e0e211240 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-20T15:17:09.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-20T15:17:09.268Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-20T15:17:09.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-20T15:17:10.030Z] + ls -al . [2024-07-20T15:17:10.030Z] total 248 [2024-07-20T15:17:10.030Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 15:16 . [2024-07-20T15:17:10.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 15:14 .. [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 20 15:14 .dockerignore [2024-07-20T15:17:10.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:16 .git [2024-07-20T15:17:10.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 .github [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 20 15:14 .gitignore [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 15:14 .golangci.yml [2024-07-20T15:17:10.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 15:15 .semver [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 20 15:14 Attribution.txt [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 20 15:14 CHANGELOG.md [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 20 15:14 Dockerfile [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 15:14 GOVERNANCE.md [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 15:14 Jenkinsfile [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 15:14 LICENSE [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 20 15:14 Makefile [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 15:14 OWNERS.md [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 20 15:14 README.md [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 20 15:15 VERSION [2024-07-20T15:17:10.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:14 bin [2024-07-20T15:17:10.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 cmd [2024-07-20T15:17:10.030Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 20 15:16 coverage.out [2024-07-20T15:17:10.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:14 driver [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 20 15:14 go.mod [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 20 15:14 go.sum [2024-07-20T15:17:10.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:14 openapi [2024-07-20T15:17:10.030Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 20 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:10.342Z] + 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=f16f1098eb92bf801dde80d57265cdf1f99e8d64 --label arch=amd64 --label version=3.2.0-dev.17 . [2024-07-20T15:17:10.342Z] Sending build context to Docker daemon 16.56MB [2024-07-20T15:17:10.342Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-20T15:17:10.342Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-20T15:17:10.342Z] ---> 7bff6323d100 [2024-07-20T15:17:10.342Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-20T15:17:10.600Z] ---> Running in 6a92522d556e [2024-07-20T15:17:10.600Z] Removing intermediate container 6a92522d556e [2024-07-20T15:17:10.600Z] ---> 4fe7b9c39e33 [2024-07-20T15:17:10.600Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-20T15:17:10.600Z] ---> Running in f27d125ac67d [2024-07-20T15:17:10.859Z] Removing intermediate container f27d125ac67d [2024-07-20T15:17:10.859Z] ---> c8cbf79d0b61 [2024-07-20T15:17:10.859Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-20T15:17:10.859Z] ---> Running in d05bdf7db818 [2024-07-20T15:17:10.859Z] Removing intermediate container d05bdf7db818 [2024-07-20T15:17:10.859Z] ---> cedec28ee608 [2024-07-20T15:17:10.859Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-20T15:17:10.859Z] ---> Running in 74b1e10e7d0a [2024-07-20T15:17:10.859Z] Removing intermediate container 74b1e10e7d0a [2024-07-20T15:17:10.859Z] ---> 52b94f064097 [2024-07-20T15:17:10.859Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-20T15:17:10.859Z] ---> Running in 4024f5f0b0a9 [2024-07-20T15:17:11.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:11.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:11.635Z] OK: 268 MiB in 56 packages [2024-07-20T15:17:11.893Z] Removing intermediate container 4024f5f0b0a9 [2024-07-20T15:17:11.893Z] ---> d4b83e6f60a0 [2024-07-20T15:17:11.893Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-20T15:17:11.893Z] ---> Running in 730617f751ca [2024-07-20T15:17:11.893Z] Removing intermediate container 730617f751ca [2024-07-20T15:17:11.893Z] ---> 5e35d08e3827 [2024-07-20T15:17:11.893Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-20T15:17:11.893Z] ---> 09fdf5f9f680 [2024-07-20T15:17:11.893Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-20T15:17:12.151Z] ---> Running in cf7ef9842854 [2024-07-20T15:17:12.727Z] Removing intermediate container cf7ef9842854 [2024-07-20T15:17:12.727Z] ---> 0bf0453a4f42 [2024-07-20T15:17:12.727Z] Step 11/26 : COPY . . [2024-07-20T15:17:13.297Z] ---> 76d65f933354 [2024-07-20T15:17:13.297Z] Step 12/26 : RUN $MAKE [2024-07-20T15:17:13.297Z] ---> Running in d7386ebdef82 [2024-07-20T15:17:13.556Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-20T15:17:45.630Z] Removing intermediate container d7386ebdef82 [2024-07-20T15:17:45.630Z] ---> e590c861d467 [2024-07-20T15:17:45.630Z] Step 13/26 : FROM alpine:3.18 [2024-07-20T15:17:45.630Z] 3.18: Pulling from library/alpine [2024-07-20T15:17:45.630Z] 73baa7ef167e: Pulling fs layer [2024-07-20T15:17:45.630Z] 73baa7ef167e: Download complete [2024-07-20T15:17:45.630Z] 73baa7ef167e: Pull complete [2024-07-20T15:17:45.630Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-20T15:17:45.630Z] Status: Downloaded newer image for alpine:3.18 [2024-07-20T15:17:45.630Z] ---> 8fd7cac70a4a [2024-07-20T15:17:45.630Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-20T15:17:45.630Z] ---> Running in aee47fc2f64d [2024-07-20T15:17:45.630Z] Removing intermediate container aee47fc2f64d [2024-07-20T15:17:45.630Z] ---> d91b6e65a129 [2024-07-20T15:17:45.630Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-20T15:17:45.630Z] ---> Running in 5d60f223d79d [2024-07-20T15:17:45.630Z] Removing intermediate container 5d60f223d79d [2024-07-20T15:17:45.630Z] ---> 67ce0d0f5dc0 [2024-07-20T15:17:45.630Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-20T15:17:45.630Z] ---> Running in 3ad1e15a2217 [2024-07-20T15:17:45.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:45.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:45.888Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-20T15:17:45.888Z] Executing busybox-1.36.1-r7.trigger [2024-07-20T15:17:45.888Z] OK: 7 MiB in 16 packages [2024-07-20T15:17:46.146Z] Removing intermediate container 3ad1e15a2217 [2024-07-20T15:17:46.146Z] ---> 5d327712d8f3 [2024-07-20T15:17:46.146Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-20T15:17:46.146Z] ---> Running in f28cecc9dab0 [2024-07-20T15:17:46.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:46.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-20T15:17:46.662Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-20T15:17:46.662Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-20T15:17:46.662Z] OK: 7 MiB in 16 packages [2024-07-20T15:17:47.244Z] Removing intermediate container f28cecc9dab0 [2024-07-20T15:17:47.244Z] ---> 1a9013e1e162 [2024-07-20T15:17:47.244Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-20T15:17:48.617Z] ---> 28e0a9053627 [2024-07-20T15:17:48.617Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-20T15:17:48.617Z] ---> 47319cace5a3 [2024-07-20T15:17:48.617Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-20T15:17:48.617Z] ---> 94bea786b8b5 [2024-07-20T15:17:48.617Z] Step 21/26 : EXPOSE 59986 [2024-07-20T15:17:48.617Z] ---> Running in 8346df08a210 [2024-07-20T15:17:48.617Z] Removing intermediate container 8346df08a210 [2024-07-20T15:17:48.617Z] ---> 6c2ae96f9cb2 [2024-07-20T15:17:48.617Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-20T15:17:48.617Z] ---> Running in ba6dc9005b33 [2024-07-20T15:17:48.876Z] Removing intermediate container ba6dc9005b33 [2024-07-20T15:17:48.876Z] ---> 1ef3ba95942e [2024-07-20T15:17:48.876Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-20T15:17:48.876Z] ---> Running in cf6d253d4460 [2024-07-20T15:17:48.876Z] Removing intermediate container cf6d253d4460 [2024-07-20T15:17:48.876Z] ---> e7cceede321b [2024-07-20T15:17:48.876Z] Step 24/26 : LABEL arch=amd64 [2024-07-20T15:17:48.876Z] ---> Running in 85b2a26d698c [2024-07-20T15:17:49.133Z] Removing intermediate container 85b2a26d698c [2024-07-20T15:17:49.133Z] ---> 19616ac6172d [2024-07-20T15:17:49.133Z] Step 25/26 : LABEL git_sha=f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:17:49.133Z] ---> Running in 6a139a579dca [2024-07-20T15:17:49.133Z] Removing intermediate container 6a139a579dca [2024-07-20T15:17:49.133Z] ---> f634d838032d [2024-07-20T15:17:49.133Z] Step 26/26 : LABEL version=3.2.0-dev.17 [2024-07-20T15:17:49.133Z] ---> Running in 90f010c067e4 [2024-07-20T15:17:49.133Z] Removing intermediate container 90f010c067e4 [2024-07-20T15:17:49.133Z] ---> fc7268494f44 [2024-07-20T15:17:49.133Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-20T15:17:49.133Z] Successfully built fc7268494f44 [2024-07-20T15:17:49.133Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:17:49.252Z] provisioning config files... [2024-07-20T15:17:49.260Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9111136307324349027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:17:49.554Z] ---> ****-login.sh [2024-07-20T15:17:49.554Z] nexus3.edgexfoundry.org:10001 [2024-07-20T15:17:49.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:17:49.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:17:49.554Z] Configure a credential helper to remove this warning. See [2024-07-20T15:17:49.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:17:49.554Z] [2024-07-20T15:17:49.554Z] Login Succeeded [2024-07-20T15:17:49.554Z] nexus3.edgexfoundry.org:10002 [2024-07-20T15:17:49.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:17:49.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:17:49.554Z] Configure a credential helper to remove this warning. See [2024-07-20T15:17:49.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:17:49.554Z] [2024-07-20T15:17:49.554Z] Login Succeeded [2024-07-20T15:17:49.554Z] nexus3.edgexfoundry.org:10003 [2024-07-20T15:17:49.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:17:49.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:17:49.813Z] Configure a credential helper to remove this warning. See [2024-07-20T15:17:49.813Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:17:49.813Z] [2024-07-20T15:17:49.813Z] Login Succeeded [2024-07-20T15:17:49.813Z] nexus3.edgexfoundry.org:10004 [2024-07-20T15:17:49.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:17:49.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:17:49.813Z] Configure a credential helper to remove this warning. See [2024-07-20T15:17:49.813Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:17:49.813Z] [2024-07-20T15:17:49.813Z] Login Succeeded [2024-07-20T15:17:49.813Z] ****.io [2024-07-20T15:17:49.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:17:50.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:17:50.072Z] Configure a credential helper to remove this warning. See [2024-07-20T15:17:50.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:17:50.072Z] [2024-07-20T15:17:50.072Z] Login Succeeded [2024-07-20T15:17:50.072Z] ---> ****-login.sh ends [Pipeline] } [2024-07-20T15:17:50.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-20T15:17:50.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:17:50.159Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-07-20T15:17:50.159Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:17:50.159Z] latest [2024-07-20T15:17:50.159Z] 3.2.0-dev.17 [2024-07-20T15:17:50.159Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:17:50.159Z] main [2024-07-20T15:17:50.159Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:50.485Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:50.806Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:17:50.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-20T15:17:50.806Z] 1ad4fd4e8d61: Preparing [2024-07-20T15:17:50.806Z] d572f4f39a66: Preparing [2024-07-20T15:17:50.806Z] 18d7e2cd31c4: Preparing [2024-07-20T15:17:50.806Z] d5e317fb2e04: Preparing [2024-07-20T15:17:50.806Z] c7c761bf8c5c: Preparing [2024-07-20T15:17:50.806Z] 63ec0bd56cf3: Preparing [2024-07-20T15:17:50.806Z] 63ec0bd56cf3: Waiting [2024-07-20T15:17:50.806Z] c7c761bf8c5c: Pushed [2024-07-20T15:17:50.806Z] 63ec0bd56cf3: Layer already exists [2024-07-20T15:17:50.806Z] 1ad4fd4e8d61: Pushed [2024-07-20T15:17:50.806Z] d572f4f39a66: Pushed [2024-07-20T15:17:51.375Z] d5e317fb2e04: Pushed [2024-07-20T15:17:53.908Z] 18d7e2cd31c4: Pushed [2024-07-20T15:17:53.908Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:54.233Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:54.553Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-20T15:17:54.554Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-20T15:17:54.554Z] 1ad4fd4e8d61: Preparing [2024-07-20T15:17:54.554Z] d572f4f39a66: Preparing [2024-07-20T15:17:54.554Z] 18d7e2cd31c4: Preparing [2024-07-20T15:17:54.554Z] d5e317fb2e04: Preparing [2024-07-20T15:17:54.554Z] c7c761bf8c5c: Preparing [2024-07-20T15:17:54.554Z] 63ec0bd56cf3: Preparing [2024-07-20T15:17:54.554Z] 63ec0bd56cf3: Waiting [2024-07-20T15:17:54.554Z] 18d7e2cd31c4: Layer already exists [2024-07-20T15:17:54.554Z] d572f4f39a66: Layer already exists [2024-07-20T15:17:54.554Z] c7c761bf8c5c: Layer already exists [2024-07-20T15:17:54.554Z] 1ad4fd4e8d61: Layer already exists [2024-07-20T15:17:54.554Z] d5e317fb2e04: Layer already exists [2024-07-20T15:17:54.554Z] 63ec0bd56cf3: Layer already exists [2024-07-20T15:17:54.554Z] latest: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:54.882Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:55.204Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 [2024-07-20T15:17:55.204Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-20T15:17:55.204Z] 1ad4fd4e8d61: Preparing [2024-07-20T15:17:55.204Z] d572f4f39a66: Preparing [2024-07-20T15:17:55.204Z] 18d7e2cd31c4: Preparing [2024-07-20T15:17:55.204Z] d5e317fb2e04: Preparing [2024-07-20T15:17:55.204Z] c7c761bf8c5c: Preparing [2024-07-20T15:17:55.204Z] 63ec0bd56cf3: Preparing [2024-07-20T15:17:55.204Z] 63ec0bd56cf3: Waiting [2024-07-20T15:17:55.204Z] d5e317fb2e04: Layer already exists [2024-07-20T15:17:55.204Z] c7c761bf8c5c: Layer already exists [2024-07-20T15:17:55.204Z] d572f4f39a66: Layer already exists [2024-07-20T15:17:55.204Z] 1ad4fd4e8d61: Layer already exists [2024-07-20T15:17:55.204Z] 18d7e2cd31c4: Layer already exists [2024-07-20T15:17:55.204Z] 63ec0bd56cf3: Layer already exists [2024-07-20T15:17:55.204Z] 3.2.0-dev.17: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:55.528Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:55.847Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:17:55.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-20T15:17:55.847Z] 1ad4fd4e8d61: Preparing [2024-07-20T15:17:55.847Z] d572f4f39a66: Preparing [2024-07-20T15:17:55.847Z] 18d7e2cd31c4: Preparing [2024-07-20T15:17:55.847Z] d5e317fb2e04: Preparing [2024-07-20T15:17:55.847Z] c7c761bf8c5c: Preparing [2024-07-20T15:17:55.847Z] 63ec0bd56cf3: Preparing [2024-07-20T15:17:55.847Z] 63ec0bd56cf3: Waiting [2024-07-20T15:17:55.847Z] d572f4f39a66: Layer already exists [2024-07-20T15:17:55.847Z] 1ad4fd4e8d61: Layer already exists [2024-07-20T15:17:55.847Z] c7c761bf8c5c: Layer already exists [2024-07-20T15:17:55.847Z] 18d7e2cd31c4: Layer already exists [2024-07-20T15:17:55.847Z] d5e317fb2e04: Layer already exists [2024-07-20T15:17:55.847Z] 63ec0bd56cf3: Layer already exists [2024-07-20T15:17:55.847Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:56.176Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:56.502Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-07-20T15:17:56.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-20T15:17:56.502Z] 1ad4fd4e8d61: Preparing [2024-07-20T15:17:56.502Z] d572f4f39a66: Preparing [2024-07-20T15:17:56.502Z] 18d7e2cd31c4: Preparing [2024-07-20T15:17:56.502Z] d5e317fb2e04: Preparing [2024-07-20T15:17:56.502Z] c7c761bf8c5c: Preparing [2024-07-20T15:17:56.502Z] 63ec0bd56cf3: Preparing [2024-07-20T15:17:56.502Z] 63ec0bd56cf3: Waiting [2024-07-20T15:17:56.502Z] c7c761bf8c5c: Layer already exists [2024-07-20T15:17:56.502Z] 18d7e2cd31c4: Layer already exists [2024-07-20T15:17:56.502Z] d572f4f39a66: Layer already exists [2024-07-20T15:17:56.502Z] 1ad4fd4e8d61: Layer already exists [2024-07-20T15:17:56.502Z] d5e317fb2e04: Layer already exists [2024-07-20T15:17:56.502Z] 63ec0bd56cf3: Layer already exists [2024-07-20T15:17:56.502Z] main: digest: sha256:665bdeeab2e9855f0746ec4dd8e5bfc53112a74bde249f2f725f9eab98e259f3 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-20T15:17:56.575Z] ===================================================== [Pipeline] echo [2024-07-20T15:17:56.590Z] taggedImages: [2024-07-20T15:17:56.590Z] - nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:17:56.590Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-20T15:17:56.590Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.17 [2024-07-20T15:17:56.590Z] - nexus3.edgexfoundry.org:10004/device-rest:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:17:56.590Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:56.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-20T15:17:56.995Z] [2024-07-20T15:17:56.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:17:57.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-20T15:17:57.296Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-20T15:17:57.296Z] 5eb5b503b376: Pulling fs layer [2024-07-20T15:17:57.296Z] 5c69ac0246d0: Pulling fs layer [2024-07-20T15:17:57.296Z] ec43610c2a17: Pulling fs layer [2024-07-20T15:17:57.296Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-20T15:17:57.296Z] 33b1e0a273af: Pulling fs layer [2024-07-20T15:17:57.296Z] 5d3b04190fa2: Pulling fs layer [2024-07-20T15:17:57.296Z] 2f39f015ded8: Pulling fs layer [2024-07-20T15:17:57.296Z] 33b1e0a273af: Waiting [2024-07-20T15:17:57.296Z] 5d3b04190fa2: Waiting [2024-07-20T15:17:57.296Z] 2f39f015ded8: Waiting [2024-07-20T15:17:57.296Z] 3a2ae6a8a46f: Waiting [2024-07-20T15:17:57.296Z] 5c69ac0246d0: Download complete [2024-07-20T15:17:57.296Z] 3a2ae6a8a46f: Download complete [2024-07-20T15:17:57.296Z] 33b1e0a273af: Verifying Checksum [2024-07-20T15:17:57.296Z] 33b1e0a273af: Download complete [2024-07-20T15:17:57.296Z] 5d3b04190fa2: Verifying Checksum [2024-07-20T15:17:57.296Z] 5d3b04190fa2: Download complete [2024-07-20T15:17:57.296Z] ec43610c2a17: Verifying Checksum [2024-07-20T15:17:57.296Z] ec43610c2a17: Download complete [2024-07-20T15:17:57.553Z] 5eb5b503b376: Verifying Checksum [2024-07-20T15:17:57.553Z] 5eb5b503b376: Download complete [2024-07-20T15:17:58.119Z] 2f39f015ded8: Verifying Checksum [2024-07-20T15:17:58.119Z] 2f39f015ded8: Download complete [2024-07-20T15:17:58.684Z] 5eb5b503b376: Pull complete [2024-07-20T15:17:58.942Z] 5c69ac0246d0: Pull complete [2024-07-20T15:17:59.509Z] ec43610c2a17: Pull complete [2024-07-20T15:17:59.509Z] 3a2ae6a8a46f: Pull complete [2024-07-20T15:17:59.509Z] 33b1e0a273af: Pull complete [2024-07-20T15:17:59.766Z] 5d3b04190fa2: Pull complete [2024-07-20T15:18:03.943Z] 2f39f015ded8: Pull complete [2024-07-20T15:18:03.943Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-20T15:18:03.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-20T15:18:03.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:18:04.038Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:18:04.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-20T15:18:08.812Z] $ docker top eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:18:09.182Z] ---> job-cost.sh [2024-07-20T15:18:09.182Z] lf-activate-venv: SKIPPING [2024-07-20T15:18:09.182Z] INFO: No Stack... [2024-07-20T15:18:09.441Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-20T15:18:09.699Z] INFO: Archiving Costs [Pipeline] sh [2024-07-20T15:18:09.987Z] + + cut -d, -f6 [2024-07-20T15:18:09.987Z] cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2024-07-20T15:18:10.001Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [2024-07-20T15:18:10.009Z] Resource [jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] did not exist. Created. [2024-07-20T15:18:10.014Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-20T15:18:10.327Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-20T15:18:10.351Z] Stashed 1 file(s) [Pipeline] } [2024-07-20T15:18:10.360Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-20T15:18:10.383Z] $ docker stop --time=1 eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 [2024-07-20T15:18:11.533Z] $ docker rm -f --volumes eaca8510a5f385046f0a11dde108f52f2775c70128e8dcf9633b387cc383f455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-20T15:19:04.152Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6016 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-07-20T15:19:04.172Z] Running in /w/workspace/device-rest-go/169 [Pipeline] { [Pipeline] checkout [2024-07-20T15:19:05.228Z] The recommended git tool is: git [2024-07-20T15:19:11.144Z] using credential edgex-jenkins-ssh [2024-07-20T15:19:11.167Z] Cloning the remote Git repository [2024-07-20T15:19:11.214Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-20T15:19:11.336Z] > git init /w/workspace/device-rest-go/169 # timeout=10 [2024-07-20T15:19:11.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-20T15:19:11.529Z] > git --version # timeout=10 [2024-07-20T15:19:11.555Z] > git --version # 'git version 2.25.1' [2024-07-20T15:19:11.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-20T15:19:11.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-20T15:19:14.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-20T15:19:14.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-20T15:19:15.971Z] Avoid second fetch [2024-07-20T15:19:15.972Z] Checking out Revision f16f1098eb92bf801dde80d57265cdf1f99e8d64 (main) [2024-07-20T15:19:16.844Z] Commit message: "Merge pull request #400 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" [2024-07-20T15:19:15.994Z] > git config core.sparsecheckout # timeout=10 [2024-07-20T15:19:16.081Z] > git checkout -f f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-20T15:19:21.663Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-20T15:19:21.663Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-20T15:19:21.663Z] Dload Upload Total Spent Left Speed [2024-07-20T15:19:21.663Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-07-20T15:19:22.059Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-20T15:19:22.400Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-20T15:19:22.400Z] + sudo tee /etc/docker/daemon.new [2024-07-20T15:19:22.400Z] { [2024-07-20T15:19:22.400Z] "registry-mirrors": [ [2024-07-20T15:19:22.400Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-20T15:19:22.400Z] ], [2024-07-20T15:19:22.400Z] "bip": "10.250.0.254/24", [2024-07-20T15:19:22.400Z] "hosts": [ [2024-07-20T15:19:22.400Z] "tcp://0.0.0.0:5555", [2024-07-20T15:19:22.400Z] "unix:///var/run/docker.sock" [2024-07-20T15:19:22.400Z] ], [2024-07-20T15:19:22.400Z] "mtu": 1458, [2024-07-20T15:19:22.400Z] "selinux-enabled": true, [2024-07-20T15:19:22.400Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-20T15:19:22.400Z] } [Pipeline] sh [2024-07-20T15:19:22.744Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-20T15:19:23.089Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:19:41.421Z] provisioning config files... [2024-07-20T15:19:41.448Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/169@tmp/config17079071033289454831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:19:41.909Z] ---> ****-login.sh [2024-07-20T15:19:41.909Z] nexus3.edgexfoundry.org:10001 [2024-07-20T15:19:42.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:19:42.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:19:42.768Z] Configure a credential helper to remove this warning. See [2024-07-20T15:19:42.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:19:42.768Z] [2024-07-20T15:19:42.768Z] Login Succeeded [2024-07-20T15:19:42.768Z] nexus3.edgexfoundry.org:10002 [2024-07-20T15:19:43.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:19:43.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:19:43.036Z] Configure a credential helper to remove this warning. See [2024-07-20T15:19:43.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:19:43.037Z] [2024-07-20T15:19:43.037Z] Login Succeeded [2024-07-20T15:19:43.037Z] nexus3.edgexfoundry.org:10003 [2024-07-20T15:19:43.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:19:43.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:19:43.584Z] Configure a credential helper to remove this warning. See [2024-07-20T15:19:43.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:19:43.584Z] [2024-07-20T15:19:43.584Z] Login Succeeded [2024-07-20T15:19:43.584Z] nexus3.edgexfoundry.org:10004 [2024-07-20T15:19:43.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:19:43.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:19:43.855Z] Configure a credential helper to remove this warning. See [2024-07-20T15:19:43.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:19:43.855Z] [2024-07-20T15:19:43.855Z] Login Succeeded [2024-07-20T15:19:43.855Z] ****.io [2024-07-20T15:19:44.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:19:44.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:19:44.396Z] Configure a credential helper to remove this warning. See [2024-07-20T15:19:44.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:19:44.396Z] [2024-07-20T15:19:44.396Z] Login Succeeded [2024-07-20T15:19:44.396Z] ---> ****-login.sh ends [Pipeline] } [2024-07-20T15:19:44.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-20T15:19:44.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:19:44.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:19:44.812Z] ========================================================= [2024-07-20T15:19:44.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-20T15:19:44.812Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:19:45.203Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-20T15:19:45.203Z] Sending build context to Docker daemon 130.6kB [2024-07-20T15:19:45.476Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-20T15:19:45.476Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-20T15:19:45.754Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-20T15:19:45.754Z] c6b39de5b339: Pulling fs layer [2024-07-20T15:19:45.754Z] a69c41024577: Pulling fs layer [2024-07-20T15:19:45.754Z] d6de4b400683: Pulling fs layer [2024-07-20T15:19:45.754Z] 35cb2a7552d0: Pulling fs layer [2024-07-20T15:19:45.754Z] 4f4fb700ef54: Pulling fs layer [2024-07-20T15:19:45.754Z] 464afbd9ba4c: Pulling fs layer [2024-07-20T15:19:45.754Z] 00f215d4a9da: Pulling fs layer [2024-07-20T15:19:45.754Z] d496ad576159: Pulling fs layer [2024-07-20T15:19:45.754Z] 464afbd9ba4c: Waiting [2024-07-20T15:19:45.754Z] 00f215d4a9da: Waiting [2024-07-20T15:19:45.754Z] 35cb2a7552d0: Waiting [2024-07-20T15:19:45.754Z] 4f4fb700ef54: Waiting [2024-07-20T15:19:45.754Z] d496ad576159: Waiting [2024-07-20T15:19:45.754Z] a69c41024577: Verifying Checksum [2024-07-20T15:19:45.754Z] a69c41024577: Download complete [2024-07-20T15:19:45.754Z] 35cb2a7552d0: Verifying Checksum [2024-07-20T15:19:45.754Z] 35cb2a7552d0: Download complete [2024-07-20T15:19:45.754Z] 4f4fb700ef54: Verifying Checksum [2024-07-20T15:19:45.754Z] 4f4fb700ef54: Download complete [2024-07-20T15:19:45.754Z] c6b39de5b339: Verifying Checksum [2024-07-20T15:19:45.754Z] c6b39de5b339: Download complete [2024-07-20T15:19:45.754Z] 464afbd9ba4c: Verifying Checksum [2024-07-20T15:19:45.754Z] 464afbd9ba4c: Download complete [2024-07-20T15:19:46.356Z] d496ad576159: Verifying Checksum [2024-07-20T15:19:46.356Z] d496ad576159: Download complete [2024-07-20T15:19:46.628Z] c6b39de5b339: Pull complete [2024-07-20T15:19:47.614Z] a69c41024577: Pull complete [2024-07-20T15:19:47.892Z] d6de4b400683: Verifying Checksum [2024-07-20T15:19:47.892Z] d6de4b400683: Download complete [2024-07-20T15:19:49.323Z] 00f215d4a9da: Verifying Checksum [2024-07-20T15:19:49.323Z] 00f215d4a9da: Download complete [2024-07-20T15:20:01.686Z] d6de4b400683: Pull complete [2024-07-20T15:20:01.963Z] 35cb2a7552d0: Pull complete [2024-07-20T15:20:02.242Z] 4f4fb700ef54: Pull complete [2024-07-20T15:20:02.514Z] 464afbd9ba4c: Pull complete [2024-07-20T15:20:12.620Z] 00f215d4a9da: Pull complete [2024-07-20T15:20:14.035Z] d496ad576159: Pull complete [2024-07-20T15:20:14.035Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-20T15:20:14.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-20T15:20:14.035Z] ---> f246e2811388 [2024-07-20T15:20:14.035Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-20T15:20:14.650Z] ---> Running in d2742eac51bb [2024-07-20T15:20:15.243Z] Removing intermediate container d2742eac51bb [2024-07-20T15:20:15.243Z] ---> f4e707935941 [2024-07-20T15:20:15.243Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-20T15:20:15.243Z] ---> Running in 1c22f9880329 [2024-07-20T15:20:15.512Z] Removing intermediate container 1c22f9880329 [2024-07-20T15:20:15.512Z] ---> 949a64dbe2e1 [2024-07-20T15:20:15.512Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-20T15:20:15.783Z] ---> Running in a8ffee207640 [2024-07-20T15:20:16.057Z] Removing intermediate container a8ffee207640 [2024-07-20T15:20:16.057Z] ---> 0e5924fdd7fe [2024-07-20T15:20:16.057Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-20T15:20:16.352Z] ---> Running in dc1d6eaf8e23 [2024-07-20T15:20:16.625Z] Removing intermediate container dc1d6eaf8e23 [2024-07-20T15:20:16.625Z] ---> 31627597a242 [2024-07-20T15:20:16.625Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-20T15:20:16.625Z] ---> Running in 432ceba0d641 [2024-07-20T15:20:18.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-20T15:20:18.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-20T15:20:19.600Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-20T15:20:19.600Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-20T15:20:19.600Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-20T15:20:19.870Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-20T15:20:19.870Z] Executing busybox-1.36.1-r5.trigger [2024-07-20T15:20:19.870Z] OK: 271 MiB in 56 packages [2024-07-20T15:20:21.293Z] Removing intermediate container 432ceba0d641 [2024-07-20T15:20:21.293Z] ---> 04a6e838d9f6 [2024-07-20T15:20:21.293Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-20T15:20:21.293Z] ---> Running in 65519808cdc2 [2024-07-20T15:20:21.563Z] Removing intermediate container 65519808cdc2 [2024-07-20T15:20:21.563Z] ---> 1ef1c2c05915 [2024-07-20T15:20:21.563Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-20T15:20:22.168Z] ---> 8e659bda653d [2024-07-20T15:20:22.168Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-20T15:20:22.168Z] ---> Running in 9c961804898b [2024-07-20T15:22:28.907Z] Removing intermediate container 9c961804898b [2024-07-20T15:22:28.907Z] ---> f67c9736bca1 [2024-07-20T15:22:28.907Z] Step 11/12 : COPY . . [2024-07-20T15:22:28.907Z] ---> a89abf5314c7 [2024-07-20T15:22:28.907Z] Step 12/12 : RUN $MAKE [2024-07-20T15:22:28.907Z] ---> Running in 80f49591b341 [2024-07-20T15:22:28.907Z] noop [2024-07-20T15:22:28.907Z] Removing intermediate container 80f49591b341 [2024-07-20T15:22:28.907Z] ---> e3116e27a42f [2024-07-20T15:22:28.907Z] Successfully built e3116e27a42f [2024-07-20T15:22:28.907Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:22:29.278Z] + docker inspect -f . ci-base-image-arm64 [2024-07-20T15:22:29.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:22:29.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container [2024-07-20T15:22:29.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-20T15:22:31.085Z] $ docker top ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:22:31.984Z] + go version [2024-07-20T15:22:31.984Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-20T15:22:32.000Z] $ docker stop --time=1 ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 [2024-07-20T15:22:33.696Z] $ docker rm -f --volumes ce59ad8aeb07d6e328998f681d5c2c49da0258fb3e7afb80882f1a0ee9d90968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:22:34.340Z] + docker inspect -f . ci-base-image-arm64 [2024-07-20T15:22:34.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:22:34.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container [2024-07-20T15:22:34.654Z] $ 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/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-20T15:22:36.006Z] $ docker top 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:22:36.914Z] + git config --global --add safe.directory /w/workspace/device-rest-go/169 [Pipeline] fileExists [Pipeline] sh [2024-07-20T15:22:37.594Z] + make test [2024-07-20T15:22:37.594Z] go test ./... -coverprofile=coverage.out ./... [2024-07-20T15:22:44.261Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-20T15:27:06.461Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-20T15:27:10.714Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 33.2% of statements [2024-07-20T15:27:11.679Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-20T15:27:11.679Z] go vet ./... [2024-07-20T15:28:08.471Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-20T15:28:08.471Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-20T15:28:08.471Z] ./bin/test-attribution-txt.sh [2024-07-20T15:28:08.471Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-20T15:28:08.471Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-20T15:28:08.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-20T15:28:08.511Z] $ docker stop --time=1 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd [2024-07-20T15:28:10.654Z] $ docker rm -f --volumes 7eb434a36e0459103872a9f76cb5672ac99cd8d4a8ec74c8099ded466b8a4fdd [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-20T15:28:12.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-20T15:28:12.390Z] Warning: overwriting stash ‘coverage-report’ [2024-07-20T15:28:12.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-20T15:28:13.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-20T15:28:13.667Z] + ls -al . [2024-07-20T15:28:13.667Z] total 244 [2024-07-20T15:28:13.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:22 . [2024-07-20T15:28:13.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 15:19 .. [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 20 15:19 .dockerignore [2024-07-20T15:28:13.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 15:19 .git [2024-07-20T15:28:13.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 .github [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 20 15:19 .gitignore [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 15:19 .golangci.yml [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 20 15:19 Attribution.txt [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 20 15:19 CHANGELOG.md [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 20 15:19 Dockerfile [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 15:19 GOVERNANCE.md [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 20 15:19 Jenkinsfile [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 15:19 LICENSE [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 20 15:19 Makefile [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 20 15:19 OWNERS.md [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 20 15:19 README.md [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 20 15:15 VERSION [2024-07-20T15:28:13.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:19 bin [2024-07-20T15:28:13.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 cmd [2024-07-20T15:28:13.667Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 20 15:27 coverage.out [2024-07-20T15:28:13.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 15:19 driver [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 7133 Jul 20 15:19 go.mod [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 20 15:19 go.sum [2024-07-20T15:28:13.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 15:19 openapi [2024-07-20T15:28:13.667Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 20 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:28:14.025Z] + 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=f16f1098eb92bf801dde80d57265cdf1f99e8d64 --label arch=arm64 --label version=3.2.0-dev.17 . [2024-07-20T15:28:14.025Z] Sending build context to Docker daemon 145.9kB [2024-07-20T15:28:14.303Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-20T15:28:14.303Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-20T15:28:14.303Z] ---> e3116e27a42f [2024-07-20T15:28:14.303Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-20T15:28:14.573Z] ---> Running in 61bb17998f9c [2024-07-20T15:28:14.841Z] Removing intermediate container 61bb17998f9c [2024-07-20T15:28:14.841Z] ---> 7ad21b2d44d4 [2024-07-20T15:28:14.841Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-20T15:28:14.841Z] ---> Running in 93de3a86542a [2024-07-20T15:28:15.111Z] Removing intermediate container 93de3a86542a [2024-07-20T15:28:15.111Z] ---> ab318d324662 [2024-07-20T15:28:15.111Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-20T15:28:15.382Z] ---> Running in 77a7d159b6ee [2024-07-20T15:28:15.650Z] Removing intermediate container 77a7d159b6ee [2024-07-20T15:28:15.650Z] ---> 4a3a0ae45be4 [2024-07-20T15:28:15.650Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-20T15:28:15.650Z] ---> Running in 918e41380779 [2024-07-20T15:28:16.234Z] Removing intermediate container 918e41380779 [2024-07-20T15:28:16.234Z] ---> 7598c8a93faf [2024-07-20T15:28:16.234Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-20T15:28:16.234Z] ---> Running in c352abb5319d [2024-07-20T15:28:17.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-20T15:28:17.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-20T15:28:19.340Z] OK: 271 MiB in 56 packages [2024-07-20T15:28:20.310Z] Removing intermediate container c352abb5319d [2024-07-20T15:28:20.310Z] ---> a302a9932a9e [2024-07-20T15:28:20.310Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-20T15:28:20.310Z] ---> Running in e3140ab2a403 [2024-07-20T15:28:20.581Z] Removing intermediate container e3140ab2a403 [2024-07-20T15:28:20.581Z] ---> a009d4fc3bf6 [2024-07-20T15:28:20.581Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-20T15:28:21.169Z] ---> 1fc9db7edd93 [2024-07-20T15:28:21.169Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-20T15:28:21.169Z] ---> Running in a9da68a8bc38 [2024-07-20T15:28:23.748Z] Removing intermediate container a9da68a8bc38 [2024-07-20T15:28:23.748Z] ---> b3a3c43b15f2 [2024-07-20T15:28:23.748Z] Step 11/26 : COPY . . [2024-07-20T15:28:24.331Z] ---> 715489ec499e [2024-07-20T15:28:24.331Z] Step 12/26 : RUN $MAKE [2024-07-20T15:28:24.331Z] ---> Running in f6cd1107c5db [2024-07-20T15:28:25.289Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-20T15:32:02.062Z] Removing intermediate container f6cd1107c5db [2024-07-20T15:32:02.062Z] ---> 109c6dc74bd1 [2024-07-20T15:32:02.062Z] Step 13/26 : FROM alpine:3.18 [2024-07-20T15:32:02.062Z] 3.18: Pulling from library/alpine [2024-07-20T15:32:02.062Z] 5c905c7ebe2f: Pulling fs layer [2024-07-20T15:32:02.062Z] 5c905c7ebe2f: Verifying Checksum [2024-07-20T15:32:02.062Z] 5c905c7ebe2f: Download complete [2024-07-20T15:32:02.062Z] 5c905c7ebe2f: Pull complete [2024-07-20T15:32:02.062Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-20T15:32:02.062Z] Status: Downloaded newer image for alpine:3.18 [2024-07-20T15:32:02.062Z] ---> dec292d02e07 [2024-07-20T15:32:02.062Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-20T15:32:02.062Z] ---> Running in c45f55f450c8 [2024-07-20T15:32:02.062Z] Removing intermediate container c45f55f450c8 [2024-07-20T15:32:02.062Z] ---> 14897b67f911 [2024-07-20T15:32:02.062Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-20T15:32:02.062Z] ---> Running in ec1a5de5850e [2024-07-20T15:32:02.062Z] Removing intermediate container ec1a5de5850e [2024-07-20T15:32:02.062Z] ---> a3c034cb15b5 [2024-07-20T15:32:02.062Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-20T15:32:02.062Z] ---> Running in debec6a27038 [2024-07-20T15:32:03.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-20T15:32:03.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-20T15:32:04.243Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-20T15:32:04.243Z] Executing busybox-1.36.1-r7.trigger [2024-07-20T15:32:04.243Z] OK: 8 MiB in 16 packages [2024-07-20T15:32:05.215Z] Removing intermediate container debec6a27038 [2024-07-20T15:32:05.215Z] ---> 3552f614feb4 [2024-07-20T15:32:05.215Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-20T15:32:05.484Z] ---> Running in 3e6fcaac5e8e [2024-07-20T15:32:06.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-20T15:32:06.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-20T15:32:07.696Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-20T15:32:07.696Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-20T15:32:07.696Z] OK: 8 MiB in 16 packages [2024-07-20T15:32:08.649Z] Removing intermediate container 3e6fcaac5e8e [2024-07-20T15:32:08.649Z] ---> 38d9af9c695d [2024-07-20T15:32:08.649Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-20T15:32:10.577Z] ---> 5c1b9440147a [2024-07-20T15:32:10.577Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-20T15:32:10.842Z] ---> 293f1707eece [2024-07-20T15:32:10.842Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-20T15:32:11.418Z] ---> fe0c73b0a824 [2024-07-20T15:32:11.418Z] Step 21/26 : EXPOSE 59986 [2024-07-20T15:32:11.418Z] ---> Running in 9645e01d9b50 [2024-07-20T15:32:11.694Z] Removing intermediate container 9645e01d9b50 [2024-07-20T15:32:11.694Z] ---> 293f7460864c [2024-07-20T15:32:11.694Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-20T15:32:11.694Z] ---> Running in 46bbe3653226 [2024-07-20T15:32:12.287Z] Removing intermediate container 46bbe3653226 [2024-07-20T15:32:12.287Z] ---> 6491bcec6358 [2024-07-20T15:32:12.287Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-20T15:32:12.287Z] ---> Running in 12ca55c72976 [2024-07-20T15:32:12.553Z] Removing intermediate container 12ca55c72976 [2024-07-20T15:32:12.553Z] ---> a4c4e487daa2 [2024-07-20T15:32:12.553Z] Step 24/26 : LABEL arch=arm64 [2024-07-20T15:32:12.553Z] ---> Running in bcab970e14ac [2024-07-20T15:32:12.819Z] Removing intermediate container bcab970e14ac [2024-07-20T15:32:12.819Z] ---> 65161001ff01 [2024-07-20T15:32:12.819Z] Step 25/26 : LABEL git_sha=f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:32:12.819Z] ---> Running in e8ca40d7d932 [2024-07-20T15:32:13.083Z] Removing intermediate container e8ca40d7d932 [2024-07-20T15:32:13.083Z] ---> a42acbca4d14 [2024-07-20T15:32:13.083Z] Step 26/26 : LABEL version=3.2.0-dev.17 [2024-07-20T15:32:13.348Z] ---> Running in 1ea178b22eb1 [2024-07-20T15:32:13.612Z] Removing intermediate container 1ea178b22eb1 [2024-07-20T15:32:13.612Z] ---> 03ccf9ac6974 [2024-07-20T15:32:13.612Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-20T15:32:13.612Z] Successfully built 03ccf9ac6974 [2024-07-20T15:32:13.612Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:32:13.764Z] provisioning config files... [2024-07-20T15:32:13.778Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/169@tmp/config8144113892260938616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:32:14.130Z] ---> ****-login.sh [2024-07-20T15:32:14.130Z] nexus3.edgexfoundry.org:10001 [2024-07-20T15:32:14.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:32:14.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:32:14.400Z] Configure a credential helper to remove this warning. See [2024-07-20T15:32:14.400Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:32:14.400Z] [2024-07-20T15:32:14.400Z] Login Succeeded [2024-07-20T15:32:14.400Z] nexus3.edgexfoundry.org:10002 [2024-07-20T15:32:14.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:32:14.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:32:14.667Z] Configure a credential helper to remove this warning. See [2024-07-20T15:32:14.667Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:32:14.667Z] [2024-07-20T15:32:14.667Z] Login Succeeded [2024-07-20T15:32:14.667Z] nexus3.edgexfoundry.org:10003 [2024-07-20T15:32:14.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:32:15.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:32:15.199Z] Configure a credential helper to remove this warning. See [2024-07-20T15:32:15.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:32:15.199Z] [2024-07-20T15:32:15.199Z] Login Succeeded [2024-07-20T15:32:15.199Z] nexus3.edgexfoundry.org:10004 [2024-07-20T15:32:15.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:32:15.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:32:15.465Z] Configure a credential helper to remove this warning. See [2024-07-20T15:32:15.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:32:15.466Z] [2024-07-20T15:32:15.466Z] Login Succeeded [2024-07-20T15:32:15.466Z] ****.io [2024-07-20T15:32:15.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-20T15:32:15.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-20T15:32:15.995Z] Configure a credential helper to remove this warning. See [2024-07-20T15:32:15.995Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-20T15:32:15.995Z] [2024-07-20T15:32:15.995Z] Login Succeeded [2024-07-20T15:32:15.995Z] ---> ****-login.sh ends [Pipeline] } [2024-07-20T15:32:16.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-20T15:32:16.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-20T15:32:16.079Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-07-20T15:32:16.079Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:32:16.079Z] latest [2024-07-20T15:32:16.079Z] 3.2.0-dev.17 [2024-07-20T15:32:16.079Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:32:16.079Z] main [2024-07-20T15:32:16.079Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:16.447Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:16.810Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:32:16.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-20T15:32:16.810Z] bc19969b1925: Preparing [2024-07-20T15:32:16.810Z] 89d2d646b5d4: Preparing [2024-07-20T15:32:16.810Z] 573b7fa98983: Preparing [2024-07-20T15:32:16.810Z] af6b270d8575: Preparing [2024-07-20T15:32:16.810Z] 73bc89d6c11a: Preparing [2024-07-20T15:32:16.810Z] da707bb00cb8: Preparing [2024-07-20T15:32:16.810Z] da707bb00cb8: Waiting [2024-07-20T15:32:17.075Z] 73bc89d6c11a: Pushed [2024-07-20T15:32:17.075Z] 89d2d646b5d4: Pushed [2024-07-20T15:32:17.075Z] bc19969b1925: Pushed [2024-07-20T15:32:17.075Z] da707bb00cb8: Layer already exists [2024-07-20T15:32:18.032Z] af6b270d8575: Pushed [2024-07-20T15:32:23.533Z] 573b7fa98983: Pushed [2024-07-20T15:32:23.533Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:23.913Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:24.263Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-20T15:32:24.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-20T15:32:24.263Z] bc19969b1925: Preparing [2024-07-20T15:32:24.263Z] 89d2d646b5d4: Preparing [2024-07-20T15:32:24.263Z] 573b7fa98983: Preparing [2024-07-20T15:32:24.263Z] af6b270d8575: Preparing [2024-07-20T15:32:24.263Z] 73bc89d6c11a: Preparing [2024-07-20T15:32:24.263Z] da707bb00cb8: Preparing [2024-07-20T15:32:24.263Z] da707bb00cb8: Waiting [2024-07-20T15:32:24.263Z] bc19969b1925: Layer already exists [2024-07-20T15:32:24.263Z] af6b270d8575: Layer already exists [2024-07-20T15:32:24.263Z] 573b7fa98983: Layer already exists [2024-07-20T15:32:24.263Z] 73bc89d6c11a: Layer already exists [2024-07-20T15:32:24.263Z] 89d2d646b5d4: Layer already exists [2024-07-20T15:32:24.263Z] da707bb00cb8: Layer already exists [2024-07-20T15:32:24.527Z] latest: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:24.878Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:25.226Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 [2024-07-20T15:32:25.226Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-20T15:32:25.226Z] bc19969b1925: Preparing [2024-07-20T15:32:25.226Z] 89d2d646b5d4: Preparing [2024-07-20T15:32:25.226Z] 573b7fa98983: Preparing [2024-07-20T15:32:25.226Z] af6b270d8575: Preparing [2024-07-20T15:32:25.226Z] 73bc89d6c11a: Preparing [2024-07-20T15:32:25.226Z] da707bb00cb8: Preparing [2024-07-20T15:32:25.226Z] da707bb00cb8: Waiting [2024-07-20T15:32:25.226Z] af6b270d8575: Layer already exists [2024-07-20T15:32:25.226Z] bc19969b1925: Layer already exists [2024-07-20T15:32:25.226Z] 73bc89d6c11a: Layer already exists [2024-07-20T15:32:25.226Z] 573b7fa98983: Layer already exists [2024-07-20T15:32:25.226Z] 89d2d646b5d4: Layer already exists [2024-07-20T15:32:25.226Z] da707bb00cb8: Layer already exists [2024-07-20T15:32:25.226Z] 3.2.0-dev.17: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:25.845Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:26.195Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:32:26.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-20T15:32:26.195Z] bc19969b1925: Preparing [2024-07-20T15:32:26.195Z] 89d2d646b5d4: Preparing [2024-07-20T15:32:26.195Z] 573b7fa98983: Preparing [2024-07-20T15:32:26.195Z] af6b270d8575: Preparing [2024-07-20T15:32:26.195Z] 73bc89d6c11a: Preparing [2024-07-20T15:32:26.195Z] da707bb00cb8: Preparing [2024-07-20T15:32:26.195Z] da707bb00cb8: Waiting [2024-07-20T15:32:26.195Z] af6b270d8575: Layer already exists [2024-07-20T15:32:26.195Z] 73bc89d6c11a: Layer already exists [2024-07-20T15:32:26.195Z] bc19969b1925: Layer already exists [2024-07-20T15:32:26.195Z] 573b7fa98983: Layer already exists [2024-07-20T15:32:26.195Z] 89d2d646b5d4: Layer already exists [2024-07-20T15:32:26.195Z] da707bb00cb8: Layer already exists [2024-07-20T15:32:26.462Z] f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:26.815Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:27.188Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-07-20T15:32:27.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-20T15:32:27.189Z] bc19969b1925: Preparing [2024-07-20T15:32:27.189Z] 89d2d646b5d4: Preparing [2024-07-20T15:32:27.189Z] 573b7fa98983: Preparing [2024-07-20T15:32:27.189Z] af6b270d8575: Preparing [2024-07-20T15:32:27.189Z] 73bc89d6c11a: Preparing [2024-07-20T15:32:27.189Z] da707bb00cb8: Preparing [2024-07-20T15:32:27.189Z] da707bb00cb8: Waiting [2024-07-20T15:32:27.189Z] af6b270d8575: Layer already exists [2024-07-20T15:32:27.189Z] 573b7fa98983: Layer already exists [2024-07-20T15:32:27.189Z] bc19969b1925: Layer already exists [2024-07-20T15:32:27.189Z] 73bc89d6c11a: Layer already exists [2024-07-20T15:32:27.189Z] 89d2d646b5d4: Layer already exists [2024-07-20T15:32:27.189Z] da707bb00cb8: Layer already exists [2024-07-20T15:32:27.455Z] main: digest: sha256:aa4201d89ff0423df661c6d11e8b4e809b626cb92fa66d4f34a19ebbb7e1fd26 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-20T15:32:27.518Z] ===================================================== [Pipeline] echo [2024-07-20T15:32:27.528Z] taggedImages: [2024-07-20T15:32:27.528Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64 [2024-07-20T15:32:27.528Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-20T15:32:27.528Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.17 [2024-07-20T15:32:27.528Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f16f1098eb92bf801dde80d57265cdf1f99e8d64-3.2.0-dev.17 [2024-07-20T15:32:27.528Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:27.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-20T15:32:27.894Z] [2024-07-20T15:32:27.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:32:28.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-20T15:32:28.236Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-20T15:32:28.236Z] 8998bd30e6a1: Pulling fs layer [2024-07-20T15:32:28.236Z] 04944245beec: Pulling fs layer [2024-07-20T15:32:28.236Z] 699f458cf7ca: Pulling fs layer [2024-07-20T15:32:28.236Z] 765212b225bb: Pulling fs layer [2024-07-20T15:32:28.236Z] f23df028b6ca: Pulling fs layer [2024-07-20T15:32:28.236Z] d65c8cfc05b1: Pulling fs layer [2024-07-20T15:32:28.236Z] 2437ff75d9bd: Pulling fs layer [2024-07-20T15:32:28.236Z] f23df028b6ca: Waiting [2024-07-20T15:32:28.236Z] d65c8cfc05b1: Waiting [2024-07-20T15:32:28.236Z] 2437ff75d9bd: Waiting [2024-07-20T15:32:28.236Z] 765212b225bb: Waiting [2024-07-20T15:32:28.510Z] 04944245beec: Verifying Checksum [2024-07-20T15:32:28.510Z] 04944245beec: Download complete [2024-07-20T15:32:28.510Z] 765212b225bb: Download complete [2024-07-20T15:32:28.510Z] f23df028b6ca: Verifying Checksum [2024-07-20T15:32:28.510Z] f23df028b6ca: Download complete [2024-07-20T15:32:28.510Z] d65c8cfc05b1: Verifying Checksum [2024-07-20T15:32:28.510Z] d65c8cfc05b1: Download complete [2024-07-20T15:32:28.778Z] 699f458cf7ca: Verifying Checksum [2024-07-20T15:32:28.778Z] 699f458cf7ca: Download complete [2024-07-20T15:32:29.045Z] 8998bd30e6a1: Verifying Checksum [2024-07-20T15:32:29.045Z] 8998bd30e6a1: Download complete [2024-07-20T15:32:31.625Z] 2437ff75d9bd: Verifying Checksum [2024-07-20T15:32:31.625Z] 2437ff75d9bd: Download complete [2024-07-20T15:32:34.206Z] 8998bd30e6a1: Pull complete [2024-07-20T15:32:34.471Z] 04944245beec: Pull complete [2024-07-20T15:32:35.876Z] 699f458cf7ca: Pull complete [2024-07-20T15:32:36.142Z] 765212b225bb: Pull complete [2024-07-20T15:32:37.099Z] f23df028b6ca: Pull complete [2024-07-20T15:32:37.367Z] d65c8cfc05b1: Pull complete [2024-07-20T15:32:55.576Z] 2437ff75d9bd: Pull complete [2024-07-20T15:32:55.576Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-20T15:32:55.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-20T15:32:55.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:32:55.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-6016 does not seem to be running inside a container [2024-07-20T15:32:56.046Z] $ 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/169 -v /w/workspace/device-rest-go/169:/w/workspace/device-rest-go/169:rw,z -v /w/workspace/device-rest-go/169@tmp:/w/workspace/device-rest-go/169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-20T15:32:58.695Z] $ docker top f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:32:59.536Z] ---> job-cost.sh [2024-07-20T15:32:59.536Z] lf-activate-venv: SKIPPING [2024-07-20T15:32:59.536Z] INFO: No Stack... [2024-07-20T15:33:00.114Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-20T15:33:00.700Z] INFO: Archiving Costs [Pipeline] sh [2024-07-20T15:33:01.335Z] + cat /w/workspace/device-rest-go/169/archives/cost.csv [2024-07-20T15:33:01.335Z] + cut -d, -f6 [Pipeline] lock [2024-07-20T15:33:01.389Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [2024-07-20T15:33:01.398Z] Resource [jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] did not exist. Created. [2024-07-20T15:33:01.404Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-20T15:33:02.056Z] /w/workspace/device-rest-go/169@tmp/durable-e648fca5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-20T15:33:02.693Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-20T15:33:02.718Z] Warning: overwriting stash ‘stack-cost’ [2024-07-20T15:33:02.761Z] Stashed 1 file(s) [Pipeline] } [2024-07-20T15:33:02.775Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-169-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-20T15:33:02.798Z] $ docker stop --time=1 f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e [2024-07-20T15:33:04.411Z] $ docker rm -f --volumes f8d78ccd8b637d1bbfa7cb8a5b28a596105208fbd44d7ea1d25a470fab23005e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-20T15:33:04.887Z] provisioning config files... [2024-07-20T15:33:04.895Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7242935079614822917tmp [Pipeline] { [Pipeline] sh [2024-07-20T15:33:05.200Z] + set +x [2024-07-20T15:33:05.200Z] + curl -s https://codecov.io/bash [2024-07-20T15:33:05.200Z] + bash -s -- [2024-07-20T15:33:05.200Z] [2024-07-20T15:33:05.200Z] _____ _ [2024-07-20T15:33:05.200Z] / ____| | | [2024-07-20T15:33:05.200Z] | | ___ __| | ___ ___ _____ __ [2024-07-20T15:33:05.200Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-20T15:33:05.200Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-20T15:33:05.200Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-20T15:33:05.200Z] Bash-1.0.6 [2024-07-20T15:33:05.200Z] [2024-07-20T15:33:05.200Z] [2024-07-20T15:33:05.200Z] ==> git version 2.25.1 found [2024-07-20T15:33:05.200Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-20T15:33:05.200Z] Release-Date: 2020-01-08 [2024-07-20T15:33:05.200Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-20T15:33:05.200Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-20T15:33:05.200Z] ==> Jenkins CI detected. [2024-07-20T15:33:05.200Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-07-20T15:33:05.200Z] project root: . [2024-07-20T15:33:05.200Z] --> token set from env [2024-07-20T15:33:05.200Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-20T15:33:05.460Z] ==> Running gcov in . (disable via -X gcov) [2024-07-20T15:33:05.460Z] ==> Python coveragepy not found [2024-07-20T15:33:05.460Z] ==> Searching for coverage reports in: [2024-07-20T15:33:05.460Z] + . [2024-07-20T15:33:05.460Z] -> Found 1 reports [2024-07-20T15:33:05.460Z] ==> Detecting git/mercurial file structure [2024-07-20T15:33:05.460Z] ==> Reading reports [2024-07-20T15:33:05.460Z] + ./coverage.out bytes=14499 [2024-07-20T15:33:05.460Z] ==> Appending adjustments [2024-07-20T15:33:05.460Z] https://docs.codecov.io/docs/fixing-reports [2024-07-20T15:33:05.460Z] + Found adjustments [2024-07-20T15:33:05.460Z] ==> Gzipping contents [2024-07-20T15:33:05.460Z] 4.0K /tmp/codecov.cCfSFc.gz [2024-07-20T15:33:05.460Z] ==> Uploading reports [2024-07-20T15:33:05.460Z] url: https://codecov.io [2024-07-20T15:33:05.460Z] query: branch=main&commit=f16f1098eb92bf801dde80d57265cdf1f99e8d64&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-20T15:33:05.460Z] -> Pinging Codecov [2024-07-20T15:33:05.460Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f16f1098eb92bf801dde80d57265cdf1f99e8d64&build=169&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F169%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-20T15:33:05.720Z] -> Uploading to [2024-07-20T15:33:05.720Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-20/4E5D53B4F1F92C436F7061BF334D961C/f16f1098eb92bf801dde80d57265cdf1f99e8d64/e6d13dde-3c31-4d49-a6d8-98ca6b91267f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240720%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240720T153305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3e8f3818d2c481217d9642baaaa657fa23a5dc895988c37b758274a59a30d1e [2024-07-20T15:33:05.720Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-20T15:33:05.720Z] Dload Upload Total Spent Left Speed [2024-07-20T15:33:05.980Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8725 --:--:-- --:--:-- --:--:-- 8692 [2024-07-20T15:33:05.980Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] } [2024-07-20T15:33:05.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-20T15:33:06.131Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-20T15:33:06.150Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:06.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-20T15:33:06.459Z] [2024-07-20T15:33:06.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:06.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-20T15:33:06.762Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-20T15:33:06.762Z] 619be1103602: Already exists [2024-07-20T15:33:06.762Z] f8ea3408117e: Pulling fs layer [2024-07-20T15:33:06.762Z] 91320369b822: Pulling fs layer [2024-07-20T15:33:06.762Z] 0406650e8295: Pulling fs layer [2024-07-20T15:33:06.762Z] 4f4fb700ef54: Pulling fs layer [2024-07-20T15:33:06.762Z] 96d80e3f36e1: Pulling fs layer [2024-07-20T15:33:06.762Z] bcf3aedb951c: Pulling fs layer [2024-07-20T15:33:06.762Z] 4f4fb700ef54: Waiting [2024-07-20T15:33:06.762Z] 96d80e3f36e1: Waiting [2024-07-20T15:33:06.762Z] bcf3aedb951c: Waiting [2024-07-20T15:33:06.762Z] 0406650e8295: Download complete [2024-07-20T15:33:06.762Z] f8ea3408117e: Download complete [2024-07-20T15:33:06.762Z] 4f4fb700ef54: Download complete [2024-07-20T15:33:06.762Z] f8ea3408117e: Pull complete [2024-07-20T15:33:07.023Z] 96d80e3f36e1: Verifying Checksum [2024-07-20T15:33:07.023Z] 96d80e3f36e1: Download complete [2024-07-20T15:33:07.589Z] 91320369b822: Verifying Checksum [2024-07-20T15:33:07.589Z] 91320369b822: Download complete [2024-07-20T15:33:07.846Z] bcf3aedb951c: Verifying Checksum [2024-07-20T15:33:07.846Z] bcf3aedb951c: Download complete [2024-07-20T15:33:11.127Z] 91320369b822: Pull complete [2024-07-20T15:33:11.127Z] 0406650e8295: Pull complete [2024-07-20T15:33:11.127Z] 4f4fb700ef54: Pull complete [2024-07-20T15:33:11.127Z] 96d80e3f36e1: Pull complete [2024-07-20T15:33:13.814Z] bcf3aedb951c: Pull complete [2024-07-20T15:33:13.814Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-20T15:33:13.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-20T15:33:13.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:33:13.923Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:33:13.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-07-20T15:33:18.230Z] $ docker top 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:33:18.590Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-07-20T15:33:18.600Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-07-20T15:33:18.879Z] + set -o pipefail [2024-07-20T15:33:18.879Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-07-20T15:33:25.445Z] [2024-07-20T15:33:25.445Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-07-20T15:33:25.445Z] [2024-07-20T15:33:25.445Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/f1125867-50ad-4a7c-bc6e-cb58ac97cb2e [2024-07-20T15:33:25.445Z] [2024-07-20T15:33:25.445Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-20T15:33:25.445Z] [Pipeline] } [2024-07-20T15:33:25.453Z] $ docker stop --time=1 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a [2024-07-20T15:33:31.018Z] $ docker rm -f --volumes 869f3bb421fa3d2bbf463065cdaf0bbeebc1c33a6eb20febd1d07177d828196a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-20T15:33:31.896Z] + git log --format=format:%s -1 f16f1098eb92bf801dde80d57265cdf1f99e8d64 [Pipeline] sh [2024-07-20T15:33:32.209Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-20T15:33:32.209Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:32.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:33:32.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:33:32.608Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:33:32.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-20T15:33:33.171Z] $ docker top c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-20T15:33:33.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-20T15:33:33.277Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-20T15:33:33.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-20T15:33:33.393Z] $ docker exec c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb ssh-agent [2024-07-20T15:33:33.493Z] SSH_AUTH_SOCK=/tmp/ssh-Bf9BnDjsVPBK/agent.31 [2024-07-20T15:33:33.493Z] SSH_AGENT_PID=37 [2024-07-20T15:33:33.497Z] Running ssh-add (command line suppressed) [2024-07-20T15:33:33.601Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1850260567905569170.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1850260567905569170.key) [2024-07-20T15:33:33.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-20T15:33:33.909Z] + git semver tag [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,097 [run_tag] DEBUG tag force:False [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,097 [check_head_tag] DEBUG check head tag [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,098 [execute] INFO git cat-file --batch-check [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,102 [execute] INFO git cat-file --batch [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,122 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,122 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-20T15:33:34.168Z] 2024-07-20 15:33:34,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:33:34.168Z] 3.2.0-dev.17 [Pipeline] } [2024-07-20T15:33:34.174Z] $ docker exec --env ******** --env ******** c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb ssh-agent -k [2024-07-20T15:33:34.279Z] unset SSH_AUTH_SOCK; [2024-07-20T15:33:34.279Z] unset SSH_AGENT_PID; [2024-07-20T15:33:34.279Z] echo Agent pid 37 killed; [2024-07-20T15:33:34.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-20T15:33:34.616Z] + git semver [Pipeline] } [2024-07-20T15:33:34.891Z] $ docker stop --time=1 c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb [2024-07-20T15:33:36.188Z] $ docker rm -f --volumes c3e4c8856e6ffe36038e343d084287f913a50089465768732e6df258cfda5abb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:36.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-20T15:33:36.592Z] [2024-07-20T15:33:36.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:36.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-20T15:33:36.895Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-20T15:33:36.895Z] ab5ef0e58194: Pulling fs layer [2024-07-20T15:33:36.895Z] 9712f1f96733: Pulling fs layer [2024-07-20T15:33:36.895Z] 63f879dbbcfc: Pulling fs layer [2024-07-20T15:33:36.895Z] 0d9ebad4ef96: Pulling fs layer [2024-07-20T15:33:36.895Z] e9a5061849ea: Pulling fs layer [2024-07-20T15:33:36.895Z] d747dcd14b5f: Pulling fs layer [2024-07-20T15:33:36.895Z] 2de7ff778b66: Pulling fs layer [2024-07-20T15:33:36.895Z] e9a5061849ea: Waiting [2024-07-20T15:33:36.895Z] 0d9ebad4ef96: Waiting [2024-07-20T15:33:36.895Z] 2de7ff778b66: Waiting [2024-07-20T15:33:36.895Z] d747dcd14b5f: Waiting [2024-07-20T15:33:36.895Z] 9712f1f96733: Verifying Checksum [2024-07-20T15:33:36.895Z] 9712f1f96733: Download complete [2024-07-20T15:33:37.153Z] 63f879dbbcfc: Verifying Checksum [2024-07-20T15:33:37.153Z] 63f879dbbcfc: Download complete [2024-07-20T15:33:37.412Z] e9a5061849ea: Verifying Checksum [2024-07-20T15:33:37.412Z] e9a5061849ea: Download complete [2024-07-20T15:33:37.412Z] d747dcd14b5f: Verifying Checksum [2024-07-20T15:33:37.412Z] d747dcd14b5f: Download complete [2024-07-20T15:33:37.412Z] 0d9ebad4ef96: Verifying Checksum [2024-07-20T15:33:37.412Z] 0d9ebad4ef96: Download complete [2024-07-20T15:33:37.412Z] ab5ef0e58194: Verifying Checksum [2024-07-20T15:33:37.412Z] ab5ef0e58194: Download complete [2024-07-20T15:33:37.412Z] 2de7ff778b66: Verifying Checksum [2024-07-20T15:33:37.412Z] 2de7ff778b66: Download complete [2024-07-20T15:33:40.760Z] ab5ef0e58194: Pull complete [2024-07-20T15:33:40.760Z] 9712f1f96733: Pull complete [2024-07-20T15:33:41.017Z] 63f879dbbcfc: Pull complete [2024-07-20T15:33:45.215Z] 0d9ebad4ef96: Pull complete [2024-07-20T15:33:45.215Z] e9a5061849ea: Pull complete [2024-07-20T15:33:45.215Z] d747dcd14b5f: Pull complete [2024-07-20T15:33:46.147Z] 2de7ff778b66: Pull complete [2024-07-20T15:33:46.147Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-20T15:33:46.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-20T15:33:46.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:33:46.255Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:33:46.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-07-20T15:33:53.910Z] $ docker top 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:33:53.995Z] provisioning config files... [2024-07-20T15:33:54.001Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11679376296997440929tmp [2024-07-20T15:33:54.023Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10888852251828070463tmp [2024-07-20T15:33:54.034Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11307425498151285840tmp [Pipeline] { [Pipeline] echo [2024-07-20T15:33:54.068Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:33:54.373Z] ---> sigul-configuration.sh [2024-07-20T15:33:54.373Z] gpg: directory `/root/.gnupg' created [2024-07-20T15:33:54.373Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-20T15:33:54.373Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-20T15:33:54.373Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-20T15:33:54.373Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-20T15:33:54.373Z] gpg: CAST5 encrypted data [2024-07-20T15:33:54.373Z] gpg: encrypted with 1 passphrase [2024-07-20T15:33:54.373Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-20T15:33:54.692Z] + mkdir /home/jenkins [2024-07-20T15:33:54.692Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-20T15:33:54.988Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-07-20T15:33:55.001Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:33:55.299Z] ---> sigul-install.sh [2024-07-20T15:33:55.300Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-20T15:33:55.591Z] + git tag --list [2024-07-20T15:33:55.591Z] v1.0.0 [2024-07-20T15:33:55.591Z] v1.1.0 [2024-07-20T15:33:55.591Z] v1.1.1 [2024-07-20T15:33:55.591Z] v1.1.2 [2024-07-20T15:33:55.591Z] v1.2.0 [2024-07-20T15:33:55.591Z] v1.2.1 [2024-07-20T15:33:55.591Z] v2.0.0 [2024-07-20T15:33:55.591Z] v2.1.0 [2024-07-20T15:33:55.591Z] v2.1.1 [2024-07-20T15:33:55.591Z] v2.2.0 [2024-07-20T15:33:55.591Z] v2.3.0 [2024-07-20T15:33:55.591Z] v3.0 [2024-07-20T15:33:55.591Z] v3.0.0 [2024-07-20T15:33:55.591Z] v3.1 [2024-07-20T15:33:55.591Z] v3.1.0 [2024-07-20T15:33:55.591Z] v3.1.0-dev.1 [2024-07-20T15:33:55.591Z] v3.1.0-dev.10 [2024-07-20T15:33:55.591Z] v3.1.0-dev.11 [2024-07-20T15:33:55.591Z] v3.1.0-dev.12 [2024-07-20T15:33:55.591Z] v3.1.0-dev.13 [2024-07-20T15:33:55.591Z] v3.1.0-dev.14 [2024-07-20T15:33:55.591Z] v3.1.0-dev.15 [2024-07-20T15:33:55.591Z] v3.1.0-dev.16 [2024-07-20T15:33:55.591Z] v3.1.0-dev.17 [2024-07-20T15:33:55.591Z] v3.1.0-dev.18 [2024-07-20T15:33:55.591Z] v3.1.0-dev.19 [2024-07-20T15:33:55.591Z] v3.1.0-dev.2 [2024-07-20T15:33:55.591Z] v3.1.0-dev.20 [2024-07-20T15:33:55.591Z] v3.1.0-dev.21 [2024-07-20T15:33:55.591Z] v3.1.0-dev.22 [2024-07-20T15:33:55.591Z] v3.1.0-dev.23 [2024-07-20T15:33:55.591Z] v3.1.0-dev.24 [2024-07-20T15:33:55.591Z] v3.1.0-dev.25 [2024-07-20T15:33:55.591Z] v3.1.0-dev.26 [2024-07-20T15:33:55.591Z] v3.1.0-dev.27 [2024-07-20T15:33:55.591Z] v3.1.0-dev.28 [2024-07-20T15:33:55.591Z] v3.1.0-dev.29 [2024-07-20T15:33:55.591Z] v3.1.0-dev.3 [2024-07-20T15:33:55.591Z] v3.1.0-dev.30 [2024-07-20T15:33:55.591Z] v3.1.0-dev.31 [2024-07-20T15:33:55.591Z] v3.1.0-dev.32 [2024-07-20T15:33:55.591Z] v3.1.0-dev.4 [2024-07-20T15:33:55.591Z] v3.1.0-dev.5 [2024-07-20T15:33:55.591Z] v3.1.0-dev.6 [2024-07-20T15:33:55.591Z] v3.1.0-dev.7 [2024-07-20T15:33:55.591Z] v3.1.0-dev.8 [2024-07-20T15:33:55.591Z] v3.1.0-dev.9 [2024-07-20T15:33:55.591Z] v3.1.1 [2024-07-20T15:33:55.591Z] v3.2.0-dev.1 [2024-07-20T15:33:55.591Z] v3.2.0-dev.10 [2024-07-20T15:33:55.591Z] v3.2.0-dev.11 [2024-07-20T15:33:55.591Z] v3.2.0-dev.12 [2024-07-20T15:33:55.591Z] v3.2.0-dev.13 [2024-07-20T15:33:55.591Z] v3.2.0-dev.14 [2024-07-20T15:33:55.591Z] v3.2.0-dev.15 [2024-07-20T15:33:55.591Z] v3.2.0-dev.16 [2024-07-20T15:33:55.591Z] v3.2.0-dev.17 [2024-07-20T15:33:55.591Z] v3.2.0-dev.2 [2024-07-20T15:33:55.591Z] v3.2.0-dev.3 [2024-07-20T15:33:55.591Z] v3.2.0-dev.4 [2024-07-20T15:33:55.591Z] v3.2.0-dev.5 [2024-07-20T15:33:55.591Z] v3.2.0-dev.6 [2024-07-20T15:33:55.591Z] v3.2.0-dev.7 [2024-07-20T15:33:55.591Z] v3.2.0-dev.8 [2024-07-20T15:33:55.591Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-20T15:33:55.888Z] + lftools sign git-tag v3.2.0-dev.17 [2024-07-20T15:33:56.455Z] Signing Git tag with Sigul... [2024-07-20T15:33:56.455Z] Signing v3.2.0-dev.17 [Pipeline] echo [2024-07-20T15:33:57.045Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:33:57.338Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-20T15:33:57.344Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-20T15:33:57.373Z] $ docker stop --time=1 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 [2024-07-20T15:33:58.675Z] $ docker rm -f --volumes 1b35fb634d6def0a52ca2cf9c8de7efc6151953bc49c47a6527b56dfb2050728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-20T15:33:59.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-20T15:33:59.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:33:59.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:33:59.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:33:59.521Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:33:59.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-20T15:33:59.930Z] $ docker top 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 -eo pid,comm [2024-07-20T15:33:59.980Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-20T15:33:59.980Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-20T15:34:00.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-20T15:34:00.042Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-20T15:34:00.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-20T15:34:00.157Z] $ docker exec 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 ssh-agent [2024-07-20T15:34:00.277Z] SSH_AUTH_SOCK=/tmp/ssh-nlaFZ7FsI3pY/agent.33 [2024-07-20T15:34:00.277Z] SSH_AGENT_PID=39 [2024-07-20T15:34:00.284Z] Running ssh-add (command line suppressed) [2024-07-20T15:34:00.401Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7262388760395318163.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7262388760395318163.key) [2024-07-20T15:34:00.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-20T15:34:00.725Z] + git semver bump pre [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,889 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,890 [bump_version] DEBUG bumped version:3.2.0-dev.18 [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,890 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,890 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,891 [execute] INFO git cat-file --batch-check [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,898 [execute] INFO git cat-file --batch [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-20T15:34:00.985Z] 2024-07-20 15:34:00,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:34:00.985Z] 3.2.0-dev.18 [Pipeline] } [2024-07-20T15:34:00.992Z] $ docker exec --env ******** --env ******** 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 ssh-agent -k [2024-07-20T15:34:01.083Z] unset SSH_AUTH_SOCK; [2024-07-20T15:34:01.084Z] unset SSH_AGENT_PID; [2024-07-20T15:34:01.084Z] echo Agent pid 39 killed; [2024-07-20T15:34:01.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-20T15:34:01.534Z] + git semver [Pipeline] } [2024-07-20T15:34:01.801Z] $ docker stop --time=1 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 [2024-07-20T15:34:03.069Z] $ docker rm -f --volumes 9b27e2df39e9854b2f74089d496f219dd66385fbc69c5456cdfefd49b80f2fa7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-20T15:34:03.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-20T15:34:03.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:34:03.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-20T15:34:03.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:34:03.901Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:34:03.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-20T15:34:04.269Z] $ docker top a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 -eo pid,comm [2024-07-20T15:34:04.316Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-20T15:34:04.316Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-20T15:34:04.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-20T15:34:04.372Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-20T15:34:04.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-20T15:34:04.497Z] $ docker exec a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 ssh-agent [2024-07-20T15:34:04.600Z] SSH_AUTH_SOCK=/tmp/ssh-RtvbOesjepI4/agent.32 [2024-07-20T15:34:04.600Z] SSH_AGENT_PID=38 [2024-07-20T15:34:04.604Z] Running ssh-add (command line suppressed) [2024-07-20T15:34:04.697Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18445314755669414830.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18445314755669414830.key) [2024-07-20T15:34:04.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-20T15:34:05.161Z] + git semver push [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,312 [run_push] DEBUG push [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,313 [execute] INFO git cat-file --batch-check [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,318 [execute] INFO git rev-list 5c82f9d423f6ccb4b68527d142e88e32c16427dc -- [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,318 [execute] DEBUG Popen(['git', 'rev-list', '5c82f9d423f6ccb4b68527d142e88e32c16427dc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,328 [execute] INFO git fetch -v origin [2024-07-20T15:34:05.427Z] 2024-07-20 15:34:05,328 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-20T15:34:06.371Z] 2024-07-20 15:34:06,089 [run_push] DEBUG no remote changes detected [2024-07-20T15:34:06.371Z] 2024-07-20 15:34:06,089 [execute] INFO git push origin semver [2024-07-20T15:34:06.371Z] 2024-07-20 15:34:06,090 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-20T15:34:07.313Z] 2024-07-20 15:34:07,100 [run_push] DEBUG push all version tags [2024-07-20T15:34:07.313Z] 2024-07-20 15:34:07,101 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-20T15:34:07.313Z] 2024-07-20 15:34:07,101 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-20T15:34:07.879Z] 2024-07-20 15:34:07,836 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-20T15:34:07.879Z] 3.2.0-dev.18 [Pipeline] } [2024-07-20T15:34:07.887Z] $ docker exec --env ******** --env ******** a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 ssh-agent -k [2024-07-20T15:34:07.974Z] unset SSH_AUTH_SOCK; [2024-07-20T15:34:07.974Z] unset SSH_AGENT_PID; [2024-07-20T15:34:07.974Z] echo Agent pid 38 killed; [2024-07-20T15:34:07.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-20T15:34:08.303Z] + git semver [Pipeline] } [2024-07-20T15:34:08.569Z] $ docker stop --time=1 a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 [2024-07-20T15:34:09.828Z] $ docker rm -f --volumes a02cd941958609f5dec5ab9c6a6dea93effe2349c5f42b5fe3192a192391be96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-20T15:34:10.601Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-07-20T15:34:10.601Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-20T15:34:10.601Z] total 16 [2024-07-20T15:34:10.601Z] drwxr-xr-x 3 root root 4096 Jul 20 15:18 . [2024-07-20T15:34:10.601Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 15:33 .. [2024-07-20T15:34:10.601Z] drwxr-xr-x 2 root root 4096 Jul 20 15:18 cost [2024-07-20T15:34:10.601Z] -rw-r--r-- 1 root root 86 Jul 20 15:18 cost.csv [2024-07-20T15:34:10.601Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-20T15:34:10.601Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-20T15:34:10.601Z] total 16 [2024-07-20T15:34:10.601Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 15:18 . [2024-07-20T15:34:10.601Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 15:33 .. [2024-07-20T15:34:10.601Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 15:18 cost [2024-07-20T15:34:10.601Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 20 15:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:11.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:11.877Z] ---> package-listing.sh [2024-07-20T15:34:11.877Z] ++ facter osfamily [2024-07-20T15:34:11.877Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-20T15:34:12.146Z] + OS_FAMILY=debian [2024-07-20T15:34:12.146Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-07-20T15:34:12.146Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-20T15:34:12.146Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-20T15:34:12.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-20T15:34:12.146Z] + PACKAGES=/tmp/packages_start.txt [2024-07-20T15:34:12.146Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-20T15:34:12.146Z] + PACKAGES=/tmp/packages_end.txt [2024-07-20T15:34:12.146Z] + case "${OS_FAMILY}" in [2024-07-20T15:34:12.146Z] + dpkg -l [2024-07-20T15:34:12.146Z] + grep '^ii' [2024-07-20T15:34:12.146Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-20T15:34:12.146Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-20T15:34:12.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-20T15:34:12.146Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-20T15:34:12.146Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-07-20T15:34:12.146Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-07-20T15:34:12.155Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-20T15:34:12.430Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-20T15:34:12.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-20T15:34:12.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-20T15:34:13.068Z] prd-ubuntu20.04-docker-8c-8g-6010 does not seem to be running inside a container [2024-07-20T15:34:13.095Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-20T15:34:13.310Z] $ docker top 5be6053da785aed94d677ede2643c4b3e132998d355dfaa64e1d281baffa1fd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-20T15:34:13.661Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-20T15:34:13.958Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-20T15:34:14.485Z] + ls /var/log/sa-host [2024-07-20T15:34:14.485Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-20T15:34:14.750Z] provisioning config files... [2024-07-20T15:34:14.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6551415609354507490tmp [Pipeline] { [Pipeline] echo [2024-07-20T15:34:14.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:15.058Z] ---> create-netrc.sh [Pipeline] } [2024-07-20T15:34:15.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:15.396Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-20T15:34:15.405Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:15.686Z] ---> sudo-logs.sh [2024-07-20T15:34:15.686Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-20T15:34:15.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:16.001Z] ---> job-cost.sh [2024-07-20T15:34:16.001Z] lf-activate-venv: SKIPPING [2024-07-20T15:34:16.001Z] DEBUG: total: 0.2199999988079071 [2024-07-20T15:34:16.001Z] INFO: Retrieving Stack Cost... [2024-07-20T15:34:16.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-20T15:34:16.828Z] INFO: Archiving Costs [Pipeline] echo [2024-07-20T15:34:16.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-20T15:34:17.126Z] ---> logs-deploy.sh [2024-07-20T15:34:17.126Z] lf-activate-venv: SKIPPING [2024-07-20T15:34:17.126Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/169 [2024-07-20T15:34:17.126Z] INFO: archiving workspace using pattern(s): [2024-07-20T15:34:18.063Z] Archives upload complete. [2024-07-20T15:34:18.063Z] INFO: archiving logs to Nexus [2024-07-20T15:34:18.631Z] ---> uname -a: [2024-07-20T15:34:18.631Z] Linux prd-ubuntu20-04-docker-8c-8g-6010 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-07-20T15:34:18.631Z] [2024-07-20T15:34:18.631Z]