Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 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-ssh11847093218076692549.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5844502162445110915.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5876637985922089675.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6859232127551900690.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-ssh3910702521691522368.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-10296 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea (main) Commit message: "refactor: Remove obsolete comments from config file (#355)" > git config core.sparsecheckout # timeout=10 > git checkout -f 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 > git rev-list --no-walk 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T21:49:26.499Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T21:49:26.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T21:49:26.555Z] ========================================================= [2023-10-24T21:49:26.555Z] EdgeX Global Pipelines Version Info [2023-10-24T21:49:26.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:49:27.255Z] ------------------- [2023-10-24T21:49:27.255Z] stable info: [2023-10-24T21:49:27.255Z] ------------------- [2023-10-24T21:49:27.255Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T21:49:27.255Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T21:49:27.255Z] Message: update stable to v1.0.254 [2023-10-24T21:49:27.824Z] ------------------- [2023-10-24T21:49:27.824Z] experimental info: [2023-10-24T21:49:27.824Z] ------------------- [2023-10-24T21:49:27.824Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T21:49:27.824Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T21:49:27.824Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T21:49:27.981Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-24T21:49:27.992Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-24T21:49:28.004Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T21:49:28.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T21:49:28.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T21:49:28.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T21:49:28.074Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T21:49:28.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T21:49:28.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T21:49:28.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T21:49:28.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T21:49:28.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-24T21:49:28.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T21:49:28.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T21:49:28.192Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T21:49:28.207Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T21:49:28.222Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T21:49:28.236Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T21:49:28.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T21:49:28.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T21:49:28.275Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T21:49:28.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T21:49:28.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T21:49:28.319Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T21:49:28.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T21:49:28.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T21:49:28.363Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T21:49:28.378Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T21:49:28.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T21:49:28.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T21:49:28.426Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo [2023-10-24T21:49:28.443Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e268e [Pipeline] echo [2023-10-24T21:49:28.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T21:49:28.509Z] provisioning config files... [2023-10-24T21:49:28.524Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4019582470507746871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:49:28.830Z] ---> docker-login.sh [2023-10-24T21:49:28.830Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:49:29.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:29.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:29.090Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:29.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:29.090Z] [2023-10-24T21:49:29.090Z] Login Succeeded [2023-10-24T21:49:29.090Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:49:29.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:29.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:29.090Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:29.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:29.090Z] [2023-10-24T21:49:29.090Z] Login Succeeded [2023-10-24T21:49:29.090Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:49:29.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:29.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:29.349Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:29.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:29.349Z] [2023-10-24T21:49:29.349Z] Login Succeeded [2023-10-24T21:49:29.349Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:49:29.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:29.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:29.349Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:29.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:29.349Z] [2023-10-24T21:49:29.349Z] Login Succeeded [2023-10-24T21:49:29.349Z] docker.io [2023-10-24T21:49:29.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:29.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:29.608Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:29.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:29.608Z] [2023-10-24T21:49:29.608Z] Login Succeeded [2023-10-24T21:49:29.608Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:49:29.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T21:49:29.980Z] + git rev-list -1 --merges 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea~1..71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo [2023-10-24T21:49:30.027Z] -----------> git rev-list -1 --merges 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea~1..71e268e2bbeb5f32b791e9fe51a95144d8b6bbea 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [false] [Pipeline] sh [2023-10-24T21:49:30.313Z] + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo [2023-10-24T21:49:30.325Z] ========================================================= [2023-10-24T21:49:30.325Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T21:49:30.325Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T21:49:30.654Z] + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] echo [2023-10-24T21:49:30.683Z] [semverPrep] GIT_COMMIT: 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea, Commit Message: refactor: Remove obsolete comments from config file (#355) [Pipeline] echo [2023-10-24T21:49:30.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T21:49:31.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T21:49:31.041Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T21:49:31.041Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T21:49:31.041Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T21:49:31.041Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T21:49:31.041Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T21:49:31.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:49:31.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:49:31.393Z] [2023-10-24T21:49:31.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:49:31.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:49:31.700Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T21:49:31.700Z] b85a868b505f: Pulling fs layer [2023-10-24T21:49:31.700Z] e2be974225ed: Pulling fs layer [2023-10-24T21:49:31.700Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T21:49:31.700Z] 988bab9f4d93: Pulling fs layer [2023-10-24T21:49:31.700Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T21:49:31.700Z] eaf3925da568: Pulling fs layer [2023-10-24T21:49:31.700Z] bab4dde63d76: Pulling fs layer [2023-10-24T21:49:31.700Z] bde34c3a00c8: Pulling fs layer [2023-10-24T21:49:31.700Z] b352a97aabf1: Pulling fs layer [2023-10-24T21:49:31.700Z] 4872d77fe225: Pulling fs layer [2023-10-24T21:49:31.700Z] 5851b861e8e6: Pulling fs layer [2023-10-24T21:49:31.700Z] 988bab9f4d93: Waiting [2023-10-24T21:49:31.700Z] 1469e6f7b9e6: Waiting [2023-10-24T21:49:31.700Z] eaf3925da568: Waiting [2023-10-24T21:49:31.700Z] bab4dde63d76: Waiting [2023-10-24T21:49:31.700Z] bde34c3a00c8: Waiting [2023-10-24T21:49:31.700Z] b352a97aabf1: Waiting [2023-10-24T21:49:31.700Z] 5851b861e8e6: Waiting [2023-10-24T21:49:31.700Z] 4872d77fe225: Waiting [2023-10-24T21:49:31.700Z] e2be974225ed: Verifying Checksum [2023-10-24T21:49:31.700Z] e2be974225ed: Download complete [2023-10-24T21:49:31.700Z] 988bab9f4d93: Verifying Checksum [2023-10-24T21:49:31.700Z] 988bab9f4d93: Download complete [2023-10-24T21:49:31.959Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T21:49:31.959Z] 339a4e72a1f5: Download complete [2023-10-24T21:49:31.959Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T21:49:31.959Z] 1469e6f7b9e6: Download complete [2023-10-24T21:49:31.959Z] eaf3925da568: Download complete [2023-10-24T21:49:31.959Z] bde34c3a00c8: Verifying Checksum [2023-10-24T21:49:31.959Z] bde34c3a00c8: Download complete [2023-10-24T21:49:31.959Z] b352a97aabf1: Verifying Checksum [2023-10-24T21:49:31.959Z] b352a97aabf1: Download complete [2023-10-24T21:49:31.959Z] 4872d77fe225: Verifying Checksum [2023-10-24T21:49:31.959Z] 4872d77fe225: Download complete [2023-10-24T21:49:31.959Z] 5851b861e8e6: Verifying Checksum [2023-10-24T21:49:31.959Z] 5851b861e8e6: Download complete [2023-10-24T21:49:31.959Z] b85a868b505f: Verifying Checksum [2023-10-24T21:49:31.959Z] b85a868b505f: Download complete [2023-10-24T21:49:32.217Z] bab4dde63d76: Verifying Checksum [2023-10-24T21:49:32.217Z] bab4dde63d76: Download complete [2023-10-24T21:49:33.166Z] b85a868b505f: Pull complete [2023-10-24T21:49:33.429Z] e2be974225ed: Pull complete [2023-10-24T21:49:33.997Z] 339a4e72a1f5: Pull complete [2023-10-24T21:49:33.997Z] 988bab9f4d93: Pull complete [2023-10-24T21:49:34.256Z] 1469e6f7b9e6: Pull complete [2023-10-24T21:49:34.256Z] eaf3925da568: Pull complete [2023-10-24T21:49:36.154Z] bab4dde63d76: Pull complete [2023-10-24T21:49:36.154Z] bde34c3a00c8: Pull complete [2023-10-24T21:49:36.414Z] b352a97aabf1: Pull complete [2023-10-24T21:49:36.414Z] 4872d77fe225: Pull complete [2023-10-24T21:49:36.414Z] 5851b861e8e6: Pull complete [2023-10-24T21:49:36.414Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T21:49:36.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:49:36.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:49:36.520Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T21:49:36.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T21:49:39.045Z] $ docker top fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 -eo pid,comm [2023-10-24T21:49:39.111Z] 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-10-24T21:49:39.111Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T21:49:39.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T21:49:39.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T21:49:39.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T21:49:39.242Z] $ docker exec fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent [2023-10-24T21:49:39.353Z] SSH_AUTH_SOCK=/tmp/ssh-K2OmsGq1PE4H/agent.32 [2023-10-24T21:49:39.353Z] SSH_AGENT_PID=38 [2023-10-24T21:49:39.360Z] Running ssh-add (command line suppressed) [2023-10-24T21:49:39.457Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13853675595761764724.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13853675595761764724.key) [2023-10-24T21:49:39.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T21:49:39.768Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T21:49:39.770Z] $ docker exec --env ******** --env ******** fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent -k [2023-10-24T21:49:39.875Z] unset SSH_AUTH_SOCK; [2023-10-24T21:49:39.876Z] unset SSH_AGENT_PID; [2023-10-24T21:49:39.876Z] echo Agent pid 38 killed; [2023-10-24T21:49:39.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T21:49:39.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T21:49:39.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T21:49:40.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T21:49:40.018Z] $ docker exec fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent [2023-10-24T21:49:40.131Z] SSH_AUTH_SOCK=/tmp/ssh-nyLk3OAGu6UH/agent.70 [2023-10-24T21:49:40.131Z] SSH_AGENT_PID=76 [2023-10-24T21:49:40.136Z] Running ssh-add (command line suppressed) [2023-10-24T21:49:40.231Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2010152905345437926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2010152905345437926.key) [2023-10-24T21:49:40.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T21:49:40.536Z] + git semver init [2023-10-24T21:49:40.794Z] 2023-10-24 21:49:40,709 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T21:49:40.794Z] 2023-10-24 21:49:40,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T21:49:40.794Z] 2023-10-24 21:49:40,710 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T21:49:40.794Z] 2023-10-24 21:49:40,710 [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-10-24T21:49:42.175Z] 2023-10-24 21:49:41,806 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-24T21:49:42.175Z] 2023-10-24 21:49:41,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-24T21:49:42.175Z] 2023-10-24 21:49:41,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T21:49:42.175Z] 2023-10-24 21:49:41,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T21:49:42.175Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T21:49:42.179Z] $ docker exec --env ******** --env ******** fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 ssh-agent -k [2023-10-24T21:49:42.273Z] unset SSH_AUTH_SOCK; [2023-10-24T21:49:42.273Z] unset SSH_AGENT_PID; [2023-10-24T21:49:42.273Z] echo Agent pid 76 killed; [2023-10-24T21:49:42.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T21:49:42.601Z] + git semver [Pipeline] } [2023-10-24T21:49:42.866Z] $ docker stop --time=1 fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 [2023-10-24T21:49:44.194Z] $ docker rm -f --volumes fc3b2ba20d14613e5fde51eb5f0365a4df98097e0b5f4f8af36e68b12767ab89 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T21:49:44.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T21:49:44.737Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T21:49:44.740Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.25 [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-10-24T21:49:44.888Z] provisioning config files... [2023-10-24T21:49:44.897Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config349462805742174628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:49:45.189Z] ---> docker-login.sh [2023-10-24T21:49:45.189Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:49:45.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:45.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:45.189Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:45.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:45.189Z] [2023-10-24T21:49:45.189Z] Login Succeeded [2023-10-24T21:49:45.189Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:49:45.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:45.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:45.189Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:45.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:45.189Z] [2023-10-24T21:49:45.189Z] Login Succeeded [2023-10-24T21:49:45.189Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:49:45.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:45.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:45.473Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:45.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:45.473Z] [2023-10-24T21:49:45.473Z] Login Succeeded [2023-10-24T21:49:45.473Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:49:45.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:45.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:45.473Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:45.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:45.473Z] [2023-10-24T21:49:45.473Z] Login Succeeded [2023-10-24T21:49:45.473Z] docker.io [2023-10-24T21:49:45.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:49:45.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:49:45.734Z] Configure a credential helper to remove this warning. See [2023-10-24T21:49:45.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:49:45.734Z] [2023-10-24T21:49:45.734Z] Login Succeeded [2023-10-24T21:49:45.996Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:49:46.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T21:49:46.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:49:46.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:49:46.088Z] ========================================================= [2023-10-24T21:49:46.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T21:49:46.088Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:49:46.401Z] + 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-10-24T21:49:46.401Z] Sending build context to Docker daemon 10.91MB [2023-10-24T21:49:46.401Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:49:46.401Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T21:49:46.401Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T21:49:46.401Z] 7264a8db6415: Pulling fs layer [2023-10-24T21:49:46.401Z] c4d48a809fc2: Pulling fs layer [2023-10-24T21:49:46.401Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T21:49:46.401Z] ad3a456e5733: Pulling fs layer [2023-10-24T21:49:46.401Z] 33e27b845d1e: Pulling fs layer [2023-10-24T21:49:46.401Z] c68163c4e522: Pulling fs layer [2023-10-24T21:49:46.401Z] 50da416c3ac9: Pulling fs layer [2023-10-24T21:49:46.401Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T21:49:46.401Z] ad3a456e5733: Waiting [2023-10-24T21:49:46.401Z] 23d2d4c4bb30: Waiting [2023-10-24T21:49:46.401Z] c68163c4e522: Waiting [2023-10-24T21:49:46.401Z] c4d48a809fc2: Verifying Checksum [2023-10-24T21:49:46.401Z] c4d48a809fc2: Download complete [2023-10-24T21:49:46.401Z] ad3a456e5733: Download complete [2023-10-24T21:49:46.401Z] 33e27b845d1e: Verifying Checksum [2023-10-24T21:49:46.401Z] 33e27b845d1e: Download complete [2023-10-24T21:49:46.663Z] 7264a8db6415: Verifying Checksum [2023-10-24T21:49:46.663Z] 7264a8db6415: Download complete [2023-10-24T21:49:46.664Z] c68163c4e522: Verifying Checksum [2023-10-24T21:49:46.664Z] c68163c4e522: Download complete [2023-10-24T21:49:46.664Z] 7264a8db6415: Pull complete [2023-10-24T21:49:46.925Z] c4d48a809fc2: Pull complete [2023-10-24T21:49:46.925Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T21:49:46.925Z] 23d2d4c4bb30: Download complete [2023-10-24T21:49:47.186Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T21:49:47.186Z] 4f1c88b9dad5: Download complete [2023-10-24T21:49:47.445Z] 50da416c3ac9: Verifying Checksum [2023-10-24T21:49:47.445Z] 50da416c3ac9: Download complete [2023-10-24T21:49:50.733Z] 4f1c88b9dad5: Pull complete [2023-10-24T21:49:50.733Z] ad3a456e5733: Pull complete [2023-10-24T21:49:50.733Z] 33e27b845d1e: Pull complete [2023-10-24T21:49:50.733Z] c68163c4e522: Pull complete [2023-10-24T21:49:53.265Z] 50da416c3ac9: Pull complete [2023-10-24T21:49:53.834Z] 23d2d4c4bb30: Pull complete [2023-10-24T21:49:53.834Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T21:49:53.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T21:49:53.834Z] ---> 0786185ac409 [2023-10-24T21:49:53.834Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:49:58.030Z] ---> Running in 073d02504c85 [2023-10-24T21:49:58.030Z] Removing intermediate container 073d02504c85 [2023-10-24T21:49:58.030Z] ---> 7a7d04b6ee0a [2023-10-24T21:49:58.030Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:49:58.030Z] ---> Running in 41179f90c785 [2023-10-24T21:49:58.030Z] Removing intermediate container 41179f90c785 [2023-10-24T21:49:58.030Z] ---> 3191ba34fa4c [2023-10-24T21:49:58.030Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T21:49:58.030Z] ---> Running in 053312b73b26 [2023-10-24T21:49:58.030Z] Removing intermediate container 053312b73b26 [2023-10-24T21:49:58.030Z] ---> 17ee96390e36 [2023-10-24T21:49:58.030Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T21:49:58.030Z] ---> Running in 415727ce70d1 [2023-10-24T21:49:58.030Z] Removing intermediate container 415727ce70d1 [2023-10-24T21:49:58.030Z] ---> 05cd784730e1 [2023-10-24T21:49:58.030Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T21:49:58.030Z] ---> Running in d86c7efbab50 [2023-10-24T21:49:58.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:49:58.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:49:58.288Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T21:49:58.288Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T21:49:58.288Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T21:49:58.547Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T21:49:58.547Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:49:58.547Z] OK: 268 MiB in 56 packages [2023-10-24T21:49:59.115Z] Removing intermediate container d86c7efbab50 [2023-10-24T21:49:59.115Z] ---> 9e14572d68d6 [2023-10-24T21:49:59.115Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T21:49:59.115Z] ---> Running in 89a5f0444f45 [2023-10-24T21:49:59.115Z] Removing intermediate container 89a5f0444f45 [2023-10-24T21:49:59.115Z] ---> cddf4aa6a7c0 [2023-10-24T21:49:59.115Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T21:49:59.374Z] ---> ef46ead7c145 [2023-10-24T21:49:59.374Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:49:59.374Z] ---> Running in 72b41e79bc42 [2023-10-24T21:49:59.854Z] Still waiting to schedule task [2023-10-24T21:49:59.855Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T21:50:55.642Z] Removing intermediate container 72b41e79bc42 [2023-10-24T21:50:55.642Z] ---> 2b115ec11d3f [2023-10-24T21:50:55.642Z] Step 11/12 : COPY . . [2023-10-24T21:50:55.642Z] ---> fe4e4175e3b4 [2023-10-24T21:50:55.642Z] Step 12/12 : RUN $MAKE [2023-10-24T21:50:55.642Z] ---> Running in 86fda4374792 [2023-10-24T21:50:55.642Z] noop [2023-10-24T21:50:55.642Z] Removing intermediate container 86fda4374792 [2023-10-24T21:50:55.642Z] ---> ac7e2babe971 [2023-10-24T21:50:55.642Z] Successfully built ac7e2babe971 [2023-10-24T21:50:55.642Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:50:55.953Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T21:50:55.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:50:56.020Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T21:50:56.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T21:50:56.392Z] $ docker top e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:50:56.724Z] + go version [2023-10-24T21:50:56.724Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T21:50:56.744Z] $ docker stop --time=1 e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 [2023-10-24T21:50:58.072Z] $ docker rm -f --volumes e8e420a647b2e79d4d491e5f918367c51397a327bd1d26e8dfd227998cf905c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:50:58.468Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T21:50:58.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:50:58.540Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T21:50:58.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T21:50:58.902Z] $ docker top f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:50:59.231Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T21:50:59.521Z] + make test [2023-10-24T21:50:59.522Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T21:51:00.895Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T21:51:13.087Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T21:51:13.087Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-10-24T21:51:18.349Z] go vet ./... [2023-10-24T21:51:21.626Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T21:51:21.626Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T21:51:21.626Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T21:51:21.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T21:51:21.657Z] $ docker stop --time=1 f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 [2023-10-24T21:51:24.362Z] $ docker rm -f --volumes f776da257aa68d21ca36c2ca50355b0f031a053ff341eedf7a1f6eee5c7653d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T21:51:24.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T21:51:24.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T21:51:25.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T21:51:25.759Z] + ls -al . [2023-10-24T21:51:25.759Z] total 184 [2023-10-24T21:51:25.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:50 . [2023-10-24T21:51:25.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:49 .. [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:49 .dockerignore [2023-10-24T21:51:25.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:51 .git [2023-10-24T21:51:25.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:49 .github [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:49 .gitignore [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:49 .golangci.yml [2023-10-24T21:51:25.759Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:49 .semver [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:49 Attribution.txt [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:49 CHANGELOG.md [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:49 Dockerfile [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:49 GOVERNANCE.md [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:49 Jenkinsfile [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:49 LICENSE [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:49 Makefile [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:49 OWNERS.md [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:49 README.md [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:49 VERSION [2023-10-24T21:51:25.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:49 bin [2023-10-24T21:51:25.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:49 cmd [2023-10-24T21:51:25.759Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:51 coverage.out [2023-10-24T21:51:25.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:49 driver [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:49 go.mod [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:49 go.sum [2023-10-24T21:51:25.759Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:26.069Z] + 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea --label arch=amd64 --label version=3.1.0-dev.25 . [2023-10-24T21:51:26.069Z] Sending build context to Docker daemon 10.93MB [2023-10-24T21:51:26.069Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:51:26.069Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T21:51:26.069Z] ---> ac7e2babe971 [2023-10-24T21:51:26.069Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:51:26.329Z] ---> Running in 1b1594bda7ad [2023-10-24T21:51:26.329Z] Removing intermediate container 1b1594bda7ad [2023-10-24T21:51:26.329Z] ---> 4515dec6622f [2023-10-24T21:51:26.329Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:51:26.329Z] ---> Running in 3b4c01147a45 [2023-10-24T21:51:26.329Z] Removing intermediate container 3b4c01147a45 [2023-10-24T21:51:26.329Z] ---> a0696df19776 [2023-10-24T21:51:26.329Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T21:51:26.329Z] ---> Running in 39ef01f65f4e [2023-10-24T21:51:26.587Z] Removing intermediate container 39ef01f65f4e [2023-10-24T21:51:26.587Z] ---> 0fed9e9233d8 [2023-10-24T21:51:26.587Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T21:51:26.587Z] ---> Running in dce6f80f9a5e [2023-10-24T21:51:26.587Z] Removing intermediate container dce6f80f9a5e [2023-10-24T21:51:26.587Z] ---> b020d0223708 [2023-10-24T21:51:26.587Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T21:51:26.587Z] ---> Running in 2d06e84c23c3 [2023-10-24T21:51:26.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:51:27.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:51:27.363Z] OK: 268 MiB in 56 packages [2023-10-24T21:51:27.622Z] Removing intermediate container 2d06e84c23c3 [2023-10-24T21:51:27.622Z] ---> 6c176604e3d9 [2023-10-24T21:51:27.622Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T21:51:27.622Z] ---> Running in d82ed2665fc0 [2023-10-24T21:51:27.622Z] Removing intermediate container d82ed2665fc0 [2023-10-24T21:51:27.622Z] ---> c986548760a5 [2023-10-24T21:51:27.622Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T21:51:27.879Z] ---> eaeae77bc09f [2023-10-24T21:51:27.879Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:51:27.879Z] ---> Running in 9196b5caf3af [2023-10-24T21:51:28.446Z] Removing intermediate container 9196b5caf3af [2023-10-24T21:51:28.446Z] ---> 50f90c8dc68b [2023-10-24T21:51:28.446Z] Step 11/25 : COPY . . [2023-10-24T21:51:29.010Z] ---> 7e35e314f38c [2023-10-24T21:51:29.010Z] Step 12/25 : RUN $MAKE [2023-10-24T21:51:29.010Z] ---> Running in a5d50a3956f3 [2023-10-24T21:51:29.267Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T21:51:47.339Z] Removing intermediate container a5d50a3956f3 [2023-10-24T21:51:47.339Z] ---> 2519e113a6ec [2023-10-24T21:51:47.339Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T21:51:47.597Z] 3.18: Pulling from library/alpine [2023-10-24T21:51:47.856Z] 96526aa774ef: Pulling fs layer [2023-10-24T21:51:48.165Z] 96526aa774ef: Download complete [2023-10-24T21:51:48.165Z] 96526aa774ef: Pull complete [2023-10-24T21:51:48.165Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T21:51:48.165Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T21:51:48.165Z] ---> 8ca4688f4f35 [2023-10-24T21:51:48.165Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T21:51:48.424Z] ---> Running in f89abf21ac0b [2023-10-24T21:51:48.424Z] Removing intermediate container f89abf21ac0b [2023-10-24T21:51:48.424Z] ---> 483d8d0d800e [2023-10-24T21:51:48.424Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T21:51:48.424Z] ---> Running in 348ff01bd0fa [2023-10-24T21:51:48.424Z] Removing intermediate container 348ff01bd0fa [2023-10-24T21:51:48.424Z] ---> f2cc6f903aee [2023-10-24T21:51:48.424Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T21:51:48.424Z] ---> Running in b43fa61e940f [2023-10-24T21:51:48.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:51:48.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:51:49.202Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T21:51:49.202Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:51:49.202Z] OK: 7 MiB in 16 packages [2023-10-24T21:51:49.460Z] Removing intermediate container b43fa61e940f [2023-10-24T21:51:49.460Z] ---> 792e34e76960 [2023-10-24T21:51:49.460Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T21:51:50.026Z] ---> e3e6db9f44da [2023-10-24T21:51:50.026Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T21:51:50.284Z] ---> 200b3283e210 [2023-10-24T21:51:50.284Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T21:51:50.284Z] ---> e42832198be0 [2023-10-24T21:51:50.284Z] Step 20/25 : EXPOSE 59986 [2023-10-24T21:51:50.284Z] ---> Running in 9f5621ec567b [2023-10-24T21:51:50.559Z] Removing intermediate container 9f5621ec567b [2023-10-24T21:51:50.559Z] ---> 6d77f8deb13d [2023-10-24T21:51:50.559Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T21:51:50.559Z] ---> Running in fdc4a8a46a20 [2023-10-24T21:51:50.559Z] Removing intermediate container fdc4a8a46a20 [2023-10-24T21:51:50.559Z] ---> 6dbbd3d67c83 [2023-10-24T21:51:50.559Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T21:51:50.560Z] ---> Running in 56e0f4931fd5 [2023-10-24T21:51:50.560Z] Removing intermediate container 56e0f4931fd5 [2023-10-24T21:51:50.560Z] ---> 6aec076d990f [2023-10-24T21:51:50.560Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T21:51:50.818Z] ---> Running in af350ee178f6 [2023-10-24T21:51:50.818Z] Removing intermediate container af350ee178f6 [2023-10-24T21:51:50.818Z] ---> 1652ad0a8016 [2023-10-24T21:51:50.818Z] Step 24/25 : LABEL git_sha=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T21:51:50.818Z] ---> Running in 32e6823fca95 [2023-10-24T21:51:50.818Z] Removing intermediate container 32e6823fca95 [2023-10-24T21:51:50.818Z] ---> ee36dc5022d7 [2023-10-24T21:51:50.818Z] Step 25/25 : LABEL version=3.1.0-dev.25 [2023-10-24T21:51:50.818Z] ---> Running in 5f6bd5695adb [2023-10-24T21:51:51.078Z] Removing intermediate container 5f6bd5695adb [2023-10-24T21:51:51.078Z] ---> 14d14048f021 [2023-10-24T21:51:51.078Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T21:51:51.078Z] Successfully built 14d14048f021 [2023-10-24T21:51:51.078Z] 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-10-24T21:51:51.174Z] provisioning config files... [2023-10-24T21:51:51.181Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4327006368656852261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:51:51.481Z] ---> docker-login.sh [2023-10-24T21:51:51.481Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:51:51.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:51:51.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:51:51.481Z] Configure a credential helper to remove this warning. See [2023-10-24T21:51:51.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:51:51.481Z] [2023-10-24T21:51:51.481Z] Login Succeeded [2023-10-24T21:51:51.481Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:51:51.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:51:51.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:51:51.481Z] Configure a credential helper to remove this warning. See [2023-10-24T21:51:51.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:51:51.481Z] [2023-10-24T21:51:51.481Z] Login Succeeded [2023-10-24T21:51:51.481Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:51:51.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:51:51.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:51:51.740Z] Configure a credential helper to remove this warning. See [2023-10-24T21:51:51.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:51:51.740Z] [2023-10-24T21:51:51.740Z] Login Succeeded [2023-10-24T21:51:51.740Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:51:51.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:51:51.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:51:51.740Z] Configure a credential helper to remove this warning. See [2023-10-24T21:51:51.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:51:51.740Z] [2023-10-24T21:51:51.740Z] Login Succeeded [2023-10-24T21:51:51.740Z] docker.io [2023-10-24T21:51:51.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:51:52.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:51:52.002Z] Configure a credential helper to remove this warning. See [2023-10-24T21:51:52.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:51:52.002Z] [2023-10-24T21:51:52.002Z] Login Succeeded [2023-10-24T21:51:52.002Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:51:52.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T21:51:52.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:51:52.049Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-24T21:51:52.049Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T21:51:52.049Z] latest [2023-10-24T21:51:52.049Z] 3.1.0-dev.25 [2023-10-24T21:51:52.049Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T21:51:52.049Z] main [2023-10-24T21:51:52.049Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:52.377Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:52.702Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T21:51:52.702Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T21:51:52.702Z] ab873797a824: Preparing [2023-10-24T21:51:52.703Z] f13d25a94164: Preparing [2023-10-24T21:51:52.703Z] 55e3373ccb3d: Preparing [2023-10-24T21:51:52.703Z] 021a9dc4dd28: Preparing [2023-10-24T21:51:52.703Z] cc2447e1835a: Preparing [2023-10-24T21:51:52.703Z] cc2447e1835a: Layer already exists [2023-10-24T21:51:52.703Z] ab873797a824: Pushed [2023-10-24T21:51:52.703Z] 021a9dc4dd28: Pushed [2023-10-24T21:51:52.703Z] f13d25a94164: Pushed [2023-10-24T21:51:55.996Z] 55e3373ccb3d: Pushed [2023-10-24T21:51:55.996Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:56.308Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:56.613Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T21:51:56.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T21:51:56.613Z] ab873797a824: Preparing [2023-10-24T21:51:56.613Z] f13d25a94164: Preparing [2023-10-24T21:51:56.613Z] 55e3373ccb3d: Preparing [2023-10-24T21:51:56.613Z] 021a9dc4dd28: Preparing [2023-10-24T21:51:56.613Z] cc2447e1835a: Preparing [2023-10-24T21:51:56.613Z] cc2447e1835a: Layer already exists [2023-10-24T21:51:56.613Z] ab873797a824: Layer already exists [2023-10-24T21:51:56.613Z] 021a9dc4dd28: Layer already exists [2023-10-24T21:51:56.613Z] 55e3373ccb3d: Layer already exists [2023-10-24T21:51:56.613Z] f13d25a94164: Layer already exists [2023-10-24T21:51:56.613Z] latest: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:56.923Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:57.228Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 [2023-10-24T21:51:57.228Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T21:51:57.228Z] ab873797a824: Preparing [2023-10-24T21:51:57.228Z] f13d25a94164: Preparing [2023-10-24T21:51:57.228Z] 55e3373ccb3d: Preparing [2023-10-24T21:51:57.228Z] 021a9dc4dd28: Preparing [2023-10-24T21:51:57.228Z] cc2447e1835a: Preparing [2023-10-24T21:51:57.228Z] f13d25a94164: Layer already exists [2023-10-24T21:51:57.228Z] cc2447e1835a: Layer already exists [2023-10-24T21:51:57.228Z] ab873797a824: Layer already exists [2023-10-24T21:51:57.228Z] 55e3373ccb3d: Layer already exists [2023-10-24T21:51:57.228Z] 021a9dc4dd28: Layer already exists [2023-10-24T21:51:57.228Z] 3.1.0-dev.25: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:57.541Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:57.862Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T21:51:57.863Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T21:51:57.863Z] ab873797a824: Preparing [2023-10-24T21:51:57.863Z] f13d25a94164: Preparing [2023-10-24T21:51:57.863Z] 55e3373ccb3d: Preparing [2023-10-24T21:51:57.863Z] 021a9dc4dd28: Preparing [2023-10-24T21:51:57.863Z] cc2447e1835a: Preparing [2023-10-24T21:51:57.863Z] 55e3373ccb3d: Layer already exists [2023-10-24T21:51:57.863Z] ab873797a824: Layer already exists [2023-10-24T21:51:57.863Z] cc2447e1835a: Layer already exists [2023-10-24T21:51:57.863Z] 021a9dc4dd28: Layer already exists [2023-10-24T21:51:57.863Z] f13d25a94164: Layer already exists [2023-10-24T21:51:57.863Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:58.181Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:58.499Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-24T21:51:58.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T21:51:58.499Z] ab873797a824: Preparing [2023-10-24T21:51:58.499Z] f13d25a94164: Preparing [2023-10-24T21:51:58.499Z] 55e3373ccb3d: Preparing [2023-10-24T21:51:58.499Z] 021a9dc4dd28: Preparing [2023-10-24T21:51:58.499Z] cc2447e1835a: Preparing [2023-10-24T21:51:58.499Z] f13d25a94164: Layer already exists [2023-10-24T21:51:58.499Z] cc2447e1835a: Layer already exists [2023-10-24T21:51:58.499Z] 021a9dc4dd28: Layer already exists [2023-10-24T21:51:58.499Z] 55e3373ccb3d: Layer already exists [2023-10-24T21:51:58.499Z] ab873797a824: Layer already exists [2023-10-24T21:51:58.499Z] main: digest: sha256:3c9fe18585682254ef832c9fd1008622d0a2c26fe526c728fdd6882b1c4eeb69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T21:51:58.535Z] ===================================================== [Pipeline] echo [2023-10-24T21:51:58.541Z] taggedImages: [2023-10-24T21:51:58.541Z] - nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T21:51:58.541Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T21:51:58.541Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.25 [2023-10-24T21:51:58.541Z] - nexus3.edgexfoundry.org:10004/device-rest:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T21:51:58.541Z] - 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-10-24T21:51:58.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:51:58.903Z] [2023-10-24T21:51:58.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:51:59.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:51:59.210Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T21:51:59.210Z] 5eb5b503b376: Pulling fs layer [2023-10-24T21:51:59.210Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T21:51:59.210Z] ec43610c2a17: Pulling fs layer [2023-10-24T21:51:59.210Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T21:51:59.210Z] 33b1e0a273af: Pulling fs layer [2023-10-24T21:51:59.210Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T21:51:59.210Z] 2f39f015ded8: Pulling fs layer [2023-10-24T21:51:59.210Z] 33b1e0a273af: Waiting [2023-10-24T21:51:59.210Z] 5d3b04190fa2: Waiting [2023-10-24T21:51:59.210Z] 2f39f015ded8: Waiting [2023-10-24T21:51:59.210Z] 3a2ae6a8a46f: Waiting [2023-10-24T21:51:59.210Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T21:51:59.210Z] 5c69ac0246d0: Download complete [2023-10-24T21:51:59.210Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T21:51:59.210Z] 3a2ae6a8a46f: Download complete [2023-10-24T21:51:59.210Z] ec43610c2a17: Verifying Checksum [2023-10-24T21:51:59.210Z] ec43610c2a17: Download complete [2023-10-24T21:51:59.210Z] 33b1e0a273af: Verifying Checksum [2023-10-24T21:51:59.210Z] 33b1e0a273af: Download complete [2023-10-24T21:51:59.478Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T21:51:59.478Z] 5d3b04190fa2: Download complete [2023-10-24T21:51:59.478Z] 5eb5b503b376: Verifying Checksum [2023-10-24T21:51:59.478Z] 5eb5b503b376: Download complete [2023-10-24T21:52:00.412Z] 2f39f015ded8: Download complete [2023-10-24T21:52:00.670Z] 5eb5b503b376: Pull complete [2023-10-24T21:52:00.670Z] 5c69ac0246d0: Pull complete [2023-10-24T21:52:01.236Z] ec43610c2a17: Pull complete [2023-10-24T21:52:01.236Z] 3a2ae6a8a46f: Pull complete [2023-10-24T21:52:01.494Z] 33b1e0a273af: Pull complete [2023-10-24T21:52:01.494Z] 5d3b04190fa2: Pull complete [2023-10-24T21:52:05.675Z] 2f39f015ded8: Pull complete [2023-10-24T21:52:05.675Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T21:52:05.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:52:05.675Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:52:05.758Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T21:52:05.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T21:52:07.955Z] $ docker top 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:52:08.310Z] ---> job-cost.sh [2023-10-24T21:52:08.310Z] lf-activate-venv: SKIPPING [2023-10-24T21:52:08.310Z] INFO: No Stack... [2023-10-24T21:52:08.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T21:52:09.135Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T21:52:09.425Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-10-24T21:52:09.425Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T21:52:09.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [2023-10-24T21:52:09.444Z] Resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] did not exist. Created. [2023-10-24T21:52:09.444Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T21:52:09.741Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T21:52:09.769Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T21:52:09.775Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T21:52:09.804Z] $ docker stop --time=1 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 [2023-10-24T21:52:10.964Z] $ docker rm -f --volumes 3c474f1bca4bef2ff3d6de3a883b361018b28de62bef3928bf9536cfaf952cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T21:53:15.003Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10301 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-24T21:53:15.016Z] Running in /w/workspace/device-rest-go/145 [Pipeline] { [Pipeline] checkout [2023-10-24T21:53:15.052Z] The recommended git tool is: git [2023-10-24T21:53:21.654Z] using credential edgex-jenkins-ssh [2023-10-24T21:53:21.672Z] Cloning the remote Git repository [2023-10-24T21:53:21.732Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T21:53:21.844Z] > git init /w/workspace/device-rest-go/145 # timeout=10 [2023-10-24T21:53:22.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T21:53:22.040Z] > git --version # timeout=10 [2023-10-24T21:53:22.067Z] > git --version # 'git version 2.25.1' [2023-10-24T21:53:22.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T21:53:22.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T21:53:24.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T21:53:24.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T21:53:25.549Z] Avoid second fetch [2023-10-24T21:53:25.550Z] Checking out Revision 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea (main) [2023-10-24T21:53:26.197Z] Commit message: "refactor: Remove obsolete comments from config file (#355)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T21:53:25.575Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T21:53:25.660Z] > git checkout -f 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 [2023-10-24T21:53:27.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T21:53:27.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T21:53:27.091Z] Dload Upload Total Spent Left Speed [2023-10-24T21:53:27.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-10-24T21:53:27.778Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T21:53:28.116Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T21:53:28.116Z] + sudo tee /etc/docker/daemon.new [2023-10-24T21:53:28.116Z] { [2023-10-24T21:53:28.116Z] "registry-mirrors": [ [2023-10-24T21:53:28.116Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T21:53:28.116Z] ], [2023-10-24T21:53:28.116Z] "bip": "10.250.0.254/24", [2023-10-24T21:53:28.116Z] "hosts": [ [2023-10-24T21:53:28.116Z] "tcp://0.0.0.0:5555", [2023-10-24T21:53:28.116Z] "unix:///var/run/docker.sock" [2023-10-24T21:53:28.116Z] ], [2023-10-24T21:53:28.116Z] "mtu": 1458, [2023-10-24T21:53:28.116Z] "selinux-enabled": true, [2023-10-24T21:53:28.116Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T21:53:28.116Z] } [Pipeline] sh [2023-10-24T21:53:28.447Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T21:53:28.778Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T21:53:47.191Z] provisioning config files... [2023-10-24T21:53:47.218Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/145@tmp/config18263790837077503998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:53:47.579Z] ---> docker-login.sh [2023-10-24T21:53:47.579Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:53:48.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:48.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:48.170Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:48.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:48.170Z] [2023-10-24T21:53:48.170Z] Login Succeeded [2023-10-24T21:53:48.170Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:53:48.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:48.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:48.715Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:48.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:48.715Z] [2023-10-24T21:53:48.715Z] Login Succeeded [2023-10-24T21:53:48.715Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:53:48.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:48.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:48.984Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:48.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:48.984Z] [2023-10-24T21:53:48.984Z] Login Succeeded [2023-10-24T21:53:48.984Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:53:49.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:49.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:49.252Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:49.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:49.252Z] [2023-10-24T21:53:49.252Z] Login Succeeded [2023-10-24T21:53:49.252Z] docker.io [2023-10-24T21:53:49.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:49.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:49.787Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:49.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:49.787Z] [2023-10-24T21:53:49.787Z] Login Succeeded [2023-10-24T21:53:49.787Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:53:49.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T21:53:50.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:53:50.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:53:50.090Z] ========================================================= [2023-10-24T21:53:50.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T21:53:50.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:53:50.434Z] + 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-10-24T21:53:50.434Z] Sending build context to Docker daemon 121.9kB [2023-10-24T21:53:50.703Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:53:50.703Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T21:53:50.971Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T21:53:50.971Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T21:53:50.971Z] 5d54e960e981: Pulling fs layer [2023-10-24T21:53:50.971Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T21:53:50.971Z] f0e02332f6b5: Pulling fs layer [2023-10-24T21:53:50.971Z] cefa15bbcfad: Pulling fs layer [2023-10-24T21:53:50.971Z] 17808c966233: Pulling fs layer [2023-10-24T21:53:50.971Z] f4c1fc716caa: Pulling fs layer [2023-10-24T21:53:50.971Z] f0e02332f6b5: Waiting [2023-10-24T21:53:50.971Z] cefa15bbcfad: Waiting [2023-10-24T21:53:50.971Z] 17808c966233: Waiting [2023-10-24T21:53:50.971Z] f4c1fc716caa: Waiting [2023-10-24T21:53:50.971Z] 5d54e960e981: Verifying Checksum [2023-10-24T21:53:50.971Z] 5d54e960e981: Download complete [2023-10-24T21:53:50.971Z] f0e02332f6b5: Verifying Checksum [2023-10-24T21:53:50.971Z] f0e02332f6b5: Download complete [2023-10-24T21:53:50.971Z] cefa15bbcfad: Verifying Checksum [2023-10-24T21:53:50.971Z] cefa15bbcfad: Download complete [2023-10-24T21:53:50.971Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T21:53:50.971Z] 9fda8d8052c6: Download complete [2023-10-24T21:53:51.561Z] f4c1fc716caa: Verifying Checksum [2023-10-24T21:53:51.561Z] f4c1fc716caa: Download complete [2023-10-24T21:53:51.834Z] 9fda8d8052c6: Pull complete [2023-10-24T21:53:52.423Z] 5d54e960e981: Pull complete [2023-10-24T21:53:52.692Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T21:53:52.692Z] c4a7e357bf2a: Download complete [2023-10-24T21:53:53.655Z] 17808c966233: Verifying Checksum [2023-10-24T21:53:53.655Z] 17808c966233: Download complete [2023-10-24T21:54:06.003Z] c4a7e357bf2a: Pull complete [2023-10-24T21:54:06.003Z] f0e02332f6b5: Pull complete [2023-10-24T21:54:06.277Z] cefa15bbcfad: Pull complete [2023-10-24T21:54:16.519Z] 17808c966233: Pull complete [2023-10-24T21:54:17.513Z] f4c1fc716caa: Pull complete [2023-10-24T21:54:17.513Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T21:54:17.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T21:54:17.513Z] ---> ea914061e18c [2023-10-24T21:54:17.513Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:54:19.465Z] ---> Running in 8f94394100fb [2023-10-24T21:54:19.733Z] Removing intermediate container 8f94394100fb [2023-10-24T21:54:19.733Z] ---> ed3f6e0ad455 [2023-10-24T21:54:19.733Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:54:19.733Z] ---> Running in 9f29e116e829 [2023-10-24T21:54:20.328Z] Removing intermediate container 9f29e116e829 [2023-10-24T21:54:20.328Z] ---> c2d09ca9ea71 [2023-10-24T21:54:20.328Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T21:54:20.328Z] ---> Running in 426a95c359b5 [2023-10-24T21:54:20.600Z] Removing intermediate container 426a95c359b5 [2023-10-24T21:54:20.600Z] ---> 78826f5341ef [2023-10-24T21:54:20.600Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T21:54:20.869Z] ---> Running in 1535619340c5 [2023-10-24T21:54:21.140Z] Removing intermediate container 1535619340c5 [2023-10-24T21:54:21.140Z] ---> fa8ba5a28a70 [2023-10-24T21:54:21.140Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T21:54:21.140Z] ---> Running in 0b1b041b2998 [2023-10-24T21:54:22.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T21:54:22.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T21:54:24.255Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T21:54:24.255Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T21:54:24.255Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T21:54:24.255Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T21:54:24.255Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:54:24.255Z] OK: 270 MiB in 56 packages [2023-10-24T21:54:25.244Z] Removing intermediate container 0b1b041b2998 [2023-10-24T21:54:25.244Z] ---> 63a91750de0a [2023-10-24T21:54:25.244Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T21:54:25.514Z] ---> Running in 2e90f21c4845 [2023-10-24T21:54:25.783Z] Removing intermediate container 2e90f21c4845 [2023-10-24T21:54:25.783Z] ---> 0757d0e68f46 [2023-10-24T21:54:25.783Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T21:54:26.370Z] ---> 9a64d3fc5f7e [2023-10-24T21:54:26.370Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:54:26.637Z] ---> Running in 86ced17a18b2 [2023-10-24T21:56:03.546Z] Removing intermediate container 86ced17a18b2 [2023-10-24T21:56:03.546Z] ---> 64190f043e12 [2023-10-24T21:56:03.546Z] Step 11/12 : COPY . . [2023-10-24T21:56:03.546Z] ---> c143e7c24759 [2023-10-24T21:56:03.546Z] Step 12/12 : RUN $MAKE [2023-10-24T21:56:03.546Z] ---> Running in 88f7f873db68 [2023-10-24T21:56:03.546Z] noop [2023-10-24T21:56:03.812Z] Removing intermediate container 88f7f873db68 [2023-10-24T21:56:03.812Z] ---> d1d8d760c9f6 [2023-10-24T21:56:03.812Z] Successfully built d1d8d760c9f6 [2023-10-24T21:56:03.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:56:04.162Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T21:56:04.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:56:04.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container [2023-10-24T21:56:04.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T21:56:05.942Z] $ docker top 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:56:06.836Z] + go version [2023-10-24T21:56:06.836Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T21:56:06.865Z] $ docker stop --time=1 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 [2023-10-24T21:56:08.591Z] $ docker rm -f --volumes 0c147f7f0e68e191f17d11512b8e9e4a254cc6971b441957a24e492290862ef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:56:09.179Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T21:56:09.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:56:09.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container [2023-10-24T21:56:09.500Z] $ 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/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T21:56:12.530Z] $ docker top ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:56:13.417Z] + git config --global --add safe.directory /w/workspace/device-rest-go/145 [Pipeline] fileExists [Pipeline] sh [2023-10-24T21:56:14.079Z] + make test [2023-10-24T21:56:14.079Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T21:56:19.440Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T21:58:41.239Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T21:58:41.239Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 33.2% of statements [2023-10-24T21:58:41.239Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T21:58:41.239Z] go vet ./... [2023-10-24T21:59:03.516Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T21:59:03.516Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T21:59:03.516Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T21:59:04.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T21:59:04.132Z] $ docker stop --time=1 ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f [2023-10-24T21:59:06.139Z] $ docker rm -f --volumes ee433295fed6fae63c0932aaa6fa4676dc73c41decfeee94daa8d8c9638b768f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T21:59:07.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T21:59:07.440Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T21:59:07.981Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T21:59:08.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T21:59:08.779Z] + ls -al . [2023-10-24T21:59:08.779Z] total 180 [2023-10-24T21:59:08.779Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 21:56 . [2023-10-24T21:59:08.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:53 .. [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:53 .dockerignore [2023-10-24T21:59:08.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:53 .git [2023-10-24T21:59:08.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 .github [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:53 .gitignore [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:53 .golangci.yml [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:53 Attribution.txt [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:53 CHANGELOG.md [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:53 Dockerfile [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:53 GOVERNANCE.md [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:53 Jenkinsfile [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:53 LICENSE [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:53 Makefile [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:53 OWNERS.md [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:53 README.md [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:49 VERSION [2023-10-24T21:59:08.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 bin [2023-10-24T21:59:08.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 cmd [2023-10-24T21:59:08.779Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:58 coverage.out [2023-10-24T21:59:08.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 driver [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:53 go.mod [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:53 go.sum [2023-10-24T21:59:08.779Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:59:09.133Z] + 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea --label arch=arm64 --label version=3.1.0-dev.25 . [2023-10-24T21:59:09.133Z] Sending build context to Docker daemon 137.2kB [2023-10-24T21:59:09.403Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:59:09.403Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T21:59:09.403Z] ---> d1d8d760c9f6 [2023-10-24T21:59:09.403Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:59:09.670Z] ---> Running in 68d94c0e18aa [2023-10-24T21:59:09.942Z] Removing intermediate container 68d94c0e18aa [2023-10-24T21:59:09.942Z] ---> db3746ab9241 [2023-10-24T21:59:09.942Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:59:10.213Z] ---> Running in 73801beb6d22 [2023-10-24T21:59:10.483Z] Removing intermediate container 73801beb6d22 [2023-10-24T21:59:10.483Z] ---> b4f05ff5c4ae [2023-10-24T21:59:10.483Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T21:59:10.483Z] ---> Running in 0042f69be5ed [2023-10-24T21:59:11.081Z] Removing intermediate container 0042f69be5ed [2023-10-24T21:59:11.081Z] ---> 42b6cda29026 [2023-10-24T21:59:11.081Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T21:59:11.081Z] ---> Running in baeac6e753ca [2023-10-24T21:59:11.350Z] Removing intermediate container baeac6e753ca [2023-10-24T21:59:11.350Z] ---> 680ba1bb96b2 [2023-10-24T21:59:11.350Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T21:59:11.621Z] ---> Running in bda1f07a4e55 [2023-10-24T21:59:12.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T21:59:14.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T21:59:15.475Z] OK: 270 MiB in 56 packages [2023-10-24T21:59:16.458Z] Removing intermediate container bda1f07a4e55 [2023-10-24T21:59:16.458Z] ---> d6890bfc4a34 [2023-10-24T21:59:16.458Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T21:59:16.458Z] ---> Running in f0455ff33f36 [2023-10-24T21:59:16.737Z] Removing intermediate container f0455ff33f36 [2023-10-24T21:59:16.737Z] ---> 683b10462e84 [2023-10-24T21:59:16.737Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T21:59:17.713Z] ---> 697a6f7223ec [2023-10-24T21:59:17.713Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:59:17.713Z] ---> Running in 0a2796ec9f27 [2023-10-24T21:59:20.306Z] Removing intermediate container 0a2796ec9f27 [2023-10-24T21:59:20.306Z] ---> e29ead8a73c6 [2023-10-24T21:59:20.306Z] Step 11/25 : COPY . . [2023-10-24T21:59:20.581Z] ---> 416608554767 [2023-10-24T21:59:20.581Z] Step 12/25 : RUN $MAKE [2023-10-24T21:59:20.852Z] ---> Running in 38be23816a03 [2023-10-24T21:59:21.817Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T22:01:43.561Z] Removing intermediate container 38be23816a03 [2023-10-24T22:01:43.561Z] ---> 4b162215fe32 [2023-10-24T22:01:43.561Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T22:01:43.561Z] 3.18: Pulling from library/alpine [2023-10-24T22:01:43.561Z] 579b34f0a95b: Pulling fs layer [2023-10-24T22:01:43.561Z] 579b34f0a95b: Download complete [2023-10-24T22:01:43.561Z] 579b34f0a95b: Pull complete [2023-10-24T22:01:43.561Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T22:01:43.561Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T22:01:43.561Z] ---> 3cc203321400 [2023-10-24T22:01:43.561Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T22:01:43.561Z] ---> Running in 8316e44867c8 [2023-10-24T22:01:43.561Z] Removing intermediate container 8316e44867c8 [2023-10-24T22:01:43.561Z] ---> 1c87552fd76e [2023-10-24T22:01:43.561Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T22:01:43.561Z] ---> Running in 876c01869e3e [2023-10-24T22:01:43.561Z] Removing intermediate container 876c01869e3e [2023-10-24T22:01:43.561Z] ---> 7df94cb6de58 [2023-10-24T22:01:43.561Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T22:01:43.561Z] ---> Running in 6d495bf0b887 [2023-10-24T22:01:43.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:01:43.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:01:43.561Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T22:01:43.562Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T22:01:43.562Z] OK: 8 MiB in 16 packages [2023-10-24T22:01:43.562Z] Removing intermediate container 6d495bf0b887 [2023-10-24T22:01:43.562Z] ---> 78b3185b5cb9 [2023-10-24T22:01:43.562Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T22:01:43.562Z] ---> 1b1530db1f29 [2023-10-24T22:01:43.562Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T22:01:43.562Z] ---> 8fbaa3ff9b5c [2023-10-24T22:01:43.562Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T22:01:43.562Z] ---> a959fa63ac85 [2023-10-24T22:01:43.562Z] Step 20/25 : EXPOSE 59986 [2023-10-24T22:01:43.562Z] ---> Running in 8e1d142276f5 [2023-10-24T22:01:43.562Z] Removing intermediate container 8e1d142276f5 [2023-10-24T22:01:43.562Z] ---> 7068be2831b1 [2023-10-24T22:01:43.562Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T22:01:43.562Z] ---> Running in 02554261ad66 [2023-10-24T22:01:43.562Z] Removing intermediate container 02554261ad66 [2023-10-24T22:01:43.562Z] ---> 7048c4ec80c7 [2023-10-24T22:01:43.562Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T22:01:43.562Z] ---> Running in ac68a9195f05 [2023-10-24T22:01:43.562Z] Removing intermediate container ac68a9195f05 [2023-10-24T22:01:43.562Z] ---> 349d6686be5a [2023-10-24T22:01:43.562Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T22:01:43.562Z] ---> Running in a00d284c040e [2023-10-24T22:01:43.562Z] Removing intermediate container a00d284c040e [2023-10-24T22:01:43.562Z] ---> fb25920a1566 [2023-10-24T22:01:43.562Z] Step 24/25 : LABEL git_sha=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T22:01:43.562Z] ---> Running in 3c22d2a535c8 [2023-10-24T22:01:43.562Z] Removing intermediate container 3c22d2a535c8 [2023-10-24T22:01:43.562Z] ---> 6fbb31b9c56d [2023-10-24T22:01:43.562Z] Step 25/25 : LABEL version=3.1.0-dev.25 [2023-10-24T22:01:43.562Z] ---> Running in 34d1c680c5dc [2023-10-24T22:01:43.562Z] Removing intermediate container 34d1c680c5dc [2023-10-24T22:01:43.562Z] ---> f4491454e3e2 [2023-10-24T22:01:43.562Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T22:01:43.562Z] Successfully built f4491454e3e2 [2023-10-24T22:01:43.562Z] 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-10-24T22:01:43.659Z] provisioning config files... [2023-10-24T22:01:43.675Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/145@tmp/config17379777644031669703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:01:44.031Z] ---> docker-login.sh [2023-10-24T22:01:44.031Z] nexus3.edgexfoundry.org:10001 [2023-10-24T22:01:44.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:01:44.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:01:44.300Z] Configure a credential helper to remove this warning. See [2023-10-24T22:01:44.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:01:44.300Z] [2023-10-24T22:01:44.300Z] Login Succeeded [2023-10-24T22:01:44.300Z] nexus3.edgexfoundry.org:10002 [2023-10-24T22:01:44.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:01:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:01:44.840Z] Configure a credential helper to remove this warning. See [2023-10-24T22:01:44.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:01:44.840Z] [2023-10-24T22:01:44.840Z] Login Succeeded [2023-10-24T22:01:44.840Z] nexus3.edgexfoundry.org:10003 [2023-10-24T22:01:45.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:01:45.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:01:45.380Z] Configure a credential helper to remove this warning. See [2023-10-24T22:01:45.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:01:45.380Z] [2023-10-24T22:01:45.380Z] Login Succeeded [2023-10-24T22:01:45.380Z] nexus3.edgexfoundry.org:10004 [2023-10-24T22:01:45.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:01:45.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:01:45.650Z] Configure a credential helper to remove this warning. See [2023-10-24T22:01:45.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:01:45.650Z] [2023-10-24T22:01:45.650Z] Login Succeeded [2023-10-24T22:01:45.921Z] docker.io [2023-10-24T22:01:46.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:01:46.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:01:46.460Z] Configure a credential helper to remove this warning. See [2023-10-24T22:01:46.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:01:46.460Z] [2023-10-24T22:01:46.460Z] Login Succeeded [2023-10-24T22:01:46.460Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T22:01:46.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T22:01:46.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:01:46.526Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-24T22:01:46.526Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T22:01:46.526Z] latest [2023-10-24T22:01:46.526Z] 3.1.0-dev.25 [2023-10-24T22:01:46.526Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T22:01:46.526Z] main [2023-10-24T22:01:46.526Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:46.885Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:47.249Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T22:01:47.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T22:01:47.250Z] f5255c01ef4d: Preparing [2023-10-24T22:01:47.250Z] 2e83a32d906a: Preparing [2023-10-24T22:01:47.250Z] 76d62e675c80: Preparing [2023-10-24T22:01:47.250Z] 6bf827035eca: Preparing [2023-10-24T22:01:47.250Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:01:47.518Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:01:47.518Z] f5255c01ef4d: Pushed [2023-10-24T22:01:47.518Z] 6bf827035eca: Pushed [2023-10-24T22:01:47.518Z] 2e83a32d906a: Pushed [2023-10-24T22:01:54.182Z] 76d62e675c80: Pushed [2023-10-24T22:01:54.182Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:54.540Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:54.897Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T22:01:54.897Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T22:01:54.897Z] f5255c01ef4d: Preparing [2023-10-24T22:01:54.897Z] 2e83a32d906a: Preparing [2023-10-24T22:01:54.897Z] 76d62e675c80: Preparing [2023-10-24T22:01:54.897Z] 6bf827035eca: Preparing [2023-10-24T22:01:54.897Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:01:54.897Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:01:54.897Z] 2e83a32d906a: Layer already exists [2023-10-24T22:01:54.897Z] 76d62e675c80: Layer already exists [2023-10-24T22:01:54.897Z] f5255c01ef4d: Layer already exists [2023-10-24T22:01:54.897Z] 6bf827035eca: Layer already exists [2023-10-24T22:01:55.169Z] latest: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:55.605Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:55.991Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 [2023-10-24T22:01:55.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T22:01:55.991Z] f5255c01ef4d: Preparing [2023-10-24T22:01:55.991Z] 2e83a32d906a: Preparing [2023-10-24T22:01:55.991Z] 76d62e675c80: Preparing [2023-10-24T22:01:55.991Z] 6bf827035eca: Preparing [2023-10-24T22:01:55.991Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:01:55.991Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:01:55.991Z] 2e83a32d906a: Layer already exists [2023-10-24T22:01:55.991Z] 6bf827035eca: Layer already exists [2023-10-24T22:01:55.991Z] 76d62e675c80: Layer already exists [2023-10-24T22:01:55.991Z] f5255c01ef4d: Layer already exists [2023-10-24T22:01:56.266Z] 3.1.0-dev.25: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:56.645Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:57.313Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T22:01:57.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T22:01:57.313Z] f5255c01ef4d: Preparing [2023-10-24T22:01:57.313Z] 2e83a32d906a: Preparing [2023-10-24T22:01:57.313Z] 76d62e675c80: Preparing [2023-10-24T22:01:57.313Z] 6bf827035eca: Preparing [2023-10-24T22:01:57.313Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:01:57.313Z] 2e83a32d906a: Layer already exists [2023-10-24T22:01:57.313Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:01:57.313Z] 76d62e675c80: Layer already exists [2023-10-24T22:01:57.313Z] f5255c01ef4d: Layer already exists [2023-10-24T22:01:57.313Z] 6bf827035eca: Layer already exists [2023-10-24T22:01:57.596Z] 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:57.962Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:58.314Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-24T22:01:58.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T22:01:58.314Z] f5255c01ef4d: Preparing [2023-10-24T22:01:58.314Z] 2e83a32d906a: Preparing [2023-10-24T22:01:58.314Z] 76d62e675c80: Preparing [2023-10-24T22:01:58.314Z] 6bf827035eca: Preparing [2023-10-24T22:01:58.314Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:01:58.314Z] 6bf827035eca: Layer already exists [2023-10-24T22:01:58.314Z] 76d62e675c80: Layer already exists [2023-10-24T22:01:58.314Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:01:58.314Z] 2e83a32d906a: Layer already exists [2023-10-24T22:01:58.314Z] f5255c01ef4d: Layer already exists [2023-10-24T22:01:58.582Z] main: digest: sha256:15d6b2ff818f91bd1637086c167ab46238a2112cfc5091e9dd01d1ff65aca814 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T22:01:58.626Z] ===================================================== [Pipeline] echo [2023-10-24T22:01:58.633Z] taggedImages: [2023-10-24T22:01:58.633Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [2023-10-24T22:01:58.633Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T22:01:58.633Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.25 [2023-10-24T22:01:58.633Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:71e268e2bbeb5f32b791e9fe51a95144d8b6bbea-3.1.0-dev.25 [2023-10-24T22:01:58.633Z] - 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-10-24T22:01:58.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:01:58.983Z] [2023-10-24T22:01:58.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:01:59.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:01:59.594Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T22:01:59.594Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T22:01:59.594Z] 04944245beec: Pulling fs layer [2023-10-24T22:01:59.594Z] 699f458cf7ca: Pulling fs layer [2023-10-24T22:01:59.594Z] 765212b225bb: Pulling fs layer [2023-10-24T22:01:59.594Z] f23df028b6ca: Pulling fs layer [2023-10-24T22:01:59.594Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T22:01:59.594Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T22:01:59.594Z] f23df028b6ca: Waiting [2023-10-24T22:01:59.594Z] 765212b225bb: Waiting [2023-10-24T22:01:59.594Z] d65c8cfc05b1: Waiting [2023-10-24T22:01:59.594Z] 2437ff75d9bd: Waiting [2023-10-24T22:01:59.594Z] 04944245beec: Verifying Checksum [2023-10-24T22:01:59.594Z] 04944245beec: Download complete [2023-10-24T22:01:59.594Z] 765212b225bb: Verifying Checksum [2023-10-24T22:01:59.594Z] 765212b225bb: Download complete [2023-10-24T22:01:59.594Z] f23df028b6ca: Verifying Checksum [2023-10-24T22:01:59.594Z] f23df028b6ca: Download complete [2023-10-24T22:01:59.594Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T22:01:59.594Z] d65c8cfc05b1: Download complete [2023-10-24T22:01:59.865Z] 699f458cf7ca: Verifying Checksum [2023-10-24T22:01:59.865Z] 699f458cf7ca: Download complete [2023-10-24T22:02:00.454Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T22:02:00.454Z] 8998bd30e6a1: Download complete [2023-10-24T22:02:03.047Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T22:02:03.047Z] 2437ff75d9bd: Download complete [2023-10-24T22:02:05.627Z] 8998bd30e6a1: Pull complete [2023-10-24T22:02:05.627Z] 04944245beec: Pull complete [2023-10-24T22:02:07.580Z] 699f458cf7ca: Pull complete [2023-10-24T22:02:07.851Z] 765212b225bb: Pull complete [2023-10-24T22:02:08.820Z] f23df028b6ca: Pull complete [2023-10-24T22:02:09.091Z] d65c8cfc05b1: Pull complete [2023-10-24T22:02:27.323Z] 2437ff75d9bd: Pull complete [2023-10-24T22:02:27.323Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T22:02:27.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:02:27.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:02:27.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-10301 does not seem to be running inside a container [2023-10-24T22:02:27.608Z] $ 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/145 -v /w/workspace/device-rest-go/145:/w/workspace/device-rest-go/145:rw,z -v /w/workspace/device-rest-go/145@tmp:/w/workspace/device-rest-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T22:02:30.852Z] $ docker top f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:02:31.709Z] ---> job-cost.sh [2023-10-24T22:02:31.710Z] lf-activate-venv: SKIPPING [2023-10-24T22:02:31.710Z] INFO: No Stack... [2023-10-24T22:02:32.297Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T22:02:33.265Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T22:02:33.919Z] + cat /w/workspace/device-rest-go/145/archives/cost.csv [2023-10-24T22:02:33.919Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T22:02:34.015Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [2023-10-24T22:02:34.021Z] Resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] did not exist. Created. [2023-10-24T22:02:34.021Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T22:02:38.760Z] /w/workspace/device-rest-go/145@tmp/durable-217faac5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T22:02:39.438Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T22:02:39.454Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T22:02:39.535Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T22:02:39.542Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T22:02:39.565Z] $ docker stop --time=1 f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 [2023-10-24T22:02:41.250Z] $ docker rm -f --volumes f44eaf388847b91558233e87ac53bdb8100e74bfeb0c7416bc5b8f6f2a194381 [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-10-24T22:02:41.687Z] provisioning config files... [2023-10-24T22:02:41.693Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13734424925783569808tmp [Pipeline] { [Pipeline] sh [2023-10-24T22:02:41.982Z] + set +x [2023-10-24T22:02:41.982Z] + curl -s https://codecov.io/bash [2023-10-24T22:02:41.982Z] + bash -s -- [2023-10-24T22:02:41.982Z] [2023-10-24T22:02:41.982Z] _____ _ [2023-10-24T22:02:41.982Z] / ____| | | [2023-10-24T22:02:41.982Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T22:02:41.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T22:02:41.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T22:02:41.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T22:02:41.982Z] Bash-1.0.6 [2023-10-24T22:02:41.982Z] [2023-10-24T22:02:41.982Z] [2023-10-24T22:02:41.982Z] ==> git version 2.25.1 found [2023-10-24T22:02:41.982Z] ==> 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-10-24T22:02:41.982Z] Release-Date: 2020-01-08 [2023-10-24T22:02:41.982Z] 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-10-24T22:02:41.982Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T22:02:41.982Z] ==> Jenkins CI detected. [2023-10-24T22:02:41.982Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T22:02:41.982Z] project root: . [2023-10-24T22:02:41.982Z] --> token set from env [2023-10-24T22:02:41.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T22:02:41.982Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T22:02:41.982Z] ==> Python coveragepy not found [2023-10-24T22:02:41.982Z] ==> Searching for coverage reports in: [2023-10-24T22:02:41.982Z] + . [2023-10-24T22:02:41.982Z] -> Found 1 reports [2023-10-24T22:02:41.982Z] ==> Detecting git/mercurial file structure [2023-10-24T22:02:41.982Z] ==> Reading reports [2023-10-24T22:02:42.240Z] + ./coverage.out bytes=14499 [2023-10-24T22:02:42.240Z] ==> Appending adjustments [2023-10-24T22:02:42.240Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T22:02:42.240Z] + Found adjustments [2023-10-24T22:02:42.240Z] ==> Gzipping contents [2023-10-24T22:02:42.240Z] 4.0K /tmp/codecov.YzAzyn.gz [2023-10-24T22:02:42.240Z] ==> Uploading reports [2023-10-24T22:02:42.240Z] url: https://codecov.io [2023-10-24T22:02:42.240Z] query: branch=main&commit=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T22:02:42.240Z] -> Pinging Codecov [2023-10-24T22:02:42.240Z] 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=71e268e2bbeb5f32b791e9fe51a95144d8b6bbea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T22:02:42.240Z] -> Uploading to [2023-10-24T22:02:42.240Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/71e268e2bbeb5f32b791e9fe51a95144d8b6bbea/8d7d98a7-838a-4b2a-9efe-a89827ce0697.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T220242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2dd5174094cb333e9de398c9c206f86380da94d4bafff11eae868601792d38b [2023-10-24T22:02:42.240Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T22:02:42.240Z] Dload Upload Total Spent Left Speed [2023-10-24T22:02:42.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8201 --:--:-- --:--:-- --:--:-- 8201 [2023-10-24T22:02:42.498Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] } [2023-10-24T22:02:42.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T22:02:42.689Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T22:02:42.700Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:02:42.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:02:42.991Z] [2023-10-24T22:02:42.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:02:43.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:02:43.289Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T22:02:43.289Z] df9b9388f04a: Pulling fs layer [2023-10-24T22:02:43.289Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T22:02:43.289Z] 25bc292e5bac: Pulling fs layer [2023-10-24T22:02:43.289Z] 114826534d7a: Pulling fs layer [2023-10-24T22:02:43.289Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T22:02:43.289Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T22:02:43.289Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T22:02:43.289Z] 114826534d7a: Waiting [2023-10-24T22:02:43.289Z] 4657fd5d0bcf: Waiting [2023-10-24T22:02:43.289Z] 8a3aa393b2d8: Waiting [2023-10-24T22:02:43.289Z] 6ad1cebc031e: Waiting [2023-10-24T22:02:43.289Z] 25bc292e5bac: Verifying Checksum [2023-10-24T22:02:43.289Z] 25bc292e5bac: Download complete [2023-10-24T22:02:43.289Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T22:02:43.289Z] 52dc419b0ee2: Download complete [2023-10-24T22:02:43.289Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T22:02:43.289Z] 4657fd5d0bcf: Download complete [2023-10-24T22:02:43.289Z] df9b9388f04a: Download complete [2023-10-24T22:02:43.584Z] df9b9388f04a: Pull complete [2023-10-24T22:02:43.584Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T22:02:43.584Z] 6ad1cebc031e: Download complete [2023-10-24T22:02:43.584Z] 52dc419b0ee2: Pull complete [2023-10-24T22:02:43.584Z] 25bc292e5bac: Pull complete [2023-10-24T22:02:44.154Z] 114826534d7a: Verifying Checksum [2023-10-24T22:02:44.154Z] 114826534d7a: Download complete [2023-10-24T22:02:44.412Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T22:02:44.412Z] 8a3aa393b2d8: Download complete [2023-10-24T22:02:47.696Z] 114826534d7a: Pull complete [2023-10-24T22:02:47.696Z] 4657fd5d0bcf: Pull complete [2023-10-24T22:02:47.953Z] 6ad1cebc031e: Pull complete [2023-10-24T22:02:51.229Z] 8a3aa393b2d8: Pull complete [2023-10-24T22:02:51.229Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T22:02:51.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:02:51.229Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:02:51.311Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:02:51.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T22:02:55.184Z] $ docker top f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T22:02:55.245Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-24T22:02:55.524Z] + set -o pipefail [2023-10-24T22:02:55.524Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-24T22:03:05.494Z] [2023-10-24T22:03:05.494Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-24T22:03:05.494Z] [2023-10-24T22:03:05.494Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/68a2edf6-1823-443f-a9f8-362933ccd61d [2023-10-24T22:03:05.494Z] [2023-10-24T22:03:05.494Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T22:03:05.494Z] [2023-10-24T22:03:05.494Z] [2023-10-24T22:03:05.494Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T22:03:05.494Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T22:03:05.494Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T22:03:05.519Z] $ docker stop --time=1 f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b [2023-10-24T22:03:09.534Z] $ docker rm -f --volumes f669ca055040fd5317e2e425ff2b81631448a392cd29838d3170dd8a29045d9b [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-10-24T22:03:10.320Z] + git log --format=format:%s -1 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea [Pipeline] sh [2023-10-24T22:03:10.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:03:10.616Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:10.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:03:10.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:03:10.987Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:03:11.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:03:11.535Z] $ docker top 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:03:11.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:03:11.600Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:03:11.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:03:11.732Z] $ docker exec 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 ssh-agent [2023-10-24T22:03:11.835Z] SSH_AUTH_SOCK=/tmp/ssh-el78mEHwypyr/agent.31 [2023-10-24T22:03:11.835Z] SSH_AGENT_PID=37 [2023-10-24T22:03:11.839Z] Running ssh-add (command line suppressed) [2023-10-24T22:03:11.954Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17680543026289587926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17680543026289587926.key) [2023-10-24T22:03:11.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:03:12.239Z] + git semver tag [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,427 [run_tag] DEBUG tag force:False [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,428 [check_head_tag] DEBUG check head tag [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,428 [execute] INFO git cat-file --batch-check [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,433 [execute] INFO git cat-file --batch [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,448 [execute] INFO git tag -a v3.1.0-dev.25 -m v3.1.0-dev.25 [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,448 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.25', '-m', 'v3.1.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:03:12.497Z] 2023-10-24 22:03:12,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:12.497Z] 3.1.0-dev.25 [Pipeline] } [2023-10-24T22:03:12.522Z] $ docker exec --env ******** --env ******** 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 ssh-agent -k [2023-10-24T22:03:12.643Z] unset SSH_AUTH_SOCK; [2023-10-24T22:03:12.644Z] unset SSH_AGENT_PID; [2023-10-24T22:03:12.644Z] echo Agent pid 37 killed; [2023-10-24T22:03:12.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:03:12.947Z] + git semver [Pipeline] } [2023-10-24T22:03:13.233Z] $ docker stop --time=1 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 [2023-10-24T22:03:14.572Z] $ docker rm -f --volumes 1aca23e763c6c265967ccaef2b18e08f875fc7603e4d9eca3d7629e3eb3c6287 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:14.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:03:14.933Z] [2023-10-24T22:03:14.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:15.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:03:15.233Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T22:03:15.233Z] ab5ef0e58194: Pulling fs layer [2023-10-24T22:03:15.233Z] 9712f1f96733: Pulling fs layer [2023-10-24T22:03:15.233Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T22:03:15.233Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T22:03:15.233Z] e9a5061849ea: Pulling fs layer [2023-10-24T22:03:15.233Z] d747dcd14b5f: Pulling fs layer [2023-10-24T22:03:15.233Z] 2de7ff778b66: Pulling fs layer [2023-10-24T22:03:15.233Z] e9a5061849ea: Waiting [2023-10-24T22:03:15.233Z] 0d9ebad4ef96: Waiting [2023-10-24T22:03:15.233Z] d747dcd14b5f: Waiting [2023-10-24T22:03:15.233Z] 2de7ff778b66: Waiting [2023-10-24T22:03:15.233Z] 9712f1f96733: Verifying Checksum [2023-10-24T22:03:15.233Z] 9712f1f96733: Download complete [2023-10-24T22:03:15.830Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T22:03:15.830Z] 63f879dbbcfc: Download complete [2023-10-24T22:03:16.088Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T22:03:16.088Z] 0d9ebad4ef96: Download complete [2023-10-24T22:03:16.088Z] e9a5061849ea: Verifying Checksum [2023-10-24T22:03:16.088Z] e9a5061849ea: Download complete [2023-10-24T22:03:16.088Z] d747dcd14b5f: Download complete [2023-10-24T22:03:16.088Z] ab5ef0e58194: Verifying Checksum [2023-10-24T22:03:16.088Z] ab5ef0e58194: Download complete [2023-10-24T22:03:16.088Z] 2de7ff778b66: Verifying Checksum [2023-10-24T22:03:16.088Z] 2de7ff778b66: Download complete [2023-10-24T22:03:19.375Z] ab5ef0e58194: Pull complete [2023-10-24T22:03:19.375Z] 9712f1f96733: Pull complete [2023-10-24T22:03:19.634Z] 63f879dbbcfc: Pull complete [2023-10-24T22:03:23.814Z] 0d9ebad4ef96: Pull complete [2023-10-24T22:03:24.070Z] e9a5061849ea: Pull complete [2023-10-24T22:03:24.070Z] d747dcd14b5f: Pull complete [2023-10-24T22:03:25.004Z] 2de7ff778b66: Pull complete [2023-10-24T22:03:25.004Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T22:03:25.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:03:25.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:03:25.084Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:03:25.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T22:03:34.124Z] $ docker top e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:03:34.184Z] provisioning config files... [2023-10-24T22:03:34.192Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config504566342582825905tmp [2023-10-24T22:03:34.203Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7942775806472317199tmp [2023-10-24T22:03:34.212Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16189564860480205113tmp [Pipeline] { [Pipeline] echo [2023-10-24T22:03:34.226Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:34.532Z] ---> sigul-configuration.sh [2023-10-24T22:03:34.532Z] gpg: directory `/root/.gnupg' created [2023-10-24T22:03:34.532Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T22:03:34.532Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T22:03:34.532Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T22:03:34.532Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T22:03:34.532Z] gpg: CAST5 encrypted data [2023-10-24T22:03:34.532Z] gpg: encrypted with 1 passphrase [2023-10-24T22:03:34.532Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T22:03:34.819Z] + mkdir /home/jenkins [2023-10-24T22:03:34.819Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T22:03:35.102Z] + 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-10-24T22:03:35.111Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:35.396Z] ---> sigul-install.sh [2023-10-24T22:03:35.396Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T22:03:35.708Z] + git tag --list [2023-10-24T22:03:35.708Z] v1.0.0 [2023-10-24T22:03:35.708Z] v1.1.0 [2023-10-24T22:03:35.708Z] v1.1.1 [2023-10-24T22:03:35.708Z] v1.1.2 [2023-10-24T22:03:35.708Z] v1.2.0 [2023-10-24T22:03:35.708Z] v1.2.1 [2023-10-24T22:03:35.708Z] v2.0.0 [2023-10-24T22:03:35.708Z] v2.1.0 [2023-10-24T22:03:35.708Z] v2.1.1 [2023-10-24T22:03:35.708Z] v2.2.0 [2023-10-24T22:03:35.708Z] v2.3.0 [2023-10-24T22:03:35.708Z] v3.0 [2023-10-24T22:03:35.708Z] v3.0.0 [2023-10-24T22:03:35.708Z] v3.1.0-dev.1 [2023-10-24T22:03:35.708Z] v3.1.0-dev.10 [2023-10-24T22:03:35.708Z] v3.1.0-dev.11 [2023-10-24T22:03:35.708Z] v3.1.0-dev.12 [2023-10-24T22:03:35.708Z] v3.1.0-dev.13 [2023-10-24T22:03:35.708Z] v3.1.0-dev.14 [2023-10-24T22:03:35.708Z] v3.1.0-dev.15 [2023-10-24T22:03:35.708Z] v3.1.0-dev.16 [2023-10-24T22:03:35.708Z] v3.1.0-dev.17 [2023-10-24T22:03:35.708Z] v3.1.0-dev.18 [2023-10-24T22:03:35.708Z] v3.1.0-dev.19 [2023-10-24T22:03:35.708Z] v3.1.0-dev.2 [2023-10-24T22:03:35.708Z] v3.1.0-dev.20 [2023-10-24T22:03:35.708Z] v3.1.0-dev.21 [2023-10-24T22:03:35.708Z] v3.1.0-dev.22 [2023-10-24T22:03:35.708Z] v3.1.0-dev.23 [2023-10-24T22:03:35.708Z] v3.1.0-dev.24 [2023-10-24T22:03:35.708Z] v3.1.0-dev.25 [2023-10-24T22:03:35.708Z] v3.1.0-dev.3 [2023-10-24T22:03:35.708Z] v3.1.0-dev.4 [2023-10-24T22:03:35.708Z] v3.1.0-dev.5 [2023-10-24T22:03:35.708Z] v3.1.0-dev.6 [2023-10-24T22:03:35.708Z] v3.1.0-dev.7 [2023-10-24T22:03:35.708Z] v3.1.0-dev.8 [2023-10-24T22:03:35.708Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T22:03:35.997Z] + lftools sign git-tag v3.1.0-dev.25 [2023-10-24T22:03:36.565Z] Signing Git tag with Sigul... [2023-10-24T22:03:36.565Z] Signing v3.1.0-dev.25 [Pipeline] echo [2023-10-24T22:03:37.141Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:37.426Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T22:03:37.433Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T22:03:37.469Z] $ docker stop --time=1 e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed [2023-10-24T22:03:38.779Z] $ docker rm -f --volumes e40e8b5fc2f68f2f860cccd37f3f5e2058942ae9b49a9e29d82e5884060a86ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T22:03:39.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:03:39.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:39.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:03:39.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:03:39.557Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:03:39.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:03:39.964Z] $ docker top ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 -eo pid,comm [2023-10-24T22:03:40.000Z] 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-10-24T22:03:40.000Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:03:40.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:03:40.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:03:40.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:03:40.164Z] $ docker exec ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 ssh-agent [2023-10-24T22:03:40.259Z] SSH_AUTH_SOCK=/tmp/ssh-5NgB8roR5qzJ/agent.31 [2023-10-24T22:03:40.259Z] SSH_AGENT_PID=37 [2023-10-24T22:03:40.264Z] Running ssh-add (command line suppressed) [2023-10-24T22:03:40.383Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_624050043675689786.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_624050043675689786.key) [2023-10-24T22:03:40.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:03:40.675Z] + git semver bump pre [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,871 [bump_version] DEBUG bumping version:3.1.0-dev.25 on axis:pre with prefix:dev [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,871 [bump_version] DEBUG bumped version:3.1.0-dev.26 [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,872 [write_version] DEBUG write version:3.1.0-dev.26 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,872 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,872 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,873 [execute] INFO git cat-file --batch-check [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,879 [execute] INFO git cat-file --batch [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:03:40.934Z] 2023-10-24 22:03:40,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:40.934Z] 3.1.0-dev.26 [Pipeline] } [2023-10-24T22:03:40.959Z] $ docker exec --env ******** --env ******** ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 ssh-agent -k [2023-10-24T22:03:41.069Z] unset SSH_AUTH_SOCK; [2023-10-24T22:03:41.069Z] unset SSH_AGENT_PID; [2023-10-24T22:03:41.069Z] echo Agent pid 37 killed; [2023-10-24T22:03:41.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:03:41.362Z] + git semver [Pipeline] } [2023-10-24T22:03:41.650Z] $ docker stop --time=1 ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 [2023-10-24T22:03:42.949Z] $ docker rm -f --volumes ba2de08041a204426229c060bb99bb0a1cbb91584625b4b70bd9bca224b9dd48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:03:43.263Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:03:43.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:43.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:03:43.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:03:43.630Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:03:43.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:03:44.028Z] $ docker top d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 -eo pid,comm [2023-10-24T22:03:44.064Z] 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-10-24T22:03:44.064Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:03:44.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:03:44.102Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:03:44.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:03:44.244Z] $ docker exec d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 ssh-agent [2023-10-24T22:03:44.346Z] SSH_AUTH_SOCK=/tmp/ssh-iEMbZ1oMMT8J/agent.33 [2023-10-24T22:03:44.346Z] SSH_AGENT_PID=39 [2023-10-24T22:03:44.351Z] Running ssh-add (command line suppressed) [2023-10-24T22:03:44.470Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3151348416401248440.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3151348416401248440.key) [2023-10-24T22:03:44.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:03:44.745Z] + git semver push [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,941 [run_push] DEBUG push [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,942 [execute] INFO git cat-file --batch-check [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,946 [execute] INFO git rev-list 92f9b2640da8f2d47073b7656757a2ffaa4c0975 -- [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,946 [execute] DEBUG Popen(['git', 'rev-list', '92f9b2640da8f2d47073b7656757a2ffaa4c0975', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,955 [execute] INFO git fetch -v origin [2023-10-24T22:03:45.006Z] 2023-10-24 22:03:44,956 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T22:03:45.574Z] 2023-10-24 22:03:45,513 [run_push] DEBUG no remote changes detected [2023-10-24T22:03:45.574Z] 2023-10-24 22:03:45,514 [execute] INFO git push origin semver [2023-10-24T22:03:45.574Z] 2023-10-24 22:03:45,514 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:03:47.475Z] 2023-10-24 22:03:46,998 [run_push] DEBUG push all version tags [2023-10-24T22:03:47.475Z] 2023-10-24 22:03:46,998 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T22:03:47.475Z] 2023-10-24 22:03:46,999 [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-10-24T22:03:47.733Z] 2023-10-24 22:03:47,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T22:03:47.733Z] 3.1.0-dev.26 [Pipeline] } [2023-10-24T22:03:48.044Z] $ docker exec --env ******** --env ******** d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 ssh-agent -k [2023-10-24T22:03:48.156Z] unset SSH_AUTH_SOCK; [2023-10-24T22:03:48.156Z] unset SSH_AGENT_PID; [2023-10-24T22:03:48.156Z] echo Agent pid 39 killed; [2023-10-24T22:03:48.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:03:48.517Z] + git semver [Pipeline] } [2023-10-24T22:03:48.857Z] $ docker stop --time=1 d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 [2023-10-24T22:03:50.147Z] $ docker rm -f --volumes d564fa2baf71cca0390dba6d3611806544aefd84a3d0dacbe49130422c1a4c28 [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-10-24T22:03:50.677Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-24T22:03:50.677Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T22:03:50.677Z] total 16 [2023-10-24T22:03:50.677Z] drwxr-xr-x 3 root root 4096 Oct 24 21:52 . [2023-10-24T22:03:50.677Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:03 .. [2023-10-24T22:03:50.677Z] drwxr-xr-x 2 root root 4096 Oct 24 21:52 cost [2023-10-24T22:03:50.677Z] -rw-r--r-- 1 root root 86 Oct 24 21:52 cost.csv [2023-10-24T22:03:50.678Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T22:03:50.678Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T22:03:50.678Z] total 16 [2023-10-24T22:03:50.678Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:52 . [2023-10-24T22:03:50.678Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 22:03 .. [2023-10-24T22:03:50.678Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:52 cost [2023-10-24T22:03:50.678Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:50.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:51.849Z] ---> package-listing.sh [2023-10-24T22:03:51.849Z] ++ facter osfamily [2023-10-24T22:03:51.849Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T22:03:52.109Z] + OS_FAMILY=debian [2023-10-24T22:03:52.109Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T22:03:52.109Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T22:03:52.109Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T22:03:52.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T22:03:52.109Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T22:03:52.109Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T22:03:52.109Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T22:03:52.109Z] + case "${OS_FAMILY}" in [2023-10-24T22:03:52.109Z] + dpkg -l [2023-10-24T22:03:52.109Z] + grep '^ii' [2023-10-24T22:03:52.109Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T22:03:52.109Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T22:03:52.109Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T22:03:52.109Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T22:03:52.109Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-24T22:03:52.109Z] + 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-10-24T22:03:52.119Z] 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-10-24T22:03:52.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:03:52.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:03:52.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:03:53.026Z] prd-ubuntu20.04-docker-8c-8g-10296 does not seem to be running inside a container [2023-10-24T22:03:53.081Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T22:03:53.743Z] $ docker top 049e0df8632f5a26141a91af4472fc5b5ceba3b99ab757a7217b6e7ff46876a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:03:54.066Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T22:03:54.349Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T22:03:54.628Z] + ls /var/log/sa-host [2023-10-24T22:03:54.628Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:03:54.687Z] provisioning config files... [2023-10-24T22:03:54.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5530018692108337142tmp [Pipeline] { [Pipeline] echo [2023-10-24T22:03:54.708Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:54.987Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T22:03:54.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:55.351Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T22:03:55.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:55.635Z] ---> sudo-logs.sh [2023-10-24T22:03:55.635Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T22:03:55.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:55.933Z] ---> job-cost.sh [2023-10-24T22:03:55.933Z] lf-activate-venv: SKIPPING [2023-10-24T22:03:55.933Z] DEBUG: total: 0.2199999988079071 [2023-10-24T22:03:55.933Z] INFO: Retrieving Stack Cost... [2023-10-24T22:03:56.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T22:03:56.757Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T22:03:56.768Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:03:57.049Z] ---> logs-deploy.sh [2023-10-24T22:03:57.049Z] lf-activate-venv: SKIPPING [2023-10-24T22:03:57.049Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/145 [2023-10-24T22:03:57.049Z] INFO: archiving workspace using pattern(s): [2023-10-24T22:03:57.983Z] Archives upload complete. [2023-10-24T22:03:57.983Z] INFO: archiving logs to Nexus