Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c5eec98d3be44e3458d60972803f48ebbd423fa 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-ssh7033460045708427452.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-ssh16399150586773534957.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-ssh18188133448877209127.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-ssh476878472119947941.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-ssh6028561380828939313.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-8857 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 0c5eec98d3be44e3458d60972803f48ebbd423fa (main) Commit message: "Merge pull request #293 from hahattan/bump-sdk" > 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 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 > git rev-list --no-walk fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T04:39:58.685Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T04:39:58.749Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T04:39:58.765Z] ========================================================= [2023-04-18T04:39:58.765Z] EdgeX Global Pipelines Version Info [2023-04-18T04:39:58.765Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:39:59.482Z] ------------------- [2023-04-18T04:39:59.482Z] stable info: [2023-04-18T04:39:59.482Z] ------------------- [2023-04-18T04:39:59.482Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T04:39:59.482Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:39:59.482Z] Message: update stable to v1.0.248 [2023-04-18T04:40:00.053Z] ------------------- [2023-04-18T04:40:00.053Z] experimental info: [2023-04-18T04:40:00.053Z] ------------------- [2023-04-18T04:40:00.053Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T04:40:00.053Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:40:00.053Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T04:40:00.225Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-18T04:40:00.236Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-18T04:40:00.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T04:40:00.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T04:40:00.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T04:40:00.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T04:40:00.305Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T04:40:00.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T04:40:00.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T04:40:00.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T04:40:00.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T04:40:00.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-18T04:40:00.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T04:40:00.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T04:40:00.400Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T04:40:00.414Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T04:40:00.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:40:00.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:40:00.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T04:40:00.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T04:40:00.481Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T04:40:00.492Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T04:40:00.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T04:40:00.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T04:40:00.528Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T04:40:00.542Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T04:40:00.553Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T04:40:00.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T04:40:00.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T04:40:00.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T04:40:00.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo [2023-04-18T04:40:00.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c5eec9 [Pipeline] echo [2023-04-18T04:40:00.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:40:00.632Z] provisioning config files... [2023-04-18T04:40:00.646Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1740416278908461935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:40:00.950Z] ---> docker-login.sh [2023-04-18T04:40:00.950Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:40:01.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:01.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:01.210Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:01.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:01.210Z] [2023-04-18T04:40:01.210Z] Login Succeeded [2023-04-18T04:40:01.210Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:40:01.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:01.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:01.475Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:01.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:01.475Z] [2023-04-18T04:40:01.475Z] Login Succeeded [2023-04-18T04:40:01.475Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:40:01.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:01.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:01.475Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:01.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:01.475Z] [2023-04-18T04:40:01.475Z] Login Succeeded [2023-04-18T04:40:01.475Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:40:01.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:01.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:01.738Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:01.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:01.738Z] [2023-04-18T04:40:01.738Z] Login Succeeded [2023-04-18T04:40:01.738Z] docker.io [2023-04-18T04:40:01.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:03.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:03.127Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:03.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:03.127Z] [2023-04-18T04:40:03.127Z] Login Succeeded [2023-04-18T04:40:03.127Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:40:03.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T04:40:03.507Z] + git rev-list -1 --merges 0c5eec98d3be44e3458d60972803f48ebbd423fa~1..0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo [2023-04-18T04:40:03.549Z] -----------> git rev-list -1 --merges 0c5eec98d3be44e3458d60972803f48ebbd423fa~1..0c5eec98d3be44e3458d60972803f48ebbd423fa 0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:40:03.549Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa [false] [Pipeline] sh [2023-04-18T04:40:03.834Z] + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo [2023-04-18T04:40:03.848Z] ========================================================= [2023-04-18T04:40:03.848Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T04:40:03.848Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:40:04.165Z] + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo [2023-04-18T04:40:04.175Z] [semverPrep] GIT_COMMIT: 0c5eec98d3be44e3458d60972803f48ebbd423fa, Commit Message: Merge pull request #293 from hahattan/bump-sdk [Pipeline] echo [2023-04-18T04:40:04.184Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T04:40:04.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:40:04.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T04:40:04.536Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T04:40:04.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T04:40:04.536Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T04:40:04.536Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T04:40:04.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:40:04.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:40:04.941Z] [2023-04-18T04:40:04.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:40:05.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:40:05.244Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T04:40:05.244Z] b85a868b505f: Pulling fs layer [2023-04-18T04:40:05.244Z] e2be974225ed: Pulling fs layer [2023-04-18T04:40:05.244Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T04:40:05.244Z] 988bab9f4d93: Pulling fs layer [2023-04-18T04:40:05.244Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T04:40:05.244Z] eaf3925da568: Pulling fs layer [2023-04-18T04:40:05.244Z] bab4dde63d76: Pulling fs layer [2023-04-18T04:40:05.244Z] bde34c3a00c8: Pulling fs layer [2023-04-18T04:40:05.244Z] b352a97aabf1: Pulling fs layer [2023-04-18T04:40:05.244Z] 4872d77fe225: Pulling fs layer [2023-04-18T04:40:05.244Z] 5851b861e8e6: Pulling fs layer [2023-04-18T04:40:05.244Z] bab4dde63d76: Waiting [2023-04-18T04:40:05.244Z] bde34c3a00c8: Waiting [2023-04-18T04:40:05.244Z] b352a97aabf1: Waiting [2023-04-18T04:40:05.244Z] 988bab9f4d93: Waiting [2023-04-18T04:40:05.244Z] eaf3925da568: Waiting [2023-04-18T04:40:05.244Z] 4872d77fe225: Waiting [2023-04-18T04:40:05.244Z] 5851b861e8e6: Waiting [2023-04-18T04:40:05.244Z] e2be974225ed: Verifying Checksum [2023-04-18T04:40:05.244Z] e2be974225ed: Download complete [2023-04-18T04:40:05.244Z] 988bab9f4d93: Download complete [2023-04-18T04:40:05.516Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T04:40:05.516Z] 1469e6f7b9e6: Download complete [2023-04-18T04:40:05.516Z] eaf3925da568: Verifying Checksum [2023-04-18T04:40:05.516Z] eaf3925da568: Download complete [2023-04-18T04:40:05.516Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T04:40:05.516Z] 339a4e72a1f5: Download complete [2023-04-18T04:40:05.516Z] bde34c3a00c8: Download complete [2023-04-18T04:40:05.516Z] b352a97aabf1: Verifying Checksum [2023-04-18T04:40:05.516Z] b352a97aabf1: Download complete [2023-04-18T04:40:05.516Z] 4872d77fe225: Verifying Checksum [2023-04-18T04:40:05.516Z] 4872d77fe225: Download complete [2023-04-18T04:40:05.516Z] 5851b861e8e6: Verifying Checksum [2023-04-18T04:40:05.516Z] 5851b861e8e6: Download complete [2023-04-18T04:40:05.516Z] b85a868b505f: Verifying Checksum [2023-04-18T04:40:05.516Z] b85a868b505f: Download complete [2023-04-18T04:40:05.774Z] bab4dde63d76: Verifying Checksum [2023-04-18T04:40:05.774Z] bab4dde63d76: Download complete [2023-04-18T04:40:06.711Z] b85a868b505f: Pull complete [2023-04-18T04:40:06.711Z] e2be974225ed: Pull complete [2023-04-18T04:40:07.281Z] 339a4e72a1f5: Pull complete [2023-04-18T04:40:07.281Z] 988bab9f4d93: Pull complete [2023-04-18T04:40:07.548Z] 1469e6f7b9e6: Pull complete [2023-04-18T04:40:07.548Z] eaf3925da568: Pull complete [2023-04-18T04:40:09.456Z] bab4dde63d76: Pull complete [2023-04-18T04:40:09.456Z] bde34c3a00c8: Pull complete [2023-04-18T04:40:09.456Z] b352a97aabf1: Pull complete [2023-04-18T04:40:09.456Z] 4872d77fe225: Pull complete [2023-04-18T04:40:09.456Z] 5851b861e8e6: Pull complete [2023-04-18T04:40:09.456Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T04:40:09.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:40:09.456Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:40:09.554Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:40:09.589Z] $ 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-04-18T04:40:10.754Z] $ docker top bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f -eo pid,comm [2023-04-18T04:40:10.816Z] 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-04-18T04:40:10.816Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:40:10.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:40:10.847Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:40:10.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:40:10.971Z] $ docker exec bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent [2023-04-18T04:40:11.073Z] SSH_AUTH_SOCK=/tmp/ssh-lKLYnUbUsxFG/agent.32 [2023-04-18T04:40:11.073Z] SSH_AGENT_PID=38 [2023-04-18T04:40:11.079Z] Running ssh-add (command line suppressed) [2023-04-18T04:40:11.174Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11502098998961695863.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11502098998961695863.key) [2023-04-18T04:40:11.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:40:11.470Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T04:40:11.488Z] $ docker exec --env ******** --env ******** bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent -k [2023-04-18T04:40:11.586Z] unset SSH_AUTH_SOCK; [2023-04-18T04:40:11.586Z] unset SSH_AGENT_PID; [2023-04-18T04:40:11.587Z] echo Agent pid 38 killed; [2023-04-18T04:40:11.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T04:40:11.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:40:11.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:40:11.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:40:11.729Z] $ docker exec bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent [2023-04-18T04:40:11.834Z] SSH_AUTH_SOCK=/tmp/ssh-82pvskrNgn3g/agent.70 [2023-04-18T04:40:11.834Z] SSH_AGENT_PID=76 [2023-04-18T04:40:11.840Z] Running ssh-add (command line suppressed) [2023-04-18T04:40:11.935Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10330633752792421381.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10330633752792421381.key) [2023-04-18T04:40:11.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:40:12.236Z] + git semver init [2023-04-18T04:40:12.495Z] 2023-04-18 04:40:12,391 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T04:40:12.495Z] 2023-04-18 04:40:12,391 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-04-18T04:40:12.495Z] 2023-04-18 04:40:12,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-04-18T04:40:12.495Z] 2023-04-18 04:40:12,392 [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-04-18T04:40:13.431Z] 2023-04-18 04:40:13,302 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-04-18T04:40:13.431Z] 2023-04-18 04:40:13,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-04-18T04:40:13.431Z] 2023-04-18 04:40:13,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:40:13.431Z] 2023-04-18 04:40:13,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:40:13.431Z] 3.0.0-dev.28 [Pipeline] } [2023-04-18T04:40:13.439Z] $ docker exec --env ******** --env ******** bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent -k [2023-04-18T04:40:13.530Z] unset SSH_AUTH_SOCK; [2023-04-18T04:40:13.530Z] unset SSH_AGENT_PID; [2023-04-18T04:40:13.530Z] echo Agent pid 76 killed; [2023-04-18T04:40:13.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:40:13.849Z] + git semver [Pipeline] } [2023-04-18T04:40:14.119Z] $ docker stop --time=1 bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f [2023-04-18T04:40:15.398Z] $ docker rm -f --volumes bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:40:15.730Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T04:40:15.929Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T04:40:15.932Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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-04-18T04:40:16.057Z] provisioning config files... [2023-04-18T04:40:16.068Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config351020817052024876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:40:16.361Z] ---> docker-login.sh [2023-04-18T04:40:16.361Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:40:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:16.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:16.361Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:16.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:16.361Z] [2023-04-18T04:40:16.361Z] Login Succeeded [2023-04-18T04:40:16.361Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:40:16.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:16.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:16.361Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:16.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:16.361Z] [2023-04-18T04:40:16.361Z] Login Succeeded [2023-04-18T04:40:16.361Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:40:16.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:16.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:16.623Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:16.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:16.623Z] [2023-04-18T04:40:16.623Z] Login Succeeded [2023-04-18T04:40:16.623Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:40:16.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:16.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:16.623Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:16.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:16.623Z] [2023-04-18T04:40:16.623Z] Login Succeeded [2023-04-18T04:40:16.623Z] docker.io [2023-04-18T04:40:16.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:40:16.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:40:16.882Z] Configure a credential helper to remove this warning. See [2023-04-18T04:40:16.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:40:16.882Z] [2023-04-18T04:40:16.882Z] Login Succeeded [2023-04-18T04:40:16.882Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:40:16.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T04:40:16.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:40:16.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:40:16.973Z] ========================================================= [2023-04-18T04:40:16.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T04:40:16.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:40:17.286Z] + 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-04-18T04:40:17.286Z] Sending build context to Docker daemon 10.89MB [2023-04-18T04:40:17.286Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:40:17.286Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T04:40:17.286Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T04:40:17.286Z] 63b65145d645: Pulling fs layer [2023-04-18T04:40:17.286Z] a2d21d5440eb: Pulling fs layer [2023-04-18T04:40:17.286Z] 935e6c44a52c: Pulling fs layer [2023-04-18T04:40:17.286Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T04:40:17.286Z] 30dea6a524f1: Pulling fs layer [2023-04-18T04:40:17.286Z] a2aff8979fd8: Pulling fs layer [2023-04-18T04:40:17.286Z] 6808be2612f2: Pulling fs layer [2023-04-18T04:40:17.286Z] f25807f1079a: Pulling fs layer [2023-04-18T04:40:17.286Z] 94cc34f8dd06: Waiting [2023-04-18T04:40:17.286Z] 30dea6a524f1: Waiting [2023-04-18T04:40:17.286Z] a2aff8979fd8: Waiting [2023-04-18T04:40:17.286Z] f25807f1079a: Waiting [2023-04-18T04:40:17.286Z] 6808be2612f2: Waiting [2023-04-18T04:40:17.286Z] a2d21d5440eb: Download complete [2023-04-18T04:40:17.286Z] 94cc34f8dd06: Download complete [2023-04-18T04:40:17.286Z] 30dea6a524f1: Verifying Checksum [2023-04-18T04:40:17.286Z] 30dea6a524f1: Download complete [2023-04-18T04:40:17.567Z] 63b65145d645: Download complete [2023-04-18T04:40:17.567Z] a2aff8979fd8: Verifying Checksum [2023-04-18T04:40:17.567Z] a2aff8979fd8: Download complete [2023-04-18T04:40:17.567Z] 63b65145d645: Pull complete [2023-04-18T04:40:17.567Z] a2d21d5440eb: Pull complete [2023-04-18T04:40:18.147Z] 935e6c44a52c: Download complete [2023-04-18T04:40:18.147Z] f25807f1079a: Verifying Checksum [2023-04-18T04:40:18.147Z] f25807f1079a: Download complete [2023-04-18T04:40:18.404Z] 6808be2612f2: Verifying Checksum [2023-04-18T04:40:18.404Z] 6808be2612f2: Download complete [2023-04-18T04:40:20.937Z] 935e6c44a52c: Pull complete [2023-04-18T04:40:20.937Z] 94cc34f8dd06: Pull complete [2023-04-18T04:40:20.937Z] 30dea6a524f1: Pull complete [2023-04-18T04:40:20.937Z] a2aff8979fd8: Pull complete [2023-04-18T04:40:23.466Z] 6808be2612f2: Pull complete [2023-04-18T04:40:23.726Z] f25807f1079a: Pull complete [2023-04-18T04:40:23.726Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T04:40:23.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T04:40:23.726Z] ---> 3b553350e43f [2023-04-18T04:40:23.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:40:25.640Z] ---> Running in 0c2f29018d8b [2023-04-18T04:40:25.640Z] Removing intermediate container 0c2f29018d8b [2023-04-18T04:40:25.640Z] ---> c9ea1a5751cb [2023-04-18T04:40:25.640Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:40:25.640Z] ---> Running in 389e739c0269 [2023-04-18T04:40:25.640Z] Removing intermediate container 389e739c0269 [2023-04-18T04:40:25.640Z] ---> 820c60960479 [2023-04-18T04:40:25.640Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:40:25.640Z] ---> Running in 131a5f106dc4 [2023-04-18T04:40:25.640Z] Removing intermediate container 131a5f106dc4 [2023-04-18T04:40:25.640Z] ---> a16ee7d24965 [2023-04-18T04:40:25.640Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:40:25.640Z] ---> Running in 3d454e4ff2c6 [2023-04-18T04:40:25.899Z] Removing intermediate container 3d454e4ff2c6 [2023-04-18T04:40:25.899Z] ---> 5a0feef4799f [2023-04-18T04:40:25.899Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:40:25.899Z] ---> Running in 0bea9302472c [2023-04-18T04:40:26.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:40:26.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:40:26.417Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T04:40:26.417Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T04:40:26.417Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T04:40:26.417Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T04:40:26.417Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:40:26.417Z] OK: 269 MiB in 57 packages [2023-04-18T04:40:26.984Z] Removing intermediate container 0bea9302472c [2023-04-18T04:40:26.984Z] ---> 9eabe49ddd24 [2023-04-18T04:40:26.984Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T04:40:26.984Z] ---> Running in 4573a0bceaee [2023-04-18T04:40:26.984Z] Removing intermediate container 4573a0bceaee [2023-04-18T04:40:26.984Z] ---> 65578ed9529c [2023-04-18T04:40:26.984Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T04:40:26.984Z] ---> 5c2ebdb7322a [2023-04-18T04:40:26.984Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:40:26.984Z] ---> Running in 5402cfbefe16 [2023-04-18T04:40:31.019Z] Still waiting to schedule task [2023-04-18T04:40:31.019Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T04:40:53.534Z] Removing intermediate container 5402cfbefe16 [2023-04-18T04:40:53.534Z] ---> 852e391555f5 [2023-04-18T04:40:53.534Z] Step 11/12 : COPY . . [2023-04-18T04:40:53.534Z] ---> 69ef9e86c9ed [2023-04-18T04:40:53.534Z] Step 12/12 : RUN $MAKE [2023-04-18T04:40:53.534Z] ---> Running in f3ea0750b81c [2023-04-18T04:40:53.534Z] noop [2023-04-18T04:40:53.534Z] Removing intermediate container f3ea0750b81c [2023-04-18T04:40:53.534Z] ---> 5ae4b9943075 [2023-04-18T04:40:53.534Z] Successfully built 5ae4b9943075 [2023-04-18T04:40:53.534Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:40:53.847Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T04:40:53.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:40:53.910Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:40:53.936Z] $ 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-04-18T04:40:54.266Z] $ docker top 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:40:54.613Z] + go version [2023-04-18T04:40:54.613Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T04:40:54.620Z] $ docker stop --time=1 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 [2023-04-18T04:40:55.875Z] $ docker rm -f --volumes 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:40:56.256Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T04:40:56.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:40:56.326Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:40:56.352Z] $ 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-04-18T04:40:56.672Z] $ docker top a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:40:57.013Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T04:40:57.310Z] + make test [2023-04-18T04:40:57.310Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T04:41:01.495Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T04:41:11.463Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T04:41:11.463Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements [2023-04-18T04:41:18.022Z] go vet ./... [2023-04-18T04:41:20.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T04:41:20.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T04:41:20.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T04:41:20.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T04:41:20.562Z] $ docker stop --time=1 a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 [2023-04-18T04:41:22.354Z] $ docker rm -f --volumes a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:41:22.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T04:41:22.849Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T04:41:23.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T04:41:23.655Z] + ls -al . [2023-04-18T04:41:23.655Z] total 184 [2023-04-18T04:41:23.655Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 04:40 . [2023-04-18T04:41:23.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:39 .. [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:39 .dockerignore [2023-04-18T04:41:23.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:40 .git [2023-04-18T04:41:23.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:39 .github [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:39 .gitignore [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:39 .golangci.yml [2023-04-18T04:41:23.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:40 .semver [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:39 Attribution.txt [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:39 CHANGELOG.md [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:39 Dockerfile [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:39 GOVERNANCE.md [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:39 Jenkinsfile [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:39 LICENSE [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:39 Makefile [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:39 OWNERS.md [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:39 README.md [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 04:40 VERSION [2023-04-18T04:41:23.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:39 bin [2023-04-18T04:41:23.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:39 cmd [2023-04-18T04:41:23.655Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:41 coverage.out [2023-04-18T04:41:23.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:39 driver [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:39 go.mod [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:39 go.sum [2023-04-18T04:41:23.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:39 snap [2023-04-18T04:41:23.655Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:23.962Z] + 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=0c5eec98d3be44e3458d60972803f48ebbd423fa --label arch=amd64 --label version=3.0.0-dev.28 . [2023-04-18T04:41:23.962Z] Sending build context to Docker daemon 10.9MB [2023-04-18T04:41:23.962Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:41:23.962Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T04:41:23.962Z] ---> 5ae4b9943075 [2023-04-18T04:41:23.962Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:41:24.221Z] ---> Running in 6810105d5bfb [2023-04-18T04:41:24.221Z] Removing intermediate container 6810105d5bfb [2023-04-18T04:41:24.221Z] ---> cb99f54af175 [2023-04-18T04:41:24.221Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:41:24.221Z] ---> Running in f0c9438d8c0c [2023-04-18T04:41:24.221Z] Removing intermediate container f0c9438d8c0c [2023-04-18T04:41:24.221Z] ---> 4a42125cfce0 [2023-04-18T04:41:24.221Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:41:24.221Z] ---> Running in 2c41185ffb82 [2023-04-18T04:41:24.221Z] Removing intermediate container 2c41185ffb82 [2023-04-18T04:41:24.221Z] ---> 74e100f6fde7 [2023-04-18T04:41:24.221Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:41:24.480Z] ---> Running in 325ce0464418 [2023-04-18T04:41:24.480Z] Removing intermediate container 325ce0464418 [2023-04-18T04:41:24.480Z] ---> c942bc03344f [2023-04-18T04:41:24.480Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:41:24.480Z] ---> Running in d4c52af3463b [2023-04-18T04:41:24.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:41:24.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:41:24.998Z] OK: 269 MiB in 57 packages [2023-04-18T04:41:25.565Z] Removing intermediate container d4c52af3463b [2023-04-18T04:41:25.565Z] ---> bce107232139 [2023-04-18T04:41:25.565Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T04:41:25.565Z] ---> Running in e87d2debce87 [2023-04-18T04:41:25.565Z] Removing intermediate container e87d2debce87 [2023-04-18T04:41:25.565Z] ---> f07ca7ec5958 [2023-04-18T04:41:25.565Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T04:41:25.565Z] ---> 29b09892dc1d [2023-04-18T04:41:25.565Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:41:25.565Z] ---> Running in be4ea6399fc3 [2023-04-18T04:41:26.502Z] Removing intermediate container be4ea6399fc3 [2023-04-18T04:41:26.502Z] ---> d11b4ab23a0b [2023-04-18T04:41:26.502Z] Step 11/25 : COPY . . [2023-04-18T04:41:26.760Z] ---> b07a1988208d [2023-04-18T04:41:26.760Z] Step 12/25 : RUN $MAKE [2023-04-18T04:41:26.760Z] ---> Running in 2b0ec6008988 [2023-04-18T04:41:27.018Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-18T04:41:45.091Z] Removing intermediate container 2b0ec6008988 [2023-04-18T04:41:45.091Z] ---> e71902185594 [2023-04-18T04:41:45.091Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T04:41:45.091Z] 3.17: Pulling from library/alpine [2023-04-18T04:41:45.091Z] f56be85fc22e: Pulling fs layer [2023-04-18T04:41:45.091Z] f56be85fc22e: Verifying Checksum [2023-04-18T04:41:45.091Z] f56be85fc22e: Download complete [2023-04-18T04:41:45.091Z] f56be85fc22e: Pull complete [2023-04-18T04:41:45.091Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T04:41:45.091Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T04:41:45.091Z] ---> 9ed4aefc74f6 [2023-04-18T04:41:45.091Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T04:41:45.091Z] ---> Running in 9b29727247e3 [2023-04-18T04:41:45.091Z] Removing intermediate container 9b29727247e3 [2023-04-18T04:41:45.091Z] ---> b3442dd09fca [2023-04-18T04:41:45.091Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T04:41:45.091Z] ---> Running in 37cdf1e14f8f [2023-04-18T04:41:45.091Z] Removing intermediate container 37cdf1e14f8f [2023-04-18T04:41:45.091Z] ---> 308adb0b899f [2023-04-18T04:41:45.091Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T04:41:45.091Z] ---> Running in 823e8df1e37f [2023-04-18T04:41:45.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:41:45.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:41:45.091Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T04:41:45.091Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:41:45.091Z] OK: 7 MiB in 16 packages [2023-04-18T04:41:45.349Z] Removing intermediate container 823e8df1e37f [2023-04-18T04:41:45.349Z] ---> a4749cecba27 [2023-04-18T04:41:45.349Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T04:41:45.916Z] ---> 04a197c7e417 [2023-04-18T04:41:45.916Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T04:41:45.916Z] ---> 2ecb256682cd [2023-04-18T04:41:45.916Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T04:41:46.221Z] ---> 29f995314554 [2023-04-18T04:41:46.221Z] Step 20/25 : EXPOSE 59986 [2023-04-18T04:41:46.221Z] ---> Running in 4a02fda23d48 [2023-04-18T04:41:46.221Z] Removing intermediate container 4a02fda23d48 [2023-04-18T04:41:46.221Z] ---> 6a5e9d2faf8b [2023-04-18T04:41:46.221Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T04:41:46.221Z] ---> Running in c55fc650d4af [2023-04-18T04:41:46.221Z] Removing intermediate container c55fc650d4af [2023-04-18T04:41:46.221Z] ---> 8a8e1fb54b0c [2023-04-18T04:41:46.221Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T04:41:46.488Z] ---> Running in f6cab2bfe23d [2023-04-18T04:41:46.488Z] Removing intermediate container f6cab2bfe23d [2023-04-18T04:41:46.488Z] ---> a625bd183fdb [2023-04-18T04:41:46.488Z] Step 23/25 : LABEL arch=amd64 [2023-04-18T04:41:46.488Z] ---> Running in 0faeadd879b5 [2023-04-18T04:41:46.488Z] Removing intermediate container 0faeadd879b5 [2023-04-18T04:41:46.488Z] ---> b79ffd9f700d [2023-04-18T04:41:46.488Z] Step 24/25 : LABEL git_sha=0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:41:46.488Z] ---> Running in aa1fdb59d993 [2023-04-18T04:41:46.488Z] Removing intermediate container aa1fdb59d993 [2023-04-18T04:41:46.488Z] ---> 51da1a6a6a8c [2023-04-18T04:41:46.488Z] Step 25/25 : LABEL version=3.0.0-dev.28 [2023-04-18T04:41:46.488Z] ---> Running in ce3e1610fefb [2023-04-18T04:41:46.767Z] Removing intermediate container ce3e1610fefb [2023-04-18T04:41:46.767Z] ---> ad2caacb002c [2023-04-18T04:41:46.767Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T04:41:46.767Z] Successfully built ad2caacb002c [2023-04-18T04:41:46.767Z] 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-04-18T04:41:46.881Z] provisioning config files... [2023-04-18T04:41:46.901Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12863326051580568698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:41:47.232Z] ---> docker-login.sh [2023-04-18T04:41:47.232Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:41:47.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:41:47.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:41:47.232Z] Configure a credential helper to remove this warning. See [2023-04-18T04:41:47.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:41:47.232Z] [2023-04-18T04:41:47.232Z] Login Succeeded [2023-04-18T04:41:47.232Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:41:47.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:41:47.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:41:47.232Z] Configure a credential helper to remove this warning. See [2023-04-18T04:41:47.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:41:47.232Z] [2023-04-18T04:41:47.232Z] Login Succeeded [2023-04-18T04:41:47.232Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:41:47.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:41:47.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:41:47.490Z] Configure a credential helper to remove this warning. See [2023-04-18T04:41:47.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:41:47.490Z] [2023-04-18T04:41:47.490Z] Login Succeeded [2023-04-18T04:41:47.490Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:41:47.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:41:47.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:41:47.490Z] Configure a credential helper to remove this warning. See [2023-04-18T04:41:47.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:41:47.490Z] [2023-04-18T04:41:47.490Z] Login Succeeded [2023-04-18T04:41:47.490Z] docker.io [2023-04-18T04:41:47.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:41:47.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:41:47.750Z] Configure a credential helper to remove this warning. See [2023-04-18T04:41:47.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:41:47.750Z] [2023-04-18T04:41:47.750Z] Login Succeeded [2023-04-18T04:41:47.750Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:41:47.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T04:41:47.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:41:47.797Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-04-18T04:41:47.797Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:41:47.797Z] latest [2023-04-18T04:41:47.797Z] 3.0.0-dev.28 [2023-04-18T04:41:47.797Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:41:47.797Z] main [2023-04-18T04:41:47.797Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:48.101Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:48.399Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:41:48.399Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-18T04:41:48.399Z] 740ed7e1550a: Preparing [2023-04-18T04:41:48.399Z] 756be603339b: Preparing [2023-04-18T04:41:48.399Z] 0ede4ef4febe: Preparing [2023-04-18T04:41:48.399Z] ee622d847cdb: Preparing [2023-04-18T04:41:48.399Z] f1417ff83b31: Preparing [2023-04-18T04:41:48.399Z] f1417ff83b31: Layer already exists [2023-04-18T04:41:48.399Z] 756be603339b: Pushed [2023-04-18T04:41:48.399Z] 740ed7e1550a: Pushed [2023-04-18T04:41:48.399Z] ee622d847cdb: Pushed [2023-04-18T04:41:50.930Z] 0ede4ef4febe: Pushed [2023-04-18T04:41:51.190Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:51.498Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:51.808Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-04-18T04:41:51.808Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-18T04:41:51.808Z] 740ed7e1550a: Preparing [2023-04-18T04:41:51.808Z] 756be603339b: Preparing [2023-04-18T04:41:51.808Z] 0ede4ef4febe: Preparing [2023-04-18T04:41:51.808Z] ee622d847cdb: Preparing [2023-04-18T04:41:51.808Z] f1417ff83b31: Preparing [2023-04-18T04:41:51.808Z] f1417ff83b31: Layer already exists [2023-04-18T04:41:51.808Z] 756be603339b: Layer already exists [2023-04-18T04:41:51.808Z] ee622d847cdb: Layer already exists [2023-04-18T04:41:51.808Z] 740ed7e1550a: Layer already exists [2023-04-18T04:41:51.808Z] 0ede4ef4febe: Layer already exists [2023-04-18T04:41:51.808Z] latest: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:52.118Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:52.437Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 [2023-04-18T04:41:52.437Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-18T04:41:52.437Z] 740ed7e1550a: Preparing [2023-04-18T04:41:52.437Z] 756be603339b: Preparing [2023-04-18T04:41:52.437Z] 0ede4ef4febe: Preparing [2023-04-18T04:41:52.437Z] ee622d847cdb: Preparing [2023-04-18T04:41:52.437Z] f1417ff83b31: Preparing [2023-04-18T04:41:52.437Z] 740ed7e1550a: Layer already exists [2023-04-18T04:41:52.437Z] f1417ff83b31: Layer already exists [2023-04-18T04:41:52.437Z] 0ede4ef4febe: Layer already exists [2023-04-18T04:41:52.437Z] 756be603339b: Layer already exists [2023-04-18T04:41:52.437Z] ee622d847cdb: Layer already exists [2023-04-18T04:41:52.437Z] 3.0.0-dev.28: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:52.753Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:53.061Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:41:53.061Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-18T04:41:53.061Z] 740ed7e1550a: Preparing [2023-04-18T04:41:53.061Z] 756be603339b: Preparing [2023-04-18T04:41:53.061Z] 0ede4ef4febe: Preparing [2023-04-18T04:41:53.061Z] ee622d847cdb: Preparing [2023-04-18T04:41:53.061Z] f1417ff83b31: Preparing [2023-04-18T04:41:53.061Z] f1417ff83b31: Layer already exists [2023-04-18T04:41:53.061Z] 0ede4ef4febe: Layer already exists [2023-04-18T04:41:53.061Z] ee622d847cdb: Layer already exists [2023-04-18T04:41:53.061Z] 740ed7e1550a: Layer already exists [2023-04-18T04:41:53.061Z] 756be603339b: Layer already exists [2023-04-18T04:41:53.061Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:53.369Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:53.687Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-04-18T04:41:53.687Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-18T04:41:53.687Z] 740ed7e1550a: Preparing [2023-04-18T04:41:53.687Z] 756be603339b: Preparing [2023-04-18T04:41:53.687Z] 0ede4ef4febe: Preparing [2023-04-18T04:41:53.687Z] ee622d847cdb: Preparing [2023-04-18T04:41:53.687Z] f1417ff83b31: Preparing [2023-04-18T04:41:53.687Z] ee622d847cdb: Layer already exists [2023-04-18T04:41:53.687Z] 756be603339b: Layer already exists [2023-04-18T04:41:53.687Z] f1417ff83b31: Layer already exists [2023-04-18T04:41:53.687Z] 740ed7e1550a: Layer already exists [2023-04-18T04:41:53.687Z] 0ede4ef4febe: Layer already exists [2023-04-18T04:41:53.687Z] main: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T04:41:53.723Z] ===================================================== [Pipeline] echo [2023-04-18T04:41:53.728Z] taggedImages: [2023-04-18T04:41:53.728Z] - nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:41:53.728Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-04-18T04:41:53.728Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 [2023-04-18T04:41:53.728Z] - nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:41:53.728Z] - 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-04-18T04:41:54.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:41:54.089Z] [2023-04-18T04:41:54.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:41:54.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:41:54.387Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T04:41:54.387Z] 5eb5b503b376: Pulling fs layer [2023-04-18T04:41:54.387Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T04:41:54.387Z] ec43610c2a17: Pulling fs layer [2023-04-18T04:41:54.387Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T04:41:54.387Z] 33b1e0a273af: Pulling fs layer [2023-04-18T04:41:54.387Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T04:41:54.387Z] 2f39f015ded8: Pulling fs layer [2023-04-18T04:41:54.387Z] 3a2ae6a8a46f: Waiting [2023-04-18T04:41:54.387Z] 2f39f015ded8: Waiting [2023-04-18T04:41:54.387Z] 5d3b04190fa2: Waiting [2023-04-18T04:41:54.387Z] 33b1e0a273af: Waiting [2023-04-18T04:41:54.387Z] 5c69ac0246d0: Download complete [2023-04-18T04:41:54.387Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T04:41:54.387Z] 3a2ae6a8a46f: Download complete [2023-04-18T04:41:54.387Z] 33b1e0a273af: Verifying Checksum [2023-04-18T04:41:54.387Z] 33b1e0a273af: Download complete [2023-04-18T04:41:54.387Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T04:41:54.387Z] 5d3b04190fa2: Download complete [2023-04-18T04:41:54.387Z] ec43610c2a17: Verifying Checksum [2023-04-18T04:41:54.387Z] ec43610c2a17: Download complete [2023-04-18T04:41:54.665Z] 5eb5b503b376: Verifying Checksum [2023-04-18T04:41:54.665Z] 5eb5b503b376: Download complete [2023-04-18T04:41:55.231Z] 2f39f015ded8: Download complete [2023-04-18T04:41:55.801Z] 5eb5b503b376: Pull complete [2023-04-18T04:41:56.060Z] 5c69ac0246d0: Pull complete [2023-04-18T04:41:56.318Z] ec43610c2a17: Pull complete [2023-04-18T04:41:56.318Z] 3a2ae6a8a46f: Pull complete [2023-04-18T04:41:56.577Z] 33b1e0a273af: Pull complete [2023-04-18T04:41:56.577Z] 5d3b04190fa2: Pull complete [2023-04-18T04:42:00.764Z] 2f39f015ded8: Pull complete [2023-04-18T04:42:00.764Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T04:42:00.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:42:00.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:42:00.850Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:42:00.873Z] $ 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-04-18T04:42:02.051Z] $ docker top 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:42:02.434Z] ---> job-cost.sh [2023-04-18T04:42:02.434Z] lf-activate-venv: SKIPPING [2023-04-18T04:42:02.434Z] INFO: No Stack... [2023-04-18T04:42:03.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T04:42:03.266Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T04:42:03.556Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-04-18T04:42:03.556Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T04:42:03.570Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [2023-04-18T04:42:03.579Z] Resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] did not exist. Created. [2023-04-18T04:42:03.579Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T04:42:03.881Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T04:42:03.901Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T04:42:03.907Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T04:42:03.924Z] $ docker stop --time=1 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b [2023-04-18T04:42:05.065Z] $ docker rm -f --volumes 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T04:42:12.061Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8859 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-04-18T04:42:12.074Z] Running in /w/workspace/device-rest-go/100 [Pipeline] { [Pipeline] checkout [2023-04-18T04:42:12.112Z] The recommended git tool is: git [2023-04-18T04:42:17.345Z] using credential edgex-jenkins-ssh [2023-04-18T04:42:17.365Z] Cloning the remote Git repository [2023-04-18T04:42:17.406Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T04:42:17.518Z] > git init /w/workspace/device-rest-go/100 # timeout=10 [2023-04-18T04:42:17.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T04:42:17.679Z] > git --version # timeout=10 [2023-04-18T04:42:17.699Z] > git --version # 'git version 2.25.1' [2023-04-18T04:42:17.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T04:42:17.860Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T04:42:20.673Z] Avoid second fetch [2023-04-18T04:42:20.674Z] Checking out Revision 0c5eec98d3be44e3458d60972803f48ebbd423fa (main) [2023-04-18T04:42:19.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-18T04:42:19.814Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T04:42:20.686Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T04:42:20.758Z] > git checkout -f 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 [2023-04-18T04:42:21.193Z] Commit message: "Merge pull request #293 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:42:22.099Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T04:42:22.099Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T04:42:22.099Z] Dload Upload Total Spent Left Speed [2023-04-18T04:42:22.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-04-18T04:42:22.803Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T04:42:23.137Z] + sudo tee /etc/docker/daemon.new+ [2023-04-18T04:42:23.137Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T04:42:23.137Z] { [2023-04-18T04:42:23.137Z] "registry-mirrors": [ [2023-04-18T04:42:23.137Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T04:42:23.137Z] ], [2023-04-18T04:42:23.137Z] "bip": "10.250.0.254/24", [2023-04-18T04:42:23.137Z] "hosts": [ [2023-04-18T04:42:23.137Z] "tcp://0.0.0.0:5555", [2023-04-18T04:42:23.137Z] "unix:///var/run/docker.sock" [2023-04-18T04:42:23.137Z] ], [2023-04-18T04:42:23.137Z] "mtu": 1458, [2023-04-18T04:42:23.137Z] "selinux-enabled": true, [2023-04-18T04:42:23.137Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T04:42:23.137Z] } [Pipeline] sh [2023-04-18T04:42:23.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T04:42:23.821Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:42:42.096Z] provisioning config files... [2023-04-18T04:42:42.122Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/100@tmp/config16706221137407955250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:42:42.487Z] ---> docker-login.sh [2023-04-18T04:42:42.487Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:42:42.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:42:43.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:42:43.351Z] Configure a credential helper to remove this warning. See [2023-04-18T04:42:43.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:42:43.351Z] [2023-04-18T04:42:43.351Z] Login Succeeded [2023-04-18T04:42:43.351Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:42:43.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:42:43.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:42:43.624Z] Configure a credential helper to remove this warning. See [2023-04-18T04:42:43.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:42:43.624Z] [2023-04-18T04:42:43.624Z] Login Succeeded [2023-04-18T04:42:43.624Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:42:43.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:42:43.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:42:43.894Z] Configure a credential helper to remove this warning. See [2023-04-18T04:42:43.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:42:43.894Z] [2023-04-18T04:42:43.894Z] Login Succeeded [2023-04-18T04:42:43.894Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:42:44.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:42:44.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:42:44.441Z] Configure a credential helper to remove this warning. See [2023-04-18T04:42:44.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:42:44.441Z] [2023-04-18T04:42:44.441Z] Login Succeeded [2023-04-18T04:42:44.441Z] docker.io [2023-04-18T04:42:44.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:42:44.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:42:44.979Z] Configure a credential helper to remove this warning. See [2023-04-18T04:42:44.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:42:44.979Z] [2023-04-18T04:42:44.979Z] Login Succeeded [2023-04-18T04:42:44.979Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:42:44.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T04:42:45.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:42:45.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:42:45.276Z] ========================================================= [2023-04-18T04:42:45.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T04:42:45.276Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:42:45.623Z] + 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-04-18T04:42:45.623Z] Sending build context to Docker daemon 138.8kB [2023-04-18T04:42:45.894Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:42:45.894Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T04:42:45.894Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T04:42:45.894Z] af6eaf76a39c: Pulling fs layer [2023-04-18T04:42:45.894Z] 55522c791124: Pulling fs layer [2023-04-18T04:42:45.894Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T04:42:45.894Z] 169dfbe0d373: Pulling fs layer [2023-04-18T04:42:45.894Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T04:42:45.894Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T04:42:45.894Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T04:42:45.894Z] 169dfbe0d373: Waiting [2023-04-18T04:42:45.894Z] e1ff8fa3b103: Waiting [2023-04-18T04:42:45.894Z] 52ebb69f0ebf: Waiting [2023-04-18T04:42:45.894Z] 5abe8eddf0d5: Waiting [2023-04-18T04:42:46.165Z] 55522c791124: Verifying Checksum [2023-04-18T04:42:46.165Z] 55522c791124: Download complete [2023-04-18T04:42:46.165Z] 169dfbe0d373: Download complete [2023-04-18T04:42:46.165Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T04:42:46.165Z] e1ff8fa3b103: Download complete [2023-04-18T04:42:46.165Z] af6eaf76a39c: Verifying Checksum [2023-04-18T04:42:46.165Z] af6eaf76a39c: Download complete [2023-04-18T04:42:47.136Z] af6eaf76a39c: Pull complete [2023-04-18T04:42:47.136Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T04:42:47.136Z] 5abe8eddf0d5: Download complete [2023-04-18T04:42:47.729Z] 55522c791124: Pull complete [2023-04-18T04:42:48.709Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T04:42:48.709Z] ce5c4a1c91eb: Download complete [2023-04-18T04:42:48.709Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T04:42:48.709Z] 52ebb69f0ebf: Download complete [2023-04-18T04:43:01.058Z] ce5c4a1c91eb: Pull complete [2023-04-18T04:43:01.058Z] 169dfbe0d373: Pull complete [2023-04-18T04:43:01.058Z] e1ff8fa3b103: Pull complete [2023-04-18T04:43:06.419Z] 52ebb69f0ebf: Pull complete [2023-04-18T04:43:08.379Z] 5abe8eddf0d5: Pull complete [2023-04-18T04:43:08.379Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T04:43:08.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T04:43:08.379Z] ---> 6cb57ee374ae [2023-04-18T04:43:08.379Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:43:10.339Z] ---> Running in 66c3868c96c4 [2023-04-18T04:43:10.339Z] Removing intermediate container 66c3868c96c4 [2023-04-18T04:43:10.339Z] ---> 5500e91df753 [2023-04-18T04:43:10.339Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:43:10.339Z] ---> Running in 80c15fa3015c [2023-04-18T04:43:10.607Z] Removing intermediate container 80c15fa3015c [2023-04-18T04:43:10.607Z] ---> 8fde659600d8 [2023-04-18T04:43:10.607Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:43:10.875Z] ---> Running in 95a081936422 [2023-04-18T04:43:11.144Z] Removing intermediate container 95a081936422 [2023-04-18T04:43:11.144Z] ---> 736b428ff711 [2023-04-18T04:43:11.144Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:43:11.144Z] ---> Running in 25b2e0509240 [2023-04-18T04:43:11.418Z] Removing intermediate container 25b2e0509240 [2023-04-18T04:43:11.418Z] ---> 1f0857557133 [2023-04-18T04:43:11.418Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:43:11.418Z] ---> Running in 0cb86db6bf15 [2023-04-18T04:43:12.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:43:13.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:43:14.148Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T04:43:14.148Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T04:43:14.148Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T04:43:14.418Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T04:43:14.418Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:43:14.418Z] OK: 268 MiB in 57 packages [2023-04-18T04:43:15.379Z] Removing intermediate container 0cb86db6bf15 [2023-04-18T04:43:15.379Z] ---> 42ed19d8fe2e [2023-04-18T04:43:15.379Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T04:43:15.653Z] ---> Running in 83a4fc0ccfc4 [2023-04-18T04:43:15.921Z] Removing intermediate container 83a4fc0ccfc4 [2023-04-18T04:43:15.921Z] ---> b5edce62e2ca [2023-04-18T04:43:15.921Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T04:43:20.173Z] ---> 775c592de4c4 [2023-04-18T04:43:20.173Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:43:20.173Z] ---> Running in f3f8b93dee3d [2023-04-18T04:44:28.032Z] Removing intermediate container f3f8b93dee3d [2023-04-18T04:44:28.032Z] ---> 44ad347386e5 [2023-04-18T04:44:28.032Z] Step 11/12 : COPY . . [2023-04-18T04:44:28.032Z] ---> a68bcd797144 [2023-04-18T04:44:28.032Z] Step 12/12 : RUN $MAKE [2023-04-18T04:44:28.032Z] ---> Running in 18a6b88cb036 [2023-04-18T04:44:28.032Z] noop [2023-04-18T04:44:28.032Z] Removing intermediate container 18a6b88cb036 [2023-04-18T04:44:28.032Z] ---> 20c13896071c [2023-04-18T04:44:28.032Z] Successfully built 20c13896071c [2023-04-18T04:44:28.032Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:44:28.388Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T04:44:28.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:44:28.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container [2023-04-18T04:44:28.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T04:44:29.786Z] $ docker top cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:44:30.630Z] + go version [2023-04-18T04:44:30.630Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T04:44:30.644Z] $ docker stop --time=1 cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 [2023-04-18T04:44:32.263Z] $ docker rm -f --volumes cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:44:32.810Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T04:44:32.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:44:32.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container [2023-04-18T04:44:33.044Z] $ 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/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T04:44:34.177Z] $ docker top 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:44:34.678Z] + git config --global --add safe.directory /w/workspace/device-rest-go/100 [Pipeline] fileExists [Pipeline] sh [2023-04-18T04:44:35.335Z] + make test [2023-04-18T04:44:35.335Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T04:45:04.976Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T04:46:58.414Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T04:46:58.414Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-04-18T04:46:58.414Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T04:46:58.414Z] go vet ./... [2023-04-18T04:47:30.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T04:47:30.655Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T04:47:30.655Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T04:47:30.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T04:47:30.687Z] $ docker stop --time=1 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e [2023-04-18T04:47:32.752Z] $ docker rm -f --volumes 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:47:34.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T04:47:34.161Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T04:47:34.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:47:35.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T04:47:35.725Z] + ls -al . [2023-04-18T04:47:35.725Z] total 180 [2023-04-18T04:47:35.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:44 . [2023-04-18T04:47:35.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:42 .. [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:42 .dockerignore [2023-04-18T04:47:35.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:42 .git [2023-04-18T04:47:35.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:42 .github [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:42 .gitignore [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:42 .golangci.yml [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:42 Attribution.txt [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:42 CHANGELOG.md [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:42 Dockerfile [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:42 GOVERNANCE.md [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:42 Jenkinsfile [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:42 LICENSE [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:42 Makefile [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:42 OWNERS.md [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:42 README.md [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 04:40 VERSION [2023-04-18T04:47:35.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:42 bin [2023-04-18T04:47:35.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:42 cmd [2023-04-18T04:47:35.725Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:46 coverage.out [2023-04-18T04:47:35.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:42 driver [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:42 go.mod [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:42 go.sum [2023-04-18T04:47:35.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:42 snap [2023-04-18T04:47:35.725Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:47:36.085Z] + 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=0c5eec98d3be44e3458d60972803f48ebbd423fa --label arch=arm64 --label version=3.0.0-dev.28 . [2023-04-18T04:47:36.085Z] Sending build context to Docker daemon 154.1kB [2023-04-18T04:47:37.506Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:47:37.506Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T04:47:37.506Z] ---> 20c13896071c [2023-04-18T04:47:37.506Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:47:37.506Z] ---> Running in 223ff46f5f1a [2023-04-18T04:47:37.775Z] Removing intermediate container 223ff46f5f1a [2023-04-18T04:47:37.775Z] ---> 8806c88ab66d [2023-04-18T04:47:37.775Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:47:37.775Z] ---> Running in 21c5d9bad357 [2023-04-18T04:47:39.188Z] Removing intermediate container 21c5d9bad357 [2023-04-18T04:47:39.188Z] ---> dd062c2335ad [2023-04-18T04:47:39.189Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:47:39.459Z] ---> Running in 4c4a3d0837cd [2023-04-18T04:47:39.729Z] Removing intermediate container 4c4a3d0837cd [2023-04-18T04:47:39.729Z] ---> 1fd4c0e18c05 [2023-04-18T04:47:39.729Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:47:39.729Z] ---> Running in 3067fc2f7fcc [2023-04-18T04:47:40.313Z] Removing intermediate container 3067fc2f7fcc [2023-04-18T04:47:40.313Z] ---> 0dfe098edcdf [2023-04-18T04:47:40.313Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:47:40.313Z] ---> Running in 1194bc90dcba [2023-04-18T04:47:41.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:47:41.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:47:43.275Z] OK: 268 MiB in 57 packages [2023-04-18T04:47:43.856Z] Removing intermediate container 1194bc90dcba [2023-04-18T04:47:43.856Z] ---> 0c319aafd431 [2023-04-18T04:47:43.856Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T04:47:44.123Z] ---> Running in 52285a5af9d6 [2023-04-18T04:47:44.394Z] Removing intermediate container 52285a5af9d6 [2023-04-18T04:47:44.394Z] ---> 14bdbba55d60 [2023-04-18T04:47:44.394Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T04:47:46.967Z] ---> c7c614e8300d [2023-04-18T04:47:46.967Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:47:46.967Z] ---> Running in 42f973d78a24 [2023-04-18T04:47:48.905Z] Removing intermediate container 42f973d78a24 [2023-04-18T04:47:48.906Z] ---> 9f2c2f197648 [2023-04-18T04:47:48.906Z] Step 11/25 : COPY . . [2023-04-18T04:47:49.487Z] ---> 3041c3403c81 [2023-04-18T04:47:49.487Z] Step 12/25 : RUN $MAKE [2023-04-18T04:47:49.487Z] ---> Running in b5f7b3ba4e1c [2023-04-18T04:47:50.444Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-18T04:49:57.134Z] Removing intermediate container b5f7b3ba4e1c [2023-04-18T04:49:57.134Z] ---> 7545920f797a [2023-04-18T04:49:57.134Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T04:49:57.134Z] 3.17: Pulling from library/alpine [2023-04-18T04:49:57.134Z] c41833b44d91: Pulling fs layer [2023-04-18T04:49:57.134Z] c41833b44d91: Verifying Checksum [2023-04-18T04:49:57.134Z] c41833b44d91: Download complete [2023-04-18T04:49:57.134Z] c41833b44d91: Pull complete [2023-04-18T04:49:57.134Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T04:49:57.134Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T04:49:57.134Z] ---> 51e60588ff2c [2023-04-18T04:49:57.134Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T04:49:57.134Z] ---> Running in 66e26e2f401c [2023-04-18T04:49:57.134Z] Removing intermediate container 66e26e2f401c [2023-04-18T04:49:57.134Z] ---> 4bff34747ec7 [2023-04-18T04:49:57.134Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T04:49:57.134Z] ---> Running in 1660438440bf [2023-04-18T04:49:57.134Z] Removing intermediate container 1660438440bf [2023-04-18T04:49:57.134Z] ---> e67bb5478730 [2023-04-18T04:49:57.134Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T04:49:57.134Z] ---> Running in fe05a0c17070 [2023-04-18T04:49:57.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:49:57.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:49:57.134Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T04:49:57.134Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:49:57.134Z] OK: 8 MiB in 16 packages [2023-04-18T04:49:58.542Z] Removing intermediate container fe05a0c17070 [2023-04-18T04:49:58.542Z] ---> f72be9a1e017 [2023-04-18T04:49:58.542Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T04:49:59.956Z] ---> 0f034579025f [2023-04-18T04:49:59.956Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T04:50:00.225Z] ---> 744edf315732 [2023-04-18T04:50:00.225Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T04:50:00.812Z] ---> 1c9cfd1a9093 [2023-04-18T04:50:00.812Z] Step 20/25 : EXPOSE 59986 [2023-04-18T04:50:00.812Z] ---> Running in b7cfa3e8c23d [2023-04-18T04:50:01.082Z] Removing intermediate container b7cfa3e8c23d [2023-04-18T04:50:01.082Z] ---> 92e0b2c8e0a5 [2023-04-18T04:50:01.082Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T04:50:01.350Z] ---> Running in b4790e9b56ce [2023-04-18T04:50:01.627Z] Removing intermediate container b4790e9b56ce [2023-04-18T04:50:01.627Z] ---> 17a20e96234f [2023-04-18T04:50:01.627Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T04:50:01.627Z] ---> Running in 26b72da0c077 [2023-04-18T04:50:01.896Z] Removing intermediate container 26b72da0c077 [2023-04-18T04:50:01.896Z] ---> 0bc935dc2aa3 [2023-04-18T04:50:01.896Z] Step 23/25 : LABEL arch=arm64 [2023-04-18T04:50:01.896Z] ---> Running in f3e2950032f3 [2023-04-18T04:50:02.164Z] Removing intermediate container f3e2950032f3 [2023-04-18T04:50:02.164Z] ---> 12fc00cde178 [2023-04-18T04:50:02.164Z] Step 24/25 : LABEL git_sha=0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:50:02.438Z] ---> Running in a5bc1c17d239 [2023-04-18T04:50:02.706Z] Removing intermediate container a5bc1c17d239 [2023-04-18T04:50:02.706Z] ---> 2aaebfdb8e40 [2023-04-18T04:50:02.706Z] Step 25/25 : LABEL version=3.0.0-dev.28 [2023-04-18T04:50:02.706Z] ---> Running in fd992dd286f8 [2023-04-18T04:50:02.973Z] Removing intermediate container fd992dd286f8 [2023-04-18T04:50:02.973Z] ---> 8c9bcd4e936d [2023-04-18T04:50:02.973Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T04:50:02.973Z] Successfully built 8c9bcd4e936d [2023-04-18T04:50:02.973Z] 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-04-18T04:50:03.073Z] provisioning config files... [2023-04-18T04:50:03.088Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/100@tmp/config10356359621381749184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:50:03.414Z] ---> docker-login.sh [2023-04-18T04:50:03.414Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:50:03.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:50:03.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:50:03.681Z] Configure a credential helper to remove this warning. See [2023-04-18T04:50:03.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:50:03.681Z] [2023-04-18T04:50:03.681Z] Login Succeeded [2023-04-18T04:50:03.681Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:50:03.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:50:03.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:50:03.951Z] Configure a credential helper to remove this warning. See [2023-04-18T04:50:03.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:50:03.951Z] [2023-04-18T04:50:03.951Z] Login Succeeded [2023-04-18T04:50:03.951Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:50:04.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:50:04.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:50:04.484Z] Configure a credential helper to remove this warning. See [2023-04-18T04:50:04.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:50:04.484Z] [2023-04-18T04:50:04.484Z] Login Succeeded [2023-04-18T04:50:04.484Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:50:04.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:50:04.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:50:04.749Z] Configure a credential helper to remove this warning. See [2023-04-18T04:50:04.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:50:04.749Z] [2023-04-18T04:50:04.749Z] Login Succeeded [2023-04-18T04:50:04.749Z] docker.io [2023-04-18T04:50:05.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:50:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:50:05.282Z] Configure a credential helper to remove this warning. See [2023-04-18T04:50:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:50:05.282Z] [2023-04-18T04:50:05.282Z] Login Succeeded [2023-04-18T04:50:05.282Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:50:05.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T04:50:05.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:50:05.333Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-04-18T04:50:05.333Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:50:05.333Z] latest [2023-04-18T04:50:05.333Z] 3.0.0-dev.28 [2023-04-18T04:50:05.333Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:50:05.333Z] main [2023-04-18T04:50:05.333Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:05.726Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:06.083Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:50:06.083Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-18T04:50:06.083Z] a0e110cc6a4c: Preparing [2023-04-18T04:50:06.083Z] ea843491382d: Preparing [2023-04-18T04:50:06.083Z] 8a495ca5a5b0: Preparing [2023-04-18T04:50:06.083Z] 7d2a64e01b59: Preparing [2023-04-18T04:50:06.083Z] 26cbea5cba74: Preparing [2023-04-18T04:50:06.083Z] 26cbea5cba74: Layer already exists [2023-04-18T04:50:06.368Z] a0e110cc6a4c: Pushed [2023-04-18T04:50:06.368Z] ea843491382d: Pushed [2023-04-18T04:50:06.368Z] 7d2a64e01b59: Pushed [2023-04-18T04:50:11.745Z] 8a495ca5a5b0: Pushed [2023-04-18T04:50:11.745Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:12.090Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:12.422Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-04-18T04:50:12.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-18T04:50:12.422Z] a0e110cc6a4c: Preparing [2023-04-18T04:50:12.422Z] ea843491382d: Preparing [2023-04-18T04:50:12.422Z] 8a495ca5a5b0: Preparing [2023-04-18T04:50:12.422Z] 7d2a64e01b59: Preparing [2023-04-18T04:50:12.422Z] 26cbea5cba74: Preparing [2023-04-18T04:50:12.422Z] 26cbea5cba74: Layer already exists [2023-04-18T04:50:12.422Z] 7d2a64e01b59: Layer already exists [2023-04-18T04:50:12.422Z] 8a495ca5a5b0: Layer already exists [2023-04-18T04:50:12.422Z] ea843491382d: Layer already exists [2023-04-18T04:50:12.422Z] a0e110cc6a4c: Layer already exists [2023-04-18T04:50:12.422Z] latest: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:12.757Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:13.088Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 [2023-04-18T04:50:13.088Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-18T04:50:13.088Z] a0e110cc6a4c: Preparing [2023-04-18T04:50:13.088Z] ea843491382d: Preparing [2023-04-18T04:50:13.088Z] 8a495ca5a5b0: Preparing [2023-04-18T04:50:13.088Z] 7d2a64e01b59: Preparing [2023-04-18T04:50:13.088Z] 26cbea5cba74: Preparing [2023-04-18T04:50:13.088Z] 26cbea5cba74: Layer already exists [2023-04-18T04:50:13.088Z] 8a495ca5a5b0: Layer already exists [2023-04-18T04:50:13.088Z] 7d2a64e01b59: Layer already exists [2023-04-18T04:50:13.088Z] ea843491382d: Layer already exists [2023-04-18T04:50:13.088Z] a0e110cc6a4c: Layer already exists [2023-04-18T04:50:13.088Z] 3.0.0-dev.28: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:13.419Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:13.755Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:50:13.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-18T04:50:13.755Z] a0e110cc6a4c: Preparing [2023-04-18T04:50:13.755Z] ea843491382d: Preparing [2023-04-18T04:50:13.755Z] 8a495ca5a5b0: Preparing [2023-04-18T04:50:13.755Z] 7d2a64e01b59: Preparing [2023-04-18T04:50:13.755Z] 26cbea5cba74: Preparing [2023-04-18T04:50:13.755Z] 7d2a64e01b59: Layer already exists [2023-04-18T04:50:13.755Z] 26cbea5cba74: Layer already exists [2023-04-18T04:50:13.755Z] 8a495ca5a5b0: Layer already exists [2023-04-18T04:50:13.755Z] ea843491382d: Layer already exists [2023-04-18T04:50:13.755Z] a0e110cc6a4c: Layer already exists [2023-04-18T04:50:13.755Z] 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:14.096Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:14.447Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-04-18T04:50:14.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-18T04:50:14.447Z] a0e110cc6a4c: Preparing [2023-04-18T04:50:14.447Z] ea843491382d: Preparing [2023-04-18T04:50:14.447Z] 8a495ca5a5b0: Preparing [2023-04-18T04:50:14.447Z] 7d2a64e01b59: Preparing [2023-04-18T04:50:14.447Z] 26cbea5cba74: Preparing [2023-04-18T04:50:14.447Z] 7d2a64e01b59: Layer already exists [2023-04-18T04:50:14.447Z] ea843491382d: Layer already exists [2023-04-18T04:50:14.447Z] 8a495ca5a5b0: Layer already exists [2023-04-18T04:50:14.447Z] a0e110cc6a4c: Layer already exists [2023-04-18T04:50:14.447Z] 26cbea5cba74: Layer already exists [2023-04-18T04:50:14.447Z] main: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T04:50:14.495Z] ===================================================== [Pipeline] echo [2023-04-18T04:50:14.501Z] taggedImages: [2023-04-18T04:50:14.501Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa [2023-04-18T04:50:14.501Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-04-18T04:50:14.501Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 [2023-04-18T04:50:14.501Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [2023-04-18T04:50:14.501Z] - 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-04-18T04:50:14.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:50:14.853Z] [2023-04-18T04:50:14.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:15.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:50:15.186Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T04:50:15.187Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T04:50:15.187Z] 04944245beec: Pulling fs layer [2023-04-18T04:50:15.187Z] 699f458cf7ca: Pulling fs layer [2023-04-18T04:50:15.187Z] 765212b225bb: Pulling fs layer [2023-04-18T04:50:15.187Z] f23df028b6ca: Pulling fs layer [2023-04-18T04:50:15.187Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T04:50:15.187Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T04:50:15.187Z] f23df028b6ca: Waiting [2023-04-18T04:50:15.187Z] 765212b225bb: Waiting [2023-04-18T04:50:15.187Z] d65c8cfc05b1: Waiting [2023-04-18T04:50:15.187Z] 2437ff75d9bd: Waiting [2023-04-18T04:50:15.458Z] 04944245beec: Verifying Checksum [2023-04-18T04:50:15.458Z] 04944245beec: Download complete [2023-04-18T04:50:15.458Z] 765212b225bb: Verifying Checksum [2023-04-18T04:50:15.458Z] 765212b225bb: Download complete [2023-04-18T04:50:15.458Z] f23df028b6ca: Download complete [2023-04-18T04:50:15.458Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T04:50:15.458Z] d65c8cfc05b1: Download complete [2023-04-18T04:50:15.727Z] 699f458cf7ca: Verifying Checksum [2023-04-18T04:50:15.727Z] 699f458cf7ca: Download complete [2023-04-18T04:50:15.995Z] 8998bd30e6a1: Download complete [2023-04-18T04:50:18.580Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T04:50:18.580Z] 2437ff75d9bd: Download complete [2023-04-18T04:50:19.988Z] 8998bd30e6a1: Pull complete [2023-04-18T04:50:20.254Z] 04944245beec: Pull complete [2023-04-18T04:50:21.660Z] 699f458cf7ca: Pull complete [2023-04-18T04:50:21.660Z] 765212b225bb: Pull complete [2023-04-18T04:50:22.616Z] f23df028b6ca: Pull complete [2023-04-18T04:50:22.882Z] d65c8cfc05b1: Pull complete [2023-04-18T04:50:37.884Z] 2437ff75d9bd: Pull complete [2023-04-18T04:50:37.884Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T04:50:37.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:50:37.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:50:38.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container [2023-04-18T04:50:38.126Z] $ 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/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T04:50:40.626Z] $ docker top 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:50:41.474Z] ---> job-cost.sh [2023-04-18T04:50:41.474Z] lf-activate-venv: SKIPPING [2023-04-18T04:50:41.474Z] INFO: No Stack... [2023-04-18T04:50:42.055Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T04:50:42.634Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T04:50:43.266Z] + + cutcat -d, /w/workspace/device-rest-go/100/archives/cost.csv -f6 [2023-04-18T04:50:43.267Z] [Pipeline] lock [2023-04-18T04:50:43.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [2023-04-18T04:50:43.339Z] Resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] did not exist. Created. [2023-04-18T04:50:43.339Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T04:50:43.674Z] /w/workspace/device-rest-go/100@tmp/durable-57e2a64a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T04:50:44.017Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T04:50:44.301Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T04:50:44.341Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T04:50:44.348Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T04:50:44.361Z] $ docker stop --time=1 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 [2023-04-18T04:50:45.825Z] $ docker rm -f --volumes 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 [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-04-18T04:50:46.223Z] provisioning config files... [2023-04-18T04:50:46.231Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9109980852993540692tmp [Pipeline] { [Pipeline] sh [2023-04-18T04:50:46.523Z] + set +x [2023-04-18T04:50:46.523Z] + curl -s https://codecov.io/bash [2023-04-18T04:50:46.523Z] + bash -s -- [2023-04-18T04:50:46.523Z] [2023-04-18T04:50:46.523Z] _____ _ [2023-04-18T04:50:46.523Z] / ____| | | [2023-04-18T04:50:46.523Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T04:50:46.523Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T04:50:46.523Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T04:50:46.523Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T04:50:46.523Z] Bash-1.0.6 [2023-04-18T04:50:46.523Z] [2023-04-18T04:50:46.523Z] [2023-04-18T04:50:46.523Z] ==> git version 2.25.1 found [2023-04-18T04:50:46.523Z] ==> 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-04-18T04:50:46.523Z] Release-Date: 2020-01-08 [2023-04-18T04:50:46.523Z] 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-04-18T04:50:46.523Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T04:50:46.523Z] ==> Jenkins CI detected. [2023-04-18T04:50:46.523Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-04-18T04:50:46.523Z] project root: . [2023-04-18T04:50:46.523Z] --> token set from env [2023-04-18T04:50:46.523Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T04:50:46.523Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T04:50:46.523Z] ==> Python coveragepy not found [2023-04-18T04:50:46.523Z] ==> Searching for coverage reports in: [2023-04-18T04:50:46.523Z] + . [2023-04-18T04:50:46.783Z] -> Found 1 reports [2023-04-18T04:50:46.783Z] ==> Detecting git/mercurial file structure [2023-04-18T04:50:46.783Z] ==> Reading reports [2023-04-18T04:50:46.783Z] + ./coverage.out bytes=14663 [2023-04-18T04:50:46.783Z] ==> Appending adjustments [2023-04-18T04:50:46.783Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T04:50:46.783Z] + Found adjustments [2023-04-18T04:50:46.783Z] ==> Gzipping contents [2023-04-18T04:50:46.783Z] 4.0K /tmp/codecov.GpL6Oq.gz [2023-04-18T04:50:46.783Z] ==> Uploading reports [2023-04-18T04:50:46.783Z] url: https://codecov.io [2023-04-18T04:50:46.783Z] query: branch=main&commit=0c5eec98d3be44e3458d60972803f48ebbd423fa&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T04:50:46.783Z] -> Pinging Codecov [2023-04-18T04:50:46.783Z] 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=0c5eec98d3be44e3458d60972803f48ebbd423fa&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T04:50:47.042Z] -> Uploading to [2023-04-18T04:50:47.042Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/4E5D53B4F1F92C436F7061BF334D961C/0c5eec98d3be44e3458d60972803f48ebbd423fa/ff8d9413-8415-417d-a0a4-24b3d4a09847.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T045046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3ef3f22d7531daa155bb3eb8c741c9d5d1da92bc6596a32f753a79a56b1439a [2023-04-18T04:50:47.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T04:50:47.042Z] Dload Upload Total Spent Left Speed [2023-04-18T04:50:47.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10546 --:--:-- --:--:-- --:--:-- 10546 [2023-04-18T04:50:47.302Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } [2023-04-18T04:50:47.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T04:50:47.503Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T04:50:47.514Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:47.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T04:50:47.810Z] [2023-04-18T04:50:47.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:50:48.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T04:50:48.115Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T04:50:48.115Z] df9b9388f04a: Pulling fs layer [2023-04-18T04:50:48.115Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T04:50:48.115Z] 25bc292e5bac: Pulling fs layer [2023-04-18T04:50:48.115Z] 114826534d7a: Pulling fs layer [2023-04-18T04:50:48.115Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T04:50:48.115Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T04:50:48.115Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T04:50:48.115Z] 114826534d7a: Waiting [2023-04-18T04:50:48.115Z] 4657fd5d0bcf: Waiting [2023-04-18T04:50:48.115Z] 6ad1cebc031e: Waiting [2023-04-18T04:50:48.115Z] 8a3aa393b2d8: Waiting [2023-04-18T04:50:48.115Z] 25bc292e5bac: Verifying Checksum [2023-04-18T04:50:48.115Z] 25bc292e5bac: Download complete [2023-04-18T04:50:48.115Z] 52dc419b0ee2: Verifying Checksum [2023-04-18T04:50:48.115Z] 52dc419b0ee2: Download complete [2023-04-18T04:50:48.115Z] 4657fd5d0bcf: Verifying Checksum [2023-04-18T04:50:48.115Z] 4657fd5d0bcf: Download complete [2023-04-18T04:50:48.115Z] df9b9388f04a: Verifying Checksum [2023-04-18T04:50:48.374Z] df9b9388f04a: Pull complete [2023-04-18T04:50:48.374Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T04:50:48.374Z] 6ad1cebc031e: Download complete [2023-04-18T04:50:48.374Z] 52dc419b0ee2: Pull complete [2023-04-18T04:50:48.374Z] 25bc292e5bac: Pull complete [2023-04-18T04:50:48.941Z] 114826534d7a: Verifying Checksum [2023-04-18T04:50:48.941Z] 114826534d7a: Download complete [2023-04-18T04:50:48.941Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T04:50:48.941Z] 8a3aa393b2d8: Download complete [2023-04-18T04:50:52.225Z] 114826534d7a: Pull complete [2023-04-18T04:50:52.484Z] 4657fd5d0bcf: Pull complete [2023-04-18T04:50:52.742Z] 6ad1cebc031e: Pull complete [2023-04-18T04:50:55.272Z] 8a3aa393b2d8: Pull complete [2023-04-18T04:50:55.272Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T04:50:55.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T04:50:55.272Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:50:55.350Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:50:55.376Z] $ 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-04-18T04:50:57.432Z] $ docker top feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T04:50:57.505Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-04-18T04:50:57.782Z] + set -o pipefail [2023-04-18T04:50:57.782Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4479fc21-0841-4311-8295-233ba4aa637a [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] [2023-04-18T04:51:01.971Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T04:51:01.971Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T04:51:01.971Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T04:51:01.977Z] $ docker stop --time=1 feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 [2023-04-18T04:51:03.860Z] $ docker rm -f --volumes feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 [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-04-18T04:51:04.538Z] + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] sh [2023-04-18T04:51:04.829Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:51:04.829Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:05.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:51:05.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:51:05.195Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:51:05.221Z] $ 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-04-18T04:51:05.575Z] $ docker top 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:51:05.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:51:05.663Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:51:05.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:51:05.786Z] $ docker exec 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b ssh-agent [2023-04-18T04:51:05.894Z] SSH_AUTH_SOCK=/tmp/ssh-Q2KIOgjvmu7H/agent.32 [2023-04-18T04:51:05.894Z] SSH_AGENT_PID=38 [2023-04-18T04:51:05.899Z] Running ssh-add (command line suppressed) [2023-04-18T04:51:05.992Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9643749527041640661.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9643749527041640661.key) [2023-04-18T04:51:06.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:51:06.297Z] + git semver tag [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,457 [run_tag] DEBUG tag force:False [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,457 [check_head_tag] DEBUG check head tag [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,458 [execute] INFO git cat-file --batch-check [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,462 [execute] INFO git cat-file --batch [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,483 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,483 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T04:51:06.556Z] 2023-04-18 04:51:06,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:06.556Z] 3.0.0-dev.28 [Pipeline] } [2023-04-18T04:51:06.561Z] $ docker exec --env ******** --env ******** 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b ssh-agent -k [2023-04-18T04:51:06.650Z] unset SSH_AUTH_SOCK; [2023-04-18T04:51:06.651Z] unset SSH_AGENT_PID; [2023-04-18T04:51:06.651Z] echo Agent pid 38 killed; [2023-04-18T04:51:06.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:51:06.965Z] + git semver [Pipeline] } [2023-04-18T04:51:07.233Z] $ docker stop --time=1 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b [2023-04-18T04:51:08.493Z] $ docker rm -f --volumes 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:08.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T04:51:08.876Z] [2023-04-18T04:51:08.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:09.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T04:51:09.174Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T04:51:09.174Z] ab5ef0e58194: Pulling fs layer [2023-04-18T04:51:09.174Z] 9712f1f96733: Pulling fs layer [2023-04-18T04:51:09.174Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T04:51:09.174Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T04:51:09.174Z] e9a5061849ea: Pulling fs layer [2023-04-18T04:51:09.174Z] d747dcd14b5f: Pulling fs layer [2023-04-18T04:51:09.174Z] 2de7ff778b66: Pulling fs layer [2023-04-18T04:51:09.174Z] 0d9ebad4ef96: Waiting [2023-04-18T04:51:09.174Z] e9a5061849ea: Waiting [2023-04-18T04:51:09.174Z] 2de7ff778b66: Waiting [2023-04-18T04:51:09.174Z] d747dcd14b5f: Waiting [2023-04-18T04:51:09.174Z] 9712f1f96733: Verifying Checksum [2023-04-18T04:51:09.174Z] 9712f1f96733: Download complete [2023-04-18T04:51:09.743Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T04:51:09.743Z] 63f879dbbcfc: Download complete [2023-04-18T04:51:09.743Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T04:51:09.743Z] 0d9ebad4ef96: Download complete [2023-04-18T04:51:09.743Z] e9a5061849ea: Verifying Checksum [2023-04-18T04:51:09.743Z] e9a5061849ea: Download complete [2023-04-18T04:51:09.743Z] d747dcd14b5f: Verifying Checksum [2023-04-18T04:51:09.743Z] d747dcd14b5f: Download complete [2023-04-18T04:51:09.743Z] ab5ef0e58194: Download complete [2023-04-18T04:51:10.002Z] 2de7ff778b66: Verifying Checksum [2023-04-18T04:51:10.002Z] 2de7ff778b66: Download complete [2023-04-18T04:51:12.533Z] ab5ef0e58194: Pull complete [2023-04-18T04:51:12.533Z] 9712f1f96733: Pull complete [2023-04-18T04:51:13.099Z] 63f879dbbcfc: Pull complete [2023-04-18T04:51:16.380Z] 0d9ebad4ef96: Pull complete [2023-04-18T04:51:16.639Z] e9a5061849ea: Pull complete [2023-04-18T04:51:16.897Z] d747dcd14b5f: Pull complete [2023-04-18T04:51:17.831Z] 2de7ff778b66: Pull complete [2023-04-18T04:51:17.831Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T04:51:17.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T04:51:17.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:51:17.913Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:51:17.940Z] $ 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-04-18T04:51:19.635Z] $ docker top cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:51:19.703Z] provisioning config files... [2023-04-18T04:51:19.758Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15755825198177866806tmp [2023-04-18T04:51:19.765Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12055810664313365057tmp [2023-04-18T04:51:19.774Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config79842544393284002tmp [Pipeline] { [Pipeline] echo [2023-04-18T04:51:19.790Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:20.065Z] ---> sigul-configuration.sh [2023-04-18T04:51:20.065Z] gpg: directory `/root/.gnupg' created [2023-04-18T04:51:20.065Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T04:51:20.065Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T04:51:20.065Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T04:51:20.065Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T04:51:20.065Z] gpg: CAST5 encrypted data [2023-04-18T04:51:20.065Z] gpg: encrypted with 1 passphrase [2023-04-18T04:51:20.065Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T04:51:20.342Z] + mkdir /home/jenkins [2023-04-18T04:51:20.342Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T04:51:20.624Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-04-18T04:51:20.632Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:20.912Z] ---> sigul-install.sh [2023-04-18T04:51:20.912Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T04:51:21.194Z] + git tag --list [2023-04-18T04:51:21.195Z] v1.0.0 [2023-04-18T04:51:21.195Z] v1.1.0 [2023-04-18T04:51:21.195Z] v1.1.1 [2023-04-18T04:51:21.195Z] v1.1.2 [2023-04-18T04:51:21.195Z] v1.2.0 [2023-04-18T04:51:21.195Z] v1.2.1 [2023-04-18T04:51:21.195Z] v2.0.0 [2023-04-18T04:51:21.195Z] v2.1.0 [2023-04-18T04:51:21.195Z] v2.1.1 [2023-04-18T04:51:21.195Z] v2.1.1-dev.1 [2023-04-18T04:51:21.195Z] v2.1.1-dev.2 [2023-04-18T04:51:21.195Z] v2.1.1-dev.3 [2023-04-18T04:51:21.195Z] v2.2.0 [2023-04-18T04:51:21.195Z] v2.2.1-dev.1 [2023-04-18T04:51:21.195Z] v2.2.1-dev.2 [2023-04-18T04:51:21.195Z] v2.2.1-dev.3 [2023-04-18T04:51:21.195Z] v2.2.1-dev.4 [2023-04-18T04:51:21.195Z] v2.2.1-dev.5 [2023-04-18T04:51:21.195Z] v2.2.1-dev.6 [2023-04-18T04:51:21.195Z] v2.2.1-dev.7 [2023-04-18T04:51:21.195Z] v2.2.1-dev.8 [2023-04-18T04:51:21.195Z] v2.2.1-dev.9 [2023-04-18T04:51:21.195Z] v2.3.0 [2023-04-18T04:51:21.195Z] v2.3.0-dev.10 [2023-04-18T04:51:21.195Z] v2.3.0-dev.11 [2023-04-18T04:51:21.195Z] v2.3.0-dev.12 [2023-04-18T04:51:21.195Z] v2.3.0-dev.13 [2023-04-18T04:51:21.195Z] v2.3.0-dev.14 [2023-04-18T04:51:21.195Z] v2.3.0-dev.15 [2023-04-18T04:51:21.195Z] v2.3.0-dev.16 [2023-04-18T04:51:21.195Z] v2.3.0-dev.17 [2023-04-18T04:51:21.195Z] v2.3.0-dev.18 [2023-04-18T04:51:21.195Z] v2.3.0-dev.19 [2023-04-18T04:51:21.195Z] v2.3.0-dev.20 [2023-04-18T04:51:21.195Z] v2.3.0-dev.21 [2023-04-18T04:51:21.195Z] v2.3.0-dev.22 [2023-04-18T04:51:21.195Z] v2.3.0-dev.23 [2023-04-18T04:51:21.195Z] v2.3.0-dev.24 [2023-04-18T04:51:21.195Z] v2.3.0-dev.25 [2023-04-18T04:51:21.195Z] v2.3.0-dev.9 [2023-04-18T04:51:21.195Z] v3.0.0-dev.1 [2023-04-18T04:51:21.195Z] v3.0.0-dev.10 [2023-04-18T04:51:21.195Z] v3.0.0-dev.11 [2023-04-18T04:51:21.195Z] v3.0.0-dev.12 [2023-04-18T04:51:21.195Z] v3.0.0-dev.13 [2023-04-18T04:51:21.195Z] v3.0.0-dev.14 [2023-04-18T04:51:21.195Z] v3.0.0-dev.15 [2023-04-18T04:51:21.195Z] v3.0.0-dev.16 [2023-04-18T04:51:21.195Z] v3.0.0-dev.17 [2023-04-18T04:51:21.195Z] v3.0.0-dev.18 [2023-04-18T04:51:21.195Z] v3.0.0-dev.19 [2023-04-18T04:51:21.195Z] v3.0.0-dev.2 [2023-04-18T04:51:21.195Z] v3.0.0-dev.20 [2023-04-18T04:51:21.195Z] v3.0.0-dev.21 [2023-04-18T04:51:21.195Z] v3.0.0-dev.22 [2023-04-18T04:51:21.195Z] v3.0.0-dev.23 [2023-04-18T04:51:21.195Z] v3.0.0-dev.24 [2023-04-18T04:51:21.195Z] v3.0.0-dev.25 [2023-04-18T04:51:21.195Z] v3.0.0-dev.26 [2023-04-18T04:51:21.195Z] v3.0.0-dev.27 [2023-04-18T04:51:21.195Z] v3.0.0-dev.28 [2023-04-18T04:51:21.195Z] v3.0.0-dev.3 [2023-04-18T04:51:21.195Z] v3.0.0-dev.4 [2023-04-18T04:51:21.195Z] v3.0.0-dev.5 [2023-04-18T04:51:21.195Z] v3.0.0-dev.6 [2023-04-18T04:51:21.195Z] v3.0.0-dev.7 [2023-04-18T04:51:21.195Z] v3.0.0-dev.8 [2023-04-18T04:51:21.195Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T04:51:21.479Z] + lftools sign git-tag v3.0.0-dev.28 [2023-04-18T04:51:22.053Z] Signing Git tag with Sigul... [2023-04-18T04:51:22.053Z] Signing v3.0.0-dev.28 [Pipeline] echo [2023-04-18T04:51:22.319Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:22.601Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T04:51:22.607Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T04:51:22.623Z] $ docker stop --time=1 cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 [2023-04-18T04:51:23.905Z] $ docker rm -f --volumes cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T04:51:24.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:51:24.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:24.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:51:24.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:51:24.682Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:51:24.710Z] $ 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-04-18T04:51:25.046Z] $ docker top fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d -eo pid,comm [2023-04-18T04:51:25.094Z] 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-04-18T04:51:25.095Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:51:25.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:51:25.132Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:51:25.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:51:25.245Z] $ docker exec fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d ssh-agent [2023-04-18T04:51:25.350Z] SSH_AUTH_SOCK=/tmp/ssh-Vp13TtFca0iY/agent.32 [2023-04-18T04:51:25.350Z] SSH_AGENT_PID=38 [2023-04-18T04:51:25.355Z] Running ssh-add (command line suppressed) [2023-04-18T04:51:25.461Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172981533369860045.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172981533369860045.key) [2023-04-18T04:51:25.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:51:25.764Z] + git semver bump pre [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [bump_version] DEBUG bumped version:3.0.0-dev.29 [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,922 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,924 [execute] INFO git cat-file --batch-check [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,929 [execute] INFO git cat-file --batch [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:51:26.023Z] 2023-04-18 04:51:25,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:26.023Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T04:51:26.029Z] $ docker exec --env ******** --env ******** fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d ssh-agent -k [2023-04-18T04:51:26.136Z] unset SSH_AUTH_SOCK; [2023-04-18T04:51:26.137Z] unset SSH_AGENT_PID; [2023-04-18T04:51:26.137Z] echo Agent pid 38 killed; [2023-04-18T04:51:26.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:51:26.450Z] + git semver [Pipeline] } [2023-04-18T04:51:26.717Z] $ docker stop --time=1 fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d [2023-04-18T04:51:27.977Z] $ docker rm -f --volumes fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:51:28.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:51:28.312Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:28.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:51:28.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:51:28.674Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:51:28.700Z] $ 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-04-18T04:51:29.030Z] $ docker top 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 -eo pid,comm [2023-04-18T04:51:29.081Z] 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-04-18T04:51:29.081Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:51:29.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:51:29.120Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:51:29.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:51:29.234Z] $ docker exec 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 ssh-agent [2023-04-18T04:51:29.350Z] SSH_AUTH_SOCK=/tmp/ssh-lUOMTfvqzOc9/agent.33 [2023-04-18T04:51:29.350Z] SSH_AGENT_PID=40 [2023-04-18T04:51:29.354Z] Running ssh-add (command line suppressed) [2023-04-18T04:51:29.446Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14781507097649051410.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14781507097649051410.key) [2023-04-18T04:51:29.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:51:29.755Z] + git semver push [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,921 [run_push] DEBUG push [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,922 [execute] INFO git cat-file --batch-check [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,925 [execute] INFO git rev-list 094faa7cd6c83e126e8191e3a2c011682b3aafcc -- [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,925 [execute] DEBUG Popen(['git', 'rev-list', '094faa7cd6c83e126e8191e3a2c011682b3aafcc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,933 [execute] INFO git fetch -v origin [2023-04-18T04:51:30.014Z] 2023-04-18 04:51:29,933 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T04:51:30.582Z] 2023-04-18 04:51:30,429 [run_push] DEBUG no remote changes detected [2023-04-18T04:51:30.582Z] 2023-04-18 04:51:30,429 [execute] INFO git push origin semver [2023-04-18T04:51:30.582Z] 2023-04-18 04:51:30,429 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T04:51:31.519Z] 2023-04-18 04:51:31,166 [run_push] DEBUG push all version tags [2023-04-18T04:51:31.519Z] 2023-04-18 04:51:31,166 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T04:51:31.519Z] 2023-04-18 04:51:31,167 [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-04-18T04:51:32.088Z] 2023-04-18 04:51:31,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-18T04:51:32.088Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T04:51:32.094Z] $ docker exec --env ******** --env ******** 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 ssh-agent -k [2023-04-18T04:51:32.187Z] unset SSH_AUTH_SOCK; [2023-04-18T04:51:32.187Z] unset SSH_AGENT_PID; [2023-04-18T04:51:32.187Z] echo Agent pid 40 killed; [2023-04-18T04:51:32.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:51:32.501Z] + git semver [Pipeline] } [2023-04-18T04:51:32.769Z] $ docker stop --time=1 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 [2023-04-18T04:51:34.036Z] $ docker rm -f --volumes 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 [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-04-18T04:51:34.592Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-04-18T04:51:34.592Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-18T04:51:34.592Z] total 16 [2023-04-18T04:51:34.592Z] drwxr-xr-x 3 root root 4096 Apr 18 04:42 . [2023-04-18T04:51:34.592Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:51 .. [2023-04-18T04:51:34.592Z] drwxr-xr-x 2 root root 4096 Apr 18 04:42 cost [2023-04-18T04:51:34.592Z] -rw-r--r-- 1 root root 86 Apr 18 04:42 cost.csv [2023-04-18T04:51:34.592Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-18T04:51:34.592Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-18T04:51:34.592Z] total 16 [2023-04-18T04:51:34.592Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:42 . [2023-04-18T04:51:34.592Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:51 .. [2023-04-18T04:51:34.592Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 04:42 cost [2023-04-18T04:51:34.592Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:34.883Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:35.740Z] ---> package-listing.sh [2023-04-18T04:51:35.740Z] ++ facter osfamily [2023-04-18T04:51:35.740Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T04:51:35.999Z] + OS_FAMILY=debian [2023-04-18T04:51:35.999Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-04-18T04:51:35.999Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T04:51:35.999Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T04:51:35.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T04:51:35.999Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T04:51:35.999Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-04-18T04:51:35.999Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T04:51:35.999Z] + case "${OS_FAMILY}" in [2023-04-18T04:51:35.999Z] + dpkg -l [2023-04-18T04:51:35.999Z] + grep '^ii' [2023-04-18T04:51:35.999Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T04:51:35.999Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T04:51:35.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T04:51:35.999Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-04-18T04:51:35.999Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-04-18T04:51:35.999Z] + 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-04-18T04:51:36.010Z] 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-04-18T04:51:36.287Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:51:36.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:51:36.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:51:37.061Z] prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container [2023-04-18T04:51:37.086Z] $ 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-04-18T04:51:37.274Z] $ docker top 37843a59ac4d7d148a607e89317eb1075870b20ca14605ca4ce45613f0879ee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:51:37.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T04:51:37.898Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T04:51:38.181Z] + ls /var/log/sa-host [2023-04-18T04:51:38.182Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:51:38.323Z] provisioning config files... [2023-04-18T04:51:38.330Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config156013100608473884tmp [Pipeline] { [Pipeline] echo [2023-04-18T04:51:38.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:38.622Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T04:51:38.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:38.961Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T04:51:38.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:39.253Z] ---> sudo-logs.sh [2023-04-18T04:51:39.253Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T04:51:39.284Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:39.569Z] ---> job-cost.sh [2023-04-18T04:51:39.569Z] lf-activate-venv: SKIPPING [2023-04-18T04:51:39.569Z] DEBUG: total: 0.2199999988079071 [2023-04-18T04:51:39.569Z] INFO: Retrieving Stack Cost... [2023-04-18T04:51:40.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T04:51:40.394Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T04:51:40.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:51:40.688Z] ---> logs-deploy.sh [2023-04-18T04:51:40.688Z] lf-activate-venv: SKIPPING [2023-04-18T04:51:40.688Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/100 [2023-04-18T04:51:40.688Z] INFO: archiving workspace using pattern(s): [2023-04-18T04:51:41.626Z] Archives upload complete. [2023-04-18T04:51:41.626Z] INFO: archiving logs to Nexus