Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ca1d9672aa57d288ff73684e8f7d94170c5a17a 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-ssh15486036376437639280.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-ssh5805060229560110527.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-ssh15087182257226493280.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-ssh10968586500819819539.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-ssh7751689203132149738.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7220 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 3ca1d9672aa57d288ff73684e8f7d94170c5a17a (main) Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > git config core.sparsecheckout # timeout=10 > git checkout -f 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 > git rev-list --no-walk 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-06T22:44:48.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-06T22:44:48.605Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-06T22:44:48.630Z] ========================================================= [2024-08-06T22:44:48.630Z] EdgeX Global Pipelines Version Info [2024-08-06T22:44:48.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:44:49.359Z] ------------------- [2024-08-06T22:44:49.359Z] stable info: [2024-08-06T22:44:49.359Z] ------------------- [2024-08-06T22:44:49.359Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-06T22:44:49.359Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-06T22:44:49.359Z] Message: update stable to v1.0.260 [2024-08-06T22:44:49.929Z] ------------------- [2024-08-06T22:44:49.929Z] experimental info: [2024-08-06T22:44:49.929Z] ------------------- [2024-08-06T22:44:49.929Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-06T22:44:49.929Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-06T22:44:49.929Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-06T22:44:50.001Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-08-06T22:44:50.024Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-08-06T22:44:50.045Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-06T22:44:50.062Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-06T22:44:50.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-06T22:44:50.109Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-06T22:44:50.132Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-06T22:44:50.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-06T22:44:50.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-06T22:44:50.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-06T22:44:50.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-06T22:44:50.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-08-06T22:44:50.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-06T22:44:50.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-06T22:44:50.308Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-06T22:44:50.338Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-06T22:44:50.359Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-06T22:44:50.383Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-06T22:44:50.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-06T22:44:50.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-06T22:44:50.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-06T22:44:50.481Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-06T22:44:50.501Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-06T22:44:50.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-06T22:44:50.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-06T22:44:50.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-06T22:44:50.588Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-06T22:44:50.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-08-06T22:44:50.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-08-06T22:44:50.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-08-06T22:44:50.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo [2024-08-06T22:44:50.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ca1d96 [Pipeline] echo [2024-08-06T22:44:50.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T22:44:50.775Z] provisioning config files... [2024-08-06T22:44:50.789Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2015521074139828820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:44:51.120Z] ---> ****-login.sh [2024-08-06T22:44:51.120Z] nexus3.edgexfoundry.org:10001 [2024-08-06T22:44:51.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:44:51.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:44:51.381Z] Configure a credential helper to remove this warning. See [2024-08-06T22:44:51.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:44:51.381Z] [2024-08-06T22:44:51.381Z] Login Succeeded [2024-08-06T22:44:51.381Z] nexus3.edgexfoundry.org:10002 [2024-08-06T22:44:51.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:44:51.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:44:51.382Z] Configure a credential helper to remove this warning. See [2024-08-06T22:44:51.382Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:44:51.382Z] [2024-08-06T22:44:51.382Z] Login Succeeded [2024-08-06T22:44:51.382Z] nexus3.edgexfoundry.org:10003 [2024-08-06T22:44:51.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:44:51.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:44:51.642Z] Configure a credential helper to remove this warning. See [2024-08-06T22:44:51.642Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:44:51.642Z] [2024-08-06T22:44:51.642Z] Login Succeeded [2024-08-06T22:44:51.642Z] nexus3.edgexfoundry.org:10004 [2024-08-06T22:44:51.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:44:51.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:44:51.642Z] Configure a credential helper to remove this warning. See [2024-08-06T22:44:51.642Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:44:51.642Z] [2024-08-06T22:44:51.642Z] Login Succeeded [2024-08-06T22:44:51.642Z] ****.io [2024-08-06T22:44:51.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:44:51.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:44:51.904Z] Configure a credential helper to remove this warning. See [2024-08-06T22:44:51.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:44:51.904Z] [2024-08-06T22:44:51.904Z] Login Succeeded [2024-08-06T22:44:51.904Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T22:44:51.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-06T22:44:52.320Z] + git rev-list -1 --merges 3ca1d9672aa57d288ff73684e8f7d94170c5a17a~1..3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo [2024-08-06T22:44:52.345Z] -----------> git rev-list -1 --merges 3ca1d9672aa57d288ff73684e8f7d94170c5a17a~1..3ca1d9672aa57d288ff73684e8f7d94170c5a17a 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T22:44:52.345Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [false] [Pipeline] sh [2024-08-06T22:44:52.637Z] + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo [2024-08-06T22:44:52.653Z] ========================================================= [2024-08-06T22:44:52.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-06T22:44:52.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T22:44:52.993Z] + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] echo [2024-08-06T22:44:53.005Z] [semverPrep] GIT_COMMIT: 3ca1d9672aa57d288ff73684e8f7d94170c5a17a, Commit Message: Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo [2024-08-06T22:44:53.019Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-06T22:44:53.370Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-06T22:44:53.370Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-06T22:44:53.370Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-06T22:44:53.370Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-06T22:44:53.370Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-08-06T22:44:53.370Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-06T22:44:53.370Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:44:53.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T22:44:53.733Z] [2024-08-06T22:44:53.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:44:54.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T22:44:54.040Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-06T22:44:54.040Z] b85a868b505f: Pulling fs layer [2024-08-06T22:44:54.040Z] e2be974225ed: Pulling fs layer [2024-08-06T22:44:54.040Z] 339a4e72a1f5: Pulling fs layer [2024-08-06T22:44:54.040Z] 988bab9f4d93: Pulling fs layer [2024-08-06T22:44:54.040Z] 1469e6f7b9e6: Pulling fs layer [2024-08-06T22:44:54.040Z] eaf3925da568: Pulling fs layer [2024-08-06T22:44:54.040Z] bab4dde63d76: Pulling fs layer [2024-08-06T22:44:54.040Z] bde34c3a00c8: Pulling fs layer [2024-08-06T22:44:54.040Z] b352a97aabf1: Pulling fs layer [2024-08-06T22:44:54.040Z] 4872d77fe225: Pulling fs layer [2024-08-06T22:44:54.040Z] 5851b861e8e6: Pulling fs layer [2024-08-06T22:44:54.040Z] b352a97aabf1: Waiting [2024-08-06T22:44:54.040Z] 4872d77fe225: Waiting [2024-08-06T22:44:54.040Z] bab4dde63d76: Waiting [2024-08-06T22:44:54.040Z] bde34c3a00c8: Waiting [2024-08-06T22:44:54.040Z] 5851b861e8e6: Waiting [2024-08-06T22:44:54.040Z] 988bab9f4d93: Waiting [2024-08-06T22:44:54.040Z] 1469e6f7b9e6: Waiting [2024-08-06T22:44:54.040Z] eaf3925da568: Waiting [2024-08-06T22:44:54.040Z] e2be974225ed: Verifying Checksum [2024-08-06T22:44:54.040Z] e2be974225ed: Download complete [2024-08-06T22:44:54.040Z] 988bab9f4d93: Download complete [2024-08-06T22:44:54.040Z] 1469e6f7b9e6: Verifying Checksum [2024-08-06T22:44:54.040Z] 1469e6f7b9e6: Download complete [2024-08-06T22:44:54.040Z] 339a4e72a1f5: Verifying Checksum [2024-08-06T22:44:54.040Z] 339a4e72a1f5: Download complete [2024-08-06T22:44:54.040Z] eaf3925da568: Verifying Checksum [2024-08-06T22:44:54.040Z] eaf3925da568: Download complete [2024-08-06T22:44:54.040Z] bde34c3a00c8: Verifying Checksum [2024-08-06T22:44:54.040Z] bde34c3a00c8: Download complete [2024-08-06T22:44:54.298Z] b352a97aabf1: Verifying Checksum [2024-08-06T22:44:54.298Z] b352a97aabf1: Download complete [2024-08-06T22:44:54.298Z] 4872d77fe225: Verifying Checksum [2024-08-06T22:44:54.298Z] 4872d77fe225: Download complete [2024-08-06T22:44:54.298Z] 5851b861e8e6: Verifying Checksum [2024-08-06T22:44:54.298Z] 5851b861e8e6: Download complete [2024-08-06T22:44:54.298Z] b85a868b505f: Download complete [2024-08-06T22:44:54.557Z] bab4dde63d76: Verifying Checksum [2024-08-06T22:44:54.557Z] bab4dde63d76: Download complete [2024-08-06T22:44:55.491Z] b85a868b505f: Pull complete [2024-08-06T22:44:55.491Z] e2be974225ed: Pull complete [2024-08-06T22:44:56.058Z] 339a4e72a1f5: Pull complete [2024-08-06T22:44:56.058Z] 988bab9f4d93: Pull complete [2024-08-06T22:44:56.316Z] 1469e6f7b9e6: Pull complete [2024-08-06T22:44:56.316Z] eaf3925da568: Pull complete [2024-08-06T22:44:58.220Z] bab4dde63d76: Pull complete [2024-08-06T22:44:58.220Z] bde34c3a00c8: Pull complete [2024-08-06T22:44:58.220Z] b352a97aabf1: Pull complete [2024-08-06T22:44:58.220Z] 4872d77fe225: Pull complete [2024-08-06T22:44:58.220Z] 5851b861e8e6: Pull complete [2024-08-06T22:44:58.220Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-06T22:44:58.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T22:44:58.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:44:58.357Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T22:44:58.388Z] $ 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-08-06T22:45:02.614Z] $ docker top eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 -eo pid,comm [2024-08-06T22:45:02.672Z] 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-08-06T22:45:02.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-06T22:45:02.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T22:45:02.731Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T22:45:02.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T22:45:02.844Z] $ docker exec eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent [2024-08-06T22:45:03.039Z] SSH_AUTH_SOCK=/tmp/ssh-d9UB2uIDMRir/agent.32 [2024-08-06T22:45:03.040Z] SSH_AGENT_PID=38 [2024-08-06T22:45:03.046Z] Running ssh-add (command line suppressed) [2024-08-06T22:45:03.145Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9839125555755954011.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9839125555755954011.key) [2024-08-06T22:45:03.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T22:45:03.454Z] + git tag --points-at HEAD [Pipeline] } [2024-08-06T22:45:03.465Z] $ docker exec --env ******** --env ******** eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent -k [2024-08-06T22:45:03.565Z] unset SSH_AUTH_SOCK; [2024-08-06T22:45:03.566Z] unset SSH_AGENT_PID; [2024-08-06T22:45:03.566Z] echo Agent pid 38 killed; [2024-08-06T22:45:03.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-06T22:45:03.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T22:45:03.626Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T22:45:03.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T22:45:03.741Z] $ docker exec eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent [2024-08-06T22:45:03.855Z] SSH_AUTH_SOCK=/tmp/ssh-W4gTppBOcTMJ/agent.71 [2024-08-06T22:45:03.856Z] SSH_AGENT_PID=78 [2024-08-06T22:45:03.861Z] Running ssh-add (command line suppressed) [2024-08-06T22:45:03.955Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16049058125359257074.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16049058125359257074.key) [2024-08-06T22:45:03.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T22:45:04.261Z] + git semver init [2024-08-06T22:45:04.520Z] 2024-08-06 22:45:04,436 [run_init] DEBUG init version:0.0.0 force:False [2024-08-06T22:45:04.521Z] 2024-08-06 22:45:04,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-08-06T22:45:04.521Z] 2024-08-06 22:45:04,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-08-06T22:45:04.521Z] 2024-08-06 22:45:04,438 [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-08-06T22:45:05.904Z] 2024-08-06 22:45:05,849 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-08-06T22:45:05.904Z] 2024-08-06 22:45:05,849 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-08-06T22:45:05.904Z] 2024-08-06 22:45:05,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T22:45:05.904Z] 2024-08-06 22:45:05,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T22:45:05.904Z] 3.2.0-dev.20 [Pipeline] } [2024-08-06T22:45:05.913Z] $ docker exec --env ******** --env ******** eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 ssh-agent -k [2024-08-06T22:45:06.008Z] unset SSH_AUTH_SOCK; [2024-08-06T22:45:06.008Z] unset SSH_AGENT_PID; [2024-08-06T22:45:06.008Z] echo Agent pid 78 killed; [2024-08-06T22:45:06.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-06T22:45:06.349Z] + git semver [Pipeline] } [2024-08-06T22:45:06.622Z] $ docker stop --time=1 eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 [2024-08-06T22:45:07.942Z] $ docker rm -f --volumes eaa502a6ba1cda4c151c1259dcda12b01b82242d5dc63d992f0da8696cd455b5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T22:45:08.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-06T22:45:08.511Z] Stashed 1 file(s) [Pipeline] echo [2024-08-06T22:45:08.515Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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-08-06T22:45:08.674Z] provisioning config files... [2024-08-06T22:45:08.683Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8352729601755589725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:45:08.981Z] ---> ****-login.sh [2024-08-06T22:45:08.981Z] nexus3.edgexfoundry.org:10001 [2024-08-06T22:45:08.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:45:08.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:45:08.981Z] Configure a credential helper to remove this warning. See [2024-08-06T22:45:08.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:45:08.981Z] [2024-08-06T22:45:08.981Z] Login Succeeded [2024-08-06T22:45:08.981Z] nexus3.edgexfoundry.org:10002 [2024-08-06T22:45:08.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:45:08.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:45:08.982Z] Configure a credential helper to remove this warning. See [2024-08-06T22:45:08.982Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:45:08.982Z] [2024-08-06T22:45:08.982Z] Login Succeeded [2024-08-06T22:45:08.982Z] nexus3.edgexfoundry.org:10003 [2024-08-06T22:45:09.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:45:09.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:45:09.242Z] Configure a credential helper to remove this warning. See [2024-08-06T22:45:09.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:45:09.242Z] [2024-08-06T22:45:09.242Z] Login Succeeded [2024-08-06T22:45:09.242Z] nexus3.edgexfoundry.org:10004 [2024-08-06T22:45:09.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:45:09.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:45:09.242Z] Configure a credential helper to remove this warning. See [2024-08-06T22:45:09.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:45:09.242Z] [2024-08-06T22:45:09.242Z] Login Succeeded [2024-08-06T22:45:09.242Z] ****.io [2024-08-06T22:45:09.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:45:09.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:45:09.501Z] Configure a credential helper to remove this warning. See [2024-08-06T22:45:09.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:45:09.501Z] [2024-08-06T22:45:09.501Z] Login Succeeded [2024-08-06T22:45:09.501Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T22:45:09.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-06T22:45:09.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T22:45:09.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T22:45:09.635Z] ========================================================= [2024-08-06T22:45:09.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-06T22:45:09.635Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:45:09.982Z] + 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-08-06T22:45:09.982Z] Sending build context to Docker daemon 16.56MB [2024-08-06T22:45:09.982Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T22:45:09.982Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-06T22:45:09.982Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-06T22:45:09.982Z] 619be1103602: Pulling fs layer [2024-08-06T22:45:09.982Z] 7862e08f4a3e: Pulling fs layer [2024-08-06T22:45:09.982Z] 5df492c9dc93: Pulling fs layer [2024-08-06T22:45:09.982Z] 7629e6793208: Pulling fs layer [2024-08-06T22:45:09.982Z] 4f4fb700ef54: Pulling fs layer [2024-08-06T22:45:09.982Z] fb5054dd5b73: Pulling fs layer [2024-08-06T22:45:09.982Z] eeca6798cff9: Pulling fs layer [2024-08-06T22:45:09.982Z] aa269ceb94a6: Pulling fs layer [2024-08-06T22:45:09.982Z] ada007ff1a6a: Pulling fs layer [2024-08-06T22:45:09.982Z] 7629e6793208: Waiting [2024-08-06T22:45:09.982Z] fb5054dd5b73: Waiting [2024-08-06T22:45:09.982Z] 4f4fb700ef54: Waiting [2024-08-06T22:45:09.982Z] aa269ceb94a6: Waiting [2024-08-06T22:45:09.982Z] ada007ff1a6a: Waiting [2024-08-06T22:45:10.242Z] 7862e08f4a3e: Download complete [2024-08-06T22:45:10.242Z] 7629e6793208: Download complete [2024-08-06T22:45:10.242Z] 4f4fb700ef54: Download complete [2024-08-06T22:45:10.242Z] 619be1103602: Download complete [2024-08-06T22:45:10.242Z] fb5054dd5b73: Verifying Checksum [2024-08-06T22:45:10.242Z] fb5054dd5b73: Download complete [2024-08-06T22:45:10.242Z] eeca6798cff9: Verifying Checksum [2024-08-06T22:45:10.242Z] eeca6798cff9: Download complete [2024-08-06T22:45:10.242Z] 619be1103602: Pull complete [2024-08-06T22:45:10.242Z] ada007ff1a6a: Verifying Checksum [2024-08-06T22:45:10.242Z] ada007ff1a6a: Download complete [2024-08-06T22:45:10.499Z] 7862e08f4a3e: Pull complete [2024-08-06T22:45:10.499Z] 5df492c9dc93: Verifying Checksum [2024-08-06T22:45:10.499Z] 5df492c9dc93: Download complete [2024-08-06T22:45:11.063Z] aa269ceb94a6: Verifying Checksum [2024-08-06T22:45:11.063Z] aa269ceb94a6: Download complete [2024-08-06T22:45:13.588Z] 5df492c9dc93: Pull complete [2024-08-06T22:45:13.588Z] 7629e6793208: Pull complete [2024-08-06T22:45:13.588Z] 4f4fb700ef54: Pull complete [2024-08-06T22:45:13.588Z] fb5054dd5b73: Pull complete [2024-08-06T22:45:13.588Z] eeca6798cff9: Pull complete [2024-08-06T22:45:16.115Z] aa269ceb94a6: Pull complete [2024-08-06T22:45:16.392Z] ada007ff1a6a: Pull complete [2024-08-06T22:45:16.392Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-06T22:45:16.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-06T22:45:16.392Z] ---> f489d0715acc [2024-08-06T22:45:16.392Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-06T22:45:22.982Z] ---> Running in 633664e8456c [2024-08-06T22:45:22.982Z] Removing intermediate container 633664e8456c [2024-08-06T22:45:22.982Z] ---> 594264179a83 [2024-08-06T22:45:22.982Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T22:45:22.982Z] ---> Running in ef3ef35096d1 [2024-08-06T22:45:22.982Z] Removing intermediate container ef3ef35096d1 [2024-08-06T22:45:22.982Z] ---> bf6bbecf5f61 [2024-08-06T22:45:22.982Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T22:45:22.982Z] ---> Running in 86e17e21ebee [2024-08-06T22:45:22.982Z] Removing intermediate container 86e17e21ebee [2024-08-06T22:45:22.982Z] ---> 2855b3ca7345 [2024-08-06T22:45:22.982Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T22:45:22.982Z] ---> Running in 323291d4d0ef [2024-08-06T22:45:22.982Z] Removing intermediate container 323291d4d0ef [2024-08-06T22:45:22.982Z] ---> c137315f9bc3 [2024-08-06T22:45:22.982Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T22:45:22.982Z] ---> Running in 4f266b28406f [2024-08-06T22:45:23.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T22:45:23.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T22:45:23.626Z] Still waiting to schedule task [2024-08-06T22:45:23.626Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7221’ [2024-08-06T22:45:23.760Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-06T22:45:23.760Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-06T22:45:23.760Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-06T22:45:23.760Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-06T22:45:23.760Z] Executing busybox-1.36.1-r5.trigger [2024-08-06T22:45:23.760Z] OK: 268 MiB in 56 packages [2024-08-06T22:45:24.328Z] Removing intermediate container 4f266b28406f [2024-08-06T22:45:24.328Z] ---> e7207e6beaf4 [2024-08-06T22:45:24.328Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-06T22:45:24.328Z] ---> Running in 05ee9fa47a1f [2024-08-06T22:45:24.588Z] Removing intermediate container 05ee9fa47a1f [2024-08-06T22:45:24.588Z] ---> ee57190399df [2024-08-06T22:45:24.588Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-06T22:45:24.588Z] ---> 37d06036c1b0 [2024-08-06T22:45:24.588Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T22:45:24.588Z] ---> Running in a3e7a12fe1aa [2024-08-06T22:46:20.850Z] Removing intermediate container a3e7a12fe1aa [2024-08-06T22:46:20.850Z] ---> 67083d171068 [2024-08-06T22:46:20.850Z] Step 11/12 : COPY . . [2024-08-06T22:46:20.850Z] ---> bab38ade4529 [2024-08-06T22:46:20.850Z] Step 12/12 : RUN $MAKE [2024-08-06T22:46:20.850Z] ---> Running in d9b82ce7db02 [2024-08-06T22:46:20.850Z] noop [2024-08-06T22:46:20.850Z] Removing intermediate container d9b82ce7db02 [2024-08-06T22:46:20.850Z] ---> 82310adeedc9 [2024-08-06T22:46:20.850Z] Successfully built 82310adeedc9 [2024-08-06T22:46:20.850Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:46:21.194Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-06T22:46:21.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:46:21.275Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T22:46:21.306Z] $ 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-08-06T22:46:21.626Z] $ docker top 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T22:46:21.974Z] + go version [2024-08-06T22:46:21.974Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-06T22:46:21.983Z] $ docker stop --time=1 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 [2024-08-06T22:46:23.220Z] $ docker rm -f --volumes 53f1ffe3073294b45edb7fafed234d917f85553828fabaca49950bb8afa21018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:46:23.648Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-06T22:46:23.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:46:23.724Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T22:46:23.752Z] $ 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-08-06T22:46:24.080Z] $ docker top 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T22:46:24.430Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-08-06T22:46:24.731Z] + make test [2024-08-06T22:46:24.732Z] go test ./... -coverprofile=coverage.out ./... [2024-08-06T22:46:26.105Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-06T22:46:44.174Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-06T22:46:44.174Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-08-06T22:46:52.276Z] go vet ./... [2024-08-06T22:46:58.831Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-06T22:46:58.831Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-06T22:46:58.831Z] ./bin/test-attribution-txt.sh [2024-08-06T22:46:58.831Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-06T22:46:58.831Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-06T22:46:58.832Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-06T22:46:58.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-06T22:46:58.861Z] $ docker stop --time=1 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 [2024-08-06T22:47:00.808Z] $ docker rm -f --volumes 52aad95e5119a55509405d4ee92878e38e90cdb036b9fd480edb71f18ddaa425 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T22:47:01.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-06T22:47:01.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-06T22:47:01.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-06T22:47:02.197Z] + ls -al . [2024-08-06T22:47:02.197Z] total 248 [2024-08-06T22:47:02.197Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 6 22:46 . [2024-08-06T22:47:02.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 22:44 .. [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 22:44 .dockerignore [2024-08-06T22:47:02.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:46 .git [2024-08-06T22:47:02.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 .github [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 22:44 .gitignore [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 22:44 .golangci.yml [2024-08-06T22:47:02.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 22:45 .semver [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 22:44 Attribution.txt [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 22:44 CHANGELOG.md [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 22:44 Dockerfile [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 22:44 GOVERNANCE.md [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 22:44 Jenkinsfile [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 22:44 LICENSE [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 22:44 Makefile [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 22:44 OWNERS.md [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 22:44 README.md [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 6 22:45 VERSION [2024-08-06T22:47:02.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:44 bin [2024-08-06T22:47:02.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 cmd [2024-08-06T22:47:02.197Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 22:46 coverage.out [2024-08-06T22:47:02.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:44 driver [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 22:44 go.mod [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 22:44 go.sum [2024-08-06T22:47:02.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:44 openapi [2024-08-06T22:47:02.197Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:02.512Z] + 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=3ca1d9672aa57d288ff73684e8f7d94170c5a17a --label arch=amd64 --label version=3.2.0-dev.20 . [2024-08-06T22:47:02.512Z] Sending build context to Docker daemon 16.57MB [2024-08-06T22:47:02.512Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T22:47:02.512Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-06T22:47:02.512Z] ---> 82310adeedc9 [2024-08-06T22:47:02.512Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-06T22:47:02.512Z] ---> Running in 9743c408b2a5 [2024-08-06T22:47:02.771Z] Removing intermediate container 9743c408b2a5 [2024-08-06T22:47:02.771Z] ---> 78b472f398b5 [2024-08-06T22:47:02.771Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T22:47:02.771Z] ---> Running in dd5ed2c533b8 [2024-08-06T22:47:02.771Z] Removing intermediate container dd5ed2c533b8 [2024-08-06T22:47:02.771Z] ---> ef000c3d2f2f [2024-08-06T22:47:02.771Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T22:47:02.771Z] ---> Running in a2878ab7dd11 [2024-08-06T22:47:02.771Z] Removing intermediate container a2878ab7dd11 [2024-08-06T22:47:02.771Z] ---> 42f8c7be9f60 [2024-08-06T22:47:02.771Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T22:47:02.771Z] ---> Running in 3bcc1bb34f60 [2024-08-06T22:47:03.029Z] Removing intermediate container 3bcc1bb34f60 [2024-08-06T22:47:03.029Z] ---> 292ebbf8bb0f [2024-08-06T22:47:03.029Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T22:47:03.029Z] ---> Running in a36f990b4ddd [2024-08-06T22:47:03.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:03.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:03.805Z] OK: 268 MiB in 56 packages [2024-08-06T22:47:04.063Z] Removing intermediate container a36f990b4ddd [2024-08-06T22:47:04.063Z] ---> 5ec649b21ebe [2024-08-06T22:47:04.063Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-06T22:47:04.063Z] ---> Running in 106a7c783f78 [2024-08-06T22:47:04.063Z] Removing intermediate container 106a7c783f78 [2024-08-06T22:47:04.063Z] ---> 782557c5519c [2024-08-06T22:47:04.063Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-06T22:47:04.321Z] ---> 43933ff20e5e [2024-08-06T22:47:04.321Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T22:47:04.321Z] ---> Running in 25c159748edf [2024-08-06T22:47:04.887Z] Removing intermediate container 25c159748edf [2024-08-06T22:47:04.887Z] ---> 28a003d48166 [2024-08-06T22:47:04.887Z] Step 11/26 : COPY . . [2024-08-06T22:47:05.145Z] ---> af3f453ed791 [2024-08-06T22:47:05.145Z] Step 12/26 : RUN $MAKE [2024-08-06T22:47:05.403Z] ---> Running in 3dc943a6323b [2024-08-06T22:47:05.662Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-06T22:47:32.182Z] Removing intermediate container 3dc943a6323b [2024-08-06T22:47:32.182Z] ---> 567363d57179 [2024-08-06T22:47:32.182Z] Step 13/26 : FROM alpine:3.18 [2024-08-06T22:47:32.182Z] 3.18: Pulling from library/alpine [2024-08-06T22:47:32.182Z] 930bdd4d222e: Pulling fs layer [2024-08-06T22:47:32.182Z] 930bdd4d222e: Verifying Checksum [2024-08-06T22:47:32.182Z] 930bdd4d222e: Download complete [2024-08-06T22:47:32.439Z] 930bdd4d222e: Pull complete [2024-08-06T22:47:32.439Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-06T22:47:32.439Z] Status: Downloaded newer image for alpine:3.18 [2024-08-06T22:47:32.439Z] ---> 18f865063206 [2024-08-06T22:47:32.439Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-06T22:47:32.439Z] ---> Running in e8a74478425b [2024-08-06T22:47:32.439Z] Removing intermediate container e8a74478425b [2024-08-06T22:47:32.439Z] ---> 4578024ca66d [2024-08-06T22:47:32.440Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-06T22:47:32.440Z] ---> Running in a2c3970ffbab [2024-08-06T22:47:32.440Z] Removing intermediate container a2c3970ffbab [2024-08-06T22:47:32.440Z] ---> f2a3c977514b [2024-08-06T22:47:32.440Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-06T22:47:32.698Z] ---> Running in 8e15dfaae72a [2024-08-06T22:47:32.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:32.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:33.216Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-06T22:47:33.216Z] Executing busybox-1.36.1-r7.trigger [2024-08-06T22:47:33.216Z] OK: 7 MiB in 16 packages [2024-08-06T22:47:33.475Z] Removing intermediate container 8e15dfaae72a [2024-08-06T22:47:33.475Z] ---> db709995e890 [2024-08-06T22:47:33.475Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-06T22:47:33.475Z] ---> Running in e0a0c07f9d67 [2024-08-06T22:47:33.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:33.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-06T22:47:33.991Z] OK: 7 MiB in 16 packages [2024-08-06T22:47:34.557Z] Removing intermediate container e0a0c07f9d67 [2024-08-06T22:47:34.558Z] ---> 0ef1798ca7ab [2024-08-06T22:47:34.558Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-06T22:47:34.827Z] ---> 896fe7b76782 [2024-08-06T22:47:34.827Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-06T22:47:35.085Z] ---> ca8836c4077e [2024-08-06T22:47:35.085Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-06T22:47:35.085Z] ---> a46ad9f4fa24 [2024-08-06T22:47:35.085Z] Step 21/26 : EXPOSE 59986 [2024-08-06T22:47:35.085Z] ---> Running in c4f145202b82 [2024-08-06T22:47:35.342Z] Removing intermediate container c4f145202b82 [2024-08-06T22:47:35.342Z] ---> a4768eb3f170 [2024-08-06T22:47:35.342Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-06T22:47:35.342Z] ---> Running in 6af7e66387ef [2024-08-06T22:47:35.342Z] Removing intermediate container 6af7e66387ef [2024-08-06T22:47:35.342Z] ---> 3d6aeed8e5f2 [2024-08-06T22:47:35.342Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-06T22:47:35.342Z] ---> Running in 173f8ff55c9d [2024-08-06T22:47:35.342Z] Removing intermediate container 173f8ff55c9d [2024-08-06T22:47:35.342Z] ---> 7fccddec182f [2024-08-06T22:47:35.342Z] Step 24/26 : LABEL arch=amd64 [2024-08-06T22:47:35.342Z] ---> Running in f263d1c49fd4 [2024-08-06T22:47:35.600Z] Removing intermediate container f263d1c49fd4 [2024-08-06T22:47:35.600Z] ---> dc4ed7249a34 [2024-08-06T22:47:35.600Z] Step 25/26 : LABEL git_sha=3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T22:47:35.600Z] ---> Running in 53c50de903f6 [2024-08-06T22:47:35.600Z] Removing intermediate container 53c50de903f6 [2024-08-06T22:47:35.600Z] ---> aa97f17da4cb [2024-08-06T22:47:35.600Z] Step 26/26 : LABEL version=3.2.0-dev.20 [2024-08-06T22:47:35.601Z] ---> Running in 66d1eebbc38b [2024-08-06T22:47:35.601Z] Removing intermediate container 66d1eebbc38b [2024-08-06T22:47:35.601Z] ---> 8becb582648b [2024-08-06T22:47:35.601Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-06T22:47:35.601Z] Successfully built 8becb582648b [2024-08-06T22:47:35.601Z] 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-08-06T22:47:35.706Z] provisioning config files... [2024-08-06T22:47:35.719Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12985074957594167838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:47:36.062Z] ---> ****-login.sh [2024-08-06T22:47:36.062Z] nexus3.edgexfoundry.org:10001 [2024-08-06T22:47:36.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:47:36.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:47:36.062Z] Configure a credential helper to remove this warning. See [2024-08-06T22:47:36.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:47:36.062Z] [2024-08-06T22:47:36.062Z] Login Succeeded [2024-08-06T22:47:36.062Z] nexus3.edgexfoundry.org:10002 [2024-08-06T22:47:36.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:47:36.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:47:36.062Z] Configure a credential helper to remove this warning. See [2024-08-06T22:47:36.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:47:36.062Z] [2024-08-06T22:47:36.062Z] Login Succeeded [2024-08-06T22:47:36.062Z] nexus3.edgexfoundry.org:10003 [2024-08-06T22:47:36.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:47:36.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:47:36.321Z] Configure a credential helper to remove this warning. See [2024-08-06T22:47:36.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:47:36.321Z] [2024-08-06T22:47:36.321Z] Login Succeeded [2024-08-06T22:47:36.321Z] nexus3.edgexfoundry.org:10004 [2024-08-06T22:47:36.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:47:36.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:47:36.321Z] Configure a credential helper to remove this warning. See [2024-08-06T22:47:36.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:47:36.321Z] [2024-08-06T22:47:36.321Z] Login Succeeded [2024-08-06T22:47:36.321Z] ****.io [2024-08-06T22:47:36.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:47:36.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:47:36.582Z] Configure a credential helper to remove this warning. See [2024-08-06T22:47:36.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:47:36.582Z] [2024-08-06T22:47:36.582Z] Login Succeeded [2024-08-06T22:47:36.582Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T22:47:36.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-06T22:47:36.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T22:47:36.684Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-08-06T22:47:36.684Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T22:47:36.684Z] latest [2024-08-06T22:47:36.684Z] 3.2.0-dev.20 [2024-08-06T22:47:36.684Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T22:47:36.684Z] main [2024-08-06T22:47:36.684Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:37.040Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:37.360Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T22:47:37.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-08-06T22:47:37.360Z] 836a6926e0d6: Preparing [2024-08-06T22:47:37.360Z] 0a933222f0a6: Preparing [2024-08-06T22:47:37.360Z] f64282d8e61f: Preparing [2024-08-06T22:47:37.360Z] c710a228866f: Preparing [2024-08-06T22:47:37.360Z] 7619e10dc7f5: Preparing [2024-08-06T22:47:37.360Z] ce7f800efff9: Preparing [2024-08-06T22:47:37.360Z] ce7f800efff9: Waiting [2024-08-06T22:47:37.360Z] 0a933222f0a6: Pushed [2024-08-06T22:47:37.360Z] 7619e10dc7f5: Pushed [2024-08-06T22:47:37.360Z] c710a228866f: Pushed [2024-08-06T22:47:37.360Z] 836a6926e0d6: Pushed [2024-08-06T22:47:37.360Z] ce7f800efff9: Layer already exists [2024-08-06T22:47:40.653Z] f64282d8e61f: Pushed [2024-08-06T22:47:40.653Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:40.981Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:41.316Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-08-06T22:47:41.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-08-06T22:47:41.316Z] 836a6926e0d6: Preparing [2024-08-06T22:47:41.316Z] 0a933222f0a6: Preparing [2024-08-06T22:47:41.316Z] f64282d8e61f: Preparing [2024-08-06T22:47:41.316Z] c710a228866f: Preparing [2024-08-06T22:47:41.316Z] 7619e10dc7f5: Preparing [2024-08-06T22:47:41.316Z] ce7f800efff9: Preparing [2024-08-06T22:47:41.316Z] ce7f800efff9: Waiting [2024-08-06T22:47:41.316Z] 0a933222f0a6: Layer already exists [2024-08-06T22:47:41.316Z] f64282d8e61f: Layer already exists [2024-08-06T22:47:41.316Z] 7619e10dc7f5: Layer already exists [2024-08-06T22:47:41.316Z] c710a228866f: Layer already exists [2024-08-06T22:47:41.316Z] ce7f800efff9: Layer already exists [2024-08-06T22:47:41.316Z] 836a6926e0d6: Layer already exists [2024-08-06T22:47:41.316Z] latest: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:41.646Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:41.970Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 [2024-08-06T22:47:41.970Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-08-06T22:47:41.970Z] 836a6926e0d6: Preparing [2024-08-06T22:47:41.970Z] 0a933222f0a6: Preparing [2024-08-06T22:47:41.970Z] f64282d8e61f: Preparing [2024-08-06T22:47:41.970Z] c710a228866f: Preparing [2024-08-06T22:47:41.970Z] 7619e10dc7f5: Preparing [2024-08-06T22:47:41.970Z] ce7f800efff9: Preparing [2024-08-06T22:47:41.970Z] ce7f800efff9: Waiting [2024-08-06T22:47:41.970Z] 7619e10dc7f5: Layer already exists [2024-08-06T22:47:41.970Z] c710a228866f: Layer already exists [2024-08-06T22:47:41.970Z] 836a6926e0d6: Layer already exists [2024-08-06T22:47:41.970Z] 0a933222f0a6: Layer already exists [2024-08-06T22:47:41.970Z] f64282d8e61f: Layer already exists [2024-08-06T22:47:41.970Z] ce7f800efff9: Layer already exists [2024-08-06T22:47:41.970Z] 3.2.0-dev.20: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:42.300Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:42.614Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T22:47:42.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-08-06T22:47:42.614Z] 836a6926e0d6: Preparing [2024-08-06T22:47:42.614Z] 0a933222f0a6: Preparing [2024-08-06T22:47:42.614Z] f64282d8e61f: Preparing [2024-08-06T22:47:42.614Z] c710a228866f: Preparing [2024-08-06T22:47:42.614Z] 7619e10dc7f5: Preparing [2024-08-06T22:47:42.614Z] ce7f800efff9: Preparing [2024-08-06T22:47:42.614Z] ce7f800efff9: Waiting [2024-08-06T22:47:42.614Z] f64282d8e61f: Layer already exists [2024-08-06T22:47:42.614Z] 0a933222f0a6: Layer already exists [2024-08-06T22:47:42.614Z] 7619e10dc7f5: Layer already exists [2024-08-06T22:47:42.614Z] 836a6926e0d6: Layer already exists [2024-08-06T22:47:42.614Z] c710a228866f: Layer already exists [2024-08-06T22:47:42.614Z] ce7f800efff9: Layer already exists [2024-08-06T22:47:42.614Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:42.941Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:47:43.273Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-08-06T22:47:43.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-08-06T22:47:43.273Z] 836a6926e0d6: Preparing [2024-08-06T22:47:43.273Z] 0a933222f0a6: Preparing [2024-08-06T22:47:43.273Z] f64282d8e61f: Preparing [2024-08-06T22:47:43.273Z] c710a228866f: Preparing [2024-08-06T22:47:43.273Z] 7619e10dc7f5: Preparing [2024-08-06T22:47:43.273Z] ce7f800efff9: Preparing [2024-08-06T22:47:43.273Z] ce7f800efff9: Waiting [2024-08-06T22:47:43.273Z] c710a228866f: Layer already exists [2024-08-06T22:47:43.273Z] 0a933222f0a6: Layer already exists [2024-08-06T22:47:43.273Z] f64282d8e61f: Layer already exists [2024-08-06T22:47:43.273Z] 7619e10dc7f5: Layer already exists [2024-08-06T22:47:43.273Z] 836a6926e0d6: Layer already exists [2024-08-06T22:47:43.273Z] ce7f800efff9: Layer already exists [2024-08-06T22:47:43.273Z] main: digest: sha256:ad185a7c388711baf9ea39c66401f380a219dcfc11323210e64cb4c80b4c9366 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-06T22:47:43.359Z] ===================================================== [Pipeline] echo [2024-08-06T22:47:43.373Z] taggedImages: [2024-08-06T22:47:43.373Z] - nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T22:47:43.373Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-08-06T22:47:43.373Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.20 [2024-08-06T22:47:43.373Z] - nexus3.edgexfoundry.org:10004/device-rest:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T22:47:43.373Z] - 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-08-06T22:47:43.537Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7224 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-08-06T22:47:43.556Z] Running in /w/workspace/device-rest-go/172 [Pipeline] { [Pipeline] checkout [2024-08-06T22:47:43.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T22:47:43.773Z] [2024-08-06T22:47:43.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-08-06T22:47:46.617Z] The recommended git tool is: git [Pipeline] sh [2024-08-06T22:47:46.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T22:47:46.898Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-06T22:47:46.898Z] 5eb5b503b376: Pulling fs layer [2024-08-06T22:47:46.898Z] 5c69ac0246d0: Pulling fs layer [2024-08-06T22:47:46.898Z] ec43610c2a17: Pulling fs layer [2024-08-06T22:47:46.898Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-06T22:47:46.898Z] 33b1e0a273af: Pulling fs layer [2024-08-06T22:47:46.898Z] 5d3b04190fa2: Pulling fs layer [2024-08-06T22:47:46.898Z] 2f39f015ded8: Pulling fs layer [2024-08-06T22:47:46.898Z] 3a2ae6a8a46f: Waiting [2024-08-06T22:47:46.898Z] 2f39f015ded8: Waiting [2024-08-06T22:47:46.898Z] 5d3b04190fa2: Waiting [2024-08-06T22:47:46.898Z] 5c69ac0246d0: Verifying Checksum [2024-08-06T22:47:46.898Z] 5c69ac0246d0: Download complete [2024-08-06T22:47:46.898Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-06T22:47:46.898Z] 3a2ae6a8a46f: Download complete [2024-08-06T22:47:46.898Z] 33b1e0a273af: Verifying Checksum [2024-08-06T22:47:46.898Z] 5d3b04190fa2: Verifying Checksum [2024-08-06T22:47:46.898Z] 5d3b04190fa2: Download complete [2024-08-06T22:47:46.898Z] ec43610c2a17: Download complete [2024-08-06T22:47:47.156Z] 5eb5b503b376: Verifying Checksum [2024-08-06T22:47:47.722Z] 2f39f015ded8: Download complete [2024-08-06T22:47:48.288Z] 5eb5b503b376: Pull complete [2024-08-06T22:47:48.288Z] 5c69ac0246d0: Pull complete [2024-08-06T22:47:48.854Z] ec43610c2a17: Pull complete [2024-08-06T22:47:48.854Z] 3a2ae6a8a46f: Pull complete [2024-08-06T22:47:49.113Z] 33b1e0a273af: Pull complete [2024-08-06T22:47:49.113Z] 5d3b04190fa2: Pull complete [2024-08-06T22:47:52.136Z] using credential edgex-jenkins-ssh [2024-08-06T22:47:52.175Z] Cloning the remote Git repository [2024-08-06T22:47:52.235Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-08-06T22:47:52.358Z] > git init /w/workspace/device-rest-go/172 # timeout=10 [2024-08-06T22:47:52.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-08-06T22:47:52.553Z] > git --version # timeout=10 [2024-08-06T22:47:52.578Z] > git --version # 'git version 2.25.1' [2024-08-06T22:47:52.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-06T22:47:52.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-06T22:47:53.302Z] 2f39f015ded8: Pull complete [2024-08-06T22:47:53.302Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-06T22:47:53.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T22:47:53.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:47:53.405Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T22:47:53.430Z] $ 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-08-06T22:47:54.712Z] $ docker top 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:47:55.096Z] ---> job-cost.sh [2024-08-06T22:47:55.096Z] lf-activate-venv: SKIPPING [2024-08-06T22:47:55.096Z] INFO: No Stack... [2024-08-06T22:47:55.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-06T22:47:55.924Z] INFO: Archiving Costs [Pipeline] sh [2024-08-06T22:47:56.213Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-08-06T22:47:56.213Z] + cut -d, -f6 [Pipeline] lock [2024-08-06T22:47:56.225Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [2024-08-06T22:47:56.242Z] Resource [jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] did not exist. Created. [2024-08-06T22:47:56.250Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-06T22:47:56.561Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-06T22:47:56.591Z] Stashed 1 file(s) [Pipeline] } [2024-08-06T22:47:56.594Z] Avoid second fetch [2024-08-06T22:47:56.595Z] Checking out Revision 3ca1d9672aa57d288ff73684e8f7d94170c5a17a (main) [2024-08-06T22:47:56.600Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-06T22:47:56.625Z] $ docker stop --time=1 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 [2024-08-06T22:47:55.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-08-06T22:47:55.627Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-06T22:47:56.610Z] > git config core.sparsecheckout # timeout=10 [2024-08-06T22:47:56.693Z] > git checkout -f 3ca1d9672aa57d288ff73684e8f7d94170c5a17a # timeout=10 [2024-08-06T22:47:57.324Z] Commit message: "Merge pull request #404 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" [2024-08-06T22:47:57.773Z] $ docker rm -f --volumes 5d17d6e8400510fbe6a54424496a75d4dd01f9e7642613794e9eed522c70f185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T22:48:02.151Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-06T22:48:02.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-06T22:48:02.151Z] Dload Upload Total Spent Left Speed [2024-08-06T22:48:02.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2024-08-06T22:48:02.499Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-06T22:48:02.837Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-06T22:48:02.837Z] + sudo tee /etc/docker/daemon.new [2024-08-06T22:48:02.837Z] { [2024-08-06T22:48:02.837Z] "registry-mirrors": [ [2024-08-06T22:48:02.837Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-06T22:48:02.837Z] ], [2024-08-06T22:48:02.837Z] "bip": "10.250.0.254/24", [2024-08-06T22:48:02.837Z] "hosts": [ [2024-08-06T22:48:02.837Z] "tcp://0.0.0.0:5555", [2024-08-06T22:48:02.837Z] "unix:///var/run/docker.sock" [2024-08-06T22:48:02.837Z] ], [2024-08-06T22:48:02.837Z] "mtu": 1458, [2024-08-06T22:48:02.837Z] "selinux-enabled": true, [2024-08-06T22:48:02.837Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-06T22:48:02.837Z] } [Pipeline] sh [2024-08-06T22:48:03.187Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-06T22:48:03.533Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T22:48:21.845Z] provisioning config files... [2024-08-06T22:48:21.873Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/172@tmp/config17132404944666254601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T22:48:22.342Z] ---> ****-login.sh [2024-08-06T22:48:22.342Z] nexus3.edgexfoundry.org:10001 [2024-08-06T22:48:22.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:48:23.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:48:23.220Z] Configure a credential helper to remove this warning. See [2024-08-06T22:48:23.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:48:23.220Z] [2024-08-06T22:48:23.220Z] Login Succeeded [2024-08-06T22:48:23.220Z] nexus3.edgexfoundry.org:10002 [2024-08-06T22:48:23.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:48:23.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:48:23.500Z] Configure a credential helper to remove this warning. See [2024-08-06T22:48:23.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:48:23.500Z] [2024-08-06T22:48:23.500Z] Login Succeeded [2024-08-06T22:48:23.500Z] nexus3.edgexfoundry.org:10003 [2024-08-06T22:48:23.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:48:24.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:48:24.048Z] Configure a credential helper to remove this warning. See [2024-08-06T22:48:24.048Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:48:24.048Z] [2024-08-06T22:48:24.048Z] Login Succeeded [2024-08-06T22:48:24.048Z] nexus3.edgexfoundry.org:10004 [2024-08-06T22:48:24.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:48:24.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:48:24.317Z] Configure a credential helper to remove this warning. See [2024-08-06T22:48:24.317Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:48:24.317Z] [2024-08-06T22:48:24.317Z] Login Succeeded [2024-08-06T22:48:24.317Z] ****.io [2024-08-06T22:48:24.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T22:48:24.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T22:48:24.856Z] Configure a credential helper to remove this warning. See [2024-08-06T22:48:24.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T22:48:24.856Z] [2024-08-06T22:48:24.856Z] Login Succeeded [2024-08-06T22:48:24.856Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T22:48:24.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-06T22:48:25.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T22:48:25.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T22:48:25.248Z] ========================================================= [2024-08-06T22:48:25.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-06T22:48:25.248Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:48:25.609Z] + 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-08-06T22:48:25.609Z] Sending build context to Docker daemon 130.6kB [2024-08-06T22:48:25.878Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T22:48:25.878Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-06T22:48:26.145Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-06T22:48:26.145Z] c6b39de5b339: Pulling fs layer [2024-08-06T22:48:26.145Z] a69c41024577: Pulling fs layer [2024-08-06T22:48:26.145Z] d6de4b400683: Pulling fs layer [2024-08-06T22:48:26.145Z] 35cb2a7552d0: Pulling fs layer [2024-08-06T22:48:26.145Z] 4f4fb700ef54: Pulling fs layer [2024-08-06T22:48:26.145Z] 464afbd9ba4c: Pulling fs layer [2024-08-06T22:48:26.145Z] 00f215d4a9da: Pulling fs layer [2024-08-06T22:48:26.145Z] d496ad576159: Pulling fs layer [2024-08-06T22:48:26.145Z] 35cb2a7552d0: Waiting [2024-08-06T22:48:26.145Z] 4f4fb700ef54: Waiting [2024-08-06T22:48:26.145Z] 00f215d4a9da: Waiting [2024-08-06T22:48:26.145Z] d496ad576159: Waiting [2024-08-06T22:48:26.145Z] 464afbd9ba4c: Waiting [2024-08-06T22:48:26.145Z] a69c41024577: Verifying Checksum [2024-08-06T22:48:26.145Z] a69c41024577: Download complete [2024-08-06T22:48:26.145Z] 35cb2a7552d0: Verifying Checksum [2024-08-06T22:48:26.145Z] 35cb2a7552d0: Download complete [2024-08-06T22:48:26.145Z] 4f4fb700ef54: Download complete [2024-08-06T22:48:26.145Z] 464afbd9ba4c: Verifying Checksum [2024-08-06T22:48:26.145Z] 464afbd9ba4c: Download complete [2024-08-06T22:48:26.145Z] c6b39de5b339: Verifying Checksum [2024-08-06T22:48:26.145Z] c6b39de5b339: Download complete [2024-08-06T22:48:26.730Z] d496ad576159: Verifying Checksum [2024-08-06T22:48:26.730Z] d496ad576159: Download complete [2024-08-06T22:48:26.998Z] c6b39de5b339: Pull complete [2024-08-06T22:48:27.583Z] a69c41024577: Pull complete [2024-08-06T22:48:28.169Z] d6de4b400683: Verifying Checksum [2024-08-06T22:48:28.169Z] d6de4b400683: Download complete [2024-08-06T22:48:29.129Z] 00f215d4a9da: Download complete [2024-08-06T22:48:41.452Z] d6de4b400683: Pull complete [2024-08-06T22:48:41.722Z] 35cb2a7552d0: Pull complete [2024-08-06T22:48:41.996Z] 4f4fb700ef54: Pull complete [2024-08-06T22:48:42.265Z] 464afbd9ba4c: Pull complete [2024-08-06T22:48:52.356Z] 00f215d4a9da: Pull complete [2024-08-06T22:48:53.317Z] d496ad576159: Pull complete [2024-08-06T22:48:53.317Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-06T22:48:53.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-06T22:48:53.317Z] ---> f246e2811388 [2024-08-06T22:48:53.317Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-06T22:48:54.294Z] ---> Running in fab495a08f27 [2024-08-06T22:48:54.562Z] Removing intermediate container fab495a08f27 [2024-08-06T22:48:54.562Z] ---> fe1b2083fdf8 [2024-08-06T22:48:54.562Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T22:48:54.843Z] ---> Running in bb19e94d879c [2024-08-06T22:48:55.111Z] Removing intermediate container bb19e94d879c [2024-08-06T22:48:55.111Z] ---> 6c0e176d87fc [2024-08-06T22:48:55.111Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T22:48:55.111Z] ---> Running in 08fb38f63178 [2024-08-06T22:48:55.699Z] Removing intermediate container 08fb38f63178 [2024-08-06T22:48:55.699Z] ---> 213fc0c30ab0 [2024-08-06T22:48:55.699Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T22:48:55.699Z] ---> Running in 0999404dd3e9 [2024-08-06T22:48:55.978Z] Removing intermediate container 0999404dd3e9 [2024-08-06T22:48:55.978Z] ---> ffb9d2c31455 [2024-08-06T22:48:55.978Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T22:48:56.249Z] ---> Running in d15185eda480 [2024-08-06T22:48:57.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T22:48:57.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T22:48:58.625Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-06T22:48:58.625Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-06T22:48:58.894Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-06T22:48:59.162Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-06T22:48:59.162Z] Executing busybox-1.36.1-r5.trigger [2024-08-06T22:48:59.162Z] OK: 271 MiB in 56 packages [2024-08-06T22:49:00.125Z] Removing intermediate container d15185eda480 [2024-08-06T22:49:00.125Z] ---> 608be1cc0e75 [2024-08-06T22:49:00.125Z] Step 8/12 : WORKDIR /device-rest-go [2024-08-06T22:49:00.396Z] ---> Running in 755b36ee56d0 [2024-08-06T22:49:00.665Z] Removing intermediate container 755b36ee56d0 [2024-08-06T22:49:00.665Z] ---> 3417ee76281c [2024-08-06T22:49:00.665Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-06T22:49:01.266Z] ---> 1c15bae53bce [2024-08-06T22:49:01.266Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T22:49:01.266Z] ---> Running in 5772c403a737 [2024-08-06T22:51:08.029Z] Removing intermediate container 5772c403a737 [2024-08-06T22:51:08.029Z] ---> 52fa6793eaa4 [2024-08-06T22:51:08.029Z] Step 11/12 : COPY . . [2024-08-06T22:51:08.029Z] ---> afbe428ec583 [2024-08-06T22:51:08.029Z] Step 12/12 : RUN $MAKE [2024-08-06T22:51:08.029Z] ---> Running in 768205fc5b00 [2024-08-06T22:51:08.029Z] noop [2024-08-06T22:51:08.300Z] Removing intermediate container 768205fc5b00 [2024-08-06T22:51:08.300Z] ---> 56d1c7e02447 [2024-08-06T22:51:08.300Z] Successfully built 56d1c7e02447 [2024-08-06T22:51:08.300Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:51:08.687Z] + docker inspect -f . ci-base-image-arm64 [2024-08-06T22:51:08.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:51:08.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2024-08-06T22:51:09.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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-08-06T22:51:10.433Z] $ docker top 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T22:51:11.318Z] + go version [2024-08-06T22:51:11.318Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-06T22:51:11.336Z] $ docker stop --time=1 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 [2024-08-06T22:51:13.113Z] $ docker rm -f --volumes 111d22a3258e4c6c6222edd4d16c87f0da5b4e16a6bf1c9d907a8ca1587eb530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:51:13.962Z] + docker inspect -f . ci-base-image-arm64 [2024-08-06T22:51:13.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T22:51:14.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2024-08-06T22:51:14.259Z] $ 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/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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-08-06T22:51:15.665Z] $ docker top da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T22:51:16.533Z] + git config --global --add safe.directory /w/workspace/device-rest-go/172 [Pipeline] fileExists [Pipeline] sh [2024-08-06T22:51:17.202Z] + make test [2024-08-06T22:51:17.202Z] go test ./... -coverprofile=coverage.out ./... [2024-08-06T22:51:23.867Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-08-06T22:55:45.777Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-08-06T22:55:45.777Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements [2024-08-06T22:55:45.777Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-06T22:55:45.777Z] go vet ./... [2024-08-06T22:56:33.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-06T22:56:33.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-06T22:56:33.025Z] ./bin/test-attribution-txt.sh [2024-08-06T22:56:33.025Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-06T22:56:33.025Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-06T22:56:33.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-06T22:56:33.068Z] $ docker stop --time=1 da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c [2024-08-06T22:56:35.201Z] $ docker rm -f --volumes da8d638d809c54e212bc488cb34fa95909cf5bbad28c76295510cd4982514a2c [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T22:56:36.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-06T22:56:37.002Z] Warning: overwriting stash ‘coverage-report’ [2024-08-06T22:56:37.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-06T22:56:37.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-06T22:56:38.328Z] + ls -al . [2024-08-06T22:56:38.328Z] total 244 [2024-08-06T22:56:38.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:51 . [2024-08-06T22:56:38.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 22:47 .. [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 6 22:47 .dockerignore [2024-08-06T22:56:38.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 22:48 .git [2024-08-06T22:56:38.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 .github [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 6 22:47 .gitignore [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 6 22:47 .golangci.yml [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 6 22:47 Attribution.txt [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 17685 Aug 6 22:47 CHANGELOG.md [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 1687 Aug 6 22:47 Dockerfile [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 6 22:47 GOVERNANCE.md [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 6 22:47 Jenkinsfile [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 6 22:47 LICENSE [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 2016 Aug 6 22:47 Makefile [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 6 22:47 OWNERS.md [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 3989 Aug 6 22:47 README.md [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 6 22:45 VERSION [2024-08-06T22:56:38.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:47 bin [2024-08-06T22:56:38.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 cmd [2024-08-06T22:56:38.328Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 6 22:55 coverage.out [2024-08-06T22:56:38.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 22:47 driver [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 7134 Aug 6 22:47 go.mod [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 6 22:47 go.sum [2024-08-06T22:56:38.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 6 22:47 openapi [2024-08-06T22:56:38.328Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 6 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T22:56:38.698Z] + 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=3ca1d9672aa57d288ff73684e8f7d94170c5a17a --label arch=arm64 --label version=3.2.0-dev.20 . [2024-08-06T22:56:38.698Z] Sending build context to Docker daemon 145.9kB [2024-08-06T22:56:38.967Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-06T22:56:38.968Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-06T22:56:38.968Z] ---> 56d1c7e02447 [2024-08-06T22:56:38.968Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-08-06T22:56:39.235Z] ---> Running in fa3f6fc17556 [2024-08-06T22:56:39.508Z] Removing intermediate container fa3f6fc17556 [2024-08-06T22:56:39.508Z] ---> 09d0435ef5a9 [2024-08-06T22:56:39.508Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-06T22:56:39.508Z] ---> Running in 290d51ead59b [2024-08-06T22:56:39.781Z] Removing intermediate container 290d51ead59b [2024-08-06T22:56:39.781Z] ---> 62ded3ee840f [2024-08-06T22:56:39.781Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-06T22:56:40.051Z] ---> Running in 82f40280c208 [2024-08-06T22:56:40.319Z] Removing intermediate container 82f40280c208 [2024-08-06T22:56:40.319Z] ---> 4a4992b8ec89 [2024-08-06T22:56:40.319Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-06T22:56:40.319Z] ---> Running in 6ce19edd1b48 [2024-08-06T22:56:40.915Z] Removing intermediate container 6ce19edd1b48 [2024-08-06T22:56:40.915Z] ---> 2310b19d66b7 [2024-08-06T22:56:40.915Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-06T22:56:40.915Z] ---> Running in 28423d27bd74 [2024-08-06T22:56:41.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T22:56:42.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T22:56:43.888Z] OK: 271 MiB in 56 packages [2024-08-06T22:56:44.480Z] Removing intermediate container 28423d27bd74 [2024-08-06T22:56:44.480Z] ---> 3b8ff7aba98e [2024-08-06T22:56:44.480Z] Step 8/26 : WORKDIR /device-rest-go [2024-08-06T22:56:44.480Z] ---> Running in a4b862f82b5a [2024-08-06T22:56:45.070Z] Removing intermediate container a4b862f82b5a [2024-08-06T22:56:45.070Z] ---> 8f7afeb2956b [2024-08-06T22:56:45.070Z] Step 9/26 : COPY go.mod vendor* ./ [2024-08-06T22:56:45.343Z] ---> 65e968727c29 [2024-08-06T22:56:45.343Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-06T22:56:45.612Z] ---> Running in 56b638f324b8 [2024-08-06T22:56:48.204Z] Removing intermediate container 56b638f324b8 [2024-08-06T22:56:48.204Z] ---> afcf0821c58c [2024-08-06T22:56:48.204Z] Step 11/26 : COPY . . [2024-08-06T22:56:48.473Z] ---> b09b67e0e688 [2024-08-06T22:56:48.473Z] Step 12/26 : RUN $MAKE [2024-08-06T22:56:48.743Z] ---> Running in 3140d32579de [2024-08-06T22:56:49.709Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-08-06T23:00:41.839Z] Removing intermediate container 3140d32579de [2024-08-06T23:00:41.839Z] ---> b694021d847e [2024-08-06T23:00:41.839Z] Step 13/26 : FROM alpine:3.18 [2024-08-06T23:00:41.839Z] 3.18: Pulling from library/alpine [2024-08-06T23:00:41.839Z] 4983c3fe2029: Pulling fs layer [2024-08-06T23:00:41.839Z] 4983c3fe2029: Verifying Checksum [2024-08-06T23:00:41.839Z] 4983c3fe2029: Download complete [2024-08-06T23:00:41.839Z] 4983c3fe2029: Pull complete [2024-08-06T23:00:41.839Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-06T23:00:41.839Z] Status: Downloaded newer image for alpine:3.18 [2024-08-06T23:00:41.839Z] ---> a0237000ae83 [2024-08-06T23:00:41.839Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-06T23:00:41.839Z] ---> Running in 20d2f2a897b8 [2024-08-06T23:00:41.839Z] Removing intermediate container 20d2f2a897b8 [2024-08-06T23:00:41.839Z] ---> cc3133227056 [2024-08-06T23:00:41.839Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-08-06T23:00:41.839Z] ---> Running in c48b4d2050f9 [2024-08-06T23:00:41.839Z] Removing intermediate container c48b4d2050f9 [2024-08-06T23:00:41.839Z] ---> 698b80c9226e [2024-08-06T23:00:41.839Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-08-06T23:00:41.839Z] ---> Running in d52b3a5cf5ee [2024-08-06T23:00:41.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T23:00:41.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T23:00:41.839Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-06T23:00:41.839Z] Executing busybox-1.36.1-r7.trigger [2024-08-06T23:00:41.839Z] OK: 8 MiB in 16 packages [2024-08-06T23:00:41.839Z] Removing intermediate container d52b3a5cf5ee [2024-08-06T23:00:41.839Z] ---> 4cbaffbb465f [2024-08-06T23:00:41.839Z] Step 17/26 : RUN apk --no-cache upgrade [2024-08-06T23:00:41.839Z] ---> Running in 147aff759c58 [2024-08-06T23:00:41.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-06T23:00:41.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-06T23:00:41.839Z] OK: 8 MiB in 16 packages [2024-08-06T23:00:41.839Z] Removing intermediate container 147aff759c58 [2024-08-06T23:00:41.839Z] ---> 04b00904ca43 [2024-08-06T23:00:41.839Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-08-06T23:00:44.957Z] ---> 07d30e7cc2f2 [2024-08-06T23:00:44.957Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-08-06T23:00:44.957Z] ---> 7213cb81a2f9 [2024-08-06T23:00:44.957Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-08-06T23:00:44.957Z] ---> 9647f8cf41c8 [2024-08-06T23:00:44.957Z] Step 21/26 : EXPOSE 59986 [2024-08-06T23:00:44.957Z] ---> Running in 7f943cf4f840 [2024-08-06T23:00:44.957Z] Removing intermediate container 7f943cf4f840 [2024-08-06T23:00:44.957Z] ---> ad889061fa0f [2024-08-06T23:00:44.957Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-08-06T23:00:44.957Z] ---> Running in 9cdd1d00ac33 [2024-08-06T23:00:46.311Z] Removing intermediate container 9cdd1d00ac33 [2024-08-06T23:00:46.311Z] ---> ed06eaccaf0f [2024-08-06T23:00:46.311Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-06T23:00:46.311Z] ---> Running in 56042d2a060f [2024-08-06T23:00:46.311Z] Removing intermediate container 56042d2a060f [2024-08-06T23:00:46.311Z] ---> e8a0f6825045 [2024-08-06T23:00:46.311Z] Step 24/26 : LABEL arch=arm64 [2024-08-06T23:00:46.311Z] ---> Running in 7c7a5f8aa6b6 [2024-08-06T23:00:46.311Z] Removing intermediate container 7c7a5f8aa6b6 [2024-08-06T23:00:46.311Z] ---> 1650f6abb563 [2024-08-06T23:00:46.311Z] Step 25/26 : LABEL git_sha=3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T23:00:46.311Z] ---> Running in 369b7ebe6c28 [2024-08-06T23:00:47.696Z] Removing intermediate container 369b7ebe6c28 [2024-08-06T23:00:47.696Z] ---> bbdaf9b9ae55 [2024-08-06T23:00:47.696Z] Step 26/26 : LABEL version=3.2.0-dev.20 [2024-08-06T23:00:47.696Z] ---> Running in 90035da435b5 [2024-08-06T23:00:47.696Z] Removing intermediate container 90035da435b5 [2024-08-06T23:00:47.696Z] ---> 7ae6e8fbb139 [2024-08-06T23:00:47.696Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-06T23:00:47.696Z] Successfully built 7ae6e8fbb139 [2024-08-06T23:00:47.696Z] 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-08-06T23:00:47.852Z] provisioning config files... [2024-08-06T23:00:49.860Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/172@tmp/config2386565135589558315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:00:50.216Z] ---> ****-login.sh [2024-08-06T23:00:50.216Z] nexus3.edgexfoundry.org:10001 [2024-08-06T23:00:50.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T23:00:50.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T23:00:50.482Z] Configure a credential helper to remove this warning. See [2024-08-06T23:00:50.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T23:00:50.482Z] [2024-08-06T23:00:50.482Z] Login Succeeded [2024-08-06T23:00:50.482Z] nexus3.edgexfoundry.org:10002 [2024-08-06T23:00:50.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T23:00:50.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T23:00:50.749Z] Configure a credential helper to remove this warning. See [2024-08-06T23:00:50.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T23:00:50.749Z] [2024-08-06T23:00:50.749Z] Login Succeeded [2024-08-06T23:00:50.749Z] nexus3.edgexfoundry.org:10003 [2024-08-06T23:00:51.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T23:00:51.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T23:00:51.290Z] Configure a credential helper to remove this warning. See [2024-08-06T23:00:51.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T23:00:51.290Z] [2024-08-06T23:00:51.290Z] Login Succeeded [2024-08-06T23:00:51.290Z] nexus3.edgexfoundry.org:10004 [2024-08-06T23:00:51.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T23:00:51.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T23:00:51.557Z] Configure a credential helper to remove this warning. See [2024-08-06T23:00:51.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T23:00:51.557Z] [2024-08-06T23:00:51.557Z] Login Succeeded [2024-08-06T23:00:51.557Z] ****.io [2024-08-06T23:00:51.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-06T23:00:57.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-06T23:00:57.178Z] Configure a credential helper to remove this warning. See [2024-08-06T23:00:57.178Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-06T23:00:57.178Z] [2024-08-06T23:00:57.178Z] Login Succeeded [2024-08-06T23:00:57.178Z] ---> ****-login.sh ends [Pipeline] } [2024-08-06T23:00:57.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-06T23:00:57.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-06T23:00:57.276Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-08-06T23:00:57.276Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T23:00:57.276Z] latest [2024-08-06T23:00:57.276Z] 3.2.0-dev.20 [2024-08-06T23:00:57.276Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T23:00:57.276Z] main [2024-08-06T23:00:57.276Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:00:57.663Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:00:58.041Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T23:00:58.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-08-06T23:00:58.041Z] 0ddf822db8e0: Preparing [2024-08-06T23:00:58.041Z] 573fe9c5759f: Preparing [2024-08-06T23:00:58.041Z] 660660b13b78: Preparing [2024-08-06T23:00:58.041Z] 28414073c752: Preparing [2024-08-06T23:00:58.041Z] f3f2cb68b361: Preparing [2024-08-06T23:00:58.041Z] 3c20671a5817: Preparing [2024-08-06T23:00:58.041Z] 3c20671a5817: Waiting [2024-08-06T23:00:58.308Z] 573fe9c5759f: Pushed [2024-08-06T23:00:58.308Z] f3f2cb68b361: Pushed [2024-08-06T23:00:58.308Z] 28414073c752: Pushed [2024-08-06T23:00:58.308Z] 0ddf822db8e0: Pushed [2024-08-06T23:00:58.308Z] 3c20671a5817: Layer already exists [2024-08-06T23:01:04.949Z] 660660b13b78: Pushed [2024-08-06T23:01:04.949Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:05.330Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:05.689Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-08-06T23:01:05.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-08-06T23:01:05.689Z] 0ddf822db8e0: Preparing [2024-08-06T23:01:05.689Z] 573fe9c5759f: Preparing [2024-08-06T23:01:05.689Z] 660660b13b78: Preparing [2024-08-06T23:01:05.689Z] 28414073c752: Preparing [2024-08-06T23:01:05.689Z] f3f2cb68b361: Preparing [2024-08-06T23:01:05.689Z] 3c20671a5817: Preparing [2024-08-06T23:01:05.689Z] 3c20671a5817: Waiting [2024-08-06T23:01:05.689Z] 573fe9c5759f: Layer already exists [2024-08-06T23:01:05.689Z] f3f2cb68b361: Layer already exists [2024-08-06T23:01:05.689Z] 28414073c752: Layer already exists [2024-08-06T23:01:05.689Z] 660660b13b78: Layer already exists [2024-08-06T23:01:05.689Z] 0ddf822db8e0: Layer already exists [2024-08-06T23:01:05.689Z] 3c20671a5817: Layer already exists [2024-08-06T23:01:05.956Z] latest: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:06.322Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:06.692Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 [2024-08-06T23:01:06.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-08-06T23:01:06.692Z] 0ddf822db8e0: Preparing [2024-08-06T23:01:06.692Z] 573fe9c5759f: Preparing [2024-08-06T23:01:06.692Z] 660660b13b78: Preparing [2024-08-06T23:01:06.692Z] 28414073c752: Preparing [2024-08-06T23:01:06.692Z] f3f2cb68b361: Preparing [2024-08-06T23:01:06.692Z] 3c20671a5817: Preparing [2024-08-06T23:01:06.692Z] 3c20671a5817: Waiting [2024-08-06T23:01:06.692Z] 573fe9c5759f: Layer already exists [2024-08-06T23:01:06.693Z] 660660b13b78: Layer already exists [2024-08-06T23:01:06.693Z] f3f2cb68b361: Layer already exists [2024-08-06T23:01:06.693Z] 0ddf822db8e0: Layer already exists [2024-08-06T23:01:06.693Z] 28414073c752: Layer already exists [2024-08-06T23:01:06.693Z] 3c20671a5817: Layer already exists [2024-08-06T23:01:06.960Z] 3.2.0-dev.20: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:07.327Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:07.689Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T23:01:07.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-08-06T23:01:07.689Z] 0ddf822db8e0: Preparing [2024-08-06T23:01:07.689Z] 573fe9c5759f: Preparing [2024-08-06T23:01:07.689Z] 660660b13b78: Preparing [2024-08-06T23:01:07.689Z] 28414073c752: Preparing [2024-08-06T23:01:07.689Z] f3f2cb68b361: Preparing [2024-08-06T23:01:07.689Z] 3c20671a5817: Preparing [2024-08-06T23:01:07.689Z] 3c20671a5817: Waiting [2024-08-06T23:01:07.689Z] 0ddf822db8e0: Layer already exists [2024-08-06T23:01:07.689Z] 28414073c752: Layer already exists [2024-08-06T23:01:07.689Z] f3f2cb68b361: Layer already exists [2024-08-06T23:01:07.689Z] 573fe9c5759f: Layer already exists [2024-08-06T23:01:07.689Z] 660660b13b78: Layer already exists [2024-08-06T23:01:07.689Z] 3c20671a5817: Layer already exists [2024-08-06T23:01:07.956Z] 3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:08.319Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:08.681Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-08-06T23:01:08.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-08-06T23:01:08.681Z] 0ddf822db8e0: Preparing [2024-08-06T23:01:08.681Z] 573fe9c5759f: Preparing [2024-08-06T23:01:08.681Z] 660660b13b78: Preparing [2024-08-06T23:01:08.681Z] 28414073c752: Preparing [2024-08-06T23:01:08.681Z] f3f2cb68b361: Preparing [2024-08-06T23:01:08.681Z] 3c20671a5817: Preparing [2024-08-06T23:01:08.681Z] 3c20671a5817: Waiting [2024-08-06T23:01:08.681Z] f3f2cb68b361: Layer already exists [2024-08-06T23:01:08.681Z] 660660b13b78: Layer already exists [2024-08-06T23:01:08.681Z] 28414073c752: Layer already exists [2024-08-06T23:01:08.681Z] 573fe9c5759f: Layer already exists [2024-08-06T23:01:08.681Z] 0ddf822db8e0: Layer already exists [2024-08-06T23:01:08.681Z] 3c20671a5817: Layer already exists [2024-08-06T23:01:08.947Z] main: digest: sha256:aae4806b25e2fa95f99274e7b1442ce3226976fee356ea6b2f55178b9a688f12 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-06T23:01:09.033Z] ===================================================== [Pipeline] echo [2024-08-06T23:01:09.049Z] taggedImages: [2024-08-06T23:01:09.049Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a [2024-08-06T23:01:09.049Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-08-06T23:01:09.049Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.20 [2024-08-06T23:01:09.049Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3ca1d9672aa57d288ff73684e8f7d94170c5a17a-3.2.0-dev.20 [2024-08-06T23:01:09.049Z] - 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-08-06T23:01:09.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T23:01:09.451Z] [2024-08-06T23:01:09.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:09.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T23:01:10.055Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-06T23:01:10.055Z] 8998bd30e6a1: Pulling fs layer [2024-08-06T23:01:10.055Z] 04944245beec: Pulling fs layer [2024-08-06T23:01:10.055Z] 699f458cf7ca: Pulling fs layer [2024-08-06T23:01:10.055Z] 765212b225bb: Pulling fs layer [2024-08-06T23:01:10.055Z] f23df028b6ca: Pulling fs layer [2024-08-06T23:01:10.055Z] d65c8cfc05b1: Pulling fs layer [2024-08-06T23:01:10.055Z] 2437ff75d9bd: Pulling fs layer [2024-08-06T23:01:10.055Z] 765212b225bb: Waiting [2024-08-06T23:01:10.055Z] f23df028b6ca: Waiting [2024-08-06T23:01:10.055Z] d65c8cfc05b1: Waiting [2024-08-06T23:01:10.055Z] 2437ff75d9bd: Waiting [2024-08-06T23:01:10.055Z] 04944245beec: Verifying Checksum [2024-08-06T23:01:10.055Z] 04944245beec: Download complete [2024-08-06T23:01:10.055Z] 765212b225bb: Verifying Checksum [2024-08-06T23:01:10.055Z] 765212b225bb: Download complete [2024-08-06T23:01:10.055Z] f23df028b6ca: Verifying Checksum [2024-08-06T23:01:10.055Z] f23df028b6ca: Download complete [2024-08-06T23:01:10.055Z] d65c8cfc05b1: Verifying Checksum [2024-08-06T23:01:10.055Z] d65c8cfc05b1: Download complete [2024-08-06T23:01:10.321Z] 699f458cf7ca: Verifying Checksum [2024-08-06T23:01:10.321Z] 699f458cf7ca: Download complete [2024-08-06T23:01:10.906Z] 8998bd30e6a1: Verifying Checksum [2024-08-06T23:01:10.906Z] 8998bd30e6a1: Download complete [2024-08-06T23:01:13.490Z] 2437ff75d9bd: Verifying Checksum [2024-08-06T23:01:13.490Z] 2437ff75d9bd: Download complete [2024-08-06T23:01:15.433Z] 8998bd30e6a1: Pull complete [2024-08-06T23:01:16.018Z] 04944245beec: Pull complete [2024-08-06T23:01:17.427Z] 699f458cf7ca: Pull complete [2024-08-06T23:01:17.696Z] 765212b225bb: Pull complete [2024-08-06T23:01:18.655Z] f23df028b6ca: Pull complete [2024-08-06T23:01:18.655Z] d65c8cfc05b1: Pull complete [2024-08-06T23:01:36.855Z] 2437ff75d9bd: Pull complete [2024-08-06T23:01:36.855Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-06T23:01:36.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-06T23:01:36.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:01:37.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2024-08-06T23:01:37.166Z] $ 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/172 -v /w/workspace/device-rest-go/172:/w/workspace/device-rest-go/172:rw,z -v /w/workspace/device-rest-go/172@tmp:/w/workspace/device-rest-go/172@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-08-06T23:01:40.115Z] $ docker top e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:01:40.992Z] ---> job-cost.sh [2024-08-06T23:01:40.992Z] lf-activate-venv: SKIPPING [2024-08-06T23:01:40.992Z] INFO: No Stack... [2024-08-06T23:01:41.573Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-06T23:01:42.152Z] INFO: Archiving Costs [Pipeline] sh [2024-08-06T23:01:42.794Z] + cat /w/workspace/device-rest-go/172/archives/cost.csv [2024-08-06T23:01:42.794Z] + cut -d, -f6 [Pipeline] lock [2024-08-06T23:01:42.858Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [2024-08-06T23:01:42.875Z] Resource [jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] did not exist. Created. [2024-08-06T23:01:42.885Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-06T23:01:43.544Z] /w/workspace/device-rest-go/172@tmp/durable-9c214810/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-06T23:01:44.185Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-06T23:01:44.214Z] Warning: overwriting stash ‘stack-cost’ [2024-08-06T23:01:44.261Z] Stashed 1 file(s) [Pipeline] } [2024-08-06T23:01:44.269Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-06T23:01:44.293Z] $ docker stop --time=1 e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 [2024-08-06T23:01:45.877Z] $ docker rm -f --volumes e00157d261d698cafd30a49f8668deb637048ed00d4c64d4caa03ee53fb79a99 [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-08-06T23:01:46.359Z] provisioning config files... [2024-08-06T23:01:46.365Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13793846503895335168tmp [Pipeline] { [Pipeline] sh [2024-08-06T23:01:46.659Z] + set +x [2024-08-06T23:01:46.659Z] + bash -s -- [2024-08-06T23:01:46.659Z] + curl -s https://codecov.io/bash [2024-08-06T23:01:46.659Z] [2024-08-06T23:01:46.659Z] _____ _ [2024-08-06T23:01:46.659Z] / ____| | | [2024-08-06T23:01:46.659Z] | | ___ __| | ___ ___ _____ __ [2024-08-06T23:01:46.659Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-06T23:01:46.659Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-06T23:01:46.659Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-06T23:01:46.659Z] Bash-1.0.6 [2024-08-06T23:01:46.659Z] [2024-08-06T23:01:46.659Z] [2024-08-06T23:01:46.659Z] ==> git version 2.25.1 found [2024-08-06T23:01:46.659Z] ==> 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-08-06T23:01:46.659Z] Release-Date: 2020-01-08 [2024-08-06T23:01:46.660Z] 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-08-06T23:01:46.660Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-06T23:01:46.660Z] ==> Jenkins CI detected. [2024-08-06T23:01:46.660Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-08-06T23:01:46.660Z] project root: . [2024-08-06T23:01:46.660Z] --> token set from env [2024-08-06T23:01:46.660Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-06T23:01:46.660Z] ==> Running gcov in . (disable via -X gcov) [2024-08-06T23:01:46.660Z] ==> Python coveragepy not found [2024-08-06T23:01:46.660Z] ==> Searching for coverage reports in: [2024-08-06T23:01:46.660Z] + . [2024-08-06T23:01:46.660Z] -> Found 1 reports [2024-08-06T23:01:46.660Z] ==> Detecting git/mercurial file structure [2024-08-06T23:01:46.920Z] ==> Reading reports [2024-08-06T23:01:46.920Z] + ./coverage.out bytes=14499 [2024-08-06T23:01:46.920Z] ==> Appending adjustments [2024-08-06T23:01:46.920Z] https://docs.codecov.io/docs/fixing-reports [2024-08-06T23:01:46.920Z] + Found adjustments [2024-08-06T23:01:46.920Z] ==> Gzipping contents [2024-08-06T23:01:46.920Z] 4.0K /tmp/codecov.mYXChl.gz [2024-08-06T23:01:46.920Z] ==> Uploading reports [2024-08-06T23:01:46.920Z] url: https://codecov.io [2024-08-06T23:01:46.920Z] query: branch=main&commit=3ca1d9672aa57d288ff73684e8f7d94170c5a17a&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-08-06T23:01:46.920Z] -> Pinging Codecov [2024-08-06T23:01:46.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3ca1d9672aa57d288ff73684e8f7d94170c5a17a&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-08-06T23:01:46.920Z] -> Uploading to [2024-08-06T23:01:46.920Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-06/4E5D53B4F1F92C436F7061BF334D961C/3ca1d9672aa57d288ff73684e8f7d94170c5a17a/424a907d-0179-48dd-b7ef-36708e08a882.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240806%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240806T230146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ab982ce58ff81e4031fdde1ae7f4c2fa4e06f2fe4d13da2fdafb9133c01f10f [2024-08-06T23:01:46.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-06T23:01:46.920Z] Dload Upload Total Spent Left Speed [2024-08-06T23:01:47.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 10004 --:--:-- --:--:-- --:--:-- 9961 [2024-08-06T23:01:47.180Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] } [2024-08-06T23:01:47.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-08-06T23:01:47.330Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-08-06T23:01:47.345Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:47.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-06T23:01:47.651Z] [2024-08-06T23:01:47.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:01:47.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-06T23:01:47.958Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-08-06T23:01:47.958Z] 619be1103602: Already exists [2024-08-06T23:01:47.958Z] f8ea3408117e: Pulling fs layer [2024-08-06T23:01:47.958Z] 91320369b822: Pulling fs layer [2024-08-06T23:01:47.958Z] 0406650e8295: Pulling fs layer [2024-08-06T23:01:47.958Z] 4f4fb700ef54: Pulling fs layer [2024-08-06T23:01:47.958Z] 96d80e3f36e1: Pulling fs layer [2024-08-06T23:01:47.958Z] bcf3aedb951c: Pulling fs layer [2024-08-06T23:01:47.958Z] bcf3aedb951c: Waiting [2024-08-06T23:01:47.958Z] 4f4fb700ef54: Waiting [2024-08-06T23:01:47.958Z] 0406650e8295: Verifying Checksum [2024-08-06T23:01:47.958Z] 0406650e8295: Download complete [2024-08-06T23:01:47.958Z] f8ea3408117e: Download complete [2024-08-06T23:01:47.958Z] 4f4fb700ef54: Verifying Checksum [2024-08-06T23:01:47.958Z] 4f4fb700ef54: Download complete [2024-08-06T23:01:47.958Z] f8ea3408117e: Pull complete [2024-08-06T23:01:48.217Z] 96d80e3f36e1: Verifying Checksum [2024-08-06T23:01:48.217Z] 96d80e3f36e1: Download complete [2024-08-06T23:01:48.474Z] 91320369b822: Download complete [2024-08-06T23:01:48.732Z] bcf3aedb951c: Verifying Checksum [2024-08-06T23:01:48.732Z] bcf3aedb951c: Download complete [2024-08-06T23:01:52.013Z] 91320369b822: Pull complete [2024-08-06T23:01:52.013Z] 0406650e8295: Pull complete [2024-08-06T23:01:52.013Z] 4f4fb700ef54: Pull complete [2024-08-06T23:01:52.013Z] 96d80e3f36e1: Pull complete [2024-08-06T23:01:55.290Z] bcf3aedb951c: Pull complete [2024-08-06T23:01:55.290Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-08-06T23:01:55.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-06T23:01:55.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:01:55.553Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:01:55.629Z] $ 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-08-06T23:01:57.156Z] $ docker top fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T23:01:57.565Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-08-06T23:01:57.574Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-08-06T23:01:57.853Z] + set -o pipefail [2024-08-06T23:01:57.853Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-08-06T23:02:05.982Z] [2024-08-06T23:02:05.982Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-08-06T23:02:05.982Z] [2024-08-06T23:02:05.982Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/8ab491e0-6df4-4531-9582-8a638ceae683 [2024-08-06T23:02:05.982Z] [2024-08-06T23:02:05.982Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-08-06T23:02:05.982Z] [2024-08-06T23:02:05.982Z] [2024-08-06T23:02:05.982Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-08-06T23:02:05.982Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-08-06T23:02:05.990Z] $ docker stop --time=1 fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e [2024-08-06T23:02:08.105Z] $ docker rm -f --volumes fe5bf03e51bd229d8d67002032d9dd089a89649e97f8d1f4f3197511862a718e [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-08-06T23:02:09.000Z] + git log --format=format:%s -1 3ca1d9672aa57d288ff73684e8f7d94170c5a17a [Pipeline] sh [2024-08-06T23:02:09.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-06T23:02:09.292Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:09.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T23:02:09.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:02:09.675Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:02:09.701Z] $ 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-08-06T23:02:10.032Z] $ docker top d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 -eo pid,comm [2024-08-06T23:02:10.087Z] 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-08-06T23:02:10.087Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-06T23:02:10.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T23:02:10.142Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T23:02:10.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T23:02:10.258Z] $ docker exec d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 ssh-agent [2024-08-06T23:02:10.358Z] SSH_AUTH_SOCK=/tmp/ssh-NXc7z3031FFJ/agent.31 [2024-08-06T23:02:10.358Z] SSH_AGENT_PID=37 [2024-08-06T23:02:10.362Z] Running ssh-add (command line suppressed) [2024-08-06T23:02:10.468Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1940047589332679352.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1940047589332679352.key) [2024-08-06T23:02:10.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T23:02:10.784Z] + git semver tag [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,961 [run_tag] DEBUG tag force:False [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,961 [check_head_tag] DEBUG check head tag [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,962 [execute] INFO git cat-file --batch-check [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,966 [execute] INFO git cat-file --batch [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,986 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,987 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-08-06T23:02:11.043Z] 2024-08-06 23:02:10,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:11.043Z] 3.2.0-dev.20 [Pipeline] } [2024-08-06T23:02:11.045Z] $ docker exec --env ******** --env ******** d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 ssh-agent -k [2024-08-06T23:02:11.145Z] unset SSH_AUTH_SOCK; [2024-08-06T23:02:11.145Z] unset SSH_AGENT_PID; [2024-08-06T23:02:11.146Z] echo Agent pid 37 killed; [2024-08-06T23:02:11.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-06T23:02:11.484Z] + git semver [Pipeline] } [2024-08-06T23:02:11.751Z] $ docker stop --time=1 d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 [2024-08-06T23:02:13.007Z] $ docker rm -f --volumes d0ccffb5542137cdd2dee9cbfbddca9ea7086ec1a4e651962c0bbb66265ccfd7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:13.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-06T23:02:13.418Z] [2024-08-06T23:02:13.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:13.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-06T23:02:13.722Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-08-06T23:02:13.722Z] ab5ef0e58194: Pulling fs layer [2024-08-06T23:02:13.722Z] 9712f1f96733: Pulling fs layer [2024-08-06T23:02:13.722Z] 63f879dbbcfc: Pulling fs layer [2024-08-06T23:02:13.722Z] 0d9ebad4ef96: Pulling fs layer [2024-08-06T23:02:13.722Z] e9a5061849ea: Pulling fs layer [2024-08-06T23:02:13.722Z] d747dcd14b5f: Pulling fs layer [2024-08-06T23:02:13.722Z] 2de7ff778b66: Pulling fs layer [2024-08-06T23:02:13.722Z] e9a5061849ea: Waiting [2024-08-06T23:02:13.722Z] d747dcd14b5f: Waiting [2024-08-06T23:02:13.722Z] 2de7ff778b66: Waiting [2024-08-06T23:02:13.722Z] 0d9ebad4ef96: Waiting [2024-08-06T23:02:13.722Z] 9712f1f96733: Verifying Checksum [2024-08-06T23:02:13.722Z] 9712f1f96733: Download complete [2024-08-06T23:02:13.980Z] 63f879dbbcfc: Verifying Checksum [2024-08-06T23:02:13.980Z] 63f879dbbcfc: Download complete [2024-08-06T23:02:14.239Z] e9a5061849ea: Verifying Checksum [2024-08-06T23:02:14.239Z] e9a5061849ea: Download complete [2024-08-06T23:02:14.239Z] d747dcd14b5f: Download complete [2024-08-06T23:02:14.239Z] 0d9ebad4ef96: Verifying Checksum [2024-08-06T23:02:14.239Z] 0d9ebad4ef96: Download complete [2024-08-06T23:02:14.239Z] ab5ef0e58194: Verifying Checksum [2024-08-06T23:02:14.239Z] ab5ef0e58194: Download complete [2024-08-06T23:02:14.239Z] 2de7ff778b66: Verifying Checksum [2024-08-06T23:02:14.239Z] 2de7ff778b66: Download complete [2024-08-06T23:02:16.766Z] ab5ef0e58194: Pull complete [2024-08-06T23:02:16.766Z] 9712f1f96733: Pull complete [2024-08-06T23:02:17.329Z] 63f879dbbcfc: Pull complete [2024-08-06T23:02:20.610Z] 0d9ebad4ef96: Pull complete [2024-08-06T23:02:20.868Z] e9a5061849ea: Pull complete [2024-08-06T23:02:20.868Z] d747dcd14b5f: Pull complete [2024-08-06T23:02:21.802Z] 2de7ff778b66: Pull complete [2024-08-06T23:02:21.802Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-08-06T23:02:21.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-06T23:02:21.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:02:21.900Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:02:21.921Z] $ 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-08-06T23:02:23.611Z] $ docker top ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-08-06T23:02:23.696Z] provisioning config files... [2024-08-06T23:02:23.704Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15154888877834581022tmp [2024-08-06T23:02:23.713Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11594386395359561368tmp [2024-08-06T23:02:23.722Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7636825033389049886tmp [Pipeline] { [Pipeline] echo [2024-08-06T23:02:23.748Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:24.037Z] ---> sigul-configuration.sh [2024-08-06T23:02:24.037Z] gpg: directory `/root/.gnupg' created [2024-08-06T23:02:24.037Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-08-06T23:02:24.037Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-08-06T23:02:24.037Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-08-06T23:02:24.037Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-08-06T23:02:24.037Z] gpg: CAST5 encrypted data [2024-08-06T23:02:24.037Z] gpg: encrypted with 1 passphrase [2024-08-06T23:02:24.037Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-08-06T23:02:24.330Z] + mkdir /home/jenkins [2024-08-06T23:02:24.330Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-08-06T23:02:24.624Z] + 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-08-06T23:02:24.634Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:24.922Z] ---> sigul-install.sh [2024-08-06T23:02:24.922Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-08-06T23:02:25.217Z] + git tag --list [2024-08-06T23:02:25.217Z] v1.0.0 [2024-08-06T23:02:25.217Z] v1.1.0 [2024-08-06T23:02:25.217Z] v1.1.1 [2024-08-06T23:02:25.217Z] v1.1.2 [2024-08-06T23:02:25.217Z] v1.2.0 [2024-08-06T23:02:25.217Z] v1.2.1 [2024-08-06T23:02:25.217Z] v2.0.0 [2024-08-06T23:02:25.217Z] v2.1.0 [2024-08-06T23:02:25.217Z] v2.1.1 [2024-08-06T23:02:25.217Z] v2.2.0 [2024-08-06T23:02:25.217Z] v2.3.0 [2024-08-06T23:02:25.217Z] v3.0 [2024-08-06T23:02:25.217Z] v3.0.0 [2024-08-06T23:02:25.217Z] v3.1 [2024-08-06T23:02:25.217Z] v3.1.0 [2024-08-06T23:02:25.217Z] v3.1.0-dev.1 [2024-08-06T23:02:25.217Z] v3.1.0-dev.10 [2024-08-06T23:02:25.217Z] v3.1.0-dev.11 [2024-08-06T23:02:25.217Z] v3.1.0-dev.12 [2024-08-06T23:02:25.217Z] v3.1.0-dev.13 [2024-08-06T23:02:25.217Z] v3.1.0-dev.14 [2024-08-06T23:02:25.217Z] v3.1.0-dev.15 [2024-08-06T23:02:25.217Z] v3.1.0-dev.16 [2024-08-06T23:02:25.217Z] v3.1.0-dev.17 [2024-08-06T23:02:25.217Z] v3.1.0-dev.18 [2024-08-06T23:02:25.217Z] v3.1.0-dev.19 [2024-08-06T23:02:25.217Z] v3.1.0-dev.2 [2024-08-06T23:02:25.217Z] v3.1.0-dev.20 [2024-08-06T23:02:25.217Z] v3.1.0-dev.21 [2024-08-06T23:02:25.217Z] v3.1.0-dev.22 [2024-08-06T23:02:25.217Z] v3.1.0-dev.23 [2024-08-06T23:02:25.217Z] v3.1.0-dev.24 [2024-08-06T23:02:25.217Z] v3.1.0-dev.25 [2024-08-06T23:02:25.217Z] v3.1.0-dev.26 [2024-08-06T23:02:25.217Z] v3.1.0-dev.27 [2024-08-06T23:02:25.217Z] v3.1.0-dev.28 [2024-08-06T23:02:25.217Z] v3.1.0-dev.29 [2024-08-06T23:02:25.217Z] v3.1.0-dev.3 [2024-08-06T23:02:25.217Z] v3.1.0-dev.30 [2024-08-06T23:02:25.217Z] v3.1.0-dev.31 [2024-08-06T23:02:25.217Z] v3.1.0-dev.32 [2024-08-06T23:02:25.218Z] v3.1.0-dev.4 [2024-08-06T23:02:25.218Z] v3.1.0-dev.5 [2024-08-06T23:02:25.218Z] v3.1.0-dev.6 [2024-08-06T23:02:25.218Z] v3.1.0-dev.7 [2024-08-06T23:02:25.218Z] v3.1.0-dev.8 [2024-08-06T23:02:25.218Z] v3.1.0-dev.9 [2024-08-06T23:02:25.218Z] v3.1.1 [2024-08-06T23:02:25.218Z] v3.2.0-dev.1 [2024-08-06T23:02:25.218Z] v3.2.0-dev.10 [2024-08-06T23:02:25.218Z] v3.2.0-dev.11 [2024-08-06T23:02:25.218Z] v3.2.0-dev.12 [2024-08-06T23:02:25.218Z] v3.2.0-dev.13 [2024-08-06T23:02:25.218Z] v3.2.0-dev.14 [2024-08-06T23:02:25.218Z] v3.2.0-dev.15 [2024-08-06T23:02:25.218Z] v3.2.0-dev.16 [2024-08-06T23:02:25.218Z] v3.2.0-dev.17 [2024-08-06T23:02:25.218Z] v3.2.0-dev.18 [2024-08-06T23:02:25.218Z] v3.2.0-dev.19 [2024-08-06T23:02:25.218Z] v3.2.0-dev.2 [2024-08-06T23:02:25.218Z] v3.2.0-dev.20 [2024-08-06T23:02:25.218Z] v3.2.0-dev.3 [2024-08-06T23:02:25.218Z] v3.2.0-dev.4 [2024-08-06T23:02:25.218Z] v3.2.0-dev.5 [2024-08-06T23:02:25.218Z] v3.2.0-dev.6 [2024-08-06T23:02:25.218Z] v3.2.0-dev.7 [2024-08-06T23:02:25.218Z] v3.2.0-dev.8 [2024-08-06T23:02:25.218Z] v3.2.0-dev.9 [Pipeline] sh [2024-08-06T23:02:25.514Z] + lftools sign git-tag v3.2.0-dev.20 [2024-08-06T23:02:26.082Z] Signing Git tag with Sigul... [2024-08-06T23:02:26.082Z] Signing v3.2.0-dev.20 [Pipeline] echo [2024-08-06T23:02:26.352Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:26.642Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-08-06T23:02:26.649Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-08-06T23:02:26.672Z] $ docker stop --time=1 ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f [2024-08-06T23:02:27.942Z] $ docker rm -f --volumes ad7b25655bba08764b04c8658b84e3906deb215a1962f7b07c1575e83230f25f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-08-06T23:02:28.399Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-06T23:02:28.399Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:28.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T23:02:28.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:02:28.786Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:02:28.812Z] $ 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-08-06T23:02:29.175Z] $ docker top 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-06T23:02:29.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T23:02:29.307Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T23:02:29.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T23:02:29.429Z] $ docker exec 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 ssh-agent [2024-08-06T23:02:29.550Z] SSH_AUTH_SOCK=/tmp/ssh-TN29noikAMig/agent.32 [2024-08-06T23:02:29.550Z] SSH_AGENT_PID=38 [2024-08-06T23:02:29.555Z] Running ssh-add (command line suppressed) [2024-08-06T23:02:29.673Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10283272284691230653.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10283272284691230653.key) [2024-08-06T23:02:29.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T23:02:29.990Z] + git semver bump pre [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [bump_version] DEBUG bumped version:3.2.0-dev.21 [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,172 [execute] INFO git cat-file --batch-check [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,179 [execute] INFO git cat-file --batch [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-06T23:02:30.250Z] 2024-08-06 23:02:30,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:30.250Z] 3.2.0-dev.21 [Pipeline] } [2024-08-06T23:02:30.254Z] $ docker exec --env ******** --env ******** 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 ssh-agent -k [2024-08-06T23:02:30.360Z] unset SSH_AUTH_SOCK; [2024-08-06T23:02:30.360Z] unset SSH_AGENT_PID; [2024-08-06T23:02:30.360Z] echo Agent pid 38 killed; [2024-08-06T23:02:30.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-06T23:02:30.700Z] + git semver [Pipeline] } [2024-08-06T23:02:30.966Z] $ docker stop --time=1 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 [2024-08-06T23:02:32.200Z] $ docker rm -f --volumes 25641ecf3ab70a6aaba483ec5cff092de0a375963f313a2cd5b739a9edc60021 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-06T23:02:32.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-06T23:02:32.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:32.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-06T23:02:32.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:02:32.931Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:02:32.951Z] $ 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-08-06T23:02:33.273Z] $ docker top 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 -eo pid,comm [2024-08-06T23:02:33.327Z] 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-08-06T23:02:33.327Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-06T23:02:33.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-06T23:02:33.379Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-06T23:02:33.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-06T23:02:33.486Z] $ docker exec 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 ssh-agent [2024-08-06T23:02:33.592Z] SSH_AUTH_SOCK=/tmp/ssh-bZbHXVHoy9JW/agent.31 [2024-08-06T23:02:33.592Z] SSH_AGENT_PID=37 [2024-08-06T23:02:33.596Z] Running ssh-add (command line suppressed) [2024-08-06T23:02:33.685Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5863033160699929744.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5863033160699929744.key) [2024-08-06T23:02:33.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-06T23:02:33.995Z] + git semver push [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,154 [run_push] DEBUG push [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,155 [execute] INFO git cat-file --batch-check [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,159 [execute] INFO git rev-list 1885ee93d2b83c9a4fcbfa1aebcf4aeccdd2c241 -- [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,159 [execute] DEBUG Popen(['git', 'rev-list', '1885ee93d2b83c9a4fcbfa1aebcf4aeccdd2c241', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,168 [execute] INFO git fetch -v origin [2024-08-06T23:02:34.253Z] 2024-08-06 23:02:34,168 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-08-06T23:02:34.821Z] 2024-08-06 23:02:34,612 [run_push] DEBUG no remote changes detected [2024-08-06T23:02:34.821Z] 2024-08-06 23:02:34,612 [execute] INFO git push origin semver [2024-08-06T23:02:34.821Z] 2024-08-06 23:02:34,612 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-08-06T23:02:35.758Z] 2024-08-06 23:02:35,429 [run_push] DEBUG push all version tags [2024-08-06T23:02:35.758Z] 2024-08-06 23:02:35,429 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-08-06T23:02:35.758Z] 2024-08-06 23:02:35,430 [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-08-06T23:02:36.325Z] 2024-08-06 23:02:36,139 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-08-06T23:02:36.325Z] 3.2.0-dev.21 [Pipeline] } [2024-08-06T23:02:36.329Z] $ docker exec --env ******** --env ******** 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 ssh-agent -k [2024-08-06T23:02:36.444Z] unset SSH_AUTH_SOCK; [2024-08-06T23:02:36.444Z] unset SSH_AGENT_PID; [2024-08-06T23:02:36.444Z] echo Agent pid 37 killed; [2024-08-06T23:02:36.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-06T23:02:36.785Z] + git semver [Pipeline] } [2024-08-06T23:02:37.052Z] $ docker stop --time=1 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 [2024-08-06T23:02:38.314Z] $ docker rm -f --volumes 8cdcef4f78bff3d9efa52acd05fd91f23950c4159def36ab28fbcd2d6bada8b2 [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-08-06T23:02:38.935Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-08-06T23:02:38.935Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-08-06T23:02:38.935Z] total 16 [2024-08-06T23:02:38.935Z] drwxr-xr-x 3 root root 4096 Aug 6 22:47 . [2024-08-06T23:02:38.935Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 23:02 .. [2024-08-06T23:02:38.935Z] drwxr-xr-x 2 root root 4096 Aug 6 22:47 cost [2024-08-06T23:02:38.935Z] -rw-r--r-- 1 root root 86 Aug 6 22:47 cost.csv [2024-08-06T23:02:38.935Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-08-06T23:02:38.935Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-08-06T23:02:38.935Z] total 16 [2024-08-06T23:02:38.935Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 6 22:47 . [2024-08-06T23:02:38.935Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 6 23:02 .. [2024-08-06T23:02:38.935Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 6 22:47 cost [2024-08-06T23:02:38.935Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 6 22:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:39.227Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:40.083Z] ---> package-listing.sh [2024-08-06T23:02:40.083Z] ++ facter osfamily [2024-08-06T23:02:40.083Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-06T23:02:40.345Z] + OS_FAMILY=debian [2024-08-06T23:02:40.345Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-08-06T23:02:40.345Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-06T23:02:40.345Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-06T23:02:40.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-06T23:02:40.345Z] + PACKAGES=/tmp/packages_start.txt [2024-08-06T23:02:40.345Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-08-06T23:02:40.345Z] + PACKAGES=/tmp/packages_end.txt [2024-08-06T23:02:40.345Z] + case "${OS_FAMILY}" in [2024-08-06T23:02:40.345Z] + dpkg -l [2024-08-06T23:02:40.345Z] + grep '^ii' [2024-08-06T23:02:40.345Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-06T23:02:40.345Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-06T23:02:40.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-06T23:02:40.345Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-08-06T23:02:40.345Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-08-06T23:02:40.345Z] + 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-08-06T23:02:40.357Z] 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-08-06T23:02:40.637Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-06T23:02:41.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-06T23:02:41.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-06T23:02:41.266Z] prd-ubuntu20.04-docker-8c-8g-7220 does not seem to be running inside a container [2024-08-06T23:02:41.283Z] $ 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-08-06T23:02:41.475Z] $ docker top 76a25a7142dade8e28186f463aaf8d828c48fe61a4e749c5c226746213460b80 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-06T23:02:41.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-06T23:02:42.119Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-06T23:02:42.401Z] + ls /var/log/sa-host [2024-08-06T23:02:42.401Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-06T23:02:42.480Z] provisioning config files... [2024-08-06T23:02:42.488Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5678816928002030986tmp [Pipeline] { [Pipeline] echo [2024-08-06T23:02:42.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:42.794Z] ---> create-netrc.sh [Pipeline] } [2024-08-06T23:02:42.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:43.134Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-06T23:02:43.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:43.429Z] ---> sudo-logs.sh [2024-08-06T23:02:43.429Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-06T23:02:43.461Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:43.742Z] ---> job-cost.sh [2024-08-06T23:02:43.742Z] lf-activate-venv: SKIPPING [2024-08-06T23:02:43.742Z] DEBUG: total: 0.2199999988079071 [2024-08-06T23:02:43.742Z] INFO: Retrieving Stack Cost... [2024-08-06T23:02:44.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-06T23:02:44.260Z] INFO: Archiving Costs [Pipeline] echo [2024-08-06T23:02:44.274Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-06T23:02:44.557Z] ---> logs-deploy.sh [2024-08-06T23:02:44.557Z] lf-activate-venv: SKIPPING [2024-08-06T23:02:44.557Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/172 [2024-08-06T23:02:44.557Z] INFO: archiving workspace using pattern(s): [2024-08-06T23:02:45.494Z] Archives upload complete. [2024-08-06T23:02:45.494Z] INFO: archiving logs to Nexus