Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e28169b2e94fb685934981c338b1a6a24f9d6fce 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-ssh3051836418894508682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12373923390371671676.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1286160152762593733.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3649293035496307497.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-ssh15313621716098275116.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4736 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 e28169b2e94fb685934981c338b1a6a24f9d6fce (main) > 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 e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 Commit message: "Merge pull request #272 from weichou1229/bump-sdk" > git rev-list --no-walk 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T05:27:06.548Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T05:27:06.607Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T05:27:06.625Z] ========================================================= [2023-03-21T05:27:06.625Z] EdgeX Global Pipelines Version Info [2023-03-21T05:27:06.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:07.328Z] ------------------- [2023-03-21T05:27:07.328Z] stable info: [2023-03-21T05:27:07.328Z] ------------------- [2023-03-21T05:27:07.328Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T05:27:07.328Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T05:27:07.328Z] Message: update stable to v1.0.245 [2023-03-21T05:27:07.897Z] ------------------- [2023-03-21T05:27:07.897Z] experimental info: [2023-03-21T05:27:07.897Z] ------------------- [2023-03-21T05:27:07.897Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:27:07.897Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:27:07.897Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:27:08.043Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T05:27:08.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T05:27:08.059Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:27:08.067Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:27:08.074Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:27:08.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:27:08.090Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:27:08.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T05:27:08.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:27:08.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:27:08.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:27:08.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T05:27:08.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:27:08.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:27:08.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:08.175Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:27:08.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:08.214Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:27:08.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:27:08.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:27:08.255Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T05:27:08.266Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T05:27:08.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:27:08.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:27:08.311Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:27:08.322Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T05:27:08.334Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:27:08.346Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-21T05:27:08.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-21T05:27:08.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-21T05:27:08.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo [2023-03-21T05:27:08.393Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e28169b [Pipeline] echo [2023-03-21T05:27:08.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:27:08.447Z] provisioning config files... [2023-03-21T05:27:08.460Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15756534410486510550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:08.761Z] ---> docker-login.sh [2023-03-21T05:27:08.761Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:27:09.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:09.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:09.020Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:09.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:09.020Z] [2023-03-21T05:27:09.020Z] Login Succeeded [2023-03-21T05:27:09.020Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:27:09.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:09.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:09.280Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:09.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:09.280Z] [2023-03-21T05:27:09.280Z] Login Succeeded [2023-03-21T05:27:09.280Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:27:09.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:09.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:09.280Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:09.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:09.280Z] [2023-03-21T05:27:09.280Z] Login Succeeded [2023-03-21T05:27:09.280Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:27:09.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:09.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:09.280Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:09.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:09.280Z] [2023-03-21T05:27:09.280Z] Login Succeeded [2023-03-21T05:27:09.280Z] docker.io [2023-03-21T05:27:09.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:09.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:09.801Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:09.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:09.801Z] [2023-03-21T05:27:09.801Z] Login Succeeded [2023-03-21T05:27:09.801Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:27:09.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T05:27:10.171Z] + git rev-list -1 --merges e28169b2e94fb685934981c338b1a6a24f9d6fce~1..e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo [2023-03-21T05:27:10.216Z] -----------> git rev-list -1 --merges e28169b2e94fb685934981c338b1a6a24f9d6fce~1..e28169b2e94fb685934981c338b1a6a24f9d6fce e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:27:10.216Z] e28169b2e94fb685934981c338b1a6a24f9d6fce [false] [Pipeline] sh [2023-03-21T05:27:10.501Z] + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo [2023-03-21T05:27:10.515Z] ========================================================= [2023-03-21T05:27:10.515Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:27:10.515Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:27:10.848Z] + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] echo [2023-03-21T05:27:10.859Z] [semverPrep] GIT_COMMIT: e28169b2e94fb685934981c338b1a6a24f9d6fce, Commit Message: Merge pull request #272 from weichou1229/bump-sdk [Pipeline] echo [2023-03-21T05:27:10.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:27:11.203Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:27:11.203Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:27:11.203Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:27:11.203Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:27:11.203Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T05:27:11.203Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T05:27:11.203Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:11.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:11.545Z] [2023-03-21T05:27:11.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:11.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:11.846Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:27:11.846Z] b85a868b505f: Pulling fs layer [2023-03-21T05:27:11.846Z] e2be974225ed: Pulling fs layer [2023-03-21T05:27:11.846Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:27:11.846Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:27:11.846Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:27:11.846Z] eaf3925da568: Pulling fs layer [2023-03-21T05:27:11.846Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:27:11.846Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:27:11.846Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:27:11.846Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:27:11.846Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:27:11.846Z] bab4dde63d76: Waiting [2023-03-21T05:27:11.846Z] 4872d77fe225: Waiting [2023-03-21T05:27:11.846Z] 5851b861e8e6: Waiting [2023-03-21T05:27:11.846Z] b352a97aabf1: Waiting [2023-03-21T05:27:11.846Z] bde34c3a00c8: Waiting [2023-03-21T05:27:11.846Z] 988bab9f4d93: Waiting [2023-03-21T05:27:11.846Z] 1469e6f7b9e6: Waiting [2023-03-21T05:27:11.846Z] e2be974225ed: Verifying Checksum [2023-03-21T05:27:11.846Z] e2be974225ed: Download complete [2023-03-21T05:27:11.846Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:27:11.846Z] 988bab9f4d93: Download complete [2023-03-21T05:27:12.108Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:27:12.108Z] 339a4e72a1f5: Download complete [2023-03-21T05:27:12.108Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:27:12.108Z] 1469e6f7b9e6: Download complete [2023-03-21T05:27:12.108Z] eaf3925da568: Download complete [2023-03-21T05:27:12.108Z] bde34c3a00c8: Verifying Checksum [2023-03-21T05:27:12.108Z] bde34c3a00c8: Download complete [2023-03-21T05:27:12.108Z] b352a97aabf1: Download complete [2023-03-21T05:27:12.108Z] 4872d77fe225: Verifying Checksum [2023-03-21T05:27:12.108Z] 4872d77fe225: Download complete [2023-03-21T05:27:12.108Z] 5851b861e8e6: Download complete [2023-03-21T05:27:12.108Z] b85a868b505f: Verifying Checksum [2023-03-21T05:27:12.108Z] b85a868b505f: Download complete [2023-03-21T05:27:12.368Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:27:13.749Z] b85a868b505f: Pull complete [2023-03-21T05:27:13.749Z] e2be974225ed: Pull complete [2023-03-21T05:27:14.015Z] 339a4e72a1f5: Pull complete [2023-03-21T05:27:14.276Z] 988bab9f4d93: Pull complete [2023-03-21T05:27:14.537Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:27:14.537Z] eaf3925da568: Pull complete [2023-03-21T05:27:16.442Z] bab4dde63d76: Pull complete [2023-03-21T05:27:16.442Z] bde34c3a00c8: Pull complete [2023-03-21T05:27:16.701Z] b352a97aabf1: Pull complete [2023-03-21T05:27:16.701Z] 4872d77fe225: Pull complete [2023-03-21T05:27:16.701Z] 5851b861e8e6: Pull complete [2023-03-21T05:27:16.701Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:27:16.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:27:16.701Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:27:16.801Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:27:16.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:27:19.884Z] $ docker top 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e -eo pid,comm [2023-03-21T05:27:19.949Z] 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-03-21T05:27:19.949Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:27:19.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:27:19.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:27:20.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:27:20.145Z] $ docker exec 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent [2023-03-21T05:27:20.264Z] SSH_AUTH_SOCK=/tmp/ssh-cgt9tFNExYyE/agent.20 [2023-03-21T05:27:20.264Z] SSH_AGENT_PID=26 [2023-03-21T05:27:20.271Z] Running ssh-add (command line suppressed) [2023-03-21T05:27:20.381Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14022515973938006747.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14022515973938006747.key) [2023-03-21T05:27:20.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:27:20.696Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:27:20.707Z] $ docker exec --env ******** --env ******** 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent -k [2023-03-21T05:27:20.799Z] unset SSH_AUTH_SOCK; [2023-03-21T05:27:20.799Z] unset SSH_AGENT_PID; [2023-03-21T05:27:20.801Z] echo Agent pid 26 killed; [2023-03-21T05:27:20.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:27:20.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:27:20.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:27:20.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:27:20.967Z] $ docker exec 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent [2023-03-21T05:27:21.086Z] SSH_AUTH_SOCK=/tmp/ssh-1ewuz32PVTgm/agent.70 [2023-03-21T05:27:21.086Z] SSH_AGENT_PID=76 [2023-03-21T05:27:21.091Z] Running ssh-add (command line suppressed) [2023-03-21T05:27:21.184Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3947690615785505348.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3947690615785505348.key) [2023-03-21T05:27:21.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:27:21.492Z] + git semver init [2023-03-21T05:27:22.059Z] 2023-03-21 05:27:21,830 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:27:22.059Z] 2023-03-21 05:27:21,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-21T05:27:22.059Z] 2023-03-21 05:27:21,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-21T05:27:22.059Z] 2023-03-21 05:27:21,833 [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-03-21T05:27:23.979Z] 2023-03-21 05:27:23,500 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-03-21T05:27:23.979Z] 2023-03-21 05:27:23,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-03-21T05:27:23.979Z] 2023-03-21 05:27:23,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:27:23.979Z] 2023-03-21 05:27:23,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:27:23.979Z] 3.0.0-dev.21 [Pipeline] } [2023-03-21T05:27:23.986Z] $ docker exec --env ******** --env ******** 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e ssh-agent -k [2023-03-21T05:27:24.085Z] unset SSH_AUTH_SOCK; [2023-03-21T05:27:24.085Z] unset SSH_AGENT_PID; [2023-03-21T05:27:24.086Z] echo Agent pid 76 killed; [2023-03-21T05:27:24.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:27:24.462Z] + git semver [Pipeline] } [2023-03-21T05:27:24.730Z] $ docker stop --time=1 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e [2023-03-21T05:27:27.030Z] $ docker rm -f --volumes 1b00150707b33728e0f5df28ab9acfc8a8bc137ede8e8c9b83d707c5d9303e3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:27:27.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:27:27.586Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:27:27.589Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-03-21T05:27:27.711Z] provisioning config files... [2023-03-21T05:27:27.720Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17126364750762411372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:27:28.015Z] ---> docker-login.sh [2023-03-21T05:27:28.016Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:27:28.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:28.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:28.016Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:28.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:28.016Z] [2023-03-21T05:27:28.016Z] Login Succeeded [2023-03-21T05:27:28.016Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:27:28.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:28.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:28.016Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:28.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:28.016Z] [2023-03-21T05:27:28.016Z] Login Succeeded [2023-03-21T05:27:28.016Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:27:28.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:28.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:28.276Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:28.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:28.276Z] [2023-03-21T05:27:28.276Z] Login Succeeded [2023-03-21T05:27:28.276Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:27:28.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:28.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:28.276Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:28.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:28.276Z] [2023-03-21T05:27:28.276Z] Login Succeeded [2023-03-21T05:27:28.276Z] docker.io [2023-03-21T05:27:28.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:27:28.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:27:28.536Z] Configure a credential helper to remove this warning. See [2023-03-21T05:27:28.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:27:28.536Z] [2023-03-21T05:27:28.536Z] Login Succeeded [2023-03-21T05:27:28.536Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:27:28.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:27:28.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:27:28.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:27:28.615Z] ========================================================= [2023-03-21T05:27:28.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:27:28.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:27:28.915Z] + 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-03-21T05:27:28.915Z] Sending build context to Docker daemon 10.86MB [2023-03-21T05:27:28.915Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:27:28.915Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:27:28.915Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:27:28.915Z] 63b65145d645: Pulling fs layer [2023-03-21T05:27:28.915Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:27:28.915Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:27:28.915Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:27:28.915Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:27:28.915Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:27:28.915Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:27:28.915Z] f25807f1079a: Pulling fs layer [2023-03-21T05:27:28.915Z] 94cc34f8dd06: Waiting [2023-03-21T05:27:28.915Z] 30dea6a524f1: Waiting [2023-03-21T05:27:28.915Z] a2aff8979fd8: Waiting [2023-03-21T05:27:28.915Z] 6808be2612f2: Waiting [2023-03-21T05:27:28.915Z] f25807f1079a: Waiting [2023-03-21T05:27:28.915Z] a2d21d5440eb: Verifying Checksum [2023-03-21T05:27:28.915Z] a2d21d5440eb: Download complete [2023-03-21T05:27:28.915Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T05:27:28.915Z] 94cc34f8dd06: Download complete [2023-03-21T05:27:28.915Z] 30dea6a524f1: Verifying Checksum [2023-03-21T05:27:28.915Z] 30dea6a524f1: Download complete [2023-03-21T05:27:29.177Z] 63b65145d645: Verifying Checksum [2023-03-21T05:27:29.177Z] 63b65145d645: Download complete [2023-03-21T05:27:29.177Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:27:29.177Z] a2aff8979fd8: Download complete [2023-03-21T05:27:29.177Z] 63b65145d645: Pull complete [2023-03-21T05:27:29.445Z] a2d21d5440eb: Pull complete [2023-03-21T05:27:29.707Z] f25807f1079a: Verifying Checksum [2023-03-21T05:27:29.707Z] f25807f1079a: Download complete [2023-03-21T05:27:29.707Z] 935e6c44a52c: Verifying Checksum [2023-03-21T05:27:29.707Z] 935e6c44a52c: Download complete [2023-03-21T05:27:29.965Z] 6808be2612f2: Verifying Checksum [2023-03-21T05:27:29.965Z] 6808be2612f2: Download complete [2023-03-21T05:27:33.248Z] 935e6c44a52c: Pull complete [2023-03-21T05:27:33.248Z] 94cc34f8dd06: Pull complete [2023-03-21T05:27:33.248Z] 30dea6a524f1: Pull complete [2023-03-21T05:27:33.248Z] a2aff8979fd8: Pull complete [2023-03-21T05:27:35.775Z] 6808be2612f2: Pull complete [2023-03-21T05:27:36.706Z] f25807f1079a: Pull complete [2023-03-21T05:27:36.706Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:27:36.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:27:36.706Z] ---> 3b553350e43f [2023-03-21T05:27:36.706Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:27:42.675Z] Still waiting to schedule task [2023-03-21T05:27:42.675Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4735’ [2023-03-21T05:27:43.326Z] ---> Running in 8b911e64d5b7 [2023-03-21T05:27:43.584Z] Removing intermediate container 8b911e64d5b7 [2023-03-21T05:27:43.584Z] ---> dd028b9e0951 [2023-03-21T05:27:43.584Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:27:43.584Z] ---> Running in 5df596df1729 [2023-03-21T05:27:43.584Z] Removing intermediate container 5df596df1729 [2023-03-21T05:27:43.584Z] ---> f7a0247d13e8 [2023-03-21T05:27:43.584Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:27:43.584Z] ---> Running in 5f4e1be45be1 [2023-03-21T05:27:43.841Z] Removing intermediate container 5f4e1be45be1 [2023-03-21T05:27:43.841Z] ---> 90a3975b12ea [2023-03-21T05:27:43.841Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:27:43.841Z] ---> Running in 320c57ee8bdb [2023-03-21T05:27:43.841Z] Removing intermediate container 320c57ee8bdb [2023-03-21T05:27:43.841Z] ---> 9c190a994e5a [2023-03-21T05:27:43.841Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:27:43.841Z] ---> Running in 2e4121950fcd [2023-03-21T05:27:44.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:27:44.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:27:44.616Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:27:44.616Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:27:44.616Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:27:44.616Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:27:44.616Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:27:44.616Z] OK: 269 MiB in 57 packages [2023-03-21T05:27:45.181Z] Removing intermediate container 2e4121950fcd [2023-03-21T05:27:45.181Z] ---> a517c741f3f4 [2023-03-21T05:27:45.181Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:27:45.181Z] ---> Running in fc79933541c5 [2023-03-21T05:27:45.181Z] Removing intermediate container fc79933541c5 [2023-03-21T05:27:45.181Z] ---> ab0a42d52c30 [2023-03-21T05:27:45.181Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:27:45.442Z] ---> 881ce4d8f32b [2023-03-21T05:27:45.442Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:27:45.442Z] ---> Running in 3cc1ea332eb0 [2023-03-21T05:28:25.675Z] Removing intermediate container 3cc1ea332eb0 [2023-03-21T05:28:25.675Z] ---> d1356092622a [2023-03-21T05:28:25.675Z] Step 11/12 : COPY . . [2023-03-21T05:28:25.675Z] ---> 94f116bc8a03 [2023-03-21T05:28:25.675Z] Step 12/12 : RUN $MAKE [2023-03-21T05:28:25.675Z] ---> Running in 16a14edc5e29 [2023-03-21T05:28:25.675Z] noop [2023-03-21T05:28:26.611Z] Removing intermediate container 16a14edc5e29 [2023-03-21T05:28:26.611Z] ---> 7094d5e224ab [2023-03-21T05:28:26.611Z] Successfully built 7094d5e224ab [2023-03-21T05:28:26.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:27.187Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:27.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:27.264Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:28:27.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:28:27.642Z] $ docker top 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:28:27.980Z] + go version [2023-03-21T05:28:27.980Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T05:28:28.001Z] $ docker stop --time=1 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 [2023-03-21T05:28:29.248Z] $ docker rm -f --volumes 0199fd3d53bfb96cb5016f786eb3a6162693e189537a61fed2b725ddb671e346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:28:29.617Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:28:29.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:28:29.687Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:28:29.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:28:30.130Z] $ docker top 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:28:30.461Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:28:30.757Z] + make test [2023-03-21T05:28:30.757Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:28:36.023Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:28:45.986Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:28:45.986Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.0% of statements [2023-03-21T05:28:51.245Z] go vet ./... [2023-03-21T05:28:55.453Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:28:55.453Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:28:55.453Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:28:55.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:28:55.485Z] $ docker stop --time=1 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c [2023-03-21T05:28:58.692Z] $ docker rm -f --volumes 3c6601424515cc457a5c63faed267a3f1ce07206530aed1ee11f49e5bbcb1d0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:28:59.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:28:59.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T05:28:59.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:28:59.892Z] + ls -al . [2023-03-21T05:28:59.892Z] total 184 [2023-03-21T05:28:59.892Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:28 . [2023-03-21T05:28:59.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 .. [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:27 .dockerignore [2023-03-21T05:28:59.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:27 .git [2023-03-21T05:28:59.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 .github [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:27 .gitignore [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:27 .golangci.yml [2023-03-21T05:28:59.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:27 .semver [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:27 Attribution.txt [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:27 CHANGELOG.md [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:27 Dockerfile [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:27 GOVERNANCE.md [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:27 Jenkinsfile [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:27 LICENSE [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:27 Makefile [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:27 OWNERS.md [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:27 README.md [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 05:27 VERSION [2023-03-21T05:28:59.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 bin [2023-03-21T05:28:59.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 cmd [2023-03-21T05:28:59.892Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:28 coverage.out [2023-03-21T05:28:59.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 driver [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:27 go.mod [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 05:27 go.sum [2023-03-21T05:28:59.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 snap [2023-03-21T05:28:59.892Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:00.284Z] + 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=e28169b2e94fb685934981c338b1a6a24f9d6fce --label arch=amd64 --label version=3.0.0-dev.21 . [2023-03-21T05:29:00.284Z] Sending build context to Docker daemon 10.87MB [2023-03-21T05:29:00.284Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:29:00.284Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:29:00.284Z] ---> 7094d5e224ab [2023-03-21T05:29:00.285Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:29:00.579Z] ---> Running in 78e107cb61c3 [2023-03-21T05:29:00.579Z] Removing intermediate container 78e107cb61c3 [2023-03-21T05:29:00.579Z] ---> bf4544d9b245 [2023-03-21T05:29:00.579Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:29:00.579Z] ---> Running in ed5dd9fdf414 [2023-03-21T05:29:00.579Z] Removing intermediate container ed5dd9fdf414 [2023-03-21T05:29:00.579Z] ---> f9efbba3c1d3 [2023-03-21T05:29:00.579Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:29:00.579Z] ---> Running in 49b71583a6f6 [2023-03-21T05:29:00.836Z] Removing intermediate container 49b71583a6f6 [2023-03-21T05:29:00.836Z] ---> a6b01ac7f3f6 [2023-03-21T05:29:00.836Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:29:00.836Z] ---> Running in 08059f3cb364 [2023-03-21T05:29:00.836Z] Removing intermediate container 08059f3cb364 [2023-03-21T05:29:00.836Z] ---> 9f8f51350c06 [2023-03-21T05:29:00.836Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:29:00.836Z] ---> Running in 2a9572f1c2ab [2023-03-21T05:29:01.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:01.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:01.353Z] OK: 269 MiB in 57 packages [2023-03-21T05:29:01.919Z] Removing intermediate container 2a9572f1c2ab [2023-03-21T05:29:01.919Z] ---> c6c5d5ab813e [2023-03-21T05:29:01.919Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:29:01.919Z] ---> Running in 52c2f0953322 [2023-03-21T05:29:01.919Z] Removing intermediate container 52c2f0953322 [2023-03-21T05:29:01.919Z] ---> 2eb436e815c3 [2023-03-21T05:29:01.919Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:29:01.919Z] ---> 0717bf3bf79d [2023-03-21T05:29:01.919Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:29:01.919Z] ---> Running in fecd7a37feb9 [2023-03-21T05:29:02.972Z] Removing intermediate container fecd7a37feb9 [2023-03-21T05:29:02.972Z] ---> bee488446e24 [2023-03-21T05:29:02.972Z] Step 11/25 : COPY . . [2023-03-21T05:29:03.230Z] ---> 858fbfd5c8cd [2023-03-21T05:29:03.230Z] Step 12/25 : RUN $MAKE [2023-03-21T05:29:03.230Z] ---> Running in 6087a5ba0117 [2023-03-21T05:29:03.487Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-21T05:29:26.451Z] Removing intermediate container 6087a5ba0117 [2023-03-21T05:29:26.451Z] ---> 17431f71b5e3 [2023-03-21T05:29:26.451Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:29:26.451Z] 3.17: Pulling from library/alpine [2023-03-21T05:29:26.451Z] 63b65145d645: Already exists [2023-03-21T05:29:26.451Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:29:26.451Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:29:26.451Z] ---> b2aa39c304c2 [2023-03-21T05:29:26.451Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:29:26.451Z] ---> Running in 2c3a691a4425 [2023-03-21T05:29:26.451Z] Removing intermediate container 2c3a691a4425 [2023-03-21T05:29:26.451Z] ---> c6e7cc2a54b9 [2023-03-21T05:29:26.451Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:29:26.451Z] ---> Running in 7a54a078b19d [2023-03-21T05:29:26.451Z] Removing intermediate container 7a54a078b19d [2023-03-21T05:29:26.451Z] ---> e32525a2ce30 [2023-03-21T05:29:26.451Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:29:26.451Z] ---> Running in 518bf9ca046b [2023-03-21T05:29:26.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:26.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:29:26.451Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:29:26.451Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:29:26.451Z] OK: 7 MiB in 16 packages [2023-03-21T05:29:26.451Z] Removing intermediate container 518bf9ca046b [2023-03-21T05:29:26.451Z] ---> cabbc6b4d786 [2023-03-21T05:29:26.451Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:29:26.451Z] ---> 701c74811a15 [2023-03-21T05:29:26.451Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:29:27.019Z] ---> 944468a1aff6 [2023-03-21T05:29:27.019Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:29:27.277Z] ---> 8a099adaba6c [2023-03-21T05:29:27.277Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:29:27.535Z] ---> Running in 0dafbb75fb5e [2023-03-21T05:29:27.794Z] Removing intermediate container 0dafbb75fb5e [2023-03-21T05:29:27.794Z] ---> f83878e90b2e [2023-03-21T05:29:27.794Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:29:28.053Z] ---> Running in 72aeb6c3f428 [2023-03-21T05:29:28.319Z] Removing intermediate container 72aeb6c3f428 [2023-03-21T05:29:28.319Z] ---> 0ed15e9658e7 [2023-03-21T05:29:28.319Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:29:28.579Z] ---> Running in c51d1d2501a5 [2023-03-21T05:29:28.579Z] Removing intermediate container c51d1d2501a5 [2023-03-21T05:29:28.579Z] ---> 885484e76dde [2023-03-21T05:29:28.579Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T05:29:28.579Z] ---> Running in 6bc8520449e2 [2023-03-21T05:29:28.579Z] Removing intermediate container 6bc8520449e2 [2023-03-21T05:29:28.579Z] ---> c412ea662ce1 [2023-03-21T05:29:28.579Z] Step 24/25 : LABEL git_sha=e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:29:28.579Z] ---> Running in 5b44c5a1807c [2023-03-21T05:29:28.838Z] Removing intermediate container 5b44c5a1807c [2023-03-21T05:29:28.838Z] ---> 5a898ae844e7 [2023-03-21T05:29:28.838Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-03-21T05:29:28.838Z] ---> Running in 503b50285698 [2023-03-21T05:29:28.839Z] Removing intermediate container 503b50285698 [2023-03-21T05:29:28.839Z] ---> c42737c48c1b [2023-03-21T05:29:28.839Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:29:28.839Z] Successfully built c42737c48c1b [2023-03-21T05:29:28.839Z] 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-03-21T05:29:28.941Z] provisioning config files... [2023-03-21T05:29:28.949Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11363864049059388490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:29:29.252Z] ---> docker-login.sh [2023-03-21T05:29:29.252Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:29:29.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:29:29.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:29:29.252Z] Configure a credential helper to remove this warning. See [2023-03-21T05:29:29.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:29:29.252Z] [2023-03-21T05:29:29.252Z] Login Succeeded [2023-03-21T05:29:29.252Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:29:29.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:29:29.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:29:29.252Z] Configure a credential helper to remove this warning. See [2023-03-21T05:29:29.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:29:29.252Z] [2023-03-21T05:29:29.252Z] Login Succeeded [2023-03-21T05:29:29.252Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:29:29.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:29:29.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:29:29.511Z] Configure a credential helper to remove this warning. See [2023-03-21T05:29:29.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:29:29.511Z] [2023-03-21T05:29:29.511Z] Login Succeeded [2023-03-21T05:29:29.511Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:29:29.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:29:29.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:29:29.511Z] Configure a credential helper to remove this warning. See [2023-03-21T05:29:29.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:29:29.511Z] [2023-03-21T05:29:29.511Z] Login Succeeded [2023-03-21T05:29:29.511Z] docker.io [2023-03-21T05:29:29.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:29:29.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:29:29.769Z] Configure a credential helper to remove this warning. See [2023-03-21T05:29:29.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:29:29.769Z] [2023-03-21T05:29:29.769Z] Login Succeeded [2023-03-21T05:29:29.769Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:29:29.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T05:29:29.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:29:29.810Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-03-21T05:29:29.810Z] e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:29:29.810Z] latest [2023-03-21T05:29:29.810Z] 3.0.0-dev.21 [2023-03-21T05:29:29.810Z] e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:29:29.810Z] main [2023-03-21T05:29:29.810Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:30.110Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:30.421Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:29:30.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-21T05:29:30.421Z] bb0c3b247a5e: Preparing [2023-03-21T05:29:30.421Z] 15c8b69d780f: Preparing [2023-03-21T05:29:30.421Z] 1a637597c9dd: Preparing [2023-03-21T05:29:30.421Z] 30edaad0610d: Preparing [2023-03-21T05:29:30.421Z] 7cd52847ad77: Preparing [2023-03-21T05:29:30.421Z] 7cd52847ad77: Layer already exists [2023-03-21T05:29:30.421Z] bb0c3b247a5e: Pushed [2023-03-21T05:29:30.421Z] 30edaad0610d: Pushed [2023-03-21T05:29:30.421Z] 15c8b69d780f: Pushed [2023-03-21T05:29:33.028Z] 1a637597c9dd: Pushed [2023-03-21T05:29:33.028Z] e28169b2e94fb685934981c338b1a6a24f9d6fce: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:33.341Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:33.651Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-21T05:29:33.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-21T05:29:33.651Z] bb0c3b247a5e: Preparing [2023-03-21T05:29:33.651Z] 15c8b69d780f: Preparing [2023-03-21T05:29:33.651Z] 1a637597c9dd: Preparing [2023-03-21T05:29:33.651Z] 30edaad0610d: Preparing [2023-03-21T05:29:33.651Z] 7cd52847ad77: Preparing [2023-03-21T05:29:33.651Z] 15c8b69d780f: Layer already exists [2023-03-21T05:29:33.651Z] 7cd52847ad77: Layer already exists [2023-03-21T05:29:33.651Z] 30edaad0610d: Layer already exists [2023-03-21T05:29:33.651Z] bb0c3b247a5e: Layer already exists [2023-03-21T05:29:33.651Z] 1a637597c9dd: Layer already exists [2023-03-21T05:29:33.651Z] latest: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:33.969Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:34.280Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 [2023-03-21T05:29:34.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-21T05:29:34.280Z] bb0c3b247a5e: Preparing [2023-03-21T05:29:34.280Z] 15c8b69d780f: Preparing [2023-03-21T05:29:34.280Z] 1a637597c9dd: Preparing [2023-03-21T05:29:34.280Z] 30edaad0610d: Preparing [2023-03-21T05:29:34.280Z] 7cd52847ad77: Preparing [2023-03-21T05:29:34.280Z] 30edaad0610d: Layer already exists [2023-03-21T05:29:34.280Z] 7cd52847ad77: Layer already exists [2023-03-21T05:29:34.280Z] bb0c3b247a5e: Layer already exists [2023-03-21T05:29:34.280Z] 1a637597c9dd: Layer already exists [2023-03-21T05:29:34.280Z] 15c8b69d780f: Layer already exists [2023-03-21T05:29:34.280Z] 3.0.0-dev.21: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:34.598Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:34.909Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:29:34.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-21T05:29:34.909Z] bb0c3b247a5e: Preparing [2023-03-21T05:29:34.909Z] 15c8b69d780f: Preparing [2023-03-21T05:29:34.909Z] 1a637597c9dd: Preparing [2023-03-21T05:29:34.909Z] 30edaad0610d: Preparing [2023-03-21T05:29:34.909Z] 7cd52847ad77: Preparing [2023-03-21T05:29:34.909Z] 1a637597c9dd: Layer already exists [2023-03-21T05:29:34.909Z] 15c8b69d780f: Layer already exists [2023-03-21T05:29:34.909Z] 7cd52847ad77: Layer already exists [2023-03-21T05:29:34.909Z] 30edaad0610d: Layer already exists [2023-03-21T05:29:34.909Z] bb0c3b247a5e: Layer already exists [2023-03-21T05:29:34.909Z] e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:35.225Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:35.535Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-03-21T05:29:35.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-21T05:29:35.535Z] bb0c3b247a5e: Preparing [2023-03-21T05:29:35.535Z] 15c8b69d780f: Preparing [2023-03-21T05:29:35.535Z] 1a637597c9dd: Preparing [2023-03-21T05:29:35.535Z] 30edaad0610d: Preparing [2023-03-21T05:29:35.535Z] 7cd52847ad77: Preparing [2023-03-21T05:29:35.535Z] 1a637597c9dd: Layer already exists [2023-03-21T05:29:35.535Z] 15c8b69d780f: Layer already exists [2023-03-21T05:29:35.535Z] bb0c3b247a5e: Layer already exists [2023-03-21T05:29:35.535Z] 30edaad0610d: Layer already exists [2023-03-21T05:29:35.535Z] 7cd52847ad77: Layer already exists [2023-03-21T05:29:35.535Z] main: digest: sha256:9092213dcc0b1a10fc8743e4b6432cd31c75a96f0b2a8b9eebbe45bbad66f2e8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T05:29:35.582Z] ===================================================== [Pipeline] echo [2023-03-21T05:29:35.588Z] taggedImages: [2023-03-21T05:29:35.588Z] - nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:29:35.588Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-21T05:29:35.588Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.21 [2023-03-21T05:29:35.588Z] - nexus3.edgexfoundry.org:10004/device-rest:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:29:35.588Z] - 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-03-21T05:29:35.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:35.943Z] [2023-03-21T05:29:35.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:29:36.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:36.241Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T05:29:36.241Z] 5eb5b503b376: Pulling fs layer [2023-03-21T05:29:36.241Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T05:29:36.241Z] ec43610c2a17: Pulling fs layer [2023-03-21T05:29:36.241Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T05:29:36.241Z] 33b1e0a273af: Pulling fs layer [2023-03-21T05:29:36.241Z] 3a2ae6a8a46f: Waiting [2023-03-21T05:29:36.241Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T05:29:36.241Z] 33b1e0a273af: Waiting [2023-03-21T05:29:36.241Z] 2f39f015ded8: Pulling fs layer [2023-03-21T05:29:36.241Z] 5d3b04190fa2: Waiting [2023-03-21T05:29:36.241Z] 2f39f015ded8: Waiting [2023-03-21T05:29:36.241Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T05:29:36.241Z] 5c69ac0246d0: Download complete [2023-03-21T05:29:36.241Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T05:29:36.241Z] 3a2ae6a8a46f: Download complete [2023-03-21T05:29:36.501Z] ec43610c2a17: Verifying Checksum [2023-03-21T05:29:36.501Z] ec43610c2a17: Download complete [2023-03-21T05:29:36.501Z] 33b1e0a273af: Verifying Checksum [2023-03-21T05:29:36.501Z] 33b1e0a273af: Download complete [2023-03-21T05:29:36.501Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T05:29:36.501Z] 5d3b04190fa2: Download complete [2023-03-21T05:29:36.501Z] 5eb5b503b376: Verifying Checksum [2023-03-21T05:29:36.501Z] 5eb5b503b376: Download complete [2023-03-21T05:29:37.067Z] 2f39f015ded8: Download complete [2023-03-21T05:29:37.632Z] 5eb5b503b376: Pull complete [2023-03-21T05:29:37.889Z] 5c69ac0246d0: Pull complete [2023-03-21T05:29:38.147Z] ec43610c2a17: Pull complete [2023-03-21T05:29:38.147Z] 3a2ae6a8a46f: Pull complete [2023-03-21T05:29:38.645Z] 33b1e0a273af: Pull complete [2023-03-21T05:29:38.645Z] 5d3b04190fa2: Pull complete [2023-03-21T05:29:42.565Z] 2f39f015ded8: Pull complete [2023-03-21T05:29:42.565Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T05:29:42.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:29:42.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:29:42.653Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:29:42.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:29:47.938Z] $ docker top 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:29:48.303Z] ---> job-cost.sh [2023-03-21T05:29:48.303Z] lf-activate-venv: SKIPPING [2023-03-21T05:29:48.303Z] INFO: No Stack... [2023-03-21T05:29:48.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:29:49.141Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:29:49.432Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-03-21T05:29:49.432Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:29:49.445Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [2023-03-21T05:29:49.453Z] Resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] did not exist. Created. [2023-03-21T05:29:49.453Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:29:49.747Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T05:29:49.785Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:29:49.791Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:29:49.815Z] $ docker stop --time=1 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 [2023-03-21T05:29:51.144Z] $ docker rm -f --volumes 2ec497e8374db9005fb0be9a0502f9b1d63f5f6c08e5d6f81bd76a3061260c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T05:30:14.820Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4739 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-03-21T05:30:14.832Z] Running in /w/workspace/device-rest-go/93 [Pipeline] { [Pipeline] checkout [2023-03-21T05:30:14.867Z] The recommended git tool is: git [2023-03-21T05:30:20.697Z] using credential edgex-jenkins-ssh [2023-03-21T05:30:20.716Z] Cloning the remote Git repository [2023-03-21T05:30:20.767Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:30:20.899Z] > git init /w/workspace/device-rest-go/93 # timeout=10 [2023-03-21T05:30:21.051Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T05:30:21.052Z] > git --version # timeout=10 [2023-03-21T05:30:21.078Z] > git --version # 'git version 2.25.1' [2023-03-21T05:30:21.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:30:21.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:30:23.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T05:30:23.287Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:30:24.132Z] Avoid second fetch [2023-03-21T05:30:24.133Z] Checking out Revision e28169b2e94fb685934981c338b1a6a24f9d6fce (main) [2023-03-21T05:30:24.705Z] Commit message: "Merge pull request #272 from weichou1229/bump-sdk" [2023-03-21T05:30:24.148Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:30:24.220Z] > git checkout -f e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:30:25.680Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T05:30:25.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:30:25.680Z] Dload Upload Total Spent Left Speed [2023-03-21T05:30:25.680Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-03-21T05:30:26.343Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T05:30:26.682Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T05:30:26.682Z] + sudo tee /etc/docker/daemon.new [2023-03-21T05:30:26.682Z] { [2023-03-21T05:30:26.682Z] "registry-mirrors": [ [2023-03-21T05:30:26.682Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T05:30:26.682Z] ], [2023-03-21T05:30:26.682Z] "bip": "10.250.0.254/24", [2023-03-21T05:30:26.682Z] "hosts": [ [2023-03-21T05:30:26.682Z] "tcp://0.0.0.0:5555", [2023-03-21T05:30:26.682Z] "unix:///var/run/docker.sock" [2023-03-21T05:30:26.682Z] ], [2023-03-21T05:30:26.682Z] "mtu": 1458, [2023-03-21T05:30:26.682Z] "selinux-enabled": true, [2023-03-21T05:30:26.682Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T05:30:26.682Z] } [Pipeline] sh [2023-03-21T05:30:27.020Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T05:30:27.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:30:45.648Z] provisioning config files... [2023-03-21T05:30:45.681Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/93@tmp/config17448944105748556493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:30:46.051Z] ---> docker-login.sh [2023-03-21T05:30:46.051Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:30:46.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:30:46.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:30:46.643Z] Configure a credential helper to remove this warning. See [2023-03-21T05:30:46.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:30:46.643Z] [2023-03-21T05:30:46.643Z] Login Succeeded [2023-03-21T05:30:46.643Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:30:46.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:30:47.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:30:47.188Z] Configure a credential helper to remove this warning. See [2023-03-21T05:30:47.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:30:47.188Z] [2023-03-21T05:30:47.188Z] Login Succeeded [2023-03-21T05:30:47.188Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:30:47.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:30:47.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:30:47.459Z] Configure a credential helper to remove this warning. See [2023-03-21T05:30:47.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:30:47.459Z] [2023-03-21T05:30:47.459Z] Login Succeeded [2023-03-21T05:30:47.459Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:30:47.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:30:47.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:30:47.736Z] Configure a credential helper to remove this warning. See [2023-03-21T05:30:47.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:30:47.736Z] [2023-03-21T05:30:47.736Z] Login Succeeded [2023-03-21T05:30:47.736Z] docker.io [2023-03-21T05:30:48.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:30:48.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:30:48.279Z] Configure a credential helper to remove this warning. See [2023-03-21T05:30:48.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:30:48.279Z] [2023-03-21T05:30:48.279Z] Login Succeeded [2023-03-21T05:30:48.279Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:30:48.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:30:48.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:30:48.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:30:48.625Z] ========================================================= [2023-03-21T05:30:48.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T05:30:48.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:30:48.988Z] + 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-03-21T05:30:48.988Z] Sending build context to Docker daemon 138.8kB [2023-03-21T05:30:49.263Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:30:49.263Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T05:30:49.537Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T05:30:49.537Z] af6eaf76a39c: Pulling fs layer [2023-03-21T05:30:49.537Z] 55522c791124: Pulling fs layer [2023-03-21T05:30:49.537Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T05:30:49.537Z] 169dfbe0d373: Pulling fs layer [2023-03-21T05:30:49.537Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T05:30:49.537Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T05:30:49.537Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T05:30:49.537Z] e1ff8fa3b103: Waiting [2023-03-21T05:30:49.537Z] 52ebb69f0ebf: Waiting [2023-03-21T05:30:49.537Z] 169dfbe0d373: Waiting [2023-03-21T05:30:49.537Z] 5abe8eddf0d5: Waiting [2023-03-21T05:30:49.537Z] 55522c791124: Download complete [2023-03-21T05:30:49.537Z] 169dfbe0d373: Verifying Checksum [2023-03-21T05:30:49.537Z] 169dfbe0d373: Download complete [2023-03-21T05:30:49.537Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T05:30:49.537Z] e1ff8fa3b103: Download complete [2023-03-21T05:30:49.537Z] af6eaf76a39c: Download complete [2023-03-21T05:30:50.973Z] af6eaf76a39c: Pull complete [2023-03-21T05:30:50.973Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T05:30:50.973Z] 5abe8eddf0d5: Download complete [2023-03-21T05:30:51.253Z] 55522c791124: Pull complete [2023-03-21T05:30:52.236Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T05:30:52.236Z] ce5c4a1c91eb: Download complete [2023-03-21T05:30:52.508Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T05:30:52.508Z] 52ebb69f0ebf: Download complete [2023-03-21T05:31:04.907Z] ce5c4a1c91eb: Pull complete [2023-03-21T05:31:04.907Z] 169dfbe0d373: Pull complete [2023-03-21T05:31:04.907Z] e1ff8fa3b103: Pull complete [2023-03-21T05:31:11.607Z] 52ebb69f0ebf: Pull complete [2023-03-21T05:31:13.028Z] 5abe8eddf0d5: Pull complete [2023-03-21T05:31:13.028Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T05:31:13.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T05:31:13.028Z] ---> 6cb57ee374ae [2023-03-21T05:31:13.028Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:31:15.103Z] ---> Running in 6eb062db4ad8 [2023-03-21T05:31:15.103Z] Removing intermediate container 6eb062db4ad8 [2023-03-21T05:31:15.103Z] ---> 8e72ec181ecc [2023-03-21T05:31:15.103Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:31:15.373Z] ---> Running in 013b0c3b9b86 [2023-03-21T05:31:15.642Z] Removing intermediate container 013b0c3b9b86 [2023-03-21T05:31:15.642Z] ---> 267c3b3c054d [2023-03-21T05:31:15.642Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:31:15.642Z] ---> Running in f443210559f1 [2023-03-21T05:31:15.922Z] Removing intermediate container f443210559f1 [2023-03-21T05:31:15.922Z] ---> 284b36604085 [2023-03-21T05:31:15.922Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:31:16.193Z] ---> Running in bb1ef9f5cddf [2023-03-21T05:31:16.469Z] Removing intermediate container bb1ef9f5cddf [2023-03-21T05:31:16.469Z] ---> 1f33ba414192 [2023-03-21T05:31:16.469Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:31:16.469Z] ---> Running in 32c6b5df5923 [2023-03-21T05:31:17.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:31:18.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:31:20.003Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T05:31:20.003Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T05:31:20.003Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T05:31:20.003Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T05:31:20.003Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:31:20.003Z] OK: 268 MiB in 57 packages [2023-03-21T05:31:20.967Z] Removing intermediate container 32c6b5df5923 [2023-03-21T05:31:20.967Z] ---> 77fdca6c6ba6 [2023-03-21T05:31:20.967Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T05:31:20.967Z] ---> Running in 229af4d52d74 [2023-03-21T05:31:21.557Z] Removing intermediate container 229af4d52d74 [2023-03-21T05:31:21.557Z] ---> ad2a119c9940 [2023-03-21T05:31:21.557Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T05:31:22.151Z] ---> ae73c49cb9b6 [2023-03-21T05:31:22.151Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:31:22.151Z] ---> Running in 9bba843b4d8b [2023-03-21T05:32:30.120Z] Removing intermediate container 9bba843b4d8b [2023-03-21T05:32:30.120Z] ---> eb50c5531858 [2023-03-21T05:32:30.120Z] Step 11/12 : COPY . . [2023-03-21T05:32:30.120Z] ---> ae019893132f [2023-03-21T05:32:30.120Z] Step 12/12 : RUN $MAKE [2023-03-21T05:32:30.120Z] ---> Running in 32df6786241f [2023-03-21T05:32:30.120Z] noop [2023-03-21T05:32:30.120Z] Removing intermediate container 32df6786241f [2023-03-21T05:32:30.120Z] ---> a6910882c9de [2023-03-21T05:32:30.120Z] Successfully built a6910882c9de [2023-03-21T05:32:30.120Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:32:30.489Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:32:30.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:32:30.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container [2023-03-21T05:32:30.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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-03-21T05:32:32.040Z] $ docker top 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:32:32.879Z] + go version [2023-03-21T05:32:32.879Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T05:32:32.907Z] $ docker stop --time=1 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f [2023-03-21T05:32:34.562Z] $ docker rm -f --volumes 06003d2b882184ee175f4cb81c68fc4d1f965a0a47210cdac5ab052b135afe9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:32:35.100Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:32:35.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:32:35.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container [2023-03-21T05:32:35.365Z] $ 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/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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-03-21T05:32:36.593Z] $ docker top 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:32:37.453Z] + git config --global --add safe.directory /w/workspace/device-rest-go/93 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:32:38.114Z] + make test [2023-03-21T05:32:38.114Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T05:33:17.022Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T05:35:23.738Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T05:35:26.341Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.0% of statements [2023-03-21T05:35:26.936Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T05:35:26.936Z] go vet ./... [2023-03-21T05:36:05.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:36:05.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:36:05.861Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:36:05.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:36:05.900Z] $ docker stop --time=1 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d [2023-03-21T05:36:07.877Z] $ docker rm -f --volumes 635dd5ec39d0f49bbeadaaf54a67879a35661986717ecebddbb4d35a3717c98d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:36:09.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:36:09.175Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T05:36:09.752Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:36:10.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:36:10.482Z] + ls -al . [2023-03-21T05:36:10.482Z] total 180 [2023-03-21T05:36:10.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:32 . [2023-03-21T05:36:10.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:30 .. [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:30 .dockerignore [2023-03-21T05:36:10.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:30 .git [2023-03-21T05:36:10.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:30 .github [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:30 .gitignore [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:30 .golangci.yml [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:30 Attribution.txt [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:30 CHANGELOG.md [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:30 Dockerfile [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:30 GOVERNANCE.md [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:30 Jenkinsfile [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:30 LICENSE [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:30 Makefile [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:30 OWNERS.md [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:30 README.md [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 05:27 VERSION [2023-03-21T05:36:10.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:30 bin [2023-03-21T05:36:10.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:30 cmd [2023-03-21T05:36:10.482Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:35 coverage.out [2023-03-21T05:36:10.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:30 driver [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 05:30 go.mod [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 05:30 go.sum [2023-03-21T05:36:10.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:30 snap [2023-03-21T05:36:10.482Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:36:10.836Z] + 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=e28169b2e94fb685934981c338b1a6a24f9d6fce --label arch=arm64 --label version=3.0.0-dev.21 . [2023-03-21T05:36:10.837Z] Sending build context to Docker daemon 153.6kB [2023-03-21T05:36:11.117Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:36:11.117Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T05:36:11.117Z] ---> a6910882c9de [2023-03-21T05:36:11.117Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T05:36:11.404Z] ---> Running in 6f5bfeb46b25 [2023-03-21T05:36:11.675Z] Removing intermediate container 6f5bfeb46b25 [2023-03-21T05:36:11.675Z] ---> 2e78f8f5821c [2023-03-21T05:36:11.675Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T05:36:11.675Z] ---> Running in 80d79d23aac7 [2023-03-21T05:36:11.945Z] Removing intermediate container 80d79d23aac7 [2023-03-21T05:36:11.945Z] ---> 81915f92cbd4 [2023-03-21T05:36:11.945Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T05:36:12.214Z] ---> Running in 1acfa1ac6c9e [2023-03-21T05:36:12.485Z] Removing intermediate container 1acfa1ac6c9e [2023-03-21T05:36:12.485Z] ---> 1a4ef65c9953 [2023-03-21T05:36:12.485Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T05:36:12.759Z] ---> Running in 2e4e4b8b60fc [2023-03-21T05:36:13.030Z] Removing intermediate container 2e4e4b8b60fc [2023-03-21T05:36:13.030Z] ---> 7a818ec2f350 [2023-03-21T05:36:13.030Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T05:36:13.030Z] ---> Running in 53baa2ad16ef [2023-03-21T05:36:14.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:36:15.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:36:16.011Z] OK: 268 MiB in 57 packages [2023-03-21T05:36:16.989Z] Removing intermediate container 53baa2ad16ef [2023-03-21T05:36:16.989Z] ---> 810f87815646 [2023-03-21T05:36:16.989Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T05:36:16.989Z] ---> Running in a7321e4ffb3c [2023-03-21T05:36:17.581Z] Removing intermediate container a7321e4ffb3c [2023-03-21T05:36:17.581Z] ---> 56beb354b504 [2023-03-21T05:36:17.581Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T05:36:17.851Z] ---> 22565eb1abea [2023-03-21T05:36:17.851Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:36:18.121Z] ---> Running in 02e5aab47fd6 [2023-03-21T05:36:20.712Z] Removing intermediate container 02e5aab47fd6 [2023-03-21T05:36:20.712Z] ---> 47de6b5cca44 [2023-03-21T05:36:20.712Z] Step 11/25 : COPY . . [2023-03-21T05:36:21.692Z] ---> 75f3908601ca [2023-03-21T05:36:21.692Z] Step 12/25 : RUN $MAKE [2023-03-21T05:36:21.692Z] ---> Running in 850b438a2e0d [2023-03-21T05:36:22.665Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-21T05:38:44.380Z] Removing intermediate container 850b438a2e0d [2023-03-21T05:38:44.380Z] ---> cb669a60df80 [2023-03-21T05:38:44.380Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T05:38:44.380Z] 3.17: Pulling from library/alpine [2023-03-21T05:38:44.380Z] af6eaf76a39c: Already exists [2023-03-21T05:38:44.380Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:38:44.380Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:38:44.380Z] ---> d74e625d9115 [2023-03-21T05:38:44.380Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:38:44.380Z] ---> Running in f38c1a532bb1 [2023-03-21T05:38:44.380Z] Removing intermediate container f38c1a532bb1 [2023-03-21T05:38:44.380Z] ---> 24265d00813e [2023-03-21T05:38:44.380Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T05:38:44.380Z] ---> Running in d910ff2f3445 [2023-03-21T05:38:44.380Z] Removing intermediate container d910ff2f3445 [2023-03-21T05:38:44.380Z] ---> 07232c62b7bd [2023-03-21T05:38:44.380Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T05:38:44.380Z] ---> Running in 457eb985de29 [2023-03-21T05:38:44.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:38:44.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:38:44.380Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T05:38:44.380Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T05:38:44.380Z] OK: 8 MiB in 16 packages [2023-03-21T05:38:44.962Z] Removing intermediate container 457eb985de29 [2023-03-21T05:38:44.962Z] ---> fa836bfa78a5 [2023-03-21T05:38:44.962Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T05:38:46.368Z] ---> 9ccaed696b2c [2023-03-21T05:38:46.368Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T05:38:46.951Z] ---> ebc9ae4529dc [2023-03-21T05:38:46.951Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T05:38:47.224Z] ---> 13ec75d72ae4 [2023-03-21T05:38:47.224Z] Step 20/25 : EXPOSE 59986 [2023-03-21T05:38:47.489Z] ---> Running in d9aa51e66bf6 [2023-03-21T05:38:47.756Z] Removing intermediate container d9aa51e66bf6 [2023-03-21T05:38:47.756Z] ---> c5cee54ee7df [2023-03-21T05:38:47.756Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T05:38:47.756Z] ---> Running in 765e99a3d7ef [2023-03-21T05:38:48.023Z] Removing intermediate container 765e99a3d7ef [2023-03-21T05:38:48.023Z] ---> 4c1591b07a36 [2023-03-21T05:38:48.023Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T05:38:48.023Z] ---> Running in e2efde84e9fd [2023-03-21T05:38:48.293Z] Removing intermediate container e2efde84e9fd [2023-03-21T05:38:48.293Z] ---> a27695bdd3fe [2023-03-21T05:38:48.293Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T05:38:48.562Z] ---> Running in 9c31cba75e49 [2023-03-21T05:38:48.828Z] Removing intermediate container 9c31cba75e49 [2023-03-21T05:38:48.828Z] ---> 33a16c9059c1 [2023-03-21T05:38:48.828Z] Step 24/25 : LABEL git_sha=e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:38:48.828Z] ---> Running in 1c5667e4a333 [2023-03-21T05:38:49.095Z] Removing intermediate container 1c5667e4a333 [2023-03-21T05:38:49.095Z] ---> 4a578c6d5ac3 [2023-03-21T05:38:49.095Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-03-21T05:38:49.095Z] ---> Running in 876062bdf92e [2023-03-21T05:38:49.362Z] Removing intermediate container 876062bdf92e [2023-03-21T05:38:49.362Z] ---> f43f9620e502 [2023-03-21T05:38:49.362Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:38:49.362Z] Successfully built f43f9620e502 [2023-03-21T05:38:49.362Z] 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-03-21T05:38:49.477Z] provisioning config files... [2023-03-21T05:38:49.491Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/93@tmp/config3032419447525652184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:38:49.823Z] ---> docker-login.sh [2023-03-21T05:38:49.823Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:38:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:38:50.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:38:50.091Z] Configure a credential helper to remove this warning. See [2023-03-21T05:38:50.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:38:50.091Z] [2023-03-21T05:38:50.091Z] Login Succeeded [2023-03-21T05:38:50.091Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:38:50.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:38:50.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:38:50.359Z] Configure a credential helper to remove this warning. See [2023-03-21T05:38:50.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:38:50.359Z] [2023-03-21T05:38:50.359Z] Login Succeeded [2023-03-21T05:38:50.359Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:38:50.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:38:50.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:38:50.894Z] Configure a credential helper to remove this warning. See [2023-03-21T05:38:50.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:38:50.894Z] [2023-03-21T05:38:50.894Z] Login Succeeded [2023-03-21T05:38:50.894Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:38:51.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:38:51.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:38:51.161Z] Configure a credential helper to remove this warning. See [2023-03-21T05:38:51.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:38:51.161Z] [2023-03-21T05:38:51.161Z] Login Succeeded [2023-03-21T05:38:51.161Z] docker.io [2023-03-21T05:38:51.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:38:51.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:38:51.695Z] Configure a credential helper to remove this warning. See [2023-03-21T05:38:51.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:38:51.695Z] [2023-03-21T05:38:51.695Z] Login Succeeded [2023-03-21T05:38:51.695Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:38:51.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T05:38:51.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:38:51.750Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-03-21T05:38:51.750Z] e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:38:51.750Z] latest [2023-03-21T05:38:51.750Z] 3.0.0-dev.21 [2023-03-21T05:38:51.750Z] e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:38:51.750Z] main [2023-03-21T05:38:51.750Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:52.134Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:52.505Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:38:52.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-21T05:38:52.505Z] f8f5664c5755: Preparing [2023-03-21T05:38:52.505Z] eeffaf664def: Preparing [2023-03-21T05:38:52.505Z] eb30cfa073b6: Preparing [2023-03-21T05:38:52.505Z] 2930a6e0c2ca: Preparing [2023-03-21T05:38:52.505Z] edf70074bd40: Preparing [2023-03-21T05:38:52.505Z] edf70074bd40: Layer already exists [2023-03-21T05:38:52.778Z] f8f5664c5755: Pushed [2023-03-21T05:38:52.778Z] 2930a6e0c2ca: Pushed [2023-03-21T05:38:52.778Z] eeffaf664def: Pushed [2023-03-21T05:38:57.048Z] eb30cfa073b6: Pushed [2023-03-21T05:38:57.315Z] e28169b2e94fb685934981c338b1a6a24f9d6fce: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:57.663Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:58.003Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-21T05:38:58.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-21T05:38:58.003Z] f8f5664c5755: Preparing [2023-03-21T05:38:58.003Z] eeffaf664def: Preparing [2023-03-21T05:38:58.003Z] eb30cfa073b6: Preparing [2023-03-21T05:38:58.003Z] 2930a6e0c2ca: Preparing [2023-03-21T05:38:58.003Z] edf70074bd40: Preparing [2023-03-21T05:38:58.003Z] eeffaf664def: Layer already exists [2023-03-21T05:38:58.003Z] edf70074bd40: Layer already exists [2023-03-21T05:38:58.003Z] eb30cfa073b6: Layer already exists [2023-03-21T05:38:58.003Z] f8f5664c5755: Layer already exists [2023-03-21T05:38:58.003Z] 2930a6e0c2ca: Layer already exists [2023-03-21T05:38:58.003Z] latest: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:58.355Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:58.689Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 [2023-03-21T05:38:58.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-21T05:38:58.689Z] f8f5664c5755: Preparing [2023-03-21T05:38:58.689Z] eeffaf664def: Preparing [2023-03-21T05:38:58.689Z] eb30cfa073b6: Preparing [2023-03-21T05:38:58.689Z] 2930a6e0c2ca: Preparing [2023-03-21T05:38:58.689Z] edf70074bd40: Preparing [2023-03-21T05:38:58.689Z] eeffaf664def: Layer already exists [2023-03-21T05:38:58.689Z] eb30cfa073b6: Layer already exists [2023-03-21T05:38:58.689Z] edf70074bd40: Layer already exists [2023-03-21T05:38:58.689Z] f8f5664c5755: Layer already exists [2023-03-21T05:38:58.689Z] 2930a6e0c2ca: Layer already exists [2023-03-21T05:38:58.689Z] 3.0.0-dev.21: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:59.026Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:59.360Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:38:59.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-21T05:38:59.360Z] f8f5664c5755: Preparing [2023-03-21T05:38:59.360Z] eeffaf664def: Preparing [2023-03-21T05:38:59.360Z] eb30cfa073b6: Preparing [2023-03-21T05:38:59.360Z] 2930a6e0c2ca: Preparing [2023-03-21T05:38:59.360Z] edf70074bd40: Preparing [2023-03-21T05:38:59.360Z] eb30cfa073b6: Layer already exists [2023-03-21T05:38:59.360Z] f8f5664c5755: Layer already exists [2023-03-21T05:38:59.360Z] 2930a6e0c2ca: Layer already exists [2023-03-21T05:38:59.360Z] eeffaf664def: Layer already exists [2023-03-21T05:38:59.360Z] edf70074bd40: Layer already exists [2023-03-21T05:38:59.360Z] e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:38:59.702Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:00.037Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-03-21T05:39:00.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-21T05:39:00.038Z] f8f5664c5755: Preparing [2023-03-21T05:39:00.038Z] eeffaf664def: Preparing [2023-03-21T05:39:00.038Z] eb30cfa073b6: Preparing [2023-03-21T05:39:00.038Z] 2930a6e0c2ca: Preparing [2023-03-21T05:39:00.038Z] edf70074bd40: Preparing [2023-03-21T05:39:00.038Z] edf70074bd40: Layer already exists [2023-03-21T05:39:00.038Z] eb30cfa073b6: Layer already exists [2023-03-21T05:39:00.038Z] eeffaf664def: Layer already exists [2023-03-21T05:39:00.038Z] 2930a6e0c2ca: Layer already exists [2023-03-21T05:39:00.038Z] f8f5664c5755: Layer already exists [2023-03-21T05:39:00.038Z] main: digest: sha256:66681bb209e41d12b1c7a1c5f2e35778ed61ede97d95f55faaace99be3630943 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-21T05:39:00.080Z] ===================================================== [Pipeline] echo [2023-03-21T05:39:00.086Z] taggedImages: [2023-03-21T05:39:00.086Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce [2023-03-21T05:39:00.086Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-21T05:39:00.086Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.21 [2023-03-21T05:39:00.086Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e28169b2e94fb685934981c338b1a6a24f9d6fce-3.0.0-dev.21 [2023-03-21T05:39:00.086Z] - 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-03-21T05:39:00.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:00.443Z] [2023-03-21T05:39:00.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:00.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:00.775Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:39:00.775Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:39:00.776Z] 04944245beec: Pulling fs layer [2023-03-21T05:39:00.776Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:39:00.776Z] 765212b225bb: Pulling fs layer [2023-03-21T05:39:00.776Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:39:00.776Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:39:00.776Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:39:00.776Z] 765212b225bb: Waiting [2023-03-21T05:39:00.776Z] f23df028b6ca: Waiting [2023-03-21T05:39:00.776Z] d65c8cfc05b1: Waiting [2023-03-21T05:39:00.776Z] 2437ff75d9bd: Waiting [2023-03-21T05:39:01.045Z] 04944245beec: Verifying Checksum [2023-03-21T05:39:01.045Z] 04944245beec: Download complete [2023-03-21T05:39:01.045Z] 765212b225bb: Verifying Checksum [2023-03-21T05:39:01.045Z] 765212b225bb: Download complete [2023-03-21T05:39:01.045Z] f23df028b6ca: Download complete [2023-03-21T05:39:01.045Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T05:39:01.045Z] d65c8cfc05b1: Download complete [2023-03-21T05:39:01.045Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:39:01.045Z] 699f458cf7ca: Download complete [2023-03-21T05:39:01.630Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:39:01.630Z] 8998bd30e6a1: Download complete [2023-03-21T05:39:03.579Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:39:03.579Z] 2437ff75d9bd: Download complete [2023-03-21T05:39:05.527Z] 8998bd30e6a1: Pull complete [2023-03-21T05:39:05.527Z] 04944245beec: Pull complete [2023-03-21T05:39:06.931Z] 699f458cf7ca: Pull complete [2023-03-21T05:39:06.931Z] 765212b225bb: Pull complete [2023-03-21T05:39:07.890Z] f23df028b6ca: Pull complete [2023-03-21T05:39:07.890Z] d65c8cfc05b1: Pull complete [2023-03-21T05:39:20.731Z] 2437ff75d9bd: Pull complete [2023-03-21T05:39:20.731Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:39:20.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:39:20.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:39:20.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-4739 does not seem to be running inside a container [2023-03-21T05:39:20.996Z] $ 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/93 -v /w/workspace/device-rest-go/93:/w/workspace/device-rest-go/93:rw,z -v /w/workspace/device-rest-go/93@tmp:/w/workspace/device-rest-go/93@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-03-21T05:39:23.719Z] $ docker top d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:39:24.579Z] ---> job-cost.sh [2023-03-21T05:39:24.579Z] lf-activate-venv: SKIPPING [2023-03-21T05:39:24.579Z] INFO: No Stack... [2023-03-21T05:39:25.163Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:39:26.125Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:39:26.767Z] + cat /w/workspace/device-rest-go/93/archives/cost.csv [2023-03-21T05:39:26.767Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:39:26.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [2023-03-21T05:39:26.855Z] Resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] did not exist. Created. [2023-03-21T05:39:26.855Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:39:27.518Z] /w/workspace/device-rest-go/93@tmp/durable-4f9fe3f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:39:28.176Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:39:28.199Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:39:28.243Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:39:28.253Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:39:28.284Z] $ docker stop --time=1 d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 [2023-03-21T05:39:32.737Z] $ docker rm -f --volumes d54f392245655bcf50acf7ae170e9fe7f7ab365dfeb401b5f572c794dc200402 [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-03-21T05:39:33.110Z] provisioning config files... [2023-03-21T05:39:33.118Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16899866658626074207tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:39:33.408Z] + set +x [2023-03-21T05:39:33.408Z] + curl -s https://codecov.io/bash [2023-03-21T05:39:33.408Z] + bash -s -- [2023-03-21T05:39:33.408Z] [2023-03-21T05:39:33.408Z] _____ _ [2023-03-21T05:39:33.408Z] / ____| | | [2023-03-21T05:39:33.408Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:39:33.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:39:33.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:39:33.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:39:33.408Z] Bash-1.0.6 [2023-03-21T05:39:33.408Z] [2023-03-21T05:39:33.408Z] [2023-03-21T05:39:33.408Z] ==> git version 2.25.1 found [2023-03-21T05:39:33.408Z] ==> 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-03-21T05:39:33.408Z] Release-Date: 2020-01-08 [2023-03-21T05:39:33.408Z] 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-03-21T05:39:33.408Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T05:39:33.408Z] ==> Jenkins CI detected. [2023-03-21T05:39:33.408Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-03-21T05:39:33.408Z] project root: . [2023-03-21T05:39:33.408Z] --> token set from env [2023-03-21T05:39:33.408Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:39:33.408Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:39:33.408Z] ==> Python coveragepy not found [2023-03-21T05:39:33.408Z] ==> Searching for coverage reports in: [2023-03-21T05:39:33.408Z] + . [2023-03-21T05:39:33.408Z] -> Found 1 reports [2023-03-21T05:39:33.408Z] ==> Detecting git/mercurial file structure [2023-03-21T05:39:33.408Z] ==> Reading reports [2023-03-21T05:39:33.408Z] + ./coverage.out bytes=14200 [2023-03-21T05:39:33.408Z] ==> Appending adjustments [2023-03-21T05:39:33.408Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:39:33.667Z] + Found adjustments [2023-03-21T05:39:33.667Z] ==> Gzipping contents [2023-03-21T05:39:33.667Z] 4.0K /tmp/codecov.0mSdSc.gz [2023-03-21T05:39:33.667Z] ==> Uploading reports [2023-03-21T05:39:33.667Z] url: https://codecov.io [2023-03-21T05:39:33.667Z] query: branch=main&commit=e28169b2e94fb685934981c338b1a6a24f9d6fce&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-21T05:39:33.667Z] -> Pinging Codecov [2023-03-21T05:39:33.667Z] 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=e28169b2e94fb685934981c338b1a6a24f9d6fce&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-21T05:39:33.667Z] -> Uploading to [2023-03-21T05:39:33.667Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/e28169b2e94fb685934981c338b1a6a24f9d6fce/fcd32bcf-7444-45d8-b00a-9c76876e19bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T053933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6fb556ff0f359133feac217c124e532193b1524bdc748d05c997d5ef133da8c [2023-03-21T05:39:33.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:39:33.667Z] Dload Upload Total Spent Left Speed [2023-03-21T05:39:33.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 8719 --:--:-- --:--:-- --:--:-- 8719 [2023-03-21T05:39:33.927Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] } [2023-03-21T05:39:33.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-21T05:39:34.130Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-21T05:39:34.139Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:34.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T05:39:34.439Z] [2023-03-21T05:39:34.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:39:34.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T05:39:34.744Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-21T05:39:34.744Z] df9b9388f04a: Pulling fs layer [2023-03-21T05:39:34.744Z] 52dc419b0ee2: Pulling fs layer [2023-03-21T05:39:34.744Z] 25bc292e5bac: Pulling fs layer [2023-03-21T05:39:34.744Z] 114826534d7a: Pulling fs layer [2023-03-21T05:39:34.744Z] 4657fd5d0bcf: Pulling fs layer [2023-03-21T05:39:34.744Z] 6ad1cebc031e: Pulling fs layer [2023-03-21T05:39:34.744Z] 8a3aa393b2d8: Pulling fs layer [2023-03-21T05:39:34.744Z] 4657fd5d0bcf: Waiting [2023-03-21T05:39:34.744Z] 6ad1cebc031e: Waiting [2023-03-21T05:39:34.744Z] 8a3aa393b2d8: Waiting [2023-03-21T05:39:34.744Z] 25bc292e5bac: Verifying Checksum [2023-03-21T05:39:34.744Z] 25bc292e5bac: Download complete [2023-03-21T05:39:34.744Z] 52dc419b0ee2: Verifying Checksum [2023-03-21T05:39:34.744Z] 52dc419b0ee2: Download complete [2023-03-21T05:39:34.744Z] 4657fd5d0bcf: Download complete [2023-03-21T05:39:34.744Z] df9b9388f04a: Verifying Checksum [2023-03-21T05:39:34.744Z] df9b9388f04a: Download complete [2023-03-21T05:39:35.004Z] df9b9388f04a: Pull complete [2023-03-21T05:39:35.004Z] 52dc419b0ee2: Pull complete [2023-03-21T05:39:35.004Z] 6ad1cebc031e: Verifying Checksum [2023-03-21T05:39:35.004Z] 6ad1cebc031e: Download complete [2023-03-21T05:39:35.004Z] 25bc292e5bac: Pull complete [2023-03-21T05:39:35.570Z] 114826534d7a: Verifying Checksum [2023-03-21T05:39:35.570Z] 114826534d7a: Download complete [2023-03-21T05:39:35.570Z] 8a3aa393b2d8: Verifying Checksum [2023-03-21T05:39:35.570Z] 8a3aa393b2d8: Download complete [2023-03-21T05:39:38.850Z] 114826534d7a: Pull complete [2023-03-21T05:39:38.850Z] 4657fd5d0bcf: Pull complete [2023-03-21T05:39:39.108Z] 6ad1cebc031e: Pull complete [2023-03-21T05:39:41.636Z] 8a3aa393b2d8: Pull complete [2023-03-21T05:39:41.636Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-21T05:39:41.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-21T05:39:41.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:39:41.713Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:39:41.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-21T05:39:48.655Z] $ docker top 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-21T05:39:48.712Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-03-21T05:39:49.002Z] + set -o pipefail [2023-03-21T05:39:49.002Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/6153fc29-2e11-40a4-b66d-f73676c59834 [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] [2023-03-21T05:39:53.374Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-21T05:39:53.374Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-21T05:39:53.374Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-21T05:39:53.408Z] $ docker stop --time=1 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa [2023-03-21T05:39:59.077Z] $ docker rm -f --volumes 314877ece32443ceff3e61f2058ea18079368575ea432209da7d904bb7bd73fa [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-03-21T05:39:59.775Z] + git log --format=format:%s -1 e28169b2e94fb685934981c338b1a6a24f9d6fce [Pipeline] sh [2023-03-21T05:40:00.065Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:40:00.065Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:00.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:40:00.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:00.428Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:40:00.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:40:00.940Z] $ docker top 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 -eo pid,comm [2023-03-21T05:40:00.972Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T05:40:00.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:40:01.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:40:01.010Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:40:01.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:40:01.139Z] $ docker exec 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 ssh-agent [2023-03-21T05:40:01.219Z] SSH_AUTH_SOCK=/tmp/ssh-RDSl5iGaIyMc/agent.32 [2023-03-21T05:40:01.219Z] SSH_AGENT_PID=38 [2023-03-21T05:40:01.225Z] Running ssh-add (command line suppressed) [2023-03-21T05:40:01.337Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17566457427805461622.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17566457427805461622.key) [2023-03-21T05:40:01.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:40:01.624Z] + git semver tag [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,802 [run_tag] DEBUG tag force:False [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,802 [check_head_tag] DEBUG check head tag [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,803 [execute] INFO git cat-file --batch-check [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,807 [execute] INFO git cat-file --batch [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,823 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,824 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:40:01.881Z] 2023-03-21 05:40:01,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:01.881Z] 3.0.0-dev.21 [Pipeline] } [2023-03-21T05:40:01.906Z] $ docker exec --env ******** --env ******** 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 ssh-agent -k [2023-03-21T05:40:02.001Z] unset SSH_AUTH_SOCK; [2023-03-21T05:40:02.002Z] unset SSH_AGENT_PID; [2023-03-21T05:40:02.002Z] echo Agent pid 38 killed; [2023-03-21T05:40:01.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:40:02.632Z] + git semver [Pipeline] } [2023-03-21T05:40:02.658Z] $ docker stop --time=1 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 [2023-03-21T05:40:03.977Z] $ docker rm -f --volumes 4a5879a30c2b136fbdade416b285d88fe25b65a0977794a4a9eae2911e2edc68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:04.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T05:40:04.388Z] [2023-03-21T05:40:04.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:04.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T05:40:04.683Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-21T05:40:04.683Z] ab5ef0e58194: Pulling fs layer [2023-03-21T05:40:04.683Z] 9712f1f96733: Pulling fs layer [2023-03-21T05:40:04.683Z] 63f879dbbcfc: Pulling fs layer [2023-03-21T05:40:04.683Z] 0d9ebad4ef96: Pulling fs layer [2023-03-21T05:40:04.683Z] e9a5061849ea: Pulling fs layer [2023-03-21T05:40:04.683Z] d747dcd14b5f: Pulling fs layer [2023-03-21T05:40:04.683Z] 2de7ff778b66: Pulling fs layer [2023-03-21T05:40:04.683Z] 0d9ebad4ef96: Waiting [2023-03-21T05:40:04.683Z] e9a5061849ea: Waiting [2023-03-21T05:40:04.683Z] d747dcd14b5f: Waiting [2023-03-21T05:40:04.683Z] 2de7ff778b66: Waiting [2023-03-21T05:40:04.683Z] 9712f1f96733: Verifying Checksum [2023-03-21T05:40:04.683Z] 9712f1f96733: Download complete [2023-03-21T05:40:05.266Z] 63f879dbbcfc: Verifying Checksum [2023-03-21T05:40:05.266Z] 63f879dbbcfc: Download complete [2023-03-21T05:40:05.266Z] ab5ef0e58194: Verifying Checksum [2023-03-21T05:40:05.266Z] ab5ef0e58194: Download complete [2023-03-21T05:40:05.266Z] d747dcd14b5f: Verifying Checksum [2023-03-21T05:40:05.266Z] d747dcd14b5f: Download complete [2023-03-21T05:40:05.266Z] e9a5061849ea: Verifying Checksum [2023-03-21T05:40:05.266Z] e9a5061849ea: Download complete [2023-03-21T05:40:07.370Z] 0d9ebad4ef96: Verifying Checksum [2023-03-21T05:40:07.370Z] 0d9ebad4ef96: Download complete [2023-03-21T05:40:07.629Z] 2de7ff778b66: Verifying Checksum [2023-03-21T05:40:07.629Z] 2de7ff778b66: Download complete [2023-03-21T05:40:07.888Z] ab5ef0e58194: Pull complete [2023-03-21T05:40:08.145Z] 9712f1f96733: Pull complete [2023-03-21T05:40:08.712Z] 63f879dbbcfc: Pull complete [2023-03-21T05:40:12.762Z] 0d9ebad4ef96: Pull complete [2023-03-21T05:40:12.762Z] e9a5061849ea: Pull complete [2023-03-21T05:40:12.762Z] d747dcd14b5f: Pull complete [2023-03-21T05:40:13.327Z] 2de7ff778b66: Pull complete [2023-03-21T05:40:13.587Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-21T05:40:13.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-21T05:40:13.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:13.673Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:40:13.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-21T05:40:21.770Z] $ docker top 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:40:21.825Z] provisioning config files... [2023-03-21T05:40:21.831Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9969301239149646221tmp [2023-03-21T05:40:21.841Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14960378136973445798tmp [2023-03-21T05:40:21.850Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10890936860782503985tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:40:21.867Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:22.154Z] ---> sigul-configuration.sh [2023-03-21T05:40:22.154Z] gpg: directory `/root/.gnupg' created [2023-03-21T05:40:22.154Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-21T05:40:22.154Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-21T05:40:22.154Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-21T05:40:22.154Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-21T05:40:22.154Z] gpg: CAST5 encrypted data [2023-03-21T05:40:22.154Z] gpg: encrypted with 1 passphrase [2023-03-21T05:40:22.154Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-21T05:40:22.443Z] + mkdir /home/jenkins [2023-03-21T05:40:22.443Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-21T05:40:22.730Z] + 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-03-21T05:40:22.738Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:23.023Z] ---> sigul-install.sh [2023-03-21T05:40:23.023Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-21T05:40:23.304Z] + git tag --list [2023-03-21T05:40:23.304Z] v1.0.0 [2023-03-21T05:40:23.304Z] v1.1.0 [2023-03-21T05:40:23.304Z] v1.1.1 [2023-03-21T05:40:23.304Z] v1.1.2 [2023-03-21T05:40:23.304Z] v1.2.0 [2023-03-21T05:40:23.304Z] v1.2.1 [2023-03-21T05:40:23.304Z] v2.0.0 [2023-03-21T05:40:23.304Z] v2.1.0 [2023-03-21T05:40:23.304Z] v2.1.1 [2023-03-21T05:40:23.304Z] v2.1.1-dev.1 [2023-03-21T05:40:23.304Z] v2.1.1-dev.2 [2023-03-21T05:40:23.304Z] v2.1.1-dev.3 [2023-03-21T05:40:23.304Z] v2.2.0 [2023-03-21T05:40:23.304Z] v2.2.1-dev.1 [2023-03-21T05:40:23.304Z] v2.2.1-dev.2 [2023-03-21T05:40:23.304Z] v2.2.1-dev.3 [2023-03-21T05:40:23.304Z] v2.2.1-dev.4 [2023-03-21T05:40:23.304Z] v2.2.1-dev.5 [2023-03-21T05:40:23.304Z] v2.2.1-dev.6 [2023-03-21T05:40:23.304Z] v2.2.1-dev.7 [2023-03-21T05:40:23.304Z] v2.2.1-dev.8 [2023-03-21T05:40:23.304Z] v2.2.1-dev.9 [2023-03-21T05:40:23.304Z] v2.3.0 [2023-03-21T05:40:23.304Z] v2.3.0-dev.10 [2023-03-21T05:40:23.304Z] v2.3.0-dev.11 [2023-03-21T05:40:23.304Z] v2.3.0-dev.12 [2023-03-21T05:40:23.304Z] v2.3.0-dev.13 [2023-03-21T05:40:23.304Z] v2.3.0-dev.14 [2023-03-21T05:40:23.304Z] v2.3.0-dev.15 [2023-03-21T05:40:23.304Z] v2.3.0-dev.16 [2023-03-21T05:40:23.304Z] v2.3.0-dev.17 [2023-03-21T05:40:23.304Z] v2.3.0-dev.18 [2023-03-21T05:40:23.304Z] v2.3.0-dev.19 [2023-03-21T05:40:23.304Z] v2.3.0-dev.20 [2023-03-21T05:40:23.304Z] v2.3.0-dev.21 [2023-03-21T05:40:23.304Z] v2.3.0-dev.22 [2023-03-21T05:40:23.304Z] v2.3.0-dev.23 [2023-03-21T05:40:23.304Z] v2.3.0-dev.24 [2023-03-21T05:40:23.304Z] v2.3.0-dev.25 [2023-03-21T05:40:23.304Z] v2.3.0-dev.9 [2023-03-21T05:40:23.304Z] v3.0.0-dev.1 [2023-03-21T05:40:23.304Z] v3.0.0-dev.10 [2023-03-21T05:40:23.304Z] v3.0.0-dev.11 [2023-03-21T05:40:23.304Z] v3.0.0-dev.12 [2023-03-21T05:40:23.304Z] v3.0.0-dev.13 [2023-03-21T05:40:23.304Z] v3.0.0-dev.14 [2023-03-21T05:40:23.304Z] v3.0.0-dev.15 [2023-03-21T05:40:23.304Z] v3.0.0-dev.16 [2023-03-21T05:40:23.304Z] v3.0.0-dev.17 [2023-03-21T05:40:23.304Z] v3.0.0-dev.18 [2023-03-21T05:40:23.304Z] v3.0.0-dev.19 [2023-03-21T05:40:23.304Z] v3.0.0-dev.2 [2023-03-21T05:40:23.304Z] v3.0.0-dev.20 [2023-03-21T05:40:23.304Z] v3.0.0-dev.21 [2023-03-21T05:40:23.304Z] v3.0.0-dev.3 [2023-03-21T05:40:23.304Z] v3.0.0-dev.4 [2023-03-21T05:40:23.304Z] v3.0.0-dev.5 [2023-03-21T05:40:23.304Z] v3.0.0-dev.6 [2023-03-21T05:40:23.304Z] v3.0.0-dev.7 [2023-03-21T05:40:23.304Z] v3.0.0-dev.8 [2023-03-21T05:40:23.304Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-21T05:40:23.590Z] + lftools sign git-tag v3.0.0-dev.21 [2023-03-21T05:40:24.157Z] Signing Git tag with Sigul... [2023-03-21T05:40:24.157Z] Signing v3.0.0-dev.21 [Pipeline] echo [2023-03-21T05:40:24.423Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:24.703Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-21T05:40:24.708Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-21T05:40:24.741Z] $ docker stop --time=1 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c [2023-03-21T05:40:26.066Z] $ docker rm -f --volumes 97e6c68a887ad127d55b586d41d2c7ee706eccaf94a3efa00390eca4cc4e208c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-21T05:40:26.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:40:26.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:26.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:40:26.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:26.838Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:40:26.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:40:27.248Z] $ docker top 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 -eo pid,comm [2023-03-21T05:40:27.283Z] 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-03-21T05:40:27.283Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:40:27.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:40:27.319Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:40:27.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:40:27.446Z] $ docker exec 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 ssh-agent [2023-03-21T05:40:27.525Z] SSH_AUTH_SOCK=/tmp/ssh-jqsJ4ht3F0qQ/agent.33 [2023-03-21T05:40:27.525Z] SSH_AGENT_PID=39 [2023-03-21T05:40:27.529Z] Running ssh-add (command line suppressed) [2023-03-21T05:40:27.642Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5651325099771624795.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5651325099771624795.key) [2023-03-21T05:40:27.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:40:27.925Z] + git semver bump pre [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [bump_version] DEBUG bumped version:3.0.0-dev.22 [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,112 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,115 [execute] INFO git cat-file --batch-check [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,120 [execute] INFO git cat-file --batch [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:40:28.183Z] 2023-03-21 05:40:28,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:28.183Z] 3.0.0-dev.22 [Pipeline] } [2023-03-21T05:40:28.207Z] $ docker exec --env ******** --env ******** 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 ssh-agent -k [2023-03-21T05:40:28.311Z] unset SSH_AUTH_SOCK; [2023-03-21T05:40:28.312Z] unset SSH_AGENT_PID; [2023-03-21T05:40:28.312Z] echo Agent pid 39 killed; [2023-03-21T05:40:28.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:40:28.601Z] + git semver [Pipeline] } [2023-03-21T05:40:28.889Z] $ docker stop --time=1 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 [2023-03-21T05:40:30.198Z] $ docker rm -f --volumes 0a79c1789f20e9d0829ebc039d4a7f63a977bc19d1e8d84c6f5f540f25e6f795 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:40:30.511Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:40:30.511Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:30.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:40:30.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:30.871Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:40:30.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:40:31.317Z] $ docker top 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 -eo pid,comm [2023-03-21T05:40:31.351Z] 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-03-21T05:40:31.351Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:40:31.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:40:31.383Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:40:31.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:40:31.512Z] $ docker exec 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 ssh-agent [2023-03-21T05:40:31.600Z] SSH_AUTH_SOCK=/tmp/ssh-aQ1bw0pysSsQ/agent.31 [2023-03-21T05:40:31.600Z] SSH_AGENT_PID=37 [2023-03-21T05:40:31.605Z] Running ssh-add (command line suppressed) [2023-03-21T05:40:31.729Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7807817387600440904.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7807817387600440904.key) [2023-03-21T05:40:31.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:40:32.059Z] + git semver push [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,220 [run_push] DEBUG push [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,221 [execute] INFO git cat-file --batch-check [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,225 [execute] INFO git rev-list 67b5918f22a9e40ee1831f74bea0332826937e8d -- [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,225 [execute] DEBUG Popen(['git', 'rev-list', '67b5918f22a9e40ee1831f74bea0332826937e8d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,231 [execute] INFO git fetch -v origin [2023-03-21T05:40:32.337Z] 2023-03-21 05:40:32,232 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-21T05:40:32.936Z] 2023-03-21 05:40:32,700 [run_push] DEBUG no remote changes detected [2023-03-21T05:40:32.936Z] 2023-03-21 05:40:32,701 [execute] INFO git push origin semver [2023-03-21T05:40:32.936Z] 2023-03-21 05:40:32,701 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:40:33.556Z] 2023-03-21 05:40:33,449 [run_push] DEBUG push all version tags [2023-03-21T05:40:33.556Z] 2023-03-21 05:40:33,450 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-21T05:40:33.556Z] 2023-03-21 05:40:33,451 [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-03-21T05:40:34.503Z] 2023-03-21 05:40:34,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-21T05:40:34.503Z] 3.0.0-dev.22 [Pipeline] } [2023-03-21T05:40:34.529Z] $ docker exec --env ******** --env ******** 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 ssh-agent -k [2023-03-21T05:40:34.634Z] unset SSH_AUTH_SOCK; [2023-03-21T05:40:34.635Z] unset SSH_AGENT_PID; [2023-03-21T05:40:34.635Z] echo Agent pid 37 killed; [2023-03-21T05:40:34.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:40:34.933Z] + git semver [Pipeline] } [2023-03-21T05:40:35.221Z] $ docker stop --time=1 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 [2023-03-21T05:40:36.845Z] $ docker rm -f --volumes 92402e2bec6939601b83f01adacfb5bd30259a2b0c3e8eba9dd095bd1a51ecf4 [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-03-21T05:40:37.390Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-03-21T05:40:37.390Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-21T05:40:37.390Z] total 16 [2023-03-21T05:40:37.390Z] drwxr-xr-x 3 root root 4096 Mar 21 05:29 . [2023-03-21T05:40:37.390Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:40 .. [2023-03-21T05:40:37.390Z] drwxr-xr-x 2 root root 4096 Mar 21 05:29 cost [2023-03-21T05:40:37.390Z] -rw-r--r-- 1 root root 85 Mar 21 05:29 cost.csv [2023-03-21T05:40:37.390Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-21T05:40:37.390Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-21T05:40:37.390Z] total 16 [2023-03-21T05:40:37.390Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:29 . [2023-03-21T05:40:37.390Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:40 .. [2023-03-21T05:40:37.390Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:29 cost [2023-03-21T05:40:37.390Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 21 05:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:37.683Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:38.541Z] ---> package-listing.sh [2023-03-21T05:40:38.541Z] ++ facter osfamily [2023-03-21T05:40:38.541Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:40:38.800Z] + OS_FAMILY=debian [2023-03-21T05:40:38.800Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-03-21T05:40:38.800Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:38.800Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:38.800Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:40:38.800Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:40:38.800Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-21T05:40:38.800Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:40:38.800Z] + case "${OS_FAMILY}" in [2023-03-21T05:40:38.800Z] + dpkg -l [2023-03-21T05:40:38.800Z] + grep '^ii' [2023-03-21T05:40:38.800Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:40:38.800Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:40:38.800Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:40:38.800Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-21T05:40:38.800Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-03-21T05:40:38.800Z] + 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-03-21T05:40:38.810Z] 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-03-21T05:40:39.086Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:40:39.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:40:39.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:40:39.719Z] prd-ubuntu20.04-docker-8c-8g-4736 does not seem to be running inside a container [2023-03-21T05:40:39.771Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:40:40.030Z] $ docker top 9abc8b0b5f2580118998eef7ea27f3a87a8aebeaf31524b1908999e2f242596f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:40:40.349Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:40:40.636Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:40:40.919Z] + ls /var/log/sa-host [2023-03-21T05:40:40.919Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:40:40.980Z] provisioning config files... [2023-03-21T05:40:40.987Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6785279462381961671tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:40:40.998Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:41.281Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:40:41.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:41.618Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:40:41.626Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:41.907Z] ---> sudo-logs.sh [2023-03-21T05:40:41.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:40:41.935Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:42.218Z] ---> job-cost.sh [2023-03-21T05:40:42.218Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:42.218Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:40:42.218Z] INFO: Retrieving Stack Cost... [2023-03-21T05:40:42.476Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:40:43.043Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:40:43.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:40:43.330Z] ---> logs-deploy.sh [2023-03-21T05:40:43.330Z] lf-activate-venv: SKIPPING [2023-03-21T05:40:43.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/93 [2023-03-21T05:40:43.330Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:40:44.265Z] Archives upload complete. [2023-03-21T05:40:44.265Z] INFO: archiving logs to Nexus [2023-03-21T05:40:44.847Z] ---> uname -a: [2023-03-21T05:40:44.847Z] Linux prd-ubuntu20-04-docker-8c-8g-4736 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-21T05:40:44.847Z] [2023-03-21T05:40:44.847Z]