Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63560b1f091cdd18f74439d048f83e61f0721fcd 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-ssh7349761087915179292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8563181823257228971.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4130086330998984600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3571022823722887155.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-ssh11746029370992787416.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17130 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 63560b1f091cdd18f74439d048f83e61f0721fcd (main) Commit message: "Merge pull request #364 from ejlee3/napa-go-mod" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-list --no-walk 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-09T14:00:05.118Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-09T14:00:05.173Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-09T14:00:05.189Z] ========================================================= [2023-11-09T14:00:05.189Z] EdgeX Global Pipelines Version Info [2023-11-09T14:00:05.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:00:06.298Z] ------------------- [2023-11-09T14:00:06.298Z] stable info: [2023-11-09T14:00:06.298Z] ------------------- [2023-11-09T14:00:06.298Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-09T14:00:06.298Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:00:06.298Z] Message: update stable to v1.0.257 [2023-11-09T14:00:06.559Z] ------------------- [2023-11-09T14:00:06.559Z] experimental info: [2023-11-09T14:00:06.559Z] ------------------- [2023-11-09T14:00:06.559Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-09T14:00:06.559Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:00:06.559Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-09T14:00:06.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-09T14:00:06.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-09T14:00:06.773Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-09T14:00:06.792Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-09T14:00:06.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-09T14:00:06.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-09T14:00:06.837Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-09T14:00:06.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-09T14:00:06.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-09T14:00:06.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-09T14:00:06.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-09T14:00:06.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-09T14:00:06.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-09T14:00:06.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-09T14:00:06.964Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:00:06.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:00:07.000Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:00:07.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:00:07.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-09T14:00:07.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-09T14:00:07.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-09T14:00:07.094Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-09T14:00:07.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-09T14:00:07.130Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-09T14:00:07.146Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-09T14:00:07.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-09T14:00:07.169Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-09T14:00:07.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-09T14:00:07.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-09T14:00:07.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-09T14:00:07.233Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo [2023-11-09T14:00:07.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63560b1 [Pipeline] echo [2023-11-09T14:00:07.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:00:07.336Z] provisioning config files... [2023-11-09T14:00:07.351Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7114699890491911034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:00:07.704Z] ---> docker-login.sh [2023-11-09T14:00:07.704Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:00:08.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:08.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:08.277Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:08.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:08.277Z] [2023-11-09T14:00:08.277Z] Login Succeeded [2023-11-09T14:00:08.277Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:00:08.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:08.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:08.537Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:08.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:08.537Z] [2023-11-09T14:00:08.537Z] Login Succeeded [2023-11-09T14:00:08.537Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:00:08.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:08.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:08.537Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:08.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:08.537Z] [2023-11-09T14:00:08.537Z] Login Succeeded [2023-11-09T14:00:08.537Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:00:08.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:08.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:08.797Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:08.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:08.797Z] [2023-11-09T14:00:08.797Z] Login Succeeded [2023-11-09T14:00:08.797Z] docker.io [2023-11-09T14:00:08.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:10.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:10.179Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:10.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:10.179Z] [2023-11-09T14:00:10.179Z] Login Succeeded [2023-11-09T14:00:10.179Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:00:10.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-09T14:00:10.585Z] + git rev-list -1 --merges 63560b1f091cdd18f74439d048f83e61f0721fcd~1..63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo [2023-11-09T14:00:10.632Z] -----------> git rev-list -1 --merges 63560b1f091cdd18f74439d048f83e61f0721fcd~1..63560b1f091cdd18f74439d048f83e61f0721fcd 63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:00:10.632Z] 63560b1f091cdd18f74439d048f83e61f0721fcd [false] [Pipeline] sh [2023-11-09T14:00:10.920Z] + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo [2023-11-09T14:00:10.934Z] ========================================================= [2023-11-09T14:00:10.934Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-09T14:00:10.934Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:00:11.252Z] + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] echo [2023-11-09T14:00:11.263Z] [semverPrep] GIT_COMMIT: 63560b1f091cdd18f74439d048f83e61f0721fcd, Commit Message: Merge pull request #364 from ejlee3/napa-go-mod [Pipeline] echo [2023-11-09T14:00:11.271Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-09T14:00:11.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:00:11.617Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-09T14:00:11.617Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-09T14:00:11.617Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-09T14:00:11.617Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-09T14:00:11.617Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-09T14:00:11.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:00:11.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:00:11.964Z] [2023-11-09T14:00:11.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:00:12.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:00:12.542Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-09T14:00:12.542Z] b85a868b505f: Pulling fs layer [2023-11-09T14:00:12.542Z] e2be974225ed: Pulling fs layer [2023-11-09T14:00:12.542Z] 339a4e72a1f5: Pulling fs layer [2023-11-09T14:00:12.542Z] 988bab9f4d93: Pulling fs layer [2023-11-09T14:00:12.542Z] 1469e6f7b9e6: Pulling fs layer [2023-11-09T14:00:12.542Z] eaf3925da568: Pulling fs layer [2023-11-09T14:00:12.542Z] bab4dde63d76: Pulling fs layer [2023-11-09T14:00:12.542Z] bde34c3a00c8: Pulling fs layer [2023-11-09T14:00:12.542Z] b352a97aabf1: Pulling fs layer [2023-11-09T14:00:12.542Z] 4872d77fe225: Pulling fs layer [2023-11-09T14:00:12.542Z] 5851b861e8e6: Pulling fs layer [2023-11-09T14:00:12.542Z] 988bab9f4d93: Waiting [2023-11-09T14:00:12.542Z] 1469e6f7b9e6: Waiting [2023-11-09T14:00:12.542Z] eaf3925da568: Waiting [2023-11-09T14:00:12.542Z] bab4dde63d76: Waiting [2023-11-09T14:00:12.542Z] 4872d77fe225: Waiting [2023-11-09T14:00:12.542Z] bde34c3a00c8: Waiting [2023-11-09T14:00:12.542Z] b352a97aabf1: Waiting [2023-11-09T14:00:12.542Z] 5851b861e8e6: Waiting [2023-11-09T14:00:12.542Z] e2be974225ed: Download complete [2023-11-09T14:00:12.542Z] 988bab9f4d93: Verifying Checksum [2023-11-09T14:00:12.542Z] 988bab9f4d93: Download complete [2023-11-09T14:00:12.802Z] 339a4e72a1f5: Verifying Checksum [2023-11-09T14:00:12.802Z] 339a4e72a1f5: Download complete [2023-11-09T14:00:12.802Z] eaf3925da568: Verifying Checksum [2023-11-09T14:00:12.802Z] eaf3925da568: Download complete [2023-11-09T14:00:12.802Z] 1469e6f7b9e6: Verifying Checksum [2023-11-09T14:00:12.802Z] 1469e6f7b9e6: Download complete [2023-11-09T14:00:12.802Z] bde34c3a00c8: Download complete [2023-11-09T14:00:12.802Z] b85a868b505f: Verifying Checksum [2023-11-09T14:00:12.802Z] b85a868b505f: Download complete [2023-11-09T14:00:12.802Z] b352a97aabf1: Verifying Checksum [2023-11-09T14:00:12.802Z] b352a97aabf1: Download complete [2023-11-09T14:00:12.802Z] 4872d77fe225: Verifying Checksum [2023-11-09T14:00:12.802Z] 4872d77fe225: Download complete [2023-11-09T14:00:12.802Z] 5851b861e8e6: Verifying Checksum [2023-11-09T14:00:12.802Z] 5851b861e8e6: Download complete [2023-11-09T14:00:13.062Z] bab4dde63d76: Verifying Checksum [2023-11-09T14:00:13.062Z] bab4dde63d76: Download complete [2023-11-09T14:00:14.975Z] b85a868b505f: Pull complete [2023-11-09T14:00:14.975Z] e2be974225ed: Pull complete [2023-11-09T14:00:15.543Z] 339a4e72a1f5: Pull complete [2023-11-09T14:00:15.802Z] 988bab9f4d93: Pull complete [2023-11-09T14:00:16.369Z] 1469e6f7b9e6: Pull complete [2023-11-09T14:00:16.369Z] eaf3925da568: Pull complete [2023-11-09T14:00:18.273Z] bab4dde63d76: Pull complete [2023-11-09T14:00:18.273Z] bde34c3a00c8: Pull complete [2023-11-09T14:00:18.533Z] b352a97aabf1: Pull complete [2023-11-09T14:00:18.533Z] 4872d77fe225: Pull complete [2023-11-09T14:00:18.792Z] 5851b861e8e6: Pull complete [2023-11-09T14:00:18.792Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-09T14:00:18.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:00:18.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:00:18.909Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:00:18.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:00:28.472Z] $ docker top 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce -eo pid,comm [2023-11-09T14:00:28.529Z] 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). [2023-11-09T14:00:28.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:00:28.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:00:28.577Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:00:28.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:00:28.687Z] $ docker exec 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent [2023-11-09T14:00:28.797Z] SSH_AUTH_SOCK=/tmp/ssh-dRe8wpmJMfLY/agent.31 [2023-11-09T14:00:28.797Z] SSH_AGENT_PID=37 [2023-11-09T14:00:28.804Z] Running ssh-add (command line suppressed) [2023-11-09T14:00:28.906Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10817406160938174767.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10817406160938174767.key) [2023-11-09T14:00:28.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:00:29.217Z] + git tag --points-at HEAD [Pipeline] } [2023-11-09T14:00:29.232Z] $ docker exec --env ******** --env ******** 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent -k [2023-11-09T14:00:29.322Z] unset SSH_AUTH_SOCK; [2023-11-09T14:00:29.322Z] unset SSH_AGENT_PID; [2023-11-09T14:00:29.322Z] echo Agent pid 37 killed; [2023-11-09T14:00:29.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-09T14:00:29.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:00:29.371Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:00:29.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:00:29.488Z] $ docker exec 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent [2023-11-09T14:00:29.595Z] SSH_AUTH_SOCK=/tmp/ssh-xhAorGPpMSNk/agent.69 [2023-11-09T14:00:29.595Z] SSH_AGENT_PID=75 [2023-11-09T14:00:29.600Z] Running ssh-add (command line suppressed) [2023-11-09T14:00:29.716Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11598407748700931456.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11598407748700931456.key) [2023-11-09T14:00:29.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:00:30.025Z] + git semver init [2023-11-09T14:00:30.285Z] 2023-11-09 14:00:30,190 [run_init] DEBUG init version:0.0.0 force:False [2023-11-09T14:00:30.285Z] 2023-11-09 14:00:30,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-09T14:00:30.285Z] 2023-11-09 14:00:30,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-11-09T14:00:30.285Z] 2023-11-09 14:00:30,192 [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) [2023-11-09T14:00:31.663Z] 2023-11-09 14:00:31,304 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-11-09T14:00:31.663Z] 2023-11-09 14:00:31,304 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-11-09T14:00:31.663Z] 2023-11-09 14:00:31,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:00:31.663Z] 2023-11-09 14:00:31,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:00:31.663Z] 3.1.0-dev.30 [Pipeline] } [2023-11-09T14:00:31.673Z] $ docker exec --env ******** --env ******** 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce ssh-agent -k [2023-11-09T14:00:31.775Z] unset SSH_AUTH_SOCK; [2023-11-09T14:00:31.775Z] unset SSH_AGENT_PID; [2023-11-09T14:00:31.775Z] echo Agent pid 75 killed; [2023-11-09T14:00:32.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:00:33.501Z] + git semver [Pipeline] } [2023-11-09T14:00:33.776Z] $ docker stop --time=1 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce [2023-11-09T14:00:35.063Z] $ docker rm -f --volumes 3b85fcf7fff4c1db7a54fd8e45b5067febd380719a0a3c44c8b92748e453f0ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:00:35.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-09T14:00:35.614Z] Stashed 1 file(s) [Pipeline] echo [2023-11-09T14:00:35.618Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [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 [2023-11-09T14:00:35.787Z] provisioning config files... [2023-11-09T14:00:35.797Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config331890462689149670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:00:36.094Z] ---> docker-login.sh [2023-11-09T14:00:36.094Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:00:36.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:36.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:36.094Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:36.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:36.094Z] [2023-11-09T14:00:36.094Z] Login Succeeded [2023-11-09T14:00:36.094Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:00:36.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:36.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:36.094Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:36.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:36.094Z] [2023-11-09T14:00:36.094Z] Login Succeeded [2023-11-09T14:00:36.094Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:00:36.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:36.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:36.353Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:36.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:36.353Z] [2023-11-09T14:00:36.353Z] Login Succeeded [2023-11-09T14:00:36.353Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:00:36.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:36.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:36.353Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:36.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:36.353Z] [2023-11-09T14:00:36.353Z] Login Succeeded [2023-11-09T14:00:36.353Z] docker.io [2023-11-09T14:00:36.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:00:36.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:00:36.614Z] Configure a credential helper to remove this warning. See [2023-11-09T14:00:36.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:00:36.614Z] [2023-11-09T14:00:36.614Z] Login Succeeded [2023-11-09T14:00:36.614Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:00:36.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T14:00:36.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:00:36.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:00:36.714Z] ========================================================= [2023-11-09T14:00:36.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-09T14:00:36.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:00:37.036Z] + 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 . [2023-11-09T14:00:37.036Z] Sending build context to Docker daemon 10.95MB [2023-11-09T14:00:37.036Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:00:37.036Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:00:37.036Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-09T14:00:37.036Z] 7264a8db6415: Pulling fs layer [2023-11-09T14:00:37.036Z] c4d48a809fc2: Pulling fs layer [2023-11-09T14:00:37.036Z] 4f1c88b9dad5: Pulling fs layer [2023-11-09T14:00:37.036Z] ad3a456e5733: Pulling fs layer [2023-11-09T14:00:37.036Z] 33e27b845d1e: Pulling fs layer [2023-11-09T14:00:37.036Z] c68163c4e522: Pulling fs layer [2023-11-09T14:00:37.036Z] 50da416c3ac9: Pulling fs layer [2023-11-09T14:00:37.036Z] 23d2d4c4bb30: Pulling fs layer [2023-11-09T14:00:37.036Z] ad3a456e5733: Waiting [2023-11-09T14:00:37.036Z] 33e27b845d1e: Waiting [2023-11-09T14:00:37.036Z] c68163c4e522: Waiting [2023-11-09T14:00:37.036Z] 50da416c3ac9: Waiting [2023-11-09T14:00:37.036Z] 23d2d4c4bb30: Waiting [2023-11-09T14:00:37.295Z] c4d48a809fc2: Download complete [2023-11-09T14:00:37.296Z] 7264a8db6415: Verifying Checksum [2023-11-09T14:00:37.296Z] 7264a8db6415: Download complete [2023-11-09T14:00:37.296Z] ad3a456e5733: Download complete [2023-11-09T14:00:37.296Z] 33e27b845d1e: Verifying Checksum [2023-11-09T14:00:37.296Z] 33e27b845d1e: Download complete [2023-11-09T14:00:37.296Z] c68163c4e522: Verifying Checksum [2023-11-09T14:00:37.296Z] c68163c4e522: Download complete [2023-11-09T14:00:37.556Z] 7264a8db6415: Pull complete [2023-11-09T14:00:37.556Z] c4d48a809fc2: Pull complete [2023-11-09T14:00:37.556Z] 23d2d4c4bb30: Verifying Checksum [2023-11-09T14:00:37.556Z] 23d2d4c4bb30: Download complete [2023-11-09T14:00:37.556Z] 4f1c88b9dad5: Verifying Checksum [2023-11-09T14:00:37.556Z] 4f1c88b9dad5: Download complete [2023-11-09T14:00:38.124Z] 50da416c3ac9: Verifying Checksum [2023-11-09T14:00:38.124Z] 50da416c3ac9: Download complete [2023-11-09T14:00:40.657Z] 4f1c88b9dad5: Pull complete [2023-11-09T14:00:40.919Z] ad3a456e5733: Pull complete [2023-11-09T14:00:40.919Z] 33e27b845d1e: Pull complete [2023-11-09T14:00:40.919Z] c68163c4e522: Pull complete [2023-11-09T14:00:43.466Z] 50da416c3ac9: Pull complete [2023-11-09T14:00:43.466Z] 23d2d4c4bb30: Pull complete [2023-11-09T14:00:43.466Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-09T14:00:43.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-09T14:00:43.466Z] ---> 0786185ac409 [2023-11-09T14:00:43.466Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:00:48.774Z] ---> Running in 4ca422721935 [2023-11-09T14:00:48.774Z] Removing intermediate container 4ca422721935 [2023-11-09T14:00:48.774Z] ---> fed35cf18a6e [2023-11-09T14:00:48.774Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:00:48.774Z] ---> Running in 5622b18a56a7 [2023-11-09T14:00:48.774Z] Removing intermediate container 5622b18a56a7 [2023-11-09T14:00:48.774Z] ---> 13b74e38689c [2023-11-09T14:00:48.774Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:00:48.774Z] ---> Running in d6c53003e75f [2023-11-09T14:00:48.774Z] Removing intermediate container d6c53003e75f [2023-11-09T14:00:48.774Z] ---> 77c7141cee87 [2023-11-09T14:00:48.775Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:00:48.775Z] ---> Running in 3da0a40a4364 [2023-11-09T14:00:49.032Z] Removing intermediate container 3da0a40a4364 [2023-11-09T14:00:49.032Z] ---> 0998bdd826d6 [2023-11-09T14:00:49.032Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:00:49.032Z] ---> Running in 57cb5eced4bf [2023-11-09T14:00:49.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:00:49.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:00:49.552Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:00:49.552Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:00:49.552Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:00:49.552Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:00:49.552Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:00:49.552Z] OK: 268 MiB in 56 packages [2023-11-09T14:00:50.499Z] Removing intermediate container 57cb5eced4bf [2023-11-09T14:00:50.499Z] ---> 580d51d19ce3 [2023-11-09T14:00:50.499Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:00:50.733Z] Still waiting to schedule task [2023-11-09T14:00:50.733Z] ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-09T14:00:50.733Z] ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-09T14:00:50.733Z] ‘prd-ubuntu20.04-docker-8c-8g-17133’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-09T14:00:50.733Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17132’ is offline [2023-11-09T14:00:50.761Z] ---> Running in fcfecae87c8d [2023-11-09T14:00:51.020Z] Removing intermediate container fcfecae87c8d [2023-11-09T14:00:51.020Z] ---> b7b7afc6ebe7 [2023-11-09T14:00:51.020Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:00:51.278Z] ---> 869fae854da0 [2023-11-09T14:00:51.278Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:00:51.538Z] ---> Running in a9ffb1adc344 [2023-11-09T14:01:30.328Z] Removing intermediate container a9ffb1adc344 [2023-11-09T14:01:30.328Z] ---> d46b1fa22353 [2023-11-09T14:01:30.328Z] Step 11/12 : COPY . . [2023-11-09T14:01:30.328Z] ---> 3978508c730f [2023-11-09T14:01:30.328Z] Step 12/12 : RUN $MAKE [2023-11-09T14:01:30.328Z] ---> Running in fa21b0899507 [2023-11-09T14:01:30.328Z] noop [2023-11-09T14:01:30.328Z] Removing intermediate container fa21b0899507 [2023-11-09T14:01:30.328Z] ---> bf26ba7980be [2023-11-09T14:01:30.328Z] Successfully built bf26ba7980be [2023-11-09T14:01:30.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:30.647Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:01:30.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:01:30.715Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:01:30.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:01:31.088Z] $ docker top c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:01:31.417Z] + go version [2023-11-09T14:01:31.417Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-09T14:01:31.433Z] $ docker stop --time=1 c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf [2023-11-09T14:01:32.883Z] $ docker rm -f --volumes c68c89355fe09e0eff048450a3f1da4b7a6148233561a6ef7df36957e3b7cedf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:33.384Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:01:33.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:01:33.456Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:01:33.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:01:33.823Z] $ docker top 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:01:34.157Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:01:34.454Z] + make test [2023-11-09T14:01:34.454Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:01:35.830Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:01:45.802Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:01:46.061Z] ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 33.2% of statements [2023-11-09T14:01:54.200Z] go vet ./... [2023-11-09T14:01:56.788Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:01:56.788Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:01:56.788Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:01:56.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:01:56.822Z] $ docker stop --time=1 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 [2023-11-09T14:02:01.145Z] $ docker rm -f --volumes 8101cad23778d11181a06fb006e9003b6892adaa084606372f808c1c865c9587 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:02:01.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:02:01.744Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-09T14:02:02.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:02:02.487Z] + ls -al . [2023-11-09T14:02:02.487Z] total 176 [2023-11-09T14:02:02.487Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 14:01 . [2023-11-09T14:02:02.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:00 .. [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:00 .dockerignore [2023-11-09T14:02:02.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:01 .git [2023-11-09T14:02:02.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 .github [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:00 .gitignore [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:00 .golangci.yml [2023-11-09T14:02:02.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:00 .semver [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:00 Attribution.txt [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:00 CHANGELOG.md [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:00 Dockerfile [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:00 GOVERNANCE.md [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:00 Jenkinsfile [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:00 LICENSE [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:00 Makefile [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:00 OWNERS.md [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:00 README.md [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 14:00 VERSION [2023-11-09T14:02:02.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:00 bin [2023-11-09T14:02:02.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 cmd [2023-11-09T14:02:02.487Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:01 coverage.out [2023-11-09T14:02:02.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:00 driver [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:00 go.mod [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:00 go.sum [2023-11-09T14:02:02.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:00 openapi [2023-11-09T14:02:02.487Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:02.799Z] + 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=63560b1f091cdd18f74439d048f83e61f0721fcd --label arch=amd64 --label version=3.1.0-dev.30 . [2023-11-09T14:02:02.800Z] Sending build context to Docker daemon 10.96MB [2023-11-09T14:02:02.800Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:02:02.800Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:02:02.800Z] ---> bf26ba7980be [2023-11-09T14:02:02.800Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:02:03.059Z] ---> Running in 49b5293cb847 [2023-11-09T14:02:03.059Z] Removing intermediate container 49b5293cb847 [2023-11-09T14:02:03.059Z] ---> 5081e7b15a9b [2023-11-09T14:02:03.059Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:02:03.059Z] ---> Running in 499912a974c9 [2023-11-09T14:02:03.318Z] Removing intermediate container 499912a974c9 [2023-11-09T14:02:03.318Z] ---> 1cc1fa1962c6 [2023-11-09T14:02:03.318Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:02:03.318Z] ---> Running in a61c134a2978 [2023-11-09T14:02:03.318Z] Removing intermediate container a61c134a2978 [2023-11-09T14:02:03.318Z] ---> 32159778d2c5 [2023-11-09T14:02:03.318Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:02:03.318Z] ---> Running in 7008507c4134 [2023-11-09T14:02:03.318Z] Removing intermediate container 7008507c4134 [2023-11-09T14:02:03.318Z] ---> ea6dc2466611 [2023-11-09T14:02:03.318Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:02:03.318Z] ---> Running in 0d13193fca79 [2023-11-09T14:02:03.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:03.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:04.098Z] OK: 268 MiB in 56 packages [2023-11-09T14:02:04.357Z] Removing intermediate container 0d13193fca79 [2023-11-09T14:02:04.357Z] ---> ab449c32ef33 [2023-11-09T14:02:04.357Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:02:04.357Z] ---> Running in e428beee05be [2023-11-09T14:02:04.617Z] Removing intermediate container e428beee05be [2023-11-09T14:02:04.617Z] ---> 9afc71fd9499 [2023-11-09T14:02:04.617Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:02:04.617Z] ---> 98a63935f6be [2023-11-09T14:02:04.617Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:02:04.617Z] ---> Running in 161604561a13 [2023-11-09T14:02:05.606Z] Removing intermediate container 161604561a13 [2023-11-09T14:02:05.606Z] ---> 69394d34d048 [2023-11-09T14:02:05.606Z] Step 11/25 : COPY . . [2023-11-09T14:02:06.622Z] ---> 7dd612898fdc [2023-11-09T14:02:06.622Z] Step 12/25 : RUN $MAKE [2023-11-09T14:02:06.622Z] ---> Running in 2014c4c0213b [2023-11-09T14:02:06.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:02:28.894Z] Removing intermediate container 2014c4c0213b [2023-11-09T14:02:28.894Z] ---> fe2ba2246d7a [2023-11-09T14:02:28.894Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T14:02:28.894Z] 3.18: Pulling from library/alpine [2023-11-09T14:02:28.894Z] 96526aa774ef: Pulling fs layer [2023-11-09T14:02:28.894Z] 96526aa774ef: Verifying Checksum [2023-11-09T14:02:28.894Z] 96526aa774ef: Download complete [2023-11-09T14:02:28.894Z] 96526aa774ef: Pull complete [2023-11-09T14:02:28.894Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:02:28.894Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:02:28.894Z] ---> 8ca4688f4f35 [2023-11-09T14:02:28.894Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:02:28.894Z] ---> Running in 09786b49bddf [2023-11-09T14:02:28.894Z] Removing intermediate container 09786b49bddf [2023-11-09T14:02:28.894Z] ---> 65e6c550fd03 [2023-11-09T14:02:28.894Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:02:28.894Z] ---> Running in 5dae08f9b18d [2023-11-09T14:02:28.894Z] Removing intermediate container 5dae08f9b18d [2023-11-09T14:02:28.894Z] ---> 4aea74e4003c [2023-11-09T14:02:28.894Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:02:28.894Z] ---> Running in 59318ca5ecc8 [2023-11-09T14:02:29.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:29.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:29.732Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:02:29.732Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:02:29.732Z] OK: 7 MiB in 16 packages [2023-11-09T14:02:30.314Z] Removing intermediate container 59318ca5ecc8 [2023-11-09T14:02:30.314Z] ---> 624707d322e9 [2023-11-09T14:02:30.314Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:02:31.251Z] ---> 070a229762bf [2023-11-09T14:02:31.251Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:02:31.251Z] ---> 365d4fba2aa3 [2023-11-09T14:02:31.251Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:02:31.251Z] ---> e5f6a90b057d [2023-11-09T14:02:31.251Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:02:31.251Z] ---> Running in d59d0dab88e4 [2023-11-09T14:02:31.510Z] Removing intermediate container d59d0dab88e4 [2023-11-09T14:02:31.510Z] ---> 4bd8ba650771 [2023-11-09T14:02:31.510Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:02:31.510Z] ---> Running in 04c830815f41 [2023-11-09T14:02:31.510Z] Removing intermediate container 04c830815f41 [2023-11-09T14:02:31.510Z] ---> 4c699e659b6e [2023-11-09T14:02:31.510Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:02:31.510Z] ---> Running in 2454b1faf005 [2023-11-09T14:02:31.510Z] Removing intermediate container 2454b1faf005 [2023-11-09T14:02:31.510Z] ---> 5cc0d1287cc4 [2023-11-09T14:02:31.510Z] Step 23/25 : LABEL arch=amd64 [2023-11-09T14:02:31.510Z] ---> Running in 07dbb549cb36 [2023-11-09T14:02:31.771Z] Removing intermediate container 07dbb549cb36 [2023-11-09T14:02:31.771Z] ---> 5600c89e49e6 [2023-11-09T14:02:31.771Z] Step 24/25 : LABEL git_sha=63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:02:31.771Z] ---> Running in eb6115e3fc47 [2023-11-09T14:02:31.771Z] Removing intermediate container eb6115e3fc47 [2023-11-09T14:02:31.771Z] ---> 2e1a49103912 [2023-11-09T14:02:31.771Z] Step 25/25 : LABEL version=3.1.0-dev.30 [2023-11-09T14:02:31.771Z] ---> Running in 0c770498f268 [2023-11-09T14:02:31.771Z] Removing intermediate container 0c770498f268 [2023-11-09T14:02:31.771Z] ---> ab5b91d848b8 [2023-11-09T14:02:31.771Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:02:31.771Z] Successfully built ab5b91d848b8 [2023-11-09T14:02:31.771Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:02:31.875Z] provisioning config files... [2023-11-09T14:02:31.884Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2684224591971446804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:02:32.183Z] ---> docker-login.sh [2023-11-09T14:02:32.183Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:02:32.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:02:32.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:02:32.183Z] Configure a credential helper to remove this warning. See [2023-11-09T14:02:32.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:02:32.183Z] [2023-11-09T14:02:32.183Z] Login Succeeded [2023-11-09T14:02:32.183Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:02:32.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:02:32.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:02:32.183Z] Configure a credential helper to remove this warning. See [2023-11-09T14:02:32.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:02:32.183Z] [2023-11-09T14:02:32.183Z] Login Succeeded [2023-11-09T14:02:32.183Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:02:32.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:02:32.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:02:32.443Z] Configure a credential helper to remove this warning. See [2023-11-09T14:02:32.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:02:32.443Z] [2023-11-09T14:02:32.443Z] Login Succeeded [2023-11-09T14:02:32.443Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:02:32.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:02:32.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:02:32.443Z] Configure a credential helper to remove this warning. See [2023-11-09T14:02:32.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:02:32.443Z] [2023-11-09T14:02:32.443Z] Login Succeeded [2023-11-09T14:02:32.443Z] docker.io [2023-11-09T14:02:32.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:02:32.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:02:32.702Z] Configure a credential helper to remove this warning. See [2023-11-09T14:02:32.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:02:32.702Z] [2023-11-09T14:02:32.702Z] Login Succeeded [2023-11-09T14:02:32.702Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:02:32.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:02:44.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:02:44.203Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-11-09T14:02:44.203Z] 63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:02:44.203Z] latest [2023-11-09T14:02:44.203Z] 3.1.0-dev.30 [2023-11-09T14:02:44.203Z] 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:02:44.203Z] main [2023-11-09T14:02:44.203Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:44.528Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:44.833Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:02:44.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-09T14:02:44.833Z] 199d355f957a: Preparing [2023-11-09T14:02:44.833Z] 2ad6ad34e768: Preparing [2023-11-09T14:02:44.833Z] c6a331d128ed: Preparing [2023-11-09T14:02:44.833Z] 6d67b5c8ea5a: Preparing [2023-11-09T14:02:44.833Z] cc2447e1835a: Preparing [2023-11-09T14:02:44.833Z] cc2447e1835a: Layer already exists [2023-11-09T14:02:44.833Z] 6d67b5c8ea5a: Pushed [2023-11-09T14:02:44.833Z] 2ad6ad34e768: Pushed [2023-11-09T14:02:44.833Z] 199d355f957a: Pushed [2023-11-09T14:02:47.369Z] c6a331d128ed: Pushed [2023-11-09T14:02:47.629Z] 63560b1f091cdd18f74439d048f83e61f0721fcd: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:47.933Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:48.235Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-09T14:02:48.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-09T14:02:48.235Z] 199d355f957a: Preparing [2023-11-09T14:02:48.235Z] 2ad6ad34e768: Preparing [2023-11-09T14:02:48.235Z] c6a331d128ed: Preparing [2023-11-09T14:02:48.235Z] 6d67b5c8ea5a: Preparing [2023-11-09T14:02:48.235Z] cc2447e1835a: Preparing [2023-11-09T14:02:48.235Z] 199d355f957a: Layer already exists [2023-11-09T14:02:48.235Z] 6d67b5c8ea5a: Layer already exists [2023-11-09T14:02:48.235Z] cc2447e1835a: Layer already exists [2023-11-09T14:02:48.235Z] c6a331d128ed: Layer already exists [2023-11-09T14:02:48.235Z] 2ad6ad34e768: Layer already exists [2023-11-09T14:02:48.235Z] latest: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:48.550Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:48.857Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 [2023-11-09T14:02:48.858Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-09T14:02:48.858Z] 199d355f957a: Preparing [2023-11-09T14:02:48.858Z] 2ad6ad34e768: Preparing [2023-11-09T14:02:48.858Z] c6a331d128ed: Preparing [2023-11-09T14:02:48.858Z] 6d67b5c8ea5a: Preparing [2023-11-09T14:02:48.858Z] cc2447e1835a: Preparing [2023-11-09T14:02:48.858Z] cc2447e1835a: Layer already exists [2023-11-09T14:02:48.858Z] 199d355f957a: Layer already exists [2023-11-09T14:02:48.858Z] 6d67b5c8ea5a: Layer already exists [2023-11-09T14:02:48.858Z] 2ad6ad34e768: Layer already exists [2023-11-09T14:02:48.858Z] c6a331d128ed: Layer already exists [2023-11-09T14:02:48.858Z] 3.1.0-dev.30: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:49.177Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:49.483Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:02:49.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-09T14:02:49.484Z] 199d355f957a: Preparing [2023-11-09T14:02:49.484Z] 2ad6ad34e768: Preparing [2023-11-09T14:02:49.484Z] c6a331d128ed: Preparing [2023-11-09T14:02:49.484Z] 6d67b5c8ea5a: Preparing [2023-11-09T14:02:49.484Z] cc2447e1835a: Preparing [2023-11-09T14:02:49.484Z] 2ad6ad34e768: Layer already exists [2023-11-09T14:02:49.484Z] c6a331d128ed: Layer already exists [2023-11-09T14:02:49.484Z] 199d355f957a: Layer already exists [2023-11-09T14:02:49.484Z] cc2447e1835a: Layer already exists [2023-11-09T14:02:49.484Z] 6d67b5c8ea5a: Layer already exists [2023-11-09T14:02:49.484Z] 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:49.791Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:50.106Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-11-09T14:02:50.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-11-09T14:02:50.106Z] 199d355f957a: Preparing [2023-11-09T14:02:50.106Z] 2ad6ad34e768: Preparing [2023-11-09T14:02:50.106Z] c6a331d128ed: Preparing [2023-11-09T14:02:50.106Z] 6d67b5c8ea5a: Preparing [2023-11-09T14:02:50.106Z] cc2447e1835a: Preparing [2023-11-09T14:02:50.106Z] cc2447e1835a: Layer already exists [2023-11-09T14:02:50.106Z] 6d67b5c8ea5a: Layer already exists [2023-11-09T14:02:50.106Z] c6a331d128ed: Layer already exists [2023-11-09T14:02:50.106Z] 199d355f957a: Layer already exists [2023-11-09T14:02:50.106Z] 2ad6ad34e768: Layer already exists [2023-11-09T14:02:50.106Z] main: digest: sha256:f5f88e03663d68089fddb2f39db4ef018bf64d00ceaaffb4aec59ba6e6d351c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:02:50.143Z] ===================================================== [Pipeline] echo [2023-11-09T14:02:50.156Z] taggedImages: [2023-11-09T14:02:50.156Z] - nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:02:50.156Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-11-09T14:02:50.156Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.30 [2023-11-09T14:02:50.156Z] - nexus3.edgexfoundry.org:10004/device-rest:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:02:50.156Z] - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:50.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:02:50.527Z] [2023-11-09T14:02:50.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:02:50.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:02:50.824Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-09T14:02:50.824Z] 5eb5b503b376: Pulling fs layer [2023-11-09T14:02:50.824Z] 5c69ac0246d0: Pulling fs layer [2023-11-09T14:02:50.824Z] ec43610c2a17: Pulling fs layer [2023-11-09T14:02:50.824Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-09T14:02:50.824Z] 33b1e0a273af: Pulling fs layer [2023-11-09T14:02:50.824Z] 3a2ae6a8a46f: Waiting [2023-11-09T14:02:50.824Z] 5d3b04190fa2: Pulling fs layer [2023-11-09T14:02:50.824Z] 2f39f015ded8: Pulling fs layer [2023-11-09T14:02:50.824Z] 33b1e0a273af: Waiting [2023-11-09T14:02:50.824Z] 2f39f015ded8: Waiting [2023-11-09T14:02:50.824Z] 5c69ac0246d0: Download complete [2023-11-09T14:02:50.824Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-09T14:02:50.824Z] 3a2ae6a8a46f: Download complete [2023-11-09T14:02:50.824Z] 33b1e0a273af: Verifying Checksum [2023-11-09T14:02:50.824Z] 33b1e0a273af: Download complete [2023-11-09T14:02:50.824Z] 5d3b04190fa2: Verifying Checksum [2023-11-09T14:02:50.824Z] 5d3b04190fa2: Download complete [2023-11-09T14:02:51.082Z] ec43610c2a17: Verifying Checksum [2023-11-09T14:02:51.082Z] ec43610c2a17: Download complete [2023-11-09T14:02:51.082Z] 5eb5b503b376: Verifying Checksum [2023-11-09T14:02:51.082Z] 5eb5b503b376: Download complete [2023-11-09T14:02:51.651Z] 2f39f015ded8: Download complete [2023-11-09T14:02:52.217Z] 5eb5b503b376: Pull complete [2023-11-09T14:02:52.475Z] 5c69ac0246d0: Pull complete [2023-11-09T14:02:52.734Z] ec43610c2a17: Pull complete [2023-11-09T14:02:52.993Z] 3a2ae6a8a46f: Pull complete [2023-11-09T14:02:53.253Z] 33b1e0a273af: Pull complete [2023-11-09T14:02:53.253Z] 5d3b04190fa2: Pull complete [2023-11-09T14:02:57.440Z] 2f39f015ded8: Pull complete [2023-11-09T14:02:57.440Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-09T14:02:57.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:02:57.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:02:57.514Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:02:57.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:03:03.483Z] $ docker top 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:03:03.859Z] ---> job-cost.sh [2023-11-09T14:03:03.859Z] lf-activate-venv: SKIPPING [2023-11-09T14:03:03.859Z] INFO: No Stack... [2023-11-09T14:03:04.118Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:03:04.377Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:03:04.667Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-11-09T14:03:04.667Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T14:03:04.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [2023-11-09T14:03:04.700Z] Resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] did not exist. Created. [2023-11-09T14:03:04.700Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:03:05.007Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-09T14:03:05.036Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:03:05.045Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:03:05.068Z] $ docker stop --time=1 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 [2023-11-09T14:03:06.365Z] $ docker rm -f --volumes 347022cb71cb4e49eedd6271236df81f9acdfdc06a1049ac8e72ecbd6d74e581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-09T14:04:16.387Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17134 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-11-09T14:04:16.403Z] Running in /w/workspace/device-rest-go/150 [Pipeline] { [Pipeline] checkout [2023-11-09T14:04:16.465Z] The recommended git tool is: git [2023-11-09T14:04:24.274Z] using credential edgex-jenkins-ssh [2023-11-09T14:04:24.294Z] Cloning the remote Git repository [2023-11-09T14:04:24.352Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:04:24.500Z] > git init /w/workspace/device-rest-go/150 # timeout=10 [2023-11-09T14:04:26.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:04:26.211Z] > git --version # timeout=10 [2023-11-09T14:04:26.247Z] > git --version # 'git version 2.25.1' [2023-11-09T14:04:26.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:04:26.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:04:30.082Z] Avoid second fetch [2023-11-09T14:04:30.083Z] Checking out Revision 63560b1f091cdd18f74439d048f83e61f0721fcd (main) [2023-11-09T14:04:28.644Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T14:04:28.734Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:04:30.828Z] Commit message: "Merge pull request #364 from ejlee3/napa-go-mod" [2023-11-09T14:04:30.137Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T14:04:30.232Z] > git checkout -f 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:04:33.047Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-09T14:04:33.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:04:33.048Z] Dload Upload Total Spent Left Speed [2023-11-09T14:04:33.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 54196 0 --:--:-- --:--:-- --:--:-- 53965 [Pipeline] sh [2023-11-09T14:04:34.269Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-09T14:04:34.713Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-09T14:04:34.713Z] + sudo tee /etc/docker/daemon.new [2023-11-09T14:04:34.997Z] { [2023-11-09T14:04:34.997Z] "registry-mirrors": [ [2023-11-09T14:04:34.997Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-09T14:04:34.997Z] ], [2023-11-09T14:04:34.997Z] "bip": "10.250.0.254/24", [2023-11-09T14:04:34.997Z] "hosts": [ [2023-11-09T14:04:34.997Z] "tcp://0.0.0.0:5555", [2023-11-09T14:04:34.997Z] "unix:///var/run/docker.sock" [2023-11-09T14:04:34.997Z] ], [2023-11-09T14:04:34.997Z] "mtu": 1458, [2023-11-09T14:04:34.997Z] "selinux-enabled": true, [2023-11-09T14:04:34.997Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-09T14:04:34.997Z] } [Pipeline] sh [2023-11-09T14:04:35.409Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-09T14:04:35.884Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:04:58.089Z] provisioning config files... [2023-11-09T14:04:58.116Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/150@tmp/config8247344165478278694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:04:58.476Z] ---> docker-login.sh [2023-11-09T14:04:58.476Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:04:58.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:59.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:59.024Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:59.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:59.024Z] [2023-11-09T14:04:59.024Z] Login Succeeded [2023-11-09T14:04:59.024Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:04:59.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:59.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:59.566Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:59.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:59.566Z] [2023-11-09T14:04:59.566Z] Login Succeeded [2023-11-09T14:04:59.566Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:04:59.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:59.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:59.840Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:59.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:59.840Z] [2023-11-09T14:04:59.840Z] Login Succeeded [2023-11-09T14:04:59.840Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:05:00.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:00.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:00.116Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:00.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:00.116Z] [2023-11-09T14:05:00.116Z] Login Succeeded [2023-11-09T14:05:00.116Z] docker.io [2023-11-09T14:05:00.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:00.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:00.992Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:00.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:00.992Z] [2023-11-09T14:05:00.992Z] Login Succeeded [2023-11-09T14:05:00.992Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:05:01.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T14:05:01.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:05:01.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:05:01.343Z] ========================================================= [2023-11-09T14:05:01.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-09T14:05:01.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:01.708Z] + 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 . [2023-11-09T14:05:01.708Z] Sending build context to Docker daemon 125.4kB [2023-11-09T14:05:01.982Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:05:01.982Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:05:02.259Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-09T14:05:02.259Z] 9fda8d8052c6: Pulling fs layer [2023-11-09T14:05:02.259Z] 5d54e960e981: Pulling fs layer [2023-11-09T14:05:02.259Z] c4a7e357bf2a: Pulling fs layer [2023-11-09T14:05:02.259Z] f0e02332f6b5: Pulling fs layer [2023-11-09T14:05:02.259Z] cefa15bbcfad: Pulling fs layer [2023-11-09T14:05:02.259Z] 17808c966233: Pulling fs layer [2023-11-09T14:05:02.259Z] f4c1fc716caa: Pulling fs layer [2023-11-09T14:05:02.259Z] f0e02332f6b5: Waiting [2023-11-09T14:05:02.259Z] cefa15bbcfad: Waiting [2023-11-09T14:05:02.259Z] f4c1fc716caa: Waiting [2023-11-09T14:05:02.259Z] 5d54e960e981: Download complete [2023-11-09T14:05:02.259Z] f0e02332f6b5: Verifying Checksum [2023-11-09T14:05:02.259Z] f0e02332f6b5: Download complete [2023-11-09T14:05:02.259Z] cefa15bbcfad: Verifying Checksum [2023-11-09T14:05:02.259Z] cefa15bbcfad: Download complete [2023-11-09T14:05:02.260Z] 9fda8d8052c6: Verifying Checksum [2023-11-09T14:05:02.260Z] 9fda8d8052c6: Download complete [2023-11-09T14:05:02.868Z] f4c1fc716caa: Verifying Checksum [2023-11-09T14:05:02.868Z] f4c1fc716caa: Download complete [2023-11-09T14:05:03.457Z] 9fda8d8052c6: Pull complete [2023-11-09T14:05:04.049Z] 5d54e960e981: Pull complete [2023-11-09T14:05:04.049Z] c4a7e357bf2a: Verifying Checksum [2023-11-09T14:05:04.049Z] c4a7e357bf2a: Download complete [2023-11-09T14:05:05.018Z] 17808c966233: Verifying Checksum [2023-11-09T14:05:05.018Z] 17808c966233: Download complete [2023-11-09T14:05:17.347Z] c4a7e357bf2a: Pull complete [2023-11-09T14:05:17.347Z] f0e02332f6b5: Pull complete [2023-11-09T14:05:17.347Z] cefa15bbcfad: Pull complete [2023-11-09T14:05:25.580Z] 17808c966233: Pull complete [2023-11-09T14:05:27.537Z] f4c1fc716caa: Pull complete [2023-11-09T14:05:27.537Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-09T14:05:27.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-09T14:05:27.537Z] ---> ea914061e18c [2023-11-09T14:05:27.537Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:05:29.488Z] ---> Running in 3142d592c0a3 [2023-11-09T14:05:29.758Z] Removing intermediate container 3142d592c0a3 [2023-11-09T14:05:29.758Z] ---> 4c04250b979c [2023-11-09T14:05:29.758Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:05:29.758Z] ---> Running in e8a46e2b0aab [2023-11-09T14:05:30.027Z] Removing intermediate container e8a46e2b0aab [2023-11-09T14:05:30.027Z] ---> 1ef39cffcea8 [2023-11-09T14:05:30.027Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:05:30.027Z] ---> Running in eaa4aa4ba498 [2023-11-09T14:05:30.295Z] Removing intermediate container eaa4aa4ba498 [2023-11-09T14:05:30.295Z] ---> 0403247fe1cd [2023-11-09T14:05:30.295Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:05:30.568Z] ---> Running in 8baf11f8d695 [2023-11-09T14:05:30.843Z] Removing intermediate container 8baf11f8d695 [2023-11-09T14:05:30.843Z] ---> e8ca662ed8dc [2023-11-09T14:05:30.843Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:05:30.843Z] ---> Running in 0f4cf8d0e449 [2023-11-09T14:05:32.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:05:32.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:05:33.955Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:05:33.955Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:05:33.955Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:05:33.955Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:05:33.955Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:05:33.955Z] OK: 270 MiB in 56 packages [2023-11-09T14:05:35.374Z] Removing intermediate container 0f4cf8d0e449 [2023-11-09T14:05:35.374Z] ---> 14082eb49b9d [2023-11-09T14:05:35.374Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:05:35.374Z] ---> Running in 271fc76c5f79 [2023-11-09T14:05:35.648Z] Removing intermediate container 271fc76c5f79 [2023-11-09T14:05:35.648Z] ---> 3cd73356d74b [2023-11-09T14:05:35.648Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:05:36.609Z] ---> d3837964d3dc [2023-11-09T14:05:36.609Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:05:36.609Z] ---> Running in 4fe4ade48911 [2023-11-09T14:06:59.754Z] Removing intermediate container 4fe4ade48911 [2023-11-09T14:06:59.754Z] ---> e2f62e43123a [2023-11-09T14:06:59.754Z] Step 11/12 : COPY . . [2023-11-09T14:06:59.754Z] ---> 4e6032591043 [2023-11-09T14:06:59.754Z] Step 12/12 : RUN $MAKE [2023-11-09T14:06:59.754Z] ---> Running in 77f8a755b967 [2023-11-09T14:06:59.754Z] noop [2023-11-09T14:06:59.754Z] Removing intermediate container 77f8a755b967 [2023-11-09T14:06:59.754Z] ---> e91bb0b7ced2 [2023-11-09T14:06:59.754Z] Successfully built e91bb0b7ced2 [2023-11-09T14:06:59.754Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:07:00.135Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:07:00.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:07:00.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container [2023-11-09T14:07:00.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:07:03.531Z] $ docker top 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:07:04.386Z] + go version [2023-11-09T14:07:04.386Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-09T14:07:04.410Z] $ docker stop --time=1 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 [2023-11-09T14:07:06.032Z] $ docker rm -f --volumes 658e76a5fc0d627cdf91fe44d146560a837f3e977625b4f637a7df3e1ed11ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:07:06.603Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:07:06.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:07:06.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container [2023-11-09T14:07:06.893Z] $ 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/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:07:08.053Z] $ docker top 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:07:08.880Z] + git config --global --add safe.directory /w/workspace/device-rest-go/150 [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:07:09.552Z] + make test [2023-11-09T14:07:09.552Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:07:13.836Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:08:50.535Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:08:50.535Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-11-09T14:08:50.535Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-09T14:08:50.535Z] go vet ./... [2023-11-09T14:09:08.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:09:08.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:09:08.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:09:08.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:09:08.816Z] $ docker stop --time=1 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d [2023-11-09T14:09:14.681Z] $ docker rm -f --volumes 8bf9791a4076e8f93db92f56fd8d0f8f5f2288a933dfb50839fcf54a306dc40d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:09:15.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:09:15.926Z] Warning: overwriting stash ‘coverage-report’ [2023-11-09T14:09:16.469Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:09:16.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:09:17.186Z] + ls -al . [2023-11-09T14:09:17.186Z] total 172 [2023-11-09T14:09:17.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:07 . [2023-11-09T14:09:17.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:04 .. [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:04 .dockerignore [2023-11-09T14:09:17.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:04 .git [2023-11-09T14:09:17.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 .github [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:04 .gitignore [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:04 .golangci.yml [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:04 Attribution.txt [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:04 CHANGELOG.md [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:04 Dockerfile [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:04 GOVERNANCE.md [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:04 Jenkinsfile [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:04 LICENSE [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:04 Makefile [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:04 OWNERS.md [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:04 README.md [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 14:00 VERSION [2023-11-09T14:09:17.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:04 bin [2023-11-09T14:09:17.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 cmd [2023-11-09T14:09:17.186Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:08 coverage.out [2023-11-09T14:09:17.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:04 driver [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:04 go.mod [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:04 go.sum [2023-11-09T14:09:17.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:04 openapi [2023-11-09T14:09:17.186Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:09:17.533Z] + 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=63560b1f091cdd18f74439d048f83e61f0721fcd --label arch=arm64 --label version=3.1.0-dev.30 . [2023-11-09T14:09:17.533Z] Sending build context to Docker daemon 140.8kB [2023-11-09T14:09:17.802Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:09:17.803Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:09:17.803Z] ---> e91bb0b7ced2 [2023-11-09T14:09:17.803Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:09:17.803Z] ---> Running in 4a783586d28c [2023-11-09T14:09:18.392Z] Removing intermediate container 4a783586d28c [2023-11-09T14:09:18.392Z] ---> e32bb98608a6 [2023-11-09T14:09:18.392Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:09:18.392Z] ---> Running in c36ab8b4a04a [2023-11-09T14:09:18.662Z] Removing intermediate container c36ab8b4a04a [2023-11-09T14:09:18.662Z] ---> 9d85200c1106 [2023-11-09T14:09:18.662Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:09:18.662Z] ---> Running in 770e0189a673 [2023-11-09T14:09:18.933Z] Removing intermediate container 770e0189a673 [2023-11-09T14:09:18.933Z] ---> 69835c2f1231 [2023-11-09T14:09:18.933Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:09:19.200Z] ---> Running in 3580a1382e17 [2023-11-09T14:09:19.468Z] Removing intermediate container 3580a1382e17 [2023-11-09T14:09:19.468Z] ---> fdabda0a7e45 [2023-11-09T14:09:19.468Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:09:19.469Z] ---> Running in 9621a67f3d49 [2023-11-09T14:09:20.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:09:21.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:09:22.118Z] OK: 270 MiB in 56 packages [2023-11-09T14:09:23.088Z] Removing intermediate container 9621a67f3d49 [2023-11-09T14:09:23.088Z] ---> 1e8c4707b5b2 [2023-11-09T14:09:23.088Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:09:23.357Z] ---> Running in e1ee90906c3f [2023-11-09T14:09:23.626Z] Removing intermediate container e1ee90906c3f [2023-11-09T14:09:23.626Z] ---> 3c8055ab28b4 [2023-11-09T14:09:23.626Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:09:26.971Z] ---> 9e4d2ccf301c [2023-11-09T14:09:26.971Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:09:26.971Z] ---> Running in 5a04ecc0de1d [2023-11-09T14:09:29.555Z] Removing intermediate container 5a04ecc0de1d [2023-11-09T14:09:29.555Z] ---> 3c55abefc85a [2023-11-09T14:09:29.555Z] Step 11/25 : COPY . . [2023-11-09T14:09:29.555Z] ---> a94487970a88 [2023-11-09T14:09:29.555Z] Step 12/25 : RUN $MAKE [2023-11-09T14:09:29.825Z] ---> Running in fc4974c17b2c [2023-11-09T14:09:30.787Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:11:37.661Z] Removing intermediate container fc4974c17b2c [2023-11-09T14:11:37.662Z] ---> a92bf2c09471 [2023-11-09T14:11:37.662Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T14:11:37.662Z] 3.18: Pulling from library/alpine [2023-11-09T14:11:37.662Z] 579b34f0a95b: Pulling fs layer [2023-11-09T14:11:37.662Z] 579b34f0a95b: Verifying Checksum [2023-11-09T14:11:37.662Z] 579b34f0a95b: Download complete [2023-11-09T14:11:37.662Z] 579b34f0a95b: Pull complete [2023-11-09T14:11:37.662Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:11:37.662Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:11:37.662Z] ---> 3cc203321400 [2023-11-09T14:11:37.662Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:11:37.662Z] ---> Running in fa0f272d09da [2023-11-09T14:11:37.662Z] Removing intermediate container fa0f272d09da [2023-11-09T14:11:37.662Z] ---> e579377debc1 [2023-11-09T14:11:37.662Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:11:37.662Z] ---> Running in 19aac59b29a2 [2023-11-09T14:11:37.662Z] Removing intermediate container 19aac59b29a2 [2023-11-09T14:11:37.662Z] ---> 6d2d3bf975aa [2023-11-09T14:11:37.662Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:11:37.662Z] ---> Running in 701991585d84 [2023-11-09T14:11:37.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:11:37.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:11:37.662Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:11:37.662Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:11:37.662Z] OK: 8 MiB in 16 packages [2023-11-09T14:11:37.662Z] Removing intermediate container 701991585d84 [2023-11-09T14:11:37.662Z] ---> 032223fc9418 [2023-11-09T14:11:37.662Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:11:37.662Z] ---> f6ccf647971f [2023-11-09T14:11:37.662Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:11:37.662Z] ---> b83d257cdd3b [2023-11-09T14:11:37.662Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:11:37.662Z] ---> 2a955d7cd9f0 [2023-11-09T14:11:37.662Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:11:37.662Z] ---> Running in 57021991f935 [2023-11-09T14:11:37.662Z] Removing intermediate container 57021991f935 [2023-11-09T14:11:37.662Z] ---> bd41cefa0782 [2023-11-09T14:11:37.662Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:11:37.662Z] ---> Running in 0c547080801c [2023-11-09T14:11:37.662Z] Removing intermediate container 0c547080801c [2023-11-09T14:11:37.662Z] ---> bad7a8d2ee94 [2023-11-09T14:11:37.662Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:11:37.662Z] ---> Running in ccfe090f9406 [2023-11-09T14:11:37.662Z] Removing intermediate container ccfe090f9406 [2023-11-09T14:11:37.662Z] ---> d5dc747b5ca9 [2023-11-09T14:11:37.662Z] Step 23/25 : LABEL arch=arm64 [2023-11-09T14:11:37.662Z] ---> Running in db65c67db031 [2023-11-09T14:11:37.662Z] Removing intermediate container db65c67db031 [2023-11-09T14:11:37.662Z] ---> 0e893751798d [2023-11-09T14:11:37.662Z] Step 24/25 : LABEL git_sha=63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:11:37.662Z] ---> Running in 9dfca2e1ffeb [2023-11-09T14:11:37.662Z] Removing intermediate container 9dfca2e1ffeb [2023-11-09T14:11:37.662Z] ---> 3ee611ab8092 [2023-11-09T14:11:37.662Z] Step 25/25 : LABEL version=3.1.0-dev.30 [2023-11-09T14:11:37.662Z] ---> Running in ae229bd13659 [2023-11-09T14:11:37.662Z] Removing intermediate container ae229bd13659 [2023-11-09T14:11:37.662Z] ---> dc7b90b8bfcd [2023-11-09T14:11:37.662Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:11:37.662Z] Successfully built dc7b90b8bfcd [2023-11-09T14:11:37.662Z] 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 [2023-11-09T14:11:37.790Z] provisioning config files... [2023-11-09T14:11:37.804Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/150@tmp/config14276388901003544562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:11:38.144Z] ---> docker-login.sh [2023-11-09T14:11:38.144Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:11:38.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:11:38.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:11:38.412Z] Configure a credential helper to remove this warning. See [2023-11-09T14:11:38.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:11:38.412Z] [2023-11-09T14:11:38.412Z] Login Succeeded [2023-11-09T14:11:38.412Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:11:38.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:11:38.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:11:38.692Z] Configure a credential helper to remove this warning. See [2023-11-09T14:11:38.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:11:38.692Z] [2023-11-09T14:11:38.692Z] Login Succeeded [2023-11-09T14:11:38.692Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:11:38.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:11:39.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:11:39.227Z] Configure a credential helper to remove this warning. See [2023-11-09T14:11:39.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:11:39.227Z] [2023-11-09T14:11:39.227Z] Login Succeeded [2023-11-09T14:11:39.227Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:11:39.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:11:39.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:11:39.497Z] Configure a credential helper to remove this warning. See [2023-11-09T14:11:39.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:11:39.497Z] [2023-11-09T14:11:39.497Z] Login Succeeded [2023-11-09T14:11:39.497Z] docker.io [2023-11-09T14:11:39.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:11:40.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:11:40.032Z] Configure a credential helper to remove this warning. See [2023-11-09T14:11:40.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:11:40.032Z] [2023-11-09T14:11:40.032Z] Login Succeeded [2023-11-09T14:11:40.032Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:11:40.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:11:40.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:11:40.091Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-11-09T14:11:40.091Z] 63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:11:40.091Z] latest [2023-11-09T14:11:40.091Z] 3.1.0-dev.30 [2023-11-09T14:11:40.091Z] 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:11:40.091Z] main [2023-11-09T14:11:40.091Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:40.436Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:40.775Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:11:40.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-09T14:11:40.775Z] 98376fa3f000: Preparing [2023-11-09T14:11:40.775Z] 6a3c349151c3: Preparing [2023-11-09T14:11:40.775Z] 723238f41bd3: Preparing [2023-11-09T14:11:40.775Z] 764d6e17b9ba: Preparing [2023-11-09T14:11:40.775Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:11:40.775Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:11:41.043Z] 6a3c349151c3: Pushed [2023-11-09T14:11:41.043Z] 98376fa3f000: Pushed [2023-11-09T14:11:41.043Z] 764d6e17b9ba: Pushed [2023-11-09T14:11:47.694Z] 723238f41bd3: Pushed [2023-11-09T14:11:47.694Z] 63560b1f091cdd18f74439d048f83e61f0721fcd: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:48.051Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:48.392Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-09T14:11:48.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-09T14:11:48.392Z] 98376fa3f000: Preparing [2023-11-09T14:11:48.392Z] 6a3c349151c3: Preparing [2023-11-09T14:11:48.392Z] 723238f41bd3: Preparing [2023-11-09T14:11:48.392Z] 764d6e17b9ba: Preparing [2023-11-09T14:11:48.392Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:11:48.392Z] 6a3c349151c3: Layer already exists [2023-11-09T14:11:48.392Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:11:48.392Z] 764d6e17b9ba: Layer already exists [2023-11-09T14:11:48.392Z] 723238f41bd3: Layer already exists [2023-11-09T14:11:48.392Z] 98376fa3f000: Layer already exists [2023-11-09T14:11:48.392Z] latest: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:48.750Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:51.034Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 [2023-11-09T14:11:51.034Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-09T14:11:51.034Z] 98376fa3f000: Preparing [2023-11-09T14:11:51.034Z] 6a3c349151c3: Preparing [2023-11-09T14:11:51.034Z] 723238f41bd3: Preparing [2023-11-09T14:11:51.034Z] 764d6e17b9ba: Preparing [2023-11-09T14:11:51.034Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:11:51.034Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:11:51.034Z] 723238f41bd3: Layer already exists [2023-11-09T14:11:51.034Z] 764d6e17b9ba: Layer already exists [2023-11-09T14:11:51.035Z] 6a3c349151c3: Layer already exists [2023-11-09T14:11:51.035Z] 98376fa3f000: Layer already exists [2023-11-09T14:11:51.300Z] 3.1.0-dev.30: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:51.649Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:51.999Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:11:51.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-09T14:11:51.999Z] 98376fa3f000: Preparing [2023-11-09T14:11:51.999Z] 6a3c349151c3: Preparing [2023-11-09T14:11:51.999Z] 723238f41bd3: Preparing [2023-11-09T14:11:51.999Z] 764d6e17b9ba: Preparing [2023-11-09T14:11:51.999Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:11:51.999Z] 6a3c349151c3: Layer already exists [2023-11-09T14:11:51.999Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:11:51.999Z] 723238f41bd3: Layer already exists [2023-11-09T14:11:51.999Z] 98376fa3f000: Layer already exists [2023-11-09T14:11:51.999Z] 764d6e17b9ba: Layer already exists [2023-11-09T14:11:51.999Z] 63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:52.344Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:52.683Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-11-09T14:11:52.683Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-11-09T14:11:52.683Z] 98376fa3f000: Preparing [2023-11-09T14:11:52.683Z] 6a3c349151c3: Preparing [2023-11-09T14:11:52.683Z] 723238f41bd3: Preparing [2023-11-09T14:11:52.683Z] 764d6e17b9ba: Preparing [2023-11-09T14:11:52.683Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:11:52.683Z] 764d6e17b9ba: Layer already exists [2023-11-09T14:11:52.683Z] 6a3c349151c3: Layer already exists [2023-11-09T14:11:52.683Z] 98376fa3f000: Layer already exists [2023-11-09T14:11:52.683Z] 723238f41bd3: Layer already exists [2023-11-09T14:11:52.683Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:11:52.683Z] main: digest: sha256:86ca89c0296e2e22b5ecfbccc607341ef08bb60d88141b59a7f0e2fb21c8494c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:11:52.731Z] ===================================================== [Pipeline] echo [2023-11-09T14:11:52.746Z] taggedImages: [2023-11-09T14:11:52.746Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd [2023-11-09T14:11:52.746Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-11-09T14:11:52.746Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.30 [2023-11-09T14:11:52.746Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:63560b1f091cdd18f74439d048f83e61f0721fcd-3.1.0-dev.30 [2023-11-09T14:11:52.746Z] - 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 [2023-11-09T14:11:53.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:11:53.111Z] [2023-11-09T14:11:53.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:11:53.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:11:53.438Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-09T14:11:53.438Z] 8998bd30e6a1: Pulling fs layer [2023-11-09T14:11:53.438Z] 04944245beec: Pulling fs layer [2023-11-09T14:11:53.438Z] 699f458cf7ca: Pulling fs layer [2023-11-09T14:11:53.438Z] 765212b225bb: Pulling fs layer [2023-11-09T14:11:53.438Z] f23df028b6ca: Pulling fs layer [2023-11-09T14:11:53.438Z] d65c8cfc05b1: Pulling fs layer [2023-11-09T14:11:53.438Z] 2437ff75d9bd: Pulling fs layer [2023-11-09T14:11:53.438Z] f23df028b6ca: Waiting [2023-11-09T14:11:53.438Z] d65c8cfc05b1: Waiting [2023-11-09T14:11:53.438Z] 2437ff75d9bd: Waiting [2023-11-09T14:11:53.438Z] 765212b225bb: Waiting [2023-11-09T14:11:53.704Z] 04944245beec: Verifying Checksum [2023-11-09T14:11:53.704Z] 04944245beec: Download complete [2023-11-09T14:11:53.704Z] 765212b225bb: Verifying Checksum [2023-11-09T14:11:53.704Z] 765212b225bb: Download complete [2023-11-09T14:11:53.704Z] f23df028b6ca: Verifying Checksum [2023-11-09T14:11:53.704Z] f23df028b6ca: Download complete [2023-11-09T14:11:53.704Z] d65c8cfc05b1: Verifying Checksum [2023-11-09T14:11:53.704Z] d65c8cfc05b1: Download complete [2023-11-09T14:11:53.704Z] 699f458cf7ca: Verifying Checksum [2023-11-09T14:11:53.704Z] 699f458cf7ca: Download complete [2023-11-09T14:11:54.288Z] 8998bd30e6a1: Verifying Checksum [2023-11-09T14:11:54.288Z] 8998bd30e6a1: Download complete [2023-11-09T14:11:56.232Z] 2437ff75d9bd: Verifying Checksum [2023-11-09T14:11:56.233Z] 2437ff75d9bd: Download complete [2023-11-09T14:11:58.808Z] 8998bd30e6a1: Pull complete [2023-11-09T14:11:58.808Z] 04944245beec: Pull complete [2023-11-09T14:12:00.217Z] 699f458cf7ca: Pull complete [2023-11-09T14:12:00.484Z] 765212b225bb: Pull complete [2023-11-09T14:12:04.732Z] f23df028b6ca: Pull complete [2023-11-09T14:12:04.732Z] d65c8cfc05b1: Pull complete [2023-11-09T14:12:22.920Z] 2437ff75d9bd: Pull complete [2023-11-09T14:12:22.920Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-09T14:12:22.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:12:22.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:12:23.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container [2023-11-09T14:12:23.171Z] $ 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/150 -v /w/workspace/device-rest-go/150:/w/workspace/device-rest-go/150:rw,z -v /w/workspace/device-rest-go/150@tmp:/w/workspace/device-rest-go/150@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:arm64 cat [2023-11-09T14:12:24.378Z] $ docker top 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:12:25.234Z] ---> job-cost.sh [2023-11-09T14:12:25.235Z] lf-activate-venv: SKIPPING [2023-11-09T14:12:25.235Z] INFO: No Stack... [2023-11-09T14:12:25.500Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-09T14:12:26.460Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:12:27.104Z] + cut -d, -f6 [2023-11-09T14:12:27.105Z] + cat /w/workspace/device-rest-go/150/archives/cost.csv [Pipeline] lock [2023-11-09T14:12:27.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [2023-11-09T14:12:27.148Z] Resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] did not exist. Created. [2023-11-09T14:12:27.148Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:12:27.807Z] /w/workspace/device-rest-go/150@tmp/durable-950f4d59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-09T14:12:28.463Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-09T14:12:28.489Z] Warning: overwriting stash ‘stack-cost’ [2023-11-09T14:12:28.546Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:12:28.556Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:12:28.578Z] $ docker stop --time=1 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 [2023-11-09T14:12:30.101Z] $ docker rm -f --volumes 20b965212b3e17fdedb8b8db2d925b0b5fe14b296e7fb9f9bc40f9d60f22ce25 [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 [2023-11-09T14:12:30.487Z] provisioning config files... [2023-11-09T14:12:30.494Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14101419133452693659tmp [Pipeline] { [Pipeline] sh [2023-11-09T14:12:30.788Z] + set +x [2023-11-09T14:12:30.789Z] + curl -s https://codecov.io/bash [2023-11-09T14:12:30.789Z] + bash -s -- [2023-11-09T14:12:30.789Z] [2023-11-09T14:12:30.789Z] _____ _ [2023-11-09T14:12:30.789Z] / ____| | | [2023-11-09T14:12:30.789Z] | | ___ __| | ___ ___ _____ __ [2023-11-09T14:12:30.789Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-09T14:12:30.789Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-09T14:12:30.789Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-09T14:12:30.789Z] Bash-1.0.6 [2023-11-09T14:12:30.789Z] [2023-11-09T14:12:30.789Z] [2023-11-09T14:12:30.789Z] ==> git version 2.25.1 found [2023-11-09T14:12:30.789Z] ==> 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 [2023-11-09T14:12:30.789Z] Release-Date: 2020-01-08 [2023-11-09T14:12:30.789Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-09T14:12:30.789Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-09T14:12:30.789Z] ==> Jenkins CI detected. [2023-11-09T14:12:30.789Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-11-09T14:12:30.789Z] project root: . [2023-11-09T14:12:30.789Z] --> token set from env [2023-11-09T14:12:30.789Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-09T14:12:30.789Z] ==> Running gcov in . (disable via -X gcov) [2023-11-09T14:12:30.789Z] ==> Python coveragepy not found [2023-11-09T14:12:30.789Z] ==> Searching for coverage reports in: [2023-11-09T14:12:30.789Z] + . [2023-11-09T14:12:30.789Z] -> Found 1 reports [2023-11-09T14:12:30.789Z] ==> Detecting git/mercurial file structure [2023-11-09T14:12:30.789Z] ==> Reading reports [2023-11-09T14:12:30.789Z] + ./coverage.out bytes=14499 [2023-11-09T14:12:31.048Z] ==> Appending adjustments [2023-11-09T14:12:31.048Z] https://docs.codecov.io/docs/fixing-reports [2023-11-09T14:12:31.048Z] + Found adjustments [2023-11-09T14:12:31.048Z] ==> Gzipping contents [2023-11-09T14:12:31.048Z] 4.0K /tmp/codecov.RMgpRi.gz [2023-11-09T14:12:31.048Z] ==> Uploading reports [2023-11-09T14:12:31.048Z] url: https://codecov.io [2023-11-09T14:12:31.048Z] query: branch=main&commit=63560b1f091cdd18f74439d048f83e61f0721fcd&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-09T14:12:31.048Z] -> Pinging Codecov [2023-11-09T14:12:31.048Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=63560b1f091cdd18f74439d048f83e61f0721fcd&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-09T14:12:31.048Z] -> Uploading to [2023-11-09T14:12:31.048Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/63560b1f091cdd18f74439d048f83e61f0721fcd/4f5ce426-f311-4f28-b779-210aafb8d70e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T141230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a47394aaad70465da651bf33345bb815ebb52f3a4f9fe48adae46844bd3dc472 [2023-11-09T14:12:31.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:12:31.048Z] Dload Upload Total Spent Left Speed [2023-11-09T14:12:31.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8087 --:--:-- --:--:-- --:--:-- 8087 [2023-11-09T14:12:31.617Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] } [2023-11-09T14:12:31.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-09T14:12:31.744Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-09T14:12:31.753Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:12:32.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:12:32.059Z] [2023-11-09T14:12:32.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:12:32.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:12:32.370Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-09T14:12:32.370Z] df9b9388f04a: Pulling fs layer [2023-11-09T14:12:32.370Z] 52dc419b0ee2: Pulling fs layer [2023-11-09T14:12:32.370Z] 25bc292e5bac: Pulling fs layer [2023-11-09T14:12:32.370Z] 114826534d7a: Pulling fs layer [2023-11-09T14:12:32.370Z] 4657fd5d0bcf: Pulling fs layer [2023-11-09T14:12:32.370Z] 6ad1cebc031e: Pulling fs layer [2023-11-09T14:12:32.370Z] 8a3aa393b2d8: Pulling fs layer [2023-11-09T14:12:32.370Z] 114826534d7a: Waiting [2023-11-09T14:12:32.370Z] 6ad1cebc031e: Waiting [2023-11-09T14:12:32.370Z] 4657fd5d0bcf: Waiting [2023-11-09T14:12:32.370Z] 25bc292e5bac: Download complete [2023-11-09T14:12:32.370Z] 52dc419b0ee2: Verifying Checksum [2023-11-09T14:12:32.370Z] 52dc419b0ee2: Download complete [2023-11-09T14:12:32.370Z] 4657fd5d0bcf: Verifying Checksum [2023-11-09T14:12:32.370Z] 4657fd5d0bcf: Download complete [2023-11-09T14:12:32.370Z] df9b9388f04a: Download complete [2023-11-09T14:12:32.630Z] df9b9388f04a: Pull complete [2023-11-09T14:12:32.630Z] 6ad1cebc031e: Verifying Checksum [2023-11-09T14:12:32.630Z] 6ad1cebc031e: Download complete [2023-11-09T14:12:32.630Z] 52dc419b0ee2: Pull complete [2023-11-09T14:12:32.630Z] 25bc292e5bac: Pull complete [2023-11-09T14:12:33.205Z] 114826534d7a: Verifying Checksum [2023-11-09T14:12:33.205Z] 114826534d7a: Download complete [2023-11-09T14:12:33.464Z] 8a3aa393b2d8: Verifying Checksum [2023-11-09T14:12:33.464Z] 8a3aa393b2d8: Download complete [2023-11-09T14:12:36.750Z] 114826534d7a: Pull complete [2023-11-09T14:12:36.750Z] 4657fd5d0bcf: Pull complete [2023-11-09T14:12:36.750Z] 6ad1cebc031e: Pull complete [2023-11-09T14:12:40.035Z] 8a3aa393b2d8: Pull complete [2023-11-09T14:12:40.035Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-09T14:12:40.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:12:40.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:12:40.118Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:12:40.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-09T14:12:46.301Z] $ docker top c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-09T14:12:46.357Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-11-09T14:12:46.635Z] + set -o pipefail [2023-11-09T14:12:46.635Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-11-09T14:12:50.833Z] [2023-11-09T14:12:50.833Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-11-09T14:12:50.833Z] [2023-11-09T14:12:50.833Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/c4f77f85-c809-4f9a-97d7-3af0bf6a8f31 [2023-11-09T14:12:50.833Z] [2023-11-09T14:12:50.833Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-09T14:12:50.833Z] [2023-11-09T14:12:51.094Z] [2023-11-09T14:12:51.094Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-09T14:12:51.094Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-09T14:12:51.094Z] More details here: https://snyk.co/ue1NS [2023-11-09T14:12:51.094Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-09T14:12:51.094Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-09T14:12:51.116Z] $ docker stop --time=1 c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a [2023-11-09T14:12:55.269Z] $ docker rm -f --volumes c1fbd248484cb3f1cc6894673b9f4c8406724310b2110a16f7c4eeaccda1075a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:12:55.967Z] + git log --format=format:%s -1 63560b1f091cdd18f74439d048f83e61f0721fcd [Pipeline] sh [2023-11-09T14:12:56.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:12:56.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:12:56.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:12:56.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:12:56.632Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:12:56.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:12:57.115Z] $ docker top 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a -eo pid,comm [2023-11-09T14:12:57.150Z] 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). [2023-11-09T14:12:57.150Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:12:57.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:12:57.182Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:12:57.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:12:57.294Z] $ docker exec 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a ssh-agent [2023-11-09T14:12:57.392Z] SSH_AUTH_SOCK=/tmp/ssh-nzLeDrE0g9FR/agent.33 [2023-11-09T14:12:57.392Z] SSH_AGENT_PID=39 [2023-11-09T14:12:57.397Z] Running ssh-add (command line suppressed) [2023-11-09T14:12:57.509Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11684954960927508087.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11684954960927508087.key) [2023-11-09T14:12:57.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:12:57.800Z] + git semver tag [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,976 [run_tag] DEBUG tag force:False [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,976 [check_head_tag] DEBUG check head tag [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,977 [execute] INFO git cat-file --batch-check [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,981 [execute] INFO git cat-file --batch [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,996 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:57,996 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:12:58.060Z] 2023-11-09 14:12:58,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:12:58.060Z] 3.1.0-dev.30 [Pipeline] } [2023-11-09T14:12:58.080Z] $ docker exec --env ******** --env ******** 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a ssh-agent -k [2023-11-09T14:12:58.181Z] unset SSH_AUTH_SOCK; [2023-11-09T14:12:58.182Z] unset SSH_AGENT_PID; [2023-11-09T14:12:58.182Z] echo Agent pid 39 killed; [2023-11-09T14:12:58.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:12:58.478Z] + git semver [Pipeline] } [2023-11-09T14:12:58.758Z] $ docker stop --time=1 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a [2023-11-09T14:13:00.016Z] $ docker rm -f --volumes 79731b77a351897fd492666862de3e8b7e3949932966daf75f4ce2ce9b10446a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:00.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:13:00.391Z] [2023-11-09T14:13:00.391Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:00.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:13:00.697Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-09T14:13:00.697Z] ab5ef0e58194: Pulling fs layer [2023-11-09T14:13:00.697Z] 9712f1f96733: Pulling fs layer [2023-11-09T14:13:00.697Z] 63f879dbbcfc: Pulling fs layer [2023-11-09T14:13:00.697Z] 0d9ebad4ef96: Pulling fs layer [2023-11-09T14:13:00.697Z] e9a5061849ea: Pulling fs layer [2023-11-09T14:13:00.697Z] d747dcd14b5f: Pulling fs layer [2023-11-09T14:13:00.697Z] 2de7ff778b66: Pulling fs layer [2023-11-09T14:13:00.697Z] 0d9ebad4ef96: Waiting [2023-11-09T14:13:00.697Z] e9a5061849ea: Waiting [2023-11-09T14:13:00.697Z] d747dcd14b5f: Waiting [2023-11-09T14:13:00.697Z] 2de7ff778b66: Waiting [2023-11-09T14:13:00.697Z] 9712f1f96733: Verifying Checksum [2023-11-09T14:13:00.697Z] 9712f1f96733: Download complete [2023-11-09T14:13:01.273Z] 63f879dbbcfc: Verifying Checksum [2023-11-09T14:13:01.273Z] 63f879dbbcfc: Download complete [2023-11-09T14:13:01.273Z] 0d9ebad4ef96: Verifying Checksum [2023-11-09T14:13:01.273Z] 0d9ebad4ef96: Download complete [2023-11-09T14:13:01.273Z] d747dcd14b5f: Verifying Checksum [2023-11-09T14:13:01.273Z] d747dcd14b5f: Download complete [2023-11-09T14:13:01.273Z] e9a5061849ea: Verifying Checksum [2023-11-09T14:13:01.273Z] e9a5061849ea: Download complete [2023-11-09T14:13:01.273Z] ab5ef0e58194: Verifying Checksum [2023-11-09T14:13:01.273Z] ab5ef0e58194: Download complete [2023-11-09T14:13:01.531Z] 2de7ff778b66: Verifying Checksum [2023-11-09T14:13:01.532Z] 2de7ff778b66: Download complete [2023-11-09T14:13:04.064Z] ab5ef0e58194: Pull complete [2023-11-09T14:13:04.064Z] 9712f1f96733: Pull complete [2023-11-09T14:13:04.629Z] 63f879dbbcfc: Pull complete [2023-11-09T14:13:08.942Z] 0d9ebad4ef96: Pull complete [2023-11-09T14:13:08.942Z] e9a5061849ea: Pull complete [2023-11-09T14:13:08.942Z] d747dcd14b5f: Pull complete [2023-11-09T14:13:09.509Z] 2de7ff778b66: Pull complete [2023-11-09T14:13:09.509Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-09T14:13:09.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:13:09.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:13:09.585Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:13:09.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-09T14:13:14.460Z] $ docker top 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:13:14.526Z] provisioning config files... [2023-11-09T14:13:14.533Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7832294456039945049tmp [2023-11-09T14:13:14.541Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4870591534949191180tmp [2023-11-09T14:13:14.549Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1500225974979209550tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:13:14.566Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:14.847Z] ---> sigul-configuration.sh [2023-11-09T14:13:14.847Z] gpg: directory `/root/.gnupg' created [2023-11-09T14:13:14.847Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-09T14:13:14.847Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-09T14:13:14.847Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-09T14:13:14.847Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-09T14:13:14.847Z] gpg: CAST5 encrypted data [2023-11-09T14:13:14.847Z] gpg: encrypted with 1 passphrase [2023-11-09T14:13:14.847Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-09T14:13:15.136Z] + mkdir /home/jenkins [2023-11-09T14:13:15.136Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-09T14:13:15.423Z] + 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 [2023-11-09T14:13:15.432Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:15.720Z] ---> sigul-install.sh [2023-11-09T14:13:15.720Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-09T14:13:16.006Z] + git tag --list [2023-11-09T14:13:16.006Z] v1.0.0 [2023-11-09T14:13:16.006Z] v1.1.0 [2023-11-09T14:13:16.006Z] v1.1.1 [2023-11-09T14:13:16.006Z] v1.1.2 [2023-11-09T14:13:16.006Z] v1.2.0 [2023-11-09T14:13:16.006Z] v1.2.1 [2023-11-09T14:13:16.006Z] v2.0.0 [2023-11-09T14:13:16.006Z] v2.1.0 [2023-11-09T14:13:16.006Z] v2.1.1 [2023-11-09T14:13:16.006Z] v2.2.0 [2023-11-09T14:13:16.006Z] v2.3.0 [2023-11-09T14:13:16.006Z] v3.0 [2023-11-09T14:13:16.006Z] v3.0.0 [2023-11-09T14:13:16.006Z] v3.1.0-dev.1 [2023-11-09T14:13:16.006Z] v3.1.0-dev.10 [2023-11-09T14:13:16.006Z] v3.1.0-dev.11 [2023-11-09T14:13:16.006Z] v3.1.0-dev.12 [2023-11-09T14:13:16.006Z] v3.1.0-dev.13 [2023-11-09T14:13:16.006Z] v3.1.0-dev.14 [2023-11-09T14:13:16.006Z] v3.1.0-dev.15 [2023-11-09T14:13:16.006Z] v3.1.0-dev.16 [2023-11-09T14:13:16.006Z] v3.1.0-dev.17 [2023-11-09T14:13:16.006Z] v3.1.0-dev.18 [2023-11-09T14:13:16.006Z] v3.1.0-dev.19 [2023-11-09T14:13:16.006Z] v3.1.0-dev.2 [2023-11-09T14:13:16.006Z] v3.1.0-dev.20 [2023-11-09T14:13:16.006Z] v3.1.0-dev.21 [2023-11-09T14:13:16.006Z] v3.1.0-dev.22 [2023-11-09T14:13:16.006Z] v3.1.0-dev.23 [2023-11-09T14:13:16.006Z] v3.1.0-dev.24 [2023-11-09T14:13:16.006Z] v3.1.0-dev.25 [2023-11-09T14:13:16.006Z] v3.1.0-dev.26 [2023-11-09T14:13:16.006Z] v3.1.0-dev.27 [2023-11-09T14:13:16.006Z] v3.1.0-dev.28 [2023-11-09T14:13:16.006Z] v3.1.0-dev.29 [2023-11-09T14:13:16.006Z] v3.1.0-dev.3 [2023-11-09T14:13:16.006Z] v3.1.0-dev.30 [2023-11-09T14:13:16.006Z] v3.1.0-dev.4 [2023-11-09T14:13:16.006Z] v3.1.0-dev.5 [2023-11-09T14:13:16.006Z] v3.1.0-dev.6 [2023-11-09T14:13:16.006Z] v3.1.0-dev.7 [2023-11-09T14:13:16.006Z] v3.1.0-dev.8 [2023-11-09T14:13:16.006Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-09T14:13:16.293Z] + lftools sign git-tag v3.1.0-dev.30 [2023-11-09T14:13:16.863Z] Signing Git tag with Sigul... [2023-11-09T14:13:16.863Z] Signing v3.1.0-dev.30 [Pipeline] echo [2023-11-09T14:13:17.134Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:17.421Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-09T14:13:17.428Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-09T14:13:17.457Z] $ docker stop --time=1 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 [2023-11-09T14:13:18.753Z] $ docker rm -f --volumes 0c68a4afae1b9a8b944bc6a5cb9ebeee6664d1a4c195ab90a29b496d056d4828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-09T14:13:19.178Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:13:19.178Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:19.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:13:19.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:13:19.568Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:13:19.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:13:19.938Z] $ docker top 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 -eo pid,comm [2023-11-09T14:13:19.972Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-09T14:13:19.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:13:20.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:13:20.007Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:13:20.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:13:20.137Z] $ docker exec 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 ssh-agent [2023-11-09T14:13:20.238Z] SSH_AUTH_SOCK=/tmp/ssh-3x2PPSCpMnCt/agent.32 [2023-11-09T14:13:20.238Z] SSH_AGENT_PID=38 [2023-11-09T14:13:20.244Z] Running ssh-add (command line suppressed) [2023-11-09T14:13:20.356Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9992472555361185923.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9992472555361185923.key) [2023-11-09T14:13:20.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:13:20.651Z] + git semver bump pre [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [bump_version] DEBUG bumped version:3.1.0-dev.31 [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,839 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,842 [execute] INFO git cat-file --batch-check [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,847 [execute] INFO git cat-file --batch [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:13:20.917Z] 2023-11-09 14:13:20,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:13:20.917Z] 3.1.0-dev.31 [Pipeline] } [2023-11-09T14:13:20.939Z] $ docker exec --env ******** --env ******** 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 ssh-agent -k [2023-11-09T14:13:21.035Z] unset SSH_AUTH_SOCK; [2023-11-09T14:13:21.036Z] unset SSH_AGENT_PID; [2023-11-09T14:13:21.036Z] echo Agent pid 38 killed; [2023-11-09T14:13:21.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:13:21.345Z] + git semver [Pipeline] } [2023-11-09T14:13:21.630Z] $ docker stop --time=1 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 [2023-11-09T14:13:22.943Z] $ docker rm -f --volumes 5c220f0d6078dbfb2de70864c9328eaa6254084fd45cfa77e63a5b1af65c1620 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:13:23.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:13:23.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:23.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:13:23.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:13:23.649Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:13:23.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:13:24.028Z] $ docker top 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 -eo pid,comm [2023-11-09T14:13:24.089Z] 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). [2023-11-09T14:13:24.089Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:13:24.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:13:24.128Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:13:24.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:13:24.262Z] $ docker exec 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 ssh-agent [2023-11-09T14:13:24.359Z] SSH_AUTH_SOCK=/tmp/ssh-I66JNMdGpE5Z/agent.32 [2023-11-09T14:13:24.359Z] SSH_AGENT_PID=38 [2023-11-09T14:13:24.375Z] Running ssh-add (command line suppressed) [2023-11-09T14:13:24.491Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5898356898448750740.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5898356898448750740.key) [2023-11-09T14:13:24.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:13:24.816Z] + git semver push [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,006 [run_push] DEBUG push [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,006 [execute] INFO git cat-file --batch-check [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,010 [execute] INFO git rev-list aff3c251a8d598e779dd1e60b114d24470ba96b4 -- [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,010 [execute] DEBUG Popen(['git', 'rev-list', 'aff3c251a8d598e779dd1e60b114d24470ba96b4', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,018 [execute] INFO git fetch -v origin [2023-11-09T14:13:25.077Z] 2023-11-09 14:13:25,019 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-09T14:13:25.646Z] 2023-11-09 14:13:25,561 [run_push] DEBUG no remote changes detected [2023-11-09T14:13:25.646Z] 2023-11-09 14:13:25,562 [execute] INFO git push origin semver [2023-11-09T14:13:25.646Z] 2023-11-09 14:13:25,562 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:13:26.584Z] 2023-11-09 14:13:26,435 [run_push] DEBUG push all version tags [2023-11-09T14:13:26.584Z] 2023-11-09 14:13:26,435 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-09T14:13:26.584Z] 2023-11-09 14:13:26,436 [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) [2023-11-09T14:13:27.522Z] 2023-11-09 14:13:27,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-11-09T14:13:27.522Z] 3.1.0-dev.31 [Pipeline] } [2023-11-09T14:13:27.542Z] $ docker exec --env ******** --env ******** 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 ssh-agent -k [2023-11-09T14:13:27.654Z] unset SSH_AUTH_SOCK; [2023-11-09T14:13:27.654Z] unset SSH_AGENT_PID; [2023-11-09T14:13:27.654Z] echo Agent pid 38 killed; [2023-11-09T14:13:27.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:13:27.961Z] + git semver [Pipeline] } [2023-11-09T14:13:28.245Z] $ docker stop --time=1 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 [2023-11-09T14:13:29.517Z] $ docker rm -f --volumes 4cd8ffc8e6595bf2d34cae89ed7acf2652a0e5d4c51251e81f38f9e244ff1ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-09T14:13:30.062Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-11-09T14:13:30.062Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-09T14:13:30.062Z] total 16 [2023-11-09T14:13:30.062Z] drwxr-xr-x 3 root root 4096 Nov 9 14:03 . [2023-11-09T14:13:30.062Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:13 .. [2023-11-09T14:13:30.062Z] drwxr-xr-x 2 root root 4096 Nov 9 14:03 cost [2023-11-09T14:13:30.062Z] -rw-r--r-- 1 root root 86 Nov 9 14:03 cost.csv [2023-11-09T14:13:30.062Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-09T14:13:30.062Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-11-09T14:13:30.062Z] total 16 [2023-11-09T14:13:30.062Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:03 . [2023-11-09T14:13:30.062Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:13 .. [2023-11-09T14:13:30.062Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 14:03 cost [2023-11-09T14:13:30.062Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 9 14:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:30.351Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:31.207Z] ---> package-listing.sh [2023-11-09T14:13:31.207Z] ++ facter osfamily [2023-11-09T14:13:31.207Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-09T14:13:31.466Z] + OS_FAMILY=debian [2023-11-09T14:13:31.466Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-11-09T14:13:31.466Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-09T14:13:31.466Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-09T14:13:31.466Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-09T14:13:31.466Z] + PACKAGES=/tmp/packages_start.txt [2023-11-09T14:13:31.466Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-09T14:13:31.466Z] + PACKAGES=/tmp/packages_end.txt [2023-11-09T14:13:31.466Z] + case "${OS_FAMILY}" in [2023-11-09T14:13:31.466Z] + dpkg -l [2023-11-09T14:13:31.466Z] + grep '^ii' [2023-11-09T14:13:31.466Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-09T14:13:31.466Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-09T14:13:31.466Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-09T14:13:31.466Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-11-09T14:13:31.466Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-11-09T14:13:31.466Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-11-09T14:13:31.480Z] 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 [2023-11-09T14:13:31.757Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:32.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:13:32.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:13:32.131Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2023-11-09T14:13:32.174Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:13:32.389Z] $ docker top 07da232374158608417a1ec8b0461b9df24897ee4f577e2e8e10d776dc2f9f88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:13:32.722Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-09T14:13:33.008Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-09T14:13:33.294Z] + ls /var/log/sa-host [2023-11-09T14:13:33.294Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:13:33.367Z] provisioning config files... [2023-11-09T14:13:33.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11323988752780052853tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:13:33.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:33.672Z] ---> create-netrc.sh [Pipeline] } [2023-11-09T14:13:33.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:34.003Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-09T14:13:34.014Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:34.300Z] ---> sudo-logs.sh [2023-11-09T14:13:34.300Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-09T14:13:34.332Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:34.621Z] ---> job-cost.sh [2023-11-09T14:13:34.621Z] lf-activate-venv: SKIPPING [2023-11-09T14:13:34.621Z] DEBUG: total: 0.2199999988079071 [2023-11-09T14:13:34.621Z] INFO: Retrieving Stack Cost... [2023-11-09T14:13:34.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:13:35.448Z] INFO: Archiving Costs [Pipeline] echo [2023-11-09T14:13:35.459Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:35.741Z] ---> logs-deploy.sh [2023-11-09T14:13:35.741Z] lf-activate-venv: SKIPPING [2023-11-09T14:13:35.741Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/150 [2023-11-09T14:13:35.741Z] INFO: archiving workspace using pattern(s): [2023-11-09T14:13:36.679Z] Archives upload complete. [2023-11-09T14:13:36.679Z] INFO: archiving logs to Nexus