Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1a1e2764950d18ca7a23f7abac7d306f95fa84d 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-ssh323216915647960598.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9843668183463416299.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3163418203419898896.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh10788802851222667163.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-ssh16040426540708134167.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12625 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c1a1e2764950d18ca7a23f7abac7d306f95fa84d (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 > git rev-list --no-walk cba6ba485dc6694309bacf8d506d636ea079fc31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T21:21:09.068Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T21:21:09.129Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T21:21:09.149Z] ========================================================= [2023-05-03T21:21:09.149Z] EdgeX Global Pipelines Version Info [2023-05-03T21:21:09.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:21:09.864Z] ------------------- [2023-05-03T21:21:09.864Z] stable info: [2023-05-03T21:21:09.864Z] ------------------- [2023-05-03T21:21:09.864Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T21:21:09.864Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T21:21:09.864Z] Message: update stable to v1.0.248 [2023-05-03T21:21:10.435Z] ------------------- [2023-05-03T21:21:10.435Z] experimental info: [2023-05-03T21:21:10.435Z] ------------------- [2023-05-03T21:21:10.435Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T21:21:10.435Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T21:21:10.435Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T21:21:10.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-03T21:21:10.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-03T21:21:10.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T21:21:10.647Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T21:21:10.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T21:21:10.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T21:21:10.687Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T21:21:10.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-03T21:21:10.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T21:21:10.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T21:21:10.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T21:21:10.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-03T21:21:10.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T21:21:10.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T21:21:10.785Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T21:21:10.802Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T21:21:10.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T21:21:10.825Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T21:21:10.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T21:21:10.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T21:21:10.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-03T21:21:10.873Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-03T21:21:10.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T21:21:10.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T21:21:10.906Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T21:21:10.918Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T21:21:10.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T21:21:10.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-03T21:21:10.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-03T21:21:10.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-03T21:21:10.979Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo [2023-05-03T21:21:10.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1a1e27 [Pipeline] echo [2023-05-03T21:21:11.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T21:21:11.061Z] provisioning config files... [2023-05-03T21:21:11.074Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15161795660576036781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:21:11.378Z] ---> docker-login.sh [2023-05-03T21:21:11.378Z] nexus3.edgexfoundry.org:10001 [2023-05-03T21:21:11.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:11.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:11.908Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:11.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:11.908Z] [2023-05-03T21:21:11.908Z] Login Succeeded [2023-05-03T21:21:11.908Z] nexus3.edgexfoundry.org:10002 [2023-05-03T21:21:11.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:11.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:11.908Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:11.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:11.908Z] [2023-05-03T21:21:11.908Z] Login Succeeded [2023-05-03T21:21:11.908Z] nexus3.edgexfoundry.org:10003 [2023-05-03T21:21:11.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:12.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:12.168Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:12.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:12.168Z] [2023-05-03T21:21:12.168Z] Login Succeeded [2023-05-03T21:21:12.168Z] nexus3.edgexfoundry.org:10004 [2023-05-03T21:21:12.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:12.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:12.168Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:12.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:12.168Z] [2023-05-03T21:21:12.168Z] Login Succeeded [2023-05-03T21:21:12.168Z] docker.io [2023-05-03T21:21:12.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:12.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:12.427Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:12.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:12.427Z] [2023-05-03T21:21:12.427Z] Login Succeeded [2023-05-03T21:21:12.427Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T21:21:12.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T21:21:12.829Z] + git rev-list -1 --merges c1a1e2764950d18ca7a23f7abac7d306f95fa84d~1..c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo [2023-05-03T21:21:12.883Z] -----------> git rev-list -1 --merges c1a1e2764950d18ca7a23f7abac7d306f95fa84d~1..c1a1e2764950d18ca7a23f7abac7d306f95fa84d c1a1e2764950d18ca7a23f7abac7d306f95fa84d [false] [Pipeline] sh [2023-05-03T21:21:13.173Z] + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo [2023-05-03T21:21:13.206Z] ========================================================= [2023-05-03T21:21:13.206Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T21:21:13.206Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T21:21:13.525Z] + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo [2023-05-03T21:21:13.536Z] [semverPrep] GIT_COMMIT: c1a1e2764950d18ca7a23f7abac7d306f95fa84d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306) [Pipeline] echo [2023-05-03T21:21:13.544Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T21:21:13.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T21:21:13.920Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T21:21:13.920Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T21:21:13.920Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T21:21:13.920Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T21:21:13.920Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T21:21:13.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:21:14.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:21:14.334Z] [2023-05-03T21:21:14.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:21:14.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:21:14.634Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T21:21:14.634Z] b85a868b505f: Pulling fs layer [2023-05-03T21:21:14.634Z] e2be974225ed: Pulling fs layer [2023-05-03T21:21:14.634Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T21:21:14.634Z] 988bab9f4d93: Pulling fs layer [2023-05-03T21:21:14.634Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T21:21:14.634Z] eaf3925da568: Pulling fs layer [2023-05-03T21:21:14.634Z] bab4dde63d76: Pulling fs layer [2023-05-03T21:21:14.634Z] bde34c3a00c8: Pulling fs layer [2023-05-03T21:21:14.634Z] b352a97aabf1: Pulling fs layer [2023-05-03T21:21:14.634Z] 4872d77fe225: Pulling fs layer [2023-05-03T21:21:14.634Z] 5851b861e8e6: Pulling fs layer [2023-05-03T21:21:14.634Z] bab4dde63d76: Waiting [2023-05-03T21:21:14.634Z] bde34c3a00c8: Waiting [2023-05-03T21:21:14.634Z] b352a97aabf1: Waiting [2023-05-03T21:21:14.634Z] 988bab9f4d93: Waiting [2023-05-03T21:21:14.634Z] 1469e6f7b9e6: Waiting [2023-05-03T21:21:14.634Z] 4872d77fe225: Waiting [2023-05-03T21:21:14.634Z] eaf3925da568: Waiting [2023-05-03T21:21:14.634Z] 5851b861e8e6: Waiting [2023-05-03T21:21:14.634Z] e2be974225ed: Verifying Checksum [2023-05-03T21:21:14.634Z] e2be974225ed: Download complete [2023-05-03T21:21:14.634Z] 988bab9f4d93: Verifying Checksum [2023-05-03T21:21:14.634Z] 988bab9f4d93: Download complete [2023-05-03T21:21:14.634Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T21:21:14.634Z] 1469e6f7b9e6: Download complete [2023-05-03T21:21:14.634Z] eaf3925da568: Verifying Checksum [2023-05-03T21:21:14.634Z] eaf3925da568: Download complete [2023-05-03T21:21:14.634Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T21:21:14.634Z] 339a4e72a1f5: Download complete [2023-05-03T21:21:14.894Z] bde34c3a00c8: Download complete [2023-05-03T21:21:14.894Z] b352a97aabf1: Download complete [2023-05-03T21:21:14.894Z] 4872d77fe225: Download complete [2023-05-03T21:21:14.894Z] 5851b861e8e6: Download complete [2023-05-03T21:21:14.894Z] b85a868b505f: Verifying Checksum [2023-05-03T21:21:14.894Z] b85a868b505f: Download complete [2023-05-03T21:21:15.153Z] bab4dde63d76: Verifying Checksum [2023-05-03T21:21:15.153Z] bab4dde63d76: Download complete [2023-05-03T21:21:16.093Z] b85a868b505f: Pull complete [2023-05-03T21:21:16.374Z] e2be974225ed: Pull complete [2023-05-03T21:21:16.649Z] 339a4e72a1f5: Pull complete [2023-05-03T21:21:16.649Z] 988bab9f4d93: Pull complete [2023-05-03T21:21:17.220Z] 1469e6f7b9e6: Pull complete [2023-05-03T21:21:17.220Z] eaf3925da568: Pull complete [2023-05-03T21:21:19.131Z] bab4dde63d76: Pull complete [2023-05-03T21:21:19.131Z] bde34c3a00c8: Pull complete [2023-05-03T21:21:19.131Z] b352a97aabf1: Pull complete [2023-05-03T21:21:19.131Z] 4872d77fe225: Pull complete [2023-05-03T21:21:19.131Z] 5851b861e8e6: Pull complete [2023-05-03T21:21:19.131Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T21:21:19.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:21:19.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:21:19.227Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:21:19.261Z] $ 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-05-03T21:21:20.449Z] $ docker top 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 -eo pid,comm [2023-05-03T21:21:20.495Z] 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-05-03T21:21:20.496Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T21:21:20.536Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T21:21:20.536Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T21:21:20.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T21:21:20.652Z] $ docker exec 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent [2023-05-03T21:21:20.747Z] SSH_AUTH_SOCK=/tmp/ssh-yU2Ezgoba0in/agent.33 [2023-05-03T21:21:20.747Z] SSH_AGENT_PID=39 [2023-05-03T21:21:20.754Z] Running ssh-add (command line suppressed) [2023-05-03T21:21:20.857Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14575356033829773484.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14575356033829773484.key) [2023-05-03T21:21:20.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T21:21:21.155Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T21:21:21.170Z] $ docker exec --env ******** --env ******** 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent -k [2023-05-03T21:21:21.275Z] unset SSH_AUTH_SOCK; [2023-05-03T21:21:21.276Z] unset SSH_AGENT_PID; [2023-05-03T21:21:21.276Z] echo Agent pid 39 killed; [2023-05-03T21:21:21.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T21:21:21.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T21:21:21.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T21:21:21.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T21:21:21.424Z] $ docker exec 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent [2023-05-03T21:21:21.522Z] SSH_AUTH_SOCK=/tmp/ssh-XLmSPSpViGBQ/agent.71 [2023-05-03T21:21:21.522Z] SSH_AGENT_PID=77 [2023-05-03T21:21:21.527Z] Running ssh-add (command line suppressed) [2023-05-03T21:21:21.633Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9664919848434621446.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9664919848434621446.key) [2023-05-03T21:21:21.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T21:21:21.935Z] + git semver init [2023-05-03T21:21:22.199Z] 2023-05-03 21:21:22,135 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T21:21:22.199Z] 2023-05-03 21:21:22,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-03T21:21:22.199Z] 2023-05-03 21:21:22,136 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-03T21:21:22.199Z] 2023-05-03 21:21:22,136 [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-05-03T21:21:24.110Z] 2023-05-03 21:21:23,992 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-05-03T21:21:24.110Z] 2023-05-03 21:21:23,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-05-03T21:21:24.110Z] 2023-05-03 21:21:23,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:21:24.110Z] 2023-05-03 21:21:23,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:21:24.110Z] 3.0.0-dev.34 [Pipeline] } [2023-05-03T21:21:24.125Z] $ docker exec --env ******** --env ******** 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent -k [2023-05-03T21:21:24.242Z] unset SSH_AUTH_SOCK; [2023-05-03T21:21:24.243Z] unset SSH_AGENT_PID; [2023-05-03T21:21:24.243Z] echo Agent pid 77 killed; [2023-05-03T21:21:24.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T21:21:24.551Z] + git semver [Pipeline] } [2023-05-03T21:21:24.828Z] $ docker stop --time=1 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 [2023-05-03T21:21:26.144Z] $ docker rm -f --volumes 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T21:21:26.484Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T21:21:26.702Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T21:21:26.705Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.34 [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-05-03T21:21:26.865Z] provisioning config files... [2023-05-03T21:21:26.874Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5280399484321304049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:21:27.172Z] ---> docker-login.sh [2023-05-03T21:21:27.172Z] nexus3.edgexfoundry.org:10001 [2023-05-03T21:21:27.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:27.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:27.172Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:27.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:27.172Z] [2023-05-03T21:21:27.172Z] Login Succeeded [2023-05-03T21:21:27.172Z] nexus3.edgexfoundry.org:10002 [2023-05-03T21:21:27.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:27.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:27.172Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:27.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:27.172Z] [2023-05-03T21:21:27.172Z] Login Succeeded [2023-05-03T21:21:27.172Z] nexus3.edgexfoundry.org:10003 [2023-05-03T21:21:27.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:27.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:27.431Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:27.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:27.431Z] [2023-05-03T21:21:27.431Z] Login Succeeded [2023-05-03T21:21:27.431Z] nexus3.edgexfoundry.org:10004 [2023-05-03T21:21:27.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:27.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:27.431Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:27.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:27.431Z] [2023-05-03T21:21:27.431Z] Login Succeeded [2023-05-03T21:21:27.431Z] docker.io [2023-05-03T21:21:27.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:21:27.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:21:27.691Z] Configure a credential helper to remove this warning. See [2023-05-03T21:21:27.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:21:27.691Z] [2023-05-03T21:21:27.691Z] Login Succeeded [2023-05-03T21:21:27.691Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T21:21:27.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T21:21:27.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:21:27.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:21:27.849Z] ========================================================= [2023-05-03T21:21:27.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T21:21:27.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:21:28.154Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T21:21:28.154Z] Sending build context to Docker daemon 10.9MB [2023-05-03T21:21:28.154Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T21:21:28.154Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-03T21:21:28.154Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T21:21:28.154Z] f56be85fc22e: Pulling fs layer [2023-05-03T21:21:28.154Z] 85791d961cd3: Pulling fs layer [2023-05-03T21:21:28.154Z] d694b5ae8c79: Pulling fs layer [2023-05-03T21:21:28.154Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T21:21:28.154Z] 4d19c01a9841: Pulling fs layer [2023-05-03T21:21:28.154Z] 9325e15d5711: Pulling fs layer [2023-05-03T21:21:28.154Z] 556b6ee489ea: Pulling fs layer [2023-05-03T21:21:28.154Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T21:21:28.154Z] 556b6ee489ea: Waiting [2023-05-03T21:21:28.154Z] 9325e15d5711: Waiting [2023-05-03T21:21:28.154Z] 4d19c01a9841: Waiting [2023-05-03T21:21:28.154Z] c5a4b2cf53e6: Waiting [2023-05-03T21:21:28.154Z] 9f32a84ed3da: Waiting [2023-05-03T21:21:28.154Z] 85791d961cd3: Verifying Checksum [2023-05-03T21:21:28.154Z] 85791d961cd3: Download complete [2023-05-03T21:21:28.154Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T21:21:28.154Z] 9f32a84ed3da: Download complete [2023-05-03T21:21:28.415Z] 4d19c01a9841: Verifying Checksum [2023-05-03T21:21:28.415Z] 4d19c01a9841: Download complete [2023-05-03T21:21:28.415Z] f56be85fc22e: Verifying Checksum [2023-05-03T21:21:28.415Z] f56be85fc22e: Download complete [2023-05-03T21:21:28.415Z] 9325e15d5711: Verifying Checksum [2023-05-03T21:21:28.415Z] 9325e15d5711: Download complete [2023-05-03T21:21:28.415Z] f56be85fc22e: Pull complete [2023-05-03T21:21:28.680Z] 85791d961cd3: Pull complete [2023-05-03T21:21:28.942Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T21:21:28.942Z] c5a4b2cf53e6: Download complete [2023-05-03T21:21:28.942Z] d694b5ae8c79: Verifying Checksum [2023-05-03T21:21:28.942Z] d694b5ae8c79: Download complete [2023-05-03T21:21:29.206Z] 556b6ee489ea: Download complete [2023-05-03T21:21:31.742Z] d694b5ae8c79: Pull complete [2023-05-03T21:21:32.001Z] 9f32a84ed3da: Pull complete [2023-05-03T21:21:32.001Z] 4d19c01a9841: Pull complete [2023-05-03T21:21:32.001Z] 9325e15d5711: Pull complete [2023-05-03T21:21:34.531Z] 556b6ee489ea: Pull complete [2023-05-03T21:21:35.099Z] c5a4b2cf53e6: Pull complete [2023-05-03T21:21:35.099Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T21:21:35.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T21:21:35.099Z] ---> c4be618373d6 [2023-05-03T21:21:35.099Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-03T21:21:36.480Z] ---> Running in 9c4547d248e2 [2023-05-03T21:21:36.480Z] Removing intermediate container 9c4547d248e2 [2023-05-03T21:21:36.480Z] ---> 5bf6a3908d1f [2023-05-03T21:21:36.480Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T21:21:36.480Z] ---> Running in 95eb37f07ef7 [2023-05-03T21:21:36.741Z] Removing intermediate container 95eb37f07ef7 [2023-05-03T21:21:36.741Z] ---> db0173090aa6 [2023-05-03T21:21:36.741Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-03T21:21:36.741Z] ---> Running in 656c2ed24cec [2023-05-03T21:21:36.741Z] Removing intermediate container 656c2ed24cec [2023-05-03T21:21:36.741Z] ---> a0e47b9fd143 [2023-05-03T21:21:36.741Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T21:21:36.741Z] ---> Running in c942b3fbece0 [2023-05-03T21:21:37.003Z] Removing intermediate container c942b3fbece0 [2023-05-03T21:21:37.003Z] ---> ced1af2131c0 [2023-05-03T21:21:37.003Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T21:21:37.003Z] ---> Running in 5683e167ec5b [2023-05-03T21:21:37.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T21:21:37.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T21:21:37.521Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-03T21:21:37.521Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-03T21:21:37.521Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-03T21:21:37.780Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-03T21:21:37.780Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T21:21:37.780Z] OK: 269 MiB in 57 packages [2023-05-03T21:21:38.040Z] Removing intermediate container 5683e167ec5b [2023-05-03T21:21:38.040Z] ---> b228cd6fa021 [2023-05-03T21:21:38.040Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-03T21:21:38.040Z] ---> Running in 54be94d7eaab [2023-05-03T21:21:38.300Z] Removing intermediate container 54be94d7eaab [2023-05-03T21:21:38.300Z] ---> 9204783a89d6 [2023-05-03T21:21:38.300Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-03T21:21:38.300Z] ---> 1c79b89ec2bf [2023-05-03T21:21:38.300Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T21:21:38.300Z] ---> Running in 144ef181e72b [2023-05-03T21:21:41.817Z] Still waiting to schedule task [2023-05-03T21:21:41.817Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-03T21:22:00.273Z] Removing intermediate container 144ef181e72b [2023-05-03T21:22:00.273Z] ---> 3e578c88955f [2023-05-03T21:22:00.273Z] Step 11/12 : COPY . . [2023-05-03T21:22:00.273Z] ---> b147afbdebae [2023-05-03T21:22:00.273Z] Step 12/12 : RUN $MAKE [2023-05-03T21:22:00.273Z] ---> Running in 001be45f9a3c [2023-05-03T21:22:00.273Z] noop [2023-05-03T21:22:00.273Z] Removing intermediate container 001be45f9a3c [2023-05-03T21:22:00.273Z] ---> fc3c12fd9dc2 [2023-05-03T21:22:00.273Z] Successfully built fc3c12fd9dc2 [2023-05-03T21:22:00.273Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:00.588Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T21:22:00.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:22:00.664Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:22:00.690Z] $ 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-05-03T21:22:01.007Z] $ docker top fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T21:22:01.343Z] + go version [2023-05-03T21:22:01.343Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T21:22:01.356Z] $ docker stop --time=1 fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 [2023-05-03T21:22:02.626Z] $ docker rm -f --volumes fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:03.028Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T21:22:03.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:22:03.095Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:22:03.123Z] $ 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-05-03T21:22:03.426Z] $ docker top a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T21:22:03.762Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-03T21:22:04.058Z] + make test [2023-05-03T21:22:04.059Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T21:22:08.255Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-03T21:22:18.222Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-03T21:22:18.222Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements [2023-05-03T21:22:23.491Z] go vet ./... [2023-05-03T21:22:26.020Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T21:22:26.020Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T21:22:26.020Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T21:22:26.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T21:22:26.044Z] $ docker stop --time=1 a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 [2023-05-03T21:22:28.399Z] $ docker rm -f --volumes a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T21:22:28.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T21:22:28.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-03T21:22:29.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T21:22:29.692Z] + ls -al . [2023-05-03T21:22:29.692Z] total 184 [2023-05-03T21:22:29.692Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 21:22 . [2023-05-03T21:22:29.692Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:21 .. [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 21:21 .dockerignore [2023-05-03T21:22:29.692Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:21 .git [2023-05-03T21:22:29.692Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:21 .github [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:21 .gitignore [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:21 .golangci.yml [2023-05-03T21:22:29.692Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:21 .semver [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 3 21:21 Attribution.txt [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 3 21:21 CHANGELOG.md [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 3 21:21 Dockerfile [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:21 GOVERNANCE.md [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 21:21 Jenkinsfile [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:21 LICENSE [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 3 21:21 Makefile [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:21 OWNERS.md [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 3 21:21 README.md [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:21 VERSION [2023-05-03T21:22:29.692Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:21 bin [2023-05-03T21:22:29.692Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:21 cmd [2023-05-03T21:22:29.692Z] -rw-r--r-- 1 jenkins jenkins 14663 May 3 21:22 coverage.out [2023-05-03T21:22:29.692Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:21 driver [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 3 21:21 go.mod [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 3 21:21 go.sum [2023-05-03T21:22:29.692Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:21 snap [2023-05-03T21:22:29.692Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:29.996Z] + 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=c1a1e2764950d18ca7a23f7abac7d306f95fa84d --label arch=amd64 --label version=3.0.0-dev.34 . [2023-05-03T21:22:29.996Z] Sending build context to Docker daemon 10.91MB [2023-05-03T21:22:29.996Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T21:22:29.996Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-03T21:22:29.996Z] ---> fc3c12fd9dc2 [2023-05-03T21:22:29.996Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-03T21:22:29.996Z] ---> Running in f4fbe533c11f [2023-05-03T21:22:30.257Z] Removing intermediate container f4fbe533c11f [2023-05-03T21:22:30.257Z] ---> 072b311df19e [2023-05-03T21:22:30.257Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T21:22:30.257Z] ---> Running in 4757f2d0021d [2023-05-03T21:22:30.257Z] Removing intermediate container 4757f2d0021d [2023-05-03T21:22:30.257Z] ---> edce9ce192ad [2023-05-03T21:22:30.257Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-03T21:22:30.257Z] ---> Running in 3bb54809136c [2023-05-03T21:22:30.257Z] Removing intermediate container 3bb54809136c [2023-05-03T21:22:30.257Z] ---> 2492506717a9 [2023-05-03T21:22:30.257Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T21:22:30.516Z] ---> Running in 9ce3c2832932 [2023-05-03T21:22:30.516Z] Removing intermediate container 9ce3c2832932 [2023-05-03T21:22:30.516Z] ---> 58426687a96e [2023-05-03T21:22:30.516Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T21:22:30.516Z] ---> Running in 324656fc1333 [2023-05-03T21:22:30.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T21:22:30.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T21:22:31.037Z] OK: 269 MiB in 57 packages [2023-05-03T21:22:31.297Z] Removing intermediate container 324656fc1333 [2023-05-03T21:22:31.297Z] ---> 43c62fc4888d [2023-05-03T21:22:31.297Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-03T21:22:31.297Z] ---> Running in 0e9da6879782 [2023-05-03T21:22:31.557Z] Removing intermediate container 0e9da6879782 [2023-05-03T21:22:31.557Z] ---> 5569f1573a3c [2023-05-03T21:22:31.557Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-03T21:22:31.557Z] ---> 9911d4584fcb [2023-05-03T21:22:31.557Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T21:22:31.557Z] ---> Running in 65e622574eff [2023-05-03T21:22:32.492Z] Removing intermediate container 65e622574eff [2023-05-03T21:22:32.492Z] ---> f950fcfda3bd [2023-05-03T21:22:32.492Z] Step 11/25 : COPY . . [2023-05-03T21:22:32.751Z] ---> d042f3e186f0 [2023-05-03T21:22:32.751Z] Step 12/25 : RUN $MAKE [2023-05-03T21:22:32.751Z] ---> Running in 9c72b5e33eac [2023-05-03T21:22:33.009Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-03T21:22:51.215Z] Removing intermediate container 9c72b5e33eac [2023-05-03T21:22:51.215Z] ---> 13d9e8e1112a [2023-05-03T21:22:51.215Z] Step 13/25 : FROM alpine:3.17 [2023-05-03T21:22:51.215Z] 3.17: Pulling from library/alpine [2023-05-03T21:22:51.215Z] f56be85fc22e: Already exists [2023-05-03T21:22:51.215Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T21:22:51.215Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T21:22:51.215Z] ---> 9ed4aefc74f6 [2023-05-03T21:22:51.215Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T21:22:51.215Z] ---> Running in 3c476c067311 [2023-05-03T21:22:51.215Z] Removing intermediate container 3c476c067311 [2023-05-03T21:22:51.216Z] ---> 352f8f529693 [2023-05-03T21:22:51.216Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-03T21:22:51.216Z] ---> Running in 77b380546f3d [2023-05-03T21:22:51.216Z] Removing intermediate container 77b380546f3d [2023-05-03T21:22:51.216Z] ---> 0437e10eb6cb [2023-05-03T21:22:51.216Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-03T21:22:51.216Z] ---> Running in 4af06a500f4a [2023-05-03T21:22:51.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T21:22:51.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T21:22:51.216Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-03T21:22:51.216Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T21:22:51.216Z] OK: 7 MiB in 16 packages [2023-05-03T21:22:51.216Z] Removing intermediate container 4af06a500f4a [2023-05-03T21:22:51.216Z] ---> e0619073f2a4 [2023-05-03T21:22:51.216Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-03T21:22:51.783Z] ---> b34a6978d926 [2023-05-03T21:22:51.783Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-03T21:22:51.783Z] ---> 116469167dd2 [2023-05-03T21:22:51.783Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-03T21:22:52.042Z] ---> 6003de8b049f [2023-05-03T21:22:52.042Z] Step 20/25 : EXPOSE 59986 [2023-05-03T21:22:52.042Z] ---> Running in 9993df4541de [2023-05-03T21:22:52.042Z] Removing intermediate container 9993df4541de [2023-05-03T21:22:52.042Z] ---> 1c97caba3923 [2023-05-03T21:22:52.042Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-03T21:22:52.042Z] ---> Running in 70d005eed0b5 [2023-05-03T21:22:52.042Z] Removing intermediate container 70d005eed0b5 [2023-05-03T21:22:52.042Z] ---> 03139ed19b8a [2023-05-03T21:22:52.042Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-03T21:22:52.042Z] ---> Running in 122fa9ea49f1 [2023-05-03T21:22:52.300Z] Removing intermediate container 122fa9ea49f1 [2023-05-03T21:22:52.300Z] ---> d1c72c4364a1 [2023-05-03T21:22:52.300Z] Step 23/25 : LABEL arch=amd64 [2023-05-03T21:22:52.300Z] ---> Running in 8a78efc39afa [2023-05-03T21:22:52.300Z] Removing intermediate container 8a78efc39afa [2023-05-03T21:22:52.300Z] ---> 4eff9972e430 [2023-05-03T21:22:52.300Z] Step 24/25 : LABEL git_sha=c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:22:52.300Z] ---> Running in 94aabea8c38f [2023-05-03T21:22:52.300Z] Removing intermediate container 94aabea8c38f [2023-05-03T21:22:52.300Z] ---> 124ff1866fe0 [2023-05-03T21:22:52.300Z] Step 25/25 : LABEL version=3.0.0-dev.34 [2023-05-03T21:22:52.300Z] ---> Running in bcce80105998 [2023-05-03T21:22:52.558Z] Removing intermediate container bcce80105998 [2023-05-03T21:22:52.559Z] ---> 63f87f6d4993 [2023-05-03T21:22:52.559Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T21:22:52.559Z] Successfully built 63f87f6d4993 [2023-05-03T21:22:52.559Z] 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-05-03T21:22:52.648Z] provisioning config files... [2023-05-03T21:22:52.656Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17711761403972167985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:22:52.950Z] ---> docker-login.sh [2023-05-03T21:22:52.950Z] nexus3.edgexfoundry.org:10001 [2023-05-03T21:22:52.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:22:52.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:22:52.950Z] Configure a credential helper to remove this warning. See [2023-05-03T21:22:52.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:22:52.950Z] [2023-05-03T21:22:52.950Z] Login Succeeded [2023-05-03T21:22:52.950Z] nexus3.edgexfoundry.org:10002 [2023-05-03T21:22:52.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:22:52.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:22:52.950Z] Configure a credential helper to remove this warning. See [2023-05-03T21:22:52.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:22:52.950Z] [2023-05-03T21:22:52.950Z] Login Succeeded [2023-05-03T21:22:52.950Z] nexus3.edgexfoundry.org:10003 [2023-05-03T21:22:53.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:22:53.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:22:53.209Z] Configure a credential helper to remove this warning. See [2023-05-03T21:22:53.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:22:53.209Z] [2023-05-03T21:22:53.209Z] Login Succeeded [2023-05-03T21:22:53.209Z] nexus3.edgexfoundry.org:10004 [2023-05-03T21:22:53.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:22:53.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:22:53.209Z] Configure a credential helper to remove this warning. See [2023-05-03T21:22:53.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:22:53.209Z] [2023-05-03T21:22:53.209Z] Login Succeeded [2023-05-03T21:22:53.209Z] docker.io [2023-05-03T21:22:53.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:22:53.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:22:53.468Z] Configure a credential helper to remove this warning. See [2023-05-03T21:22:53.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:22:53.468Z] [2023-05-03T21:22:53.468Z] Login Succeeded [2023-05-03T21:22:53.468Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T21:22:53.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-03T21:22:53.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:22:53.514Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-05-03T21:22:53.514Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:22:53.514Z] latest [2023-05-03T21:22:53.514Z] 3.0.0-dev.34 [2023-05-03T21:22:53.514Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:22:53.514Z] main [2023-05-03T21:22:53.514Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:53.820Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:54.125Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:22:54.125Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-03T21:22:54.125Z] 56c9f75ada14: Preparing [2023-05-03T21:22:54.125Z] b49ff46d3292: Preparing [2023-05-03T21:22:54.125Z] 565ba59a94f4: Preparing [2023-05-03T21:22:54.125Z] 90a1a4ef34e9: Preparing [2023-05-03T21:22:54.125Z] f1417ff83b31: Preparing [2023-05-03T21:22:54.125Z] f1417ff83b31: Layer already exists [2023-05-03T21:22:54.125Z] 90a1a4ef34e9: Pushed [2023-05-03T21:22:54.125Z] 56c9f75ada14: Pushed [2023-05-03T21:22:54.125Z] b49ff46d3292: Pushed [2023-05-03T21:22:56.660Z] 565ba59a94f4: Pushed [2023-05-03T21:22:56.660Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:56.979Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:57.289Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-03T21:22:57.289Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-03T21:22:57.289Z] 56c9f75ada14: Preparing [2023-05-03T21:22:57.289Z] b49ff46d3292: Preparing [2023-05-03T21:22:57.289Z] 565ba59a94f4: Preparing [2023-05-03T21:22:57.289Z] 90a1a4ef34e9: Preparing [2023-05-03T21:22:57.289Z] f1417ff83b31: Preparing [2023-05-03T21:22:57.289Z] f1417ff83b31: Layer already exists [2023-05-03T21:22:57.289Z] 565ba59a94f4: Layer already exists [2023-05-03T21:22:57.289Z] 56c9f75ada14: Layer already exists [2023-05-03T21:22:57.289Z] 90a1a4ef34e9: Layer already exists [2023-05-03T21:22:57.289Z] b49ff46d3292: Layer already exists [2023-05-03T21:22:57.289Z] latest: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:57.602Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:57.903Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 [2023-05-03T21:22:57.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-03T21:22:57.903Z] 56c9f75ada14: Preparing [2023-05-03T21:22:57.903Z] b49ff46d3292: Preparing [2023-05-03T21:22:57.903Z] 565ba59a94f4: Preparing [2023-05-03T21:22:57.903Z] 90a1a4ef34e9: Preparing [2023-05-03T21:22:57.903Z] f1417ff83b31: Preparing [2023-05-03T21:22:57.903Z] b49ff46d3292: Layer already exists [2023-05-03T21:22:57.903Z] 565ba59a94f4: Layer already exists [2023-05-03T21:22:57.903Z] f1417ff83b31: Layer already exists [2023-05-03T21:22:57.903Z] 56c9f75ada14: Layer already exists [2023-05-03T21:22:57.903Z] 90a1a4ef34e9: Layer already exists [2023-05-03T21:22:57.903Z] 3.0.0-dev.34: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:58.207Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:58.511Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:22:58.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-03T21:22:58.511Z] 56c9f75ada14: Preparing [2023-05-03T21:22:58.511Z] b49ff46d3292: Preparing [2023-05-03T21:22:58.511Z] 565ba59a94f4: Preparing [2023-05-03T21:22:58.511Z] 90a1a4ef34e9: Preparing [2023-05-03T21:22:58.511Z] f1417ff83b31: Preparing [2023-05-03T21:22:58.511Z] 90a1a4ef34e9: Layer already exists [2023-05-03T21:22:58.511Z] 565ba59a94f4: Layer already exists [2023-05-03T21:22:58.511Z] f1417ff83b31: Layer already exists [2023-05-03T21:22:58.511Z] 56c9f75ada14: Layer already exists [2023-05-03T21:22:58.511Z] b49ff46d3292: Layer already exists [2023-05-03T21:22:58.511Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:58.818Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:59.122Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-05-03T21:22:59.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-03T21:22:59.122Z] 56c9f75ada14: Preparing [2023-05-03T21:22:59.122Z] b49ff46d3292: Preparing [2023-05-03T21:22:59.122Z] 565ba59a94f4: Preparing [2023-05-03T21:22:59.122Z] 90a1a4ef34e9: Preparing [2023-05-03T21:22:59.122Z] f1417ff83b31: Preparing [2023-05-03T21:22:59.122Z] 90a1a4ef34e9: Layer already exists [2023-05-03T21:22:59.122Z] 565ba59a94f4: Layer already exists [2023-05-03T21:22:59.122Z] b49ff46d3292: Layer already exists [2023-05-03T21:22:59.122Z] f1417ff83b31: Layer already exists [2023-05-03T21:22:59.122Z] 56c9f75ada14: Layer already exists [2023-05-03T21:22:59.122Z] main: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-03T21:22:59.167Z] ===================================================== [Pipeline] echo [2023-05-03T21:22:59.177Z] taggedImages: [2023-05-03T21:22:59.177Z] - nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:22:59.177Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-03T21:22:59.177Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 [2023-05-03T21:22:59.177Z] - nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:22:59.177Z] - 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-05-03T21:22:59.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T21:22:59.522Z] [2023-05-03T21:22:59.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:22:59.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T21:22:59.813Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T21:22:59.813Z] 5eb5b503b376: Pulling fs layer [2023-05-03T21:22:59.813Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T21:22:59.813Z] ec43610c2a17: Pulling fs layer [2023-05-03T21:22:59.813Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T21:22:59.813Z] 33b1e0a273af: Pulling fs layer [2023-05-03T21:22:59.813Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T21:22:59.813Z] 2f39f015ded8: Pulling fs layer [2023-05-03T21:22:59.813Z] 3a2ae6a8a46f: Waiting [2023-05-03T21:22:59.813Z] 33b1e0a273af: Waiting [2023-05-03T21:22:59.813Z] 2f39f015ded8: Waiting [2023-05-03T21:22:59.813Z] 5d3b04190fa2: Waiting [2023-05-03T21:22:59.813Z] 5c69ac0246d0: Download complete [2023-05-03T21:22:59.813Z] 3a2ae6a8a46f: Download complete [2023-05-03T21:22:59.813Z] 33b1e0a273af: Verifying Checksum [2023-05-03T21:22:59.813Z] 33b1e0a273af: Download complete [2023-05-03T21:22:59.813Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T21:22:59.813Z] 5d3b04190fa2: Download complete [2023-05-03T21:22:59.813Z] ec43610c2a17: Download complete [2023-05-03T21:23:00.073Z] 5eb5b503b376: Verifying Checksum [2023-05-03T21:23:00.073Z] 5eb5b503b376: Download complete [2023-05-03T21:23:00.648Z] 2f39f015ded8: Download complete [2023-05-03T21:23:01.215Z] 5eb5b503b376: Pull complete [2023-05-03T21:23:01.215Z] 5c69ac0246d0: Pull complete [2023-05-03T21:23:01.783Z] ec43610c2a17: Pull complete [2023-05-03T21:23:01.783Z] 3a2ae6a8a46f: Pull complete [2023-05-03T21:23:02.041Z] 33b1e0a273af: Pull complete [2023-05-03T21:23:02.041Z] 5d3b04190fa2: Pull complete [2023-05-03T21:23:06.226Z] 2f39f015ded8: Pull complete [2023-05-03T21:23:06.226Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T21:23:06.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T21:23:06.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:23:06.301Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:23:06.333Z] $ 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-05-03T21:23:08.008Z] $ docker top 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:23:08.397Z] ---> job-cost.sh [2023-05-03T21:23:08.397Z] lf-activate-venv: SKIPPING [2023-05-03T21:23:08.397Z] INFO: No Stack... [2023-05-03T21:23:08.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T21:23:08.917Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T21:23:09.208Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-05-03T21:23:09.208Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T21:23:09.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [2023-05-03T21:23:09.231Z] Resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] did not exist. Created. [2023-05-03T21:23:09.231Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T21:23:09.536Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T21:23:09.561Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T21:23:09.567Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T21:23:09.592Z] $ docker stop --time=1 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 [2023-05-03T21:23:10.728Z] $ docker rm -f --volumes 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T21:23:20.336Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12626 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-05-03T21:23:20.347Z] Running in /w/workspace/device-rest-go/106 [Pipeline] { [Pipeline] checkout [2023-05-03T21:23:20.389Z] The recommended git tool is: git [2023-05-03T21:23:25.310Z] using credential edgex-jenkins-ssh [2023-05-03T21:23:25.329Z] Cloning the remote Git repository [2023-05-03T21:23:25.382Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-03T21:23:25.469Z] > git init /w/workspace/device-rest-go/106 # timeout=10 [2023-05-03T21:23:25.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-03T21:23:25.601Z] > git --version # timeout=10 [2023-05-03T21:23:25.622Z] > git --version # 'git version 2.25.1' [2023-05-03T21:23:25.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T21:23:25.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T21:23:27.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-03T21:23:27.553Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T21:23:28.287Z] Avoid second fetch [2023-05-03T21:23:28.287Z] Checking out Revision c1a1e2764950d18ca7a23f7abac7d306f95fa84d (main) [2023-05-03T21:23:28.828Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" [2023-05-03T21:23:28.303Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T21:23:28.371Z] > git checkout -f c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T21:23:29.770Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T21:23:29.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T21:23:29.770Z] Dload Upload Total Spent Left Speed [2023-05-03T21:23:29.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-05-03T21:23:30.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T21:23:30.834Z] + sudo tee /etc/docker/daemon.new [2023-05-03T21:23:30.834Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T21:23:30.834Z] { [2023-05-03T21:23:30.834Z] "registry-mirrors": [ [2023-05-03T21:23:30.834Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T21:23:30.834Z] ], [2023-05-03T21:23:30.834Z] "bip": "10.250.0.254/24", [2023-05-03T21:23:30.834Z] "hosts": [ [2023-05-03T21:23:30.834Z] "tcp://0.0.0.0:5555", [2023-05-03T21:23:30.834Z] "unix:///var/run/docker.sock" [2023-05-03T21:23:30.834Z] ], [2023-05-03T21:23:30.834Z] "mtu": 1458, [2023-05-03T21:23:30.834Z] "selinux-enabled": true, [2023-05-03T21:23:30.834Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T21:23:30.834Z] } [Pipeline] sh [2023-05-03T21:23:31.167Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T21:23:31.515Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T21:23:49.773Z] provisioning config files... [2023-05-03T21:23:49.802Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/106@tmp/config3210365025282121258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:23:50.158Z] ---> docker-login.sh [2023-05-03T21:23:50.158Z] nexus3.edgexfoundry.org:10001 [2023-05-03T21:23:50.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:23:50.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:23:50.697Z] Configure a credential helper to remove this warning. See [2023-05-03T21:23:50.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:23:50.697Z] [2023-05-03T21:23:50.697Z] Login Succeeded [2023-05-03T21:23:50.697Z] nexus3.edgexfoundry.org:10002 [2023-05-03T21:23:50.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:23:51.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:23:51.234Z] Configure a credential helper to remove this warning. See [2023-05-03T21:23:51.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:23:51.234Z] [2023-05-03T21:23:51.234Z] Login Succeeded [2023-05-03T21:23:51.234Z] nexus3.edgexfoundry.org:10003 [2023-05-03T21:23:51.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:23:51.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:23:51.504Z] Configure a credential helper to remove this warning. See [2023-05-03T21:23:51.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:23:51.504Z] [2023-05-03T21:23:51.505Z] Login Succeeded [2023-05-03T21:23:51.505Z] nexus3.edgexfoundry.org:10004 [2023-05-03T21:23:51.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:23:51.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:23:51.775Z] Configure a credential helper to remove this warning. See [2023-05-03T21:23:51.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:23:51.775Z] [2023-05-03T21:23:51.775Z] Login Succeeded [2023-05-03T21:23:51.775Z] docker.io [2023-05-03T21:23:52.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:23:52.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:23:52.316Z] Configure a credential helper to remove this warning. See [2023-05-03T21:23:52.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:23:52.316Z] [2023-05-03T21:23:52.316Z] Login Succeeded [2023-05-03T21:23:52.316Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T21:23:52.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T21:23:52.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:23:52.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:23:52.607Z] ========================================================= [2023-05-03T21:23:52.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T21:23:52.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:23:52.964Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T21:23:52.965Z] Sending build context to Docker daemon 138.8kB [2023-05-03T21:23:53.236Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T21:23:53.236Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-03T21:23:53.513Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T21:23:53.513Z] c41833b44d91: Pulling fs layer [2023-05-03T21:23:53.513Z] ed15518f5707: Pulling fs layer [2023-05-03T21:23:53.513Z] feae8fd75edb: Pulling fs layer [2023-05-03T21:23:53.513Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T21:23:53.513Z] 3cdef696dda3: Pulling fs layer [2023-05-03T21:23:53.513Z] 2ced38df9373: Pulling fs layer [2023-05-03T21:23:53.513Z] 58f1dce35555: Pulling fs layer [2023-05-03T21:23:53.513Z] 242c74f7c9fa: Waiting [2023-05-03T21:23:53.513Z] 3cdef696dda3: Waiting [2023-05-03T21:23:53.513Z] 58f1dce35555: Waiting [2023-05-03T21:23:53.513Z] 2ced38df9373: Waiting [2023-05-03T21:23:53.513Z] ed15518f5707: Verifying Checksum [2023-05-03T21:23:53.513Z] ed15518f5707: Download complete [2023-05-03T21:23:53.513Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T21:23:53.513Z] 242c74f7c9fa: Download complete [2023-05-03T21:23:53.513Z] 3cdef696dda3: Verifying Checksum [2023-05-03T21:23:53.513Z] 3cdef696dda3: Download complete [2023-05-03T21:23:53.513Z] c41833b44d91: Verifying Checksum [2023-05-03T21:23:53.513Z] c41833b44d91: Download complete [2023-05-03T21:23:54.950Z] 58f1dce35555: Verifying Checksum [2023-05-03T21:23:54.950Z] 58f1dce35555: Download complete [2023-05-03T21:23:56.378Z] feae8fd75edb: Verifying Checksum [2023-05-03T21:23:56.378Z] feae8fd75edb: Download complete [2023-05-03T21:23:56.378Z] 2ced38df9373: Verifying Checksum [2023-05-03T21:23:56.378Z] 2ced38df9373: Download complete [2023-05-03T21:23:56.378Z] c41833b44d91: Pull complete [2023-05-03T21:23:56.971Z] ed15518f5707: Pull complete [2023-05-03T21:24:09.321Z] feae8fd75edb: Pull complete [2023-05-03T21:24:09.321Z] 242c74f7c9fa: Pull complete [2023-05-03T21:24:09.321Z] 3cdef696dda3: Pull complete [2023-05-03T21:24:14.693Z] 2ced38df9373: Pull complete [2023-05-03T21:24:17.290Z] 58f1dce35555: Pull complete [2023-05-03T21:24:17.290Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T21:24:17.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T21:24:17.290Z] ---> fadd8f120f05 [2023-05-03T21:24:17.290Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-03T21:24:19.247Z] ---> Running in 54d0e539eb54 [2023-05-03T21:24:19.513Z] Removing intermediate container 54d0e539eb54 [2023-05-03T21:24:19.513Z] ---> 2f8c22260ab5 [2023-05-03T21:24:19.513Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T21:24:19.513Z] ---> Running in f5c7a456abb4 [2023-05-03T21:24:19.782Z] Removing intermediate container f5c7a456abb4 [2023-05-03T21:24:19.782Z] ---> f5d9b87eb824 [2023-05-03T21:24:19.782Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-03T21:24:19.782Z] ---> Running in bf2c6bd1c23e [2023-05-03T21:24:20.051Z] Removing intermediate container bf2c6bd1c23e [2023-05-03T21:24:20.051Z] ---> ba776061448b [2023-05-03T21:24:20.051Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T21:24:20.320Z] ---> Running in bc38a0d4eb2e [2023-05-03T21:24:20.595Z] Removing intermediate container bc38a0d4eb2e [2023-05-03T21:24:20.595Z] ---> 07a10b9c0972 [2023-05-03T21:24:20.595Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T21:24:20.595Z] ---> Running in 88ebb36d7234 [2023-05-03T21:24:22.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T21:24:22.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T21:24:23.270Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-03T21:24:23.540Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-03T21:24:23.540Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-03T21:24:23.540Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-03T21:24:23.540Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T21:24:23.540Z] OK: 268 MiB in 57 packages [2023-05-03T21:24:24.507Z] Removing intermediate container 88ebb36d7234 [2023-05-03T21:24:24.507Z] ---> 0246676aa71b [2023-05-03T21:24:24.507Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-03T21:24:24.507Z] ---> Running in 60652a0c5149 [2023-05-03T21:24:25.092Z] Removing intermediate container 60652a0c5149 [2023-05-03T21:24:25.093Z] ---> 2b7d51af89b7 [2023-05-03T21:24:25.093Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-03T21:24:25.360Z] ---> f9d7e57f5b84 [2023-05-03T21:24:25.360Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T21:24:25.360Z] ---> Running in 9d2da495a6d9 [2023-05-03T21:25:33.235Z] Removing intermediate container 9d2da495a6d9 [2023-05-03T21:25:33.235Z] ---> e3612ef48527 [2023-05-03T21:25:33.235Z] Step 11/12 : COPY . . [2023-05-03T21:25:33.236Z] ---> cee6e673b674 [2023-05-03T21:25:33.236Z] Step 12/12 : RUN $MAKE [2023-05-03T21:25:33.236Z] ---> Running in 8d4d37d03537 [2023-05-03T21:25:33.236Z] noop [2023-05-03T21:25:33.236Z] Removing intermediate container 8d4d37d03537 [2023-05-03T21:25:33.236Z] ---> f840a51f9261 [2023-05-03T21:25:33.236Z] Successfully built f840a51f9261 [2023-05-03T21:25:33.236Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:25:33.584Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T21:25:33.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:25:33.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container [2023-05-03T21:25:33.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T21:25:35.081Z] $ docker top eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T21:25:35.899Z] + go version [2023-05-03T21:25:35.899Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T21:25:35.920Z] $ docker stop --time=1 eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 [2023-05-03T21:25:37.485Z] $ docker rm -f --volumes eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:25:38.023Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T21:25:38.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:25:38.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container [2023-05-03T21:25:38.272Z] $ 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/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T21:25:39.419Z] $ docker top 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T21:25:39.928Z] + git config --global --add safe.directory /w/workspace/device-rest-go/106 [Pipeline] fileExists [Pipeline] sh [2023-05-03T21:25:40.268Z] + make test [2023-05-03T21:25:40.268Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T21:26:12.482Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-03T21:28:04.169Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-03T21:28:04.169Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-05-03T21:28:04.169Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T21:28:04.169Z] go vet ./... [2023-05-03T21:28:36.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T21:28:36.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T21:28:36.388Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T21:28:36.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T21:28:36.427Z] $ docker stop --time=1 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 [2023-05-03T21:28:38.172Z] $ docker rm -f --volumes 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T21:28:39.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T21:28:39.220Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T21:28:39.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T21:28:40.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T21:28:40.325Z] + ls -al . [2023-05-03T21:28:40.325Z] total 180 [2023-05-03T21:28:40.325Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:25 . [2023-05-03T21:28:40.325Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:23 .. [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 21:23 .dockerignore [2023-05-03T21:28:40.325Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:23 .git [2023-05-03T21:28:40.325Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:23 .github [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:23 .gitignore [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:23 .golangci.yml [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 3 21:23 Attribution.txt [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 3 21:23 CHANGELOG.md [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 3 21:23 Dockerfile [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:23 GOVERNANCE.md [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 21:23 Jenkinsfile [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:23 LICENSE [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 3 21:23 Makefile [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:23 OWNERS.md [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 3 21:23 README.md [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:21 VERSION [2023-05-03T21:28:40.325Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:23 bin [2023-05-03T21:28:40.325Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:23 cmd [2023-05-03T21:28:40.325Z] -rw-r--r-- 1 jenkins jenkins 14663 May 3 21:27 coverage.out [2023-05-03T21:28:40.325Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:23 driver [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 3 21:23 go.mod [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 3 21:23 go.sum [2023-05-03T21:28:40.325Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:23 snap [2023-05-03T21:28:40.325Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:28:40.663Z] + 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=c1a1e2764950d18ca7a23f7abac7d306f95fa84d --label arch=arm64 --label version=3.0.0-dev.34 . [2023-05-03T21:28:40.663Z] Sending build context to Docker daemon 154.1kB [2023-05-03T21:28:40.930Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T21:28:40.930Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-03T21:28:40.930Z] ---> f840a51f9261 [2023-05-03T21:28:40.930Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-03T21:28:40.930Z] ---> Running in 1e85a1e0d13e [2023-05-03T21:28:41.197Z] Removing intermediate container 1e85a1e0d13e [2023-05-03T21:28:41.197Z] ---> 4f05cb6e040e [2023-05-03T21:28:41.197Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T21:28:41.197Z] ---> Running in f4277ef3742c [2023-05-03T21:28:41.467Z] Removing intermediate container f4277ef3742c [2023-05-03T21:28:41.467Z] ---> 98ab4f0e6de4 [2023-05-03T21:28:41.467Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-03T21:28:41.734Z] ---> Running in 2b63f4baf9e4 [2023-05-03T21:28:42.002Z] Removing intermediate container 2b63f4baf9e4 [2023-05-03T21:28:42.002Z] ---> 72e5ffd60eb5 [2023-05-03T21:28:42.002Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-03T21:28:42.002Z] ---> Running in c69ce4e89f21 [2023-05-03T21:28:42.271Z] Removing intermediate container c69ce4e89f21 [2023-05-03T21:28:42.271Z] ---> 8ba035923ce1 [2023-05-03T21:28:42.271Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T21:28:42.271Z] ---> Running in c9149af8f35b [2023-05-03T21:28:43.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T21:28:43.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T21:28:44.916Z] OK: 268 MiB in 57 packages [2023-05-03T21:28:45.881Z] Removing intermediate container c9149af8f35b [2023-05-03T21:28:45.882Z] ---> 13dcaf293a75 [2023-05-03T21:28:45.882Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-03T21:28:45.882Z] ---> Running in 7beebc0379db [2023-05-03T21:28:46.149Z] Removing intermediate container 7beebc0379db [2023-05-03T21:28:46.149Z] ---> 4105d4064107 [2023-05-03T21:28:46.149Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-03T21:28:46.736Z] ---> b178b57bbaf1 [2023-05-03T21:28:46.736Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T21:28:46.736Z] ---> Running in 3a148614a897 [2023-05-03T21:28:49.041Z] Removing intermediate container 3a148614a897 [2023-05-03T21:28:49.041Z] ---> 2c7c3ab7d1ee [2023-05-03T21:28:49.041Z] Step 11/25 : COPY . . [2023-05-03T21:28:49.625Z] ---> cd5805f8ab1b [2023-05-03T21:28:49.625Z] Step 12/25 : RUN $MAKE [2023-05-03T21:28:49.625Z] ---> Running in 1283819e9fd9 [2023-05-03T21:28:50.587Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-03T21:30:57.263Z] Removing intermediate container 1283819e9fd9 [2023-05-03T21:30:57.263Z] ---> a9ce419cffdd [2023-05-03T21:30:57.263Z] Step 13/25 : FROM alpine:3.17 [2023-05-03T21:30:57.263Z] 3.17: Pulling from library/alpine [2023-05-03T21:30:57.263Z] c41833b44d91: Already exists [2023-05-03T21:30:57.263Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T21:30:57.263Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T21:30:57.263Z] ---> 51e60588ff2c [2023-05-03T21:30:57.263Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T21:30:57.263Z] ---> Running in ab8c45ecde5c [2023-05-03T21:30:57.263Z] Removing intermediate container ab8c45ecde5c [2023-05-03T21:30:57.263Z] ---> 127739956b46 [2023-05-03T21:30:57.263Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-03T21:30:57.263Z] ---> Running in b3c6d5e4889e [2023-05-03T21:30:57.263Z] Removing intermediate container b3c6d5e4889e [2023-05-03T21:30:57.263Z] ---> 5bd5049158fd [2023-05-03T21:30:57.263Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-03T21:30:57.263Z] ---> Running in af5bdaeecdb5 [2023-05-03T21:30:57.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T21:30:57.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T21:30:57.533Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-03T21:30:57.533Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T21:30:57.533Z] OK: 8 MiB in 16 packages [2023-05-03T21:30:58.494Z] Removing intermediate container af5bdaeecdb5 [2023-05-03T21:30:58.494Z] ---> 779198eff4ba [2023-05-03T21:30:58.494Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-03T21:30:59.906Z] ---> ae091d9f23dc [2023-05-03T21:30:59.906Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-03T21:31:00.178Z] ---> 9ae05481a3a7 [2023-05-03T21:31:00.178Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-03T21:31:00.766Z] ---> 0804ea8d5d61 [2023-05-03T21:31:00.766Z] Step 20/25 : EXPOSE 59986 [2023-05-03T21:31:00.766Z] ---> Running in 8e02a047a0dc [2023-05-03T21:31:01.038Z] Removing intermediate container 8e02a047a0dc [2023-05-03T21:31:01.038Z] ---> 0e976549201d [2023-05-03T21:31:01.038Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-03T21:31:01.310Z] ---> Running in 3cf7e491c0c7 [2023-05-03T21:31:01.578Z] Removing intermediate container 3cf7e491c0c7 [2023-05-03T21:31:01.578Z] ---> 53608d08eeed [2023-05-03T21:31:01.578Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-03T21:31:01.578Z] ---> Running in 28c0c0a697c5 [2023-05-03T21:31:01.845Z] Removing intermediate container 28c0c0a697c5 [2023-05-03T21:31:01.845Z] ---> e902cd3e38bb [2023-05-03T21:31:01.845Z] Step 23/25 : LABEL arch=arm64 [2023-05-03T21:31:01.845Z] ---> Running in 8067b21bee1e [2023-05-03T21:31:02.112Z] Removing intermediate container 8067b21bee1e [2023-05-03T21:31:02.112Z] ---> feb3800ce13e [2023-05-03T21:31:02.112Z] Step 24/25 : LABEL git_sha=c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:31:02.386Z] ---> Running in b0c112566ea6 [2023-05-03T21:31:02.654Z] Removing intermediate container b0c112566ea6 [2023-05-03T21:31:02.654Z] ---> a388469dd700 [2023-05-03T21:31:02.654Z] Step 25/25 : LABEL version=3.0.0-dev.34 [2023-05-03T21:31:02.654Z] ---> Running in ba599b69292e [2023-05-03T21:31:02.922Z] Removing intermediate container ba599b69292e [2023-05-03T21:31:02.922Z] ---> c21f766cb3d3 [2023-05-03T21:31:02.922Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T21:31:02.922Z] Successfully built c21f766cb3d3 [2023-05-03T21:31:02.922Z] 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-05-03T21:31:03.014Z] provisioning config files... [2023-05-03T21:31:03.028Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/106@tmp/config3782938878099998204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:31:03.361Z] ---> docker-login.sh [2023-05-03T21:31:03.361Z] nexus3.edgexfoundry.org:10001 [2023-05-03T21:31:03.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:31:03.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:31:03.628Z] Configure a credential helper to remove this warning. See [2023-05-03T21:31:03.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:31:03.628Z] [2023-05-03T21:31:03.628Z] Login Succeeded [2023-05-03T21:31:03.629Z] nexus3.edgexfoundry.org:10002 [2023-05-03T21:31:03.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:31:03.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:31:03.897Z] Configure a credential helper to remove this warning. See [2023-05-03T21:31:03.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:31:03.897Z] [2023-05-03T21:31:03.897Z] Login Succeeded [2023-05-03T21:31:03.897Z] nexus3.edgexfoundry.org:10003 [2023-05-03T21:31:04.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:31:04.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:31:04.432Z] Configure a credential helper to remove this warning. See [2023-05-03T21:31:04.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:31:04.432Z] [2023-05-03T21:31:04.432Z] Login Succeeded [2023-05-03T21:31:04.432Z] nexus3.edgexfoundry.org:10004 [2023-05-03T21:31:04.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:31:04.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:31:04.700Z] Configure a credential helper to remove this warning. See [2023-05-03T21:31:04.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:31:04.700Z] [2023-05-03T21:31:04.700Z] Login Succeeded [2023-05-03T21:31:04.700Z] docker.io [2023-05-03T21:31:04.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T21:31:05.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T21:31:05.239Z] Configure a credential helper to remove this warning. See [2023-05-03T21:31:05.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T21:31:05.239Z] [2023-05-03T21:31:05.239Z] Login Succeeded [2023-05-03T21:31:05.239Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T21:31:05.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-03T21:31:05.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T21:31:05.313Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-05-03T21:31:05.313Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:31:05.313Z] latest [2023-05-03T21:31:05.313Z] 3.0.0-dev.34 [2023-05-03T21:31:05.313Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:31:05.313Z] main [2023-05-03T21:31:05.313Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:05.669Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:08.601Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:31:08.602Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-03T21:31:08.602Z] 854a54b10aa0: Preparing [2023-05-03T21:31:08.602Z] 75fa2c2fbf4a: Preparing [2023-05-03T21:31:08.602Z] 3f0ee3a80f07: Preparing [2023-05-03T21:31:08.602Z] b9275b4f7aaf: Preparing [2023-05-03T21:31:08.602Z] 26cbea5cba74: Preparing [2023-05-03T21:31:08.602Z] 26cbea5cba74: Layer already exists [2023-05-03T21:31:08.883Z] 75fa2c2fbf4a: Pushed [2023-05-03T21:31:08.883Z] 854a54b10aa0: Pushed [2023-05-03T21:31:08.883Z] b9275b4f7aaf: Pushed [2023-05-03T21:31:14.230Z] 3f0ee3a80f07: Pushed [2023-05-03T21:31:14.230Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:14.583Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:14.916Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-03T21:31:14.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-03T21:31:14.916Z] 854a54b10aa0: Preparing [2023-05-03T21:31:14.916Z] 75fa2c2fbf4a: Preparing [2023-05-03T21:31:14.916Z] 3f0ee3a80f07: Preparing [2023-05-03T21:31:14.916Z] b9275b4f7aaf: Preparing [2023-05-03T21:31:14.916Z] 26cbea5cba74: Preparing [2023-05-03T21:31:14.916Z] 26cbea5cba74: Layer already exists [2023-05-03T21:31:14.916Z] 854a54b10aa0: Layer already exists [2023-05-03T21:31:14.916Z] 3f0ee3a80f07: Layer already exists [2023-05-03T21:31:14.916Z] b9275b4f7aaf: Layer already exists [2023-05-03T21:31:14.916Z] 75fa2c2fbf4a: Layer already exists [2023-05-03T21:31:15.183Z] latest: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:15.518Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:15.853Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 [2023-05-03T21:31:15.853Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-03T21:31:15.853Z] 854a54b10aa0: Preparing [2023-05-03T21:31:15.853Z] 75fa2c2fbf4a: Preparing [2023-05-03T21:31:15.853Z] 3f0ee3a80f07: Preparing [2023-05-03T21:31:15.853Z] b9275b4f7aaf: Preparing [2023-05-03T21:31:15.853Z] 26cbea5cba74: Preparing [2023-05-03T21:31:15.853Z] 75fa2c2fbf4a: Layer already exists [2023-05-03T21:31:15.853Z] 854a54b10aa0: Layer already exists [2023-05-03T21:31:15.853Z] 3f0ee3a80f07: Layer already exists [2023-05-03T21:31:15.853Z] 26cbea5cba74: Layer already exists [2023-05-03T21:31:15.853Z] b9275b4f7aaf: Layer already exists [2023-05-03T21:31:15.853Z] 3.0.0-dev.34: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:16.266Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:16.627Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:31:16.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-03T21:31:16.627Z] 854a54b10aa0: Preparing [2023-05-03T21:31:16.627Z] 75fa2c2fbf4a: Preparing [2023-05-03T21:31:16.627Z] 3f0ee3a80f07: Preparing [2023-05-03T21:31:16.627Z] b9275b4f7aaf: Preparing [2023-05-03T21:31:16.627Z] 26cbea5cba74: Preparing [2023-05-03T21:31:16.627Z] 3f0ee3a80f07: Layer already exists [2023-05-03T21:31:16.627Z] b9275b4f7aaf: Layer already exists [2023-05-03T21:31:16.627Z] 26cbea5cba74: Layer already exists [2023-05-03T21:31:16.627Z] 75fa2c2fbf4a: Layer already exists [2023-05-03T21:31:16.627Z] 854a54b10aa0: Layer already exists [2023-05-03T21:31:16.907Z] c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:17.263Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:17.635Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-05-03T21:31:17.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-03T21:31:17.635Z] 854a54b10aa0: Preparing [2023-05-03T21:31:17.635Z] 75fa2c2fbf4a: Preparing [2023-05-03T21:31:17.635Z] 3f0ee3a80f07: Preparing [2023-05-03T21:31:17.635Z] b9275b4f7aaf: Preparing [2023-05-03T21:31:17.635Z] 26cbea5cba74: Preparing [2023-05-03T21:31:17.635Z] 854a54b10aa0: Layer already exists [2023-05-03T21:31:17.635Z] b9275b4f7aaf: Layer already exists [2023-05-03T21:31:17.635Z] 3f0ee3a80f07: Layer already exists [2023-05-03T21:31:17.635Z] 26cbea5cba74: Layer already exists [2023-05-03T21:31:17.635Z] 75fa2c2fbf4a: Layer already exists [2023-05-03T21:31:17.635Z] main: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-03T21:31:17.687Z] ===================================================== [Pipeline] echo [2023-05-03T21:31:17.694Z] taggedImages: [2023-05-03T21:31:17.694Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [2023-05-03T21:31:17.694Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-03T21:31:17.694Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 [2023-05-03T21:31:17.694Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [2023-05-03T21:31:17.694Z] - 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-05-03T21:31:18.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T21:31:18.053Z] [2023-05-03T21:31:18.053Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:18.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T21:31:18.394Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T21:31:18.394Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T21:31:18.394Z] 04944245beec: Pulling fs layer [2023-05-03T21:31:18.394Z] 699f458cf7ca: Pulling fs layer [2023-05-03T21:31:18.394Z] 765212b225bb: Pulling fs layer [2023-05-03T21:31:18.394Z] f23df028b6ca: Pulling fs layer [2023-05-03T21:31:18.394Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T21:31:18.394Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T21:31:18.394Z] f23df028b6ca: Waiting [2023-05-03T21:31:18.394Z] 765212b225bb: Waiting [2023-05-03T21:31:18.394Z] 2437ff75d9bd: Waiting [2023-05-03T21:31:18.664Z] 04944245beec: Verifying Checksum [2023-05-03T21:31:18.664Z] 04944245beec: Download complete [2023-05-03T21:31:18.664Z] 765212b225bb: Verifying Checksum [2023-05-03T21:31:18.664Z] 765212b225bb: Download complete [2023-05-03T21:31:18.664Z] f23df028b6ca: Download complete [2023-05-03T21:31:18.664Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T21:31:18.664Z] d65c8cfc05b1: Download complete [2023-05-03T21:31:18.664Z] 699f458cf7ca: Verifying Checksum [2023-05-03T21:31:18.664Z] 699f458cf7ca: Download complete [2023-05-03T21:31:19.254Z] 8998bd30e6a1: Verifying Checksum [2023-05-03T21:31:19.254Z] 8998bd30e6a1: Download complete [2023-05-03T21:31:21.205Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T21:31:21.205Z] 2437ff75d9bd: Download complete [2023-05-03T21:31:23.157Z] 8998bd30e6a1: Pull complete [2023-05-03T21:31:23.424Z] 04944245beec: Pull complete [2023-05-03T21:31:24.836Z] 699f458cf7ca: Pull complete [2023-05-03T21:31:25.103Z] 765212b225bb: Pull complete [2023-05-03T21:31:25.689Z] f23df028b6ca: Pull complete [2023-05-03T21:31:25.957Z] d65c8cfc05b1: Pull complete [2023-05-03T21:31:40.960Z] 2437ff75d9bd: Pull complete [2023-05-03T21:31:40.960Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T21:31:40.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T21:31:40.960Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:31:41.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container [2023-05-03T21:31:41.221Z] $ 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/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-03T21:31:43.745Z] $ docker top f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:31:44.593Z] ---> job-cost.sh [2023-05-03T21:31:44.593Z] lf-activate-venv: SKIPPING [2023-05-03T21:31:44.593Z] INFO: No Stack... [2023-05-03T21:31:45.177Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T21:31:45.758Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T21:31:46.386Z] + cut -d, -f6 [2023-05-03T21:31:46.387Z] + cat /w/workspace/device-rest-go/106/archives/cost.csv [Pipeline] lock [2023-05-03T21:31:46.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [2023-05-03T21:31:46.463Z] Resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] did not exist. Created. [2023-05-03T21:31:46.463Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T21:31:47.109Z] /w/workspace/device-rest-go/106@tmp/durable-2f6615d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T21:31:47.762Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T21:31:47.784Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T21:31:47.829Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T21:31:47.840Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T21:31:47.859Z] $ docker stop --time=1 f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb [2023-05-03T21:31:49.374Z] $ docker rm -f --volumes f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb [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-05-03T21:31:49.785Z] provisioning config files... [2023-05-03T21:31:49.792Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17537391833394436779tmp [Pipeline] { [Pipeline] sh [2023-05-03T21:31:50.082Z] + set +x [2023-05-03T21:31:50.082Z] + bash -s -- [2023-05-03T21:31:50.082Z] + curl -s https://codecov.io/bash [2023-05-03T21:31:50.082Z] [2023-05-03T21:31:50.082Z] _____ _ [2023-05-03T21:31:50.082Z] / ____| | | [2023-05-03T21:31:50.082Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T21:31:50.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T21:31:50.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T21:31:50.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T21:31:50.082Z] Bash-1.0.6 [2023-05-03T21:31:50.082Z] [2023-05-03T21:31:50.082Z] [2023-05-03T21:31:50.082Z] ==> git version 2.25.1 found [2023-05-03T21:31:50.082Z] ==> 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-05-03T21:31:50.082Z] Release-Date: 2020-01-08 [2023-05-03T21:31:50.082Z] 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-05-03T21:31:50.082Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T21:31:50.082Z] ==> Jenkins CI detected. [2023-05-03T21:31:50.082Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-05-03T21:31:50.082Z] project root: . [2023-05-03T21:31:50.082Z] --> token set from env [2023-05-03T21:31:50.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T21:31:50.082Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T21:31:50.082Z] ==> Python coveragepy not found [2023-05-03T21:31:50.082Z] ==> Searching for coverage reports in: [2023-05-03T21:31:50.082Z] + . [2023-05-03T21:31:50.082Z] -> Found 1 reports [2023-05-03T21:31:50.082Z] ==> Detecting git/mercurial file structure [2023-05-03T21:31:50.341Z] ==> Reading reports [2023-05-03T21:31:50.341Z] + ./coverage.out bytes=14663 [2023-05-03T21:31:50.341Z] ==> Appending adjustments [2023-05-03T21:31:50.341Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T21:31:50.341Z] + Found adjustments [2023-05-03T21:31:50.341Z] ==> Gzipping contents [2023-05-03T21:31:50.341Z] 4.0K /tmp/codecov.pbfIO5.gz [2023-05-03T21:31:50.341Z] ==> Uploading reports [2023-05-03T21:31:50.341Z] url: https://codecov.io [2023-05-03T21:31:50.341Z] query: branch=main&commit=c1a1e2764950d18ca7a23f7abac7d306f95fa84d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-03T21:31:50.341Z] -> Pinging Codecov [2023-05-03T21:31:50.341Z] 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=c1a1e2764950d18ca7a23f7abac7d306f95fa84d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-03T21:31:50.601Z] -> Uploading to [2023-05-03T21:31:50.601Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-03/4E5D53B4F1F92C436F7061BF334D961C/c1a1e2764950d18ca7a23f7abac7d306f95fa84d/52ab71a0-1b1d-4df6-9f2e-14cbd5ec2898.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T213150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0f24433db08cc3cf6650b6f85393f93bae66409b1c9562cabb85fcd69ad5fa4 [2023-05-03T21:31:50.601Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T21:31:50.601Z] Dload Upload Total Spent Left Speed [2023-05-03T21:31:50.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11409 --:--:-- --:--:-- --:--:-- 11357 100 2510 0 0 100 2510 0 10080 --:--:-- --:--:-- --:--:-- 10040 [2023-05-03T21:31:50.860Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } [2023-05-03T21:31:50.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-03T21:31:51.089Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-03T21:31:51.104Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:51.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-03T21:31:51.402Z] [2023-05-03T21:31:51.402Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:31:51.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-03T21:31:51.702Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-03T21:31:51.702Z] df9b9388f04a: Pulling fs layer [2023-05-03T21:31:51.702Z] 52dc419b0ee2: Pulling fs layer [2023-05-03T21:31:51.702Z] 25bc292e5bac: Pulling fs layer [2023-05-03T21:31:51.702Z] 114826534d7a: Pulling fs layer [2023-05-03T21:31:51.702Z] 4657fd5d0bcf: Pulling fs layer [2023-05-03T21:31:51.702Z] 6ad1cebc031e: Pulling fs layer [2023-05-03T21:31:51.702Z] 8a3aa393b2d8: Pulling fs layer [2023-05-03T21:31:51.702Z] 114826534d7a: Waiting [2023-05-03T21:31:51.702Z] 8a3aa393b2d8: Waiting [2023-05-03T21:31:51.702Z] 4657fd5d0bcf: Waiting [2023-05-03T21:31:51.702Z] 6ad1cebc031e: Waiting [2023-05-03T21:31:51.702Z] 25bc292e5bac: Verifying Checksum [2023-05-03T21:31:51.702Z] 25bc292e5bac: Download complete [2023-05-03T21:31:51.702Z] 52dc419b0ee2: Download complete [2023-05-03T21:31:51.702Z] 4657fd5d0bcf: Download complete [2023-05-03T21:31:51.702Z] df9b9388f04a: Download complete [2023-05-03T21:31:51.962Z] df9b9388f04a: Pull complete [2023-05-03T21:31:51.962Z] 6ad1cebc031e: Verifying Checksum [2023-05-03T21:31:51.962Z] 6ad1cebc031e: Download complete [2023-05-03T21:31:51.962Z] 52dc419b0ee2: Pull complete [2023-05-03T21:31:51.962Z] 25bc292e5bac: Pull complete [2023-05-03T21:31:52.533Z] 114826534d7a: Download complete [2023-05-03T21:31:52.533Z] 8a3aa393b2d8: Verifying Checksum [2023-05-03T21:31:52.533Z] 8a3aa393b2d8: Download complete [2023-05-03T21:31:55.817Z] 114826534d7a: Pull complete [2023-05-03T21:31:55.817Z] 4657fd5d0bcf: Pull complete [2023-05-03T21:31:55.817Z] 6ad1cebc031e: Pull complete [2023-05-03T21:31:58.349Z] 8a3aa393b2d8: Pull complete [2023-05-03T21:31:58.349Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-03T21:31:58.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-03T21:31:58.349Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:31:58.434Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:31:58.464Z] $ 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-05-03T21:32:00.558Z] $ docker top 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-03T21:32:00.633Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-05-03T21:32:00.913Z] + set -o pipefail [2023-05-03T21:32:00.913Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7b63e065-7897-4ef4-a3ae-f09f22c8da5c [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] [2023-05-03T21:32:06.188Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-03T21:32:06.188Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-03T21:32:06.188Z] More details here: https://snyk.co/ue1NS [2023-05-03T21:32:06.188Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-03T21:32:06.188Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-03T21:32:06.200Z] $ docker stop --time=1 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 [2023-05-03T21:32:08.291Z] $ docker rm -f --volumes 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 [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-05-03T21:32:09.002Z] + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] sh [2023-05-03T21:32:09.293Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T21:32:09.293Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:09.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:32:09.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:32:09.670Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:32:09.702Z] $ 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-05-03T21:32:10.058Z] $ docker top 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T21:32:10.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T21:32:10.146Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T21:32:10.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T21:32:10.278Z] $ docker exec 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d ssh-agent [2023-05-03T21:32:10.402Z] SSH_AUTH_SOCK=/tmp/ssh-qEyaZNmnfycb/agent.33 [2023-05-03T21:32:10.402Z] SSH_AGENT_PID=39 [2023-05-03T21:32:10.407Z] Running ssh-add (command line suppressed) [2023-05-03T21:32:10.502Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1214484639050411466.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1214484639050411466.key) [2023-05-03T21:32:10.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T21:32:10.805Z] + git semver tag [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,987 [run_tag] DEBUG tag force:False [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,987 [check_head_tag] DEBUG check head tag [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,988 [execute] INFO git cat-file --batch-check [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,992 [execute] INFO git cat-file --batch [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:10,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:11,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:11,014 [execute] INFO git tag -a v3.0.0-dev.34 -m v3.0.0-dev.34 [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:11,015 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.34', '-m', 'v3.0.0-dev.34'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-03T21:32:11.065Z] 2023-05-03 21:32:11,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:11.065Z] 3.0.0-dev.34 [Pipeline] } [2023-05-03T21:32:11.074Z] $ docker exec --env ******** --env ******** 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d ssh-agent -k [2023-05-03T21:32:11.168Z] unset SSH_AUTH_SOCK; [2023-05-03T21:32:11.168Z] unset SSH_AGENT_PID; [2023-05-03T21:32:11.168Z] echo Agent pid 39 killed; [2023-05-03T21:32:11.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T21:32:11.474Z] + git semver [Pipeline] } [2023-05-03T21:32:11.747Z] $ docker stop --time=1 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d [2023-05-03T21:32:13.053Z] $ docker rm -f --volumes 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:13.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-03T21:32:13.454Z] [2023-05-03T21:32:13.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:13.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-03T21:32:13.753Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-03T21:32:13.753Z] ab5ef0e58194: Pulling fs layer [2023-05-03T21:32:13.753Z] 9712f1f96733: Pulling fs layer [2023-05-03T21:32:13.753Z] 63f879dbbcfc: Pulling fs layer [2023-05-03T21:32:13.753Z] 0d9ebad4ef96: Pulling fs layer [2023-05-03T21:32:13.753Z] e9a5061849ea: Pulling fs layer [2023-05-03T21:32:13.753Z] d747dcd14b5f: Pulling fs layer [2023-05-03T21:32:13.753Z] 2de7ff778b66: Pulling fs layer [2023-05-03T21:32:13.753Z] 0d9ebad4ef96: Waiting [2023-05-03T21:32:13.753Z] d747dcd14b5f: Waiting [2023-05-03T21:32:13.753Z] e9a5061849ea: Waiting [2023-05-03T21:32:13.753Z] 2de7ff778b66: Waiting [2023-05-03T21:32:13.753Z] 9712f1f96733: Verifying Checksum [2023-05-03T21:32:13.753Z] 9712f1f96733: Download complete [2023-05-03T21:32:14.014Z] 63f879dbbcfc: Verifying Checksum [2023-05-03T21:32:14.014Z] 63f879dbbcfc: Download complete [2023-05-03T21:32:14.273Z] 0d9ebad4ef96: Verifying Checksum [2023-05-03T21:32:14.273Z] 0d9ebad4ef96: Download complete [2023-05-03T21:32:14.273Z] e9a5061849ea: Verifying Checksum [2023-05-03T21:32:14.273Z] e9a5061849ea: Download complete [2023-05-03T21:32:14.273Z] d747dcd14b5f: Download complete [2023-05-03T21:32:14.273Z] ab5ef0e58194: Verifying Checksum [2023-05-03T21:32:14.273Z] ab5ef0e58194: Download complete [2023-05-03T21:32:14.273Z] 2de7ff778b66: Verifying Checksum [2023-05-03T21:32:14.273Z] 2de7ff778b66: Download complete [2023-05-03T21:32:17.625Z] ab5ef0e58194: Pull complete [2023-05-03T21:32:17.625Z] 9712f1f96733: Pull complete [2023-05-03T21:32:17.625Z] 63f879dbbcfc: Pull complete [2023-05-03T21:32:21.811Z] 0d9ebad4ef96: Pull complete [2023-05-03T21:32:21.811Z] e9a5061849ea: Pull complete [2023-05-03T21:32:21.811Z] d747dcd14b5f: Pull complete [2023-05-03T21:32:22.377Z] 2de7ff778b66: Pull complete [2023-05-03T21:32:22.377Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-03T21:32:22.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-03T21:32:22.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:32:22.454Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:32:22.485Z] $ 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-05-03T21:32:24.548Z] $ docker top 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-03T21:32:24.616Z] provisioning config files... [2023-05-03T21:32:24.622Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10434777387846499145tmp [2023-05-03T21:32:24.631Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15880100677693960168tmp [2023-05-03T21:32:24.638Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9103230762386248824tmp [Pipeline] { [Pipeline] echo [2023-05-03T21:32:24.653Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:24.936Z] ---> sigul-configuration.sh [2023-05-03T21:32:24.936Z] gpg: directory `/root/.gnupg' created [2023-05-03T21:32:24.936Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-03T21:32:24.936Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-03T21:32:24.936Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-03T21:32:24.936Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-03T21:32:24.936Z] gpg: CAST5 encrypted data [2023-05-03T21:32:24.936Z] gpg: encrypted with 1 passphrase [2023-05-03T21:32:24.936Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-03T21:32:25.220Z] + mkdir /home/jenkins [2023-05-03T21:32:25.221Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-03T21:32:25.508Z] + 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-05-03T21:32:25.517Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:25.802Z] ---> sigul-install.sh [2023-05-03T21:32:25.802Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-03T21:32:26.084Z] + git tag --list [2023-05-03T21:32:26.084Z] v1.0.0 [2023-05-03T21:32:26.084Z] v1.1.0 [2023-05-03T21:32:26.084Z] v1.1.1 [2023-05-03T21:32:26.084Z] v1.1.2 [2023-05-03T21:32:26.084Z] v1.2.0 [2023-05-03T21:32:26.084Z] v1.2.1 [2023-05-03T21:32:26.084Z] v2.0.0 [2023-05-03T21:32:26.084Z] v2.1.0 [2023-05-03T21:32:26.084Z] v2.1.1 [2023-05-03T21:32:26.084Z] v2.1.1-dev.1 [2023-05-03T21:32:26.084Z] v2.1.1-dev.2 [2023-05-03T21:32:26.084Z] v2.1.1-dev.3 [2023-05-03T21:32:26.084Z] v2.2.0 [2023-05-03T21:32:26.084Z] v2.2.1-dev.1 [2023-05-03T21:32:26.084Z] v2.2.1-dev.2 [2023-05-03T21:32:26.084Z] v2.2.1-dev.3 [2023-05-03T21:32:26.084Z] v2.2.1-dev.4 [2023-05-03T21:32:26.084Z] v2.2.1-dev.5 [2023-05-03T21:32:26.084Z] v2.2.1-dev.6 [2023-05-03T21:32:26.084Z] v2.2.1-dev.7 [2023-05-03T21:32:26.084Z] v2.2.1-dev.8 [2023-05-03T21:32:26.084Z] v2.2.1-dev.9 [2023-05-03T21:32:26.084Z] v2.3.0 [2023-05-03T21:32:26.084Z] v2.3.0-dev.10 [2023-05-03T21:32:26.084Z] v2.3.0-dev.11 [2023-05-03T21:32:26.084Z] v2.3.0-dev.12 [2023-05-03T21:32:26.084Z] v2.3.0-dev.13 [2023-05-03T21:32:26.084Z] v2.3.0-dev.14 [2023-05-03T21:32:26.084Z] v2.3.0-dev.15 [2023-05-03T21:32:26.084Z] v2.3.0-dev.16 [2023-05-03T21:32:26.084Z] v2.3.0-dev.17 [2023-05-03T21:32:26.084Z] v2.3.0-dev.18 [2023-05-03T21:32:26.084Z] v2.3.0-dev.19 [2023-05-03T21:32:26.084Z] v2.3.0-dev.20 [2023-05-03T21:32:26.084Z] v2.3.0-dev.21 [2023-05-03T21:32:26.084Z] v2.3.0-dev.22 [2023-05-03T21:32:26.084Z] v2.3.0-dev.23 [2023-05-03T21:32:26.084Z] v2.3.0-dev.24 [2023-05-03T21:32:26.084Z] v2.3.0-dev.25 [2023-05-03T21:32:26.084Z] v2.3.0-dev.9 [2023-05-03T21:32:26.084Z] v3.0.0-dev.1 [2023-05-03T21:32:26.085Z] v3.0.0-dev.10 [2023-05-03T21:32:26.085Z] v3.0.0-dev.11 [2023-05-03T21:32:26.085Z] v3.0.0-dev.12 [2023-05-03T21:32:26.085Z] v3.0.0-dev.13 [2023-05-03T21:32:26.085Z] v3.0.0-dev.14 [2023-05-03T21:32:26.085Z] v3.0.0-dev.15 [2023-05-03T21:32:26.085Z] v3.0.0-dev.16 [2023-05-03T21:32:26.085Z] v3.0.0-dev.17 [2023-05-03T21:32:26.085Z] v3.0.0-dev.18 [2023-05-03T21:32:26.085Z] v3.0.0-dev.19 [2023-05-03T21:32:26.085Z] v3.0.0-dev.2 [2023-05-03T21:32:26.085Z] v3.0.0-dev.20 [2023-05-03T21:32:26.085Z] v3.0.0-dev.21 [2023-05-03T21:32:26.085Z] v3.0.0-dev.22 [2023-05-03T21:32:26.085Z] v3.0.0-dev.23 [2023-05-03T21:32:26.085Z] v3.0.0-dev.24 [2023-05-03T21:32:26.085Z] v3.0.0-dev.25 [2023-05-03T21:32:26.085Z] v3.0.0-dev.26 [2023-05-03T21:32:26.085Z] v3.0.0-dev.27 [2023-05-03T21:32:26.085Z] v3.0.0-dev.28 [2023-05-03T21:32:26.085Z] v3.0.0-dev.29 [2023-05-03T21:32:26.085Z] v3.0.0-dev.3 [2023-05-03T21:32:26.085Z] v3.0.0-dev.30 [2023-05-03T21:32:26.085Z] v3.0.0-dev.31 [2023-05-03T21:32:26.085Z] v3.0.0-dev.32 [2023-05-03T21:32:26.085Z] v3.0.0-dev.33 [2023-05-03T21:32:26.085Z] v3.0.0-dev.34 [2023-05-03T21:32:26.085Z] v3.0.0-dev.4 [2023-05-03T21:32:26.085Z] v3.0.0-dev.5 [2023-05-03T21:32:26.085Z] v3.0.0-dev.6 [2023-05-03T21:32:26.085Z] v3.0.0-dev.7 [2023-05-03T21:32:26.085Z] v3.0.0-dev.8 [2023-05-03T21:32:26.085Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-03T21:32:26.369Z] + lftools sign git-tag v3.0.0-dev.34 [2023-05-03T21:32:26.935Z] Signing Git tag with Sigul... [2023-05-03T21:32:26.935Z] Signing v3.0.0-dev.34 [Pipeline] echo [2023-05-03T21:32:27.203Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:27.484Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-03T21:32:27.490Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-03T21:32:27.508Z] $ docker stop --time=1 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 [2023-05-03T21:32:28.798Z] $ docker rm -f --volumes 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-03T21:32:29.207Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T21:32:29.207Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:29.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:32:29.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:32:29.585Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:32:29.614Z] $ 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-05-03T21:32:29.984Z] $ docker top 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T21:32:30.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T21:32:30.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T21:32:30.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T21:32:30.186Z] $ docker exec 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db ssh-agent [2023-05-03T21:32:30.295Z] SSH_AUTH_SOCK=/tmp/ssh-aaJ8HJzB0yz1/agent.32 [2023-05-03T21:32:30.295Z] SSH_AGENT_PID=38 [2023-05-03T21:32:30.300Z] Running ssh-add (command line suppressed) [2023-05-03T21:32:30.400Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8462167005439412725.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8462167005439412725.key) [2023-05-03T21:32:30.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T21:32:30.702Z] + git semver bump pre [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [bump_version] DEBUG bumping version:3.0.0-dev.34 on axis:pre with prefix:dev [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [bump_version] DEBUG bumped version:3.0.0-dev.35 [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [write_version] DEBUG write version:3.0.0-dev.35 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,900 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,902 [execute] INFO git cat-file --batch-check [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,908 [execute] INFO git cat-file --batch [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T21:32:30.960Z] 2023-05-03 21:32:30,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:30.960Z] 3.0.0-dev.35 [Pipeline] } [2023-05-03T21:32:30.970Z] $ docker exec --env ******** --env ******** 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db ssh-agent -k [2023-05-03T21:32:31.061Z] unset SSH_AUTH_SOCK; [2023-05-03T21:32:31.061Z] unset SSH_AGENT_PID; [2023-05-03T21:32:31.061Z] echo Agent pid 38 killed; [2023-05-03T21:32:31.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T21:32:31.368Z] + git semver [Pipeline] } [2023-05-03T21:32:31.644Z] $ docker stop --time=1 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db [2023-05-03T21:32:32.956Z] $ docker rm -f --volumes 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T21:32:33.290Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T21:32:33.290Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:33.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T21:32:33.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:32:33.672Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:32:33.703Z] $ 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-05-03T21:32:34.033Z] $ docker top 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T21:32:34.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T21:32:34.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T21:32:34.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T21:32:34.229Z] $ docker exec 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e ssh-agent [2023-05-03T21:32:34.333Z] SSH_AUTH_SOCK=/tmp/ssh-MlChhdBEIRFl/agent.32 [2023-05-03T21:32:34.333Z] SSH_AGENT_PID=38 [2023-05-03T21:32:34.338Z] Running ssh-add (command line suppressed) [2023-05-03T21:32:34.431Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11377982587342355908.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11377982587342355908.key) [2023-05-03T21:32:34.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T21:32:34.730Z] + git semver push [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,907 [run_push] DEBUG push [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,908 [execute] INFO git cat-file --batch-check [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,912 [execute] INFO git rev-list 30d50548b55e8800f35ec47bf1a9a0a431006249 -- [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,913 [execute] DEBUG Popen(['git', 'rev-list', '30d50548b55e8800f35ec47bf1a9a0a431006249', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,920 [execute] INFO git fetch -v origin [2023-05-03T21:32:34.992Z] 2023-05-03 21:32:34,921 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-03T21:32:35.562Z] 2023-05-03 21:32:35,512 [run_push] DEBUG no remote changes detected [2023-05-03T21:32:35.563Z] 2023-05-03 21:32:35,512 [execute] INFO git push origin semver [2023-05-03T21:32:35.563Z] 2023-05-03 21:32:35,513 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-03T21:32:36.501Z] 2023-05-03 21:32:36,366 [run_push] DEBUG push all version tags [2023-05-03T21:32:36.501Z] 2023-05-03 21:32:36,366 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-03T21:32:36.501Z] 2023-05-03 21:32:36,367 [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-05-03T21:32:37.440Z] 2023-05-03 21:32:37,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-03T21:32:37.440Z] 3.0.0-dev.35 [Pipeline] } [2023-05-03T21:32:37.449Z] $ docker exec --env ******** --env ******** 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e ssh-agent -k [2023-05-03T21:32:37.547Z] unset SSH_AUTH_SOCK; [2023-05-03T21:32:37.548Z] unset SSH_AGENT_PID; [2023-05-03T21:32:37.548Z] echo Agent pid 38 killed; [2023-05-03T21:32:37.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T21:32:37.873Z] + git semver [Pipeline] } [2023-05-03T21:32:38.147Z] $ docker stop --time=1 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e [2023-05-03T21:32:39.403Z] $ docker rm -f --volumes 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e [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-05-03T21:32:40.006Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-05-03T21:32:40.007Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-03T21:32:40.007Z] total 16 [2023-05-03T21:32:40.007Z] drwxr-xr-x 3 root root 4096 May 3 21:23 . [2023-05-03T21:32:40.007Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:32 .. [2023-05-03T21:32:40.007Z] drwxr-xr-x 2 root root 4096 May 3 21:23 cost [2023-05-03T21:32:40.007Z] -rw-r--r-- 1 root root 86 May 3 21:23 cost.csv [2023-05-03T21:32:40.007Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-03T21:32:40.007Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-03T21:32:40.007Z] total 16 [2023-05-03T21:32:40.007Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:23 . [2023-05-03T21:32:40.007Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:32 .. [2023-05-03T21:32:40.007Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 21:23 cost [2023-05-03T21:32:40.007Z] -rw-r--r-- 1 jenkins jenkins 86 May 3 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:40.296Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:41.156Z] ---> package-listing.sh [2023-05-03T21:32:41.156Z] ++ facter osfamily [2023-05-03T21:32:41.156Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T21:32:41.416Z] + OS_FAMILY=debian [2023-05-03T21:32:41.416Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-05-03T21:32:41.416Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T21:32:41.416Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T21:32:41.416Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T21:32:41.416Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T21:32:41.416Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-03T21:32:41.416Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T21:32:41.416Z] + case "${OS_FAMILY}" in [2023-05-03T21:32:41.416Z] + dpkg -l [2023-05-03T21:32:41.416Z] + grep '^ii' [2023-05-03T21:32:41.416Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T21:32:41.416Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T21:32:41.416Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T21:32:41.416Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-03T21:32:41.416Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-05-03T21:32:41.416Z] + 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-05-03T21:32:41.428Z] 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-05-03T21:32:41.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T21:32:42.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T21:32:42.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T21:32:42.361Z] prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container [2023-05-03T21:32:42.390Z] $ 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-05-03T21:32:42.591Z] $ docker top 6cd0234d286a6412a0c1d971780c25c83c2a7232b6dd122d6d76399a8ee0bfa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T21:32:42.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T21:32:43.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T21:32:43.488Z] + ls /var/log/sa-host [2023-05-03T21:32:43.488Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T21:32:43.634Z] provisioning config files... [2023-05-03T21:32:43.644Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16360257396135395725tmp [Pipeline] { [Pipeline] echo [2023-05-03T21:32:43.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:43.943Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T21:32:43.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:44.273Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T21:32:44.282Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:44.565Z] ---> sudo-logs.sh [2023-05-03T21:32:44.565Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T21:32:44.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:44.988Z] ---> job-cost.sh [2023-05-03T21:32:44.988Z] lf-activate-venv: SKIPPING [2023-05-03T21:32:44.988Z] DEBUG: total: 0.2199999988079071 [2023-05-03T21:32:44.988Z] INFO: Retrieving Stack Cost... [2023-05-03T21:32:45.278Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T21:32:45.570Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T21:32:45.599Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T21:32:45.881Z] ---> logs-deploy.sh [2023-05-03T21:32:45.881Z] lf-activate-venv: SKIPPING [2023-05-03T21:32:45.881Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/106 [2023-05-03T21:32:45.881Z] INFO: archiving workspace using pattern(s): [2023-05-03T21:32:46.818Z] Archives upload complete. [2023-05-03T21:32:46.818Z] INFO: archiving logs to Nexus