Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2b4310d658eb26855889a332446806987507426 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-ssh17755101400941137477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1060556701699876747.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12073293412378427502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6443625496781035946.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-ssh844985619812589766.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-15086 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 c2b4310d658eb26855889a332446806987507426 (main) Commit message: "docs: Add main branch Warning (#316)" > 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 c2b4310d658eb26855889a332446806987507426 # timeout=10 > git rev-list --no-walk ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T23:08:29.419Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T23:08:29.477Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T23:08:29.495Z] ========================================================= [2023-05-10T23:08:29.495Z] EdgeX Global Pipelines Version Info [2023-05-10T23:08:29.495Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:08:30.205Z] ------------------- [2023-05-10T23:08:30.205Z] stable info: [2023-05-10T23:08:30.205Z] ------------------- [2023-05-10T23:08:30.205Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T23:08:30.205Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T23:08:30.205Z] Message: update stable to v1.0.249 [2023-05-10T23:08:30.777Z] ------------------- [2023-05-10T23:08:30.777Z] experimental info: [2023-05-10T23:08:30.777Z] ------------------- [2023-05-10T23:08:30.777Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T23:08:30.777Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T23:08:30.777Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T23:08:30.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-10T23:08:30.975Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-10T23:08:30.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T23:08:30.998Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T23:08:31.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T23:08:31.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T23:08:31.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T23:08:31.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T23:08:31.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T23:08:31.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T23:08:31.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T23:08:31.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-10T23:08:31.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T23:08:31.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T23:08:31.131Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T23:08:31.146Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T23:08:31.162Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T23:08:31.172Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T23:08:31.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T23:08:31.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T23:08:31.208Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T23:08:31.223Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T23:08:31.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T23:08:31.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T23:08:31.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T23:08:31.293Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T23:08:31.313Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T23:08:31.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T23:08:31.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T23:08:31.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T23:08:31.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b4310d658eb26855889a332446806987507426 [Pipeline] echo [2023-05-10T23:08:31.386Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b4310 [Pipeline] echo [2023-05-10T23:08:31.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:08:31.445Z] provisioning config files... [2023-05-10T23:08:31.457Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8218955263149935660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:08:31.762Z] ---> docker-login.sh [2023-05-10T23:08:31.762Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:08:32.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:32.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:32.023Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:32.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:32.023Z] [2023-05-10T23:08:32.023Z] Login Succeeded [2023-05-10T23:08:32.023Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:08:32.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:32.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:32.283Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:32.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:32.283Z] [2023-05-10T23:08:32.283Z] Login Succeeded [2023-05-10T23:08:32.283Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:08:32.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:32.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:32.283Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:32.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:32.283Z] [2023-05-10T23:08:32.283Z] Login Succeeded [2023-05-10T23:08:32.283Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:08:32.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:32.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:32.283Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:32.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:32.283Z] [2023-05-10T23:08:32.283Z] Login Succeeded [2023-05-10T23:08:32.283Z] docker.io [2023-05-10T23:08:32.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:32.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:32.545Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:32.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:32.545Z] [2023-05-10T23:08:32.545Z] Login Succeeded [2023-05-10T23:08:32.806Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:08:32.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T23:08:33.183Z] + git rev-list -1 --merges c2b4310d658eb26855889a332446806987507426~1..c2b4310d658eb26855889a332446806987507426 [Pipeline] echo [2023-05-10T23:08:33.242Z] -----------> git rev-list -1 --merges c2b4310d658eb26855889a332446806987507426~1..c2b4310d658eb26855889a332446806987507426 c2b4310d658eb26855889a332446806987507426 [false] [Pipeline] sh [2023-05-10T23:08:33.543Z] + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] echo [2023-05-10T23:08:33.578Z] ========================================================= [2023-05-10T23:08:33.578Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T23:08:33.578Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:08:33.925Z] + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] echo [2023-05-10T23:08:33.937Z] [semverPrep] GIT_COMMIT: c2b4310d658eb26855889a332446806987507426, Commit Message: docs: Add main branch Warning (#316) [Pipeline] echo [2023-05-10T23:08:33.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T23:08:34.301Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:08:34.301Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T23:08:34.301Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T23:08:34.301Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T23:08:34.301Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T23:08:34.301Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T23:08:34.301Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:08:34.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:08:34.735Z] [2023-05-10T23:08:34.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:08:35.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:08:35.043Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T23:08:35.043Z] b85a868b505f: Pulling fs layer [2023-05-10T23:08:35.043Z] e2be974225ed: Pulling fs layer [2023-05-10T23:08:35.043Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T23:08:35.043Z] 988bab9f4d93: Pulling fs layer [2023-05-10T23:08:35.043Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T23:08:35.043Z] eaf3925da568: Pulling fs layer [2023-05-10T23:08:35.043Z] bab4dde63d76: Pulling fs layer [2023-05-10T23:08:35.043Z] bde34c3a00c8: Pulling fs layer [2023-05-10T23:08:35.043Z] b352a97aabf1: Pulling fs layer [2023-05-10T23:08:35.043Z] 4872d77fe225: Pulling fs layer [2023-05-10T23:08:35.043Z] 5851b861e8e6: Pulling fs layer [2023-05-10T23:08:35.043Z] 1469e6f7b9e6: Waiting [2023-05-10T23:08:35.043Z] 988bab9f4d93: Waiting [2023-05-10T23:08:35.043Z] eaf3925da568: Waiting [2023-05-10T23:08:35.043Z] bab4dde63d76: Waiting [2023-05-10T23:08:35.043Z] bde34c3a00c8: Waiting [2023-05-10T23:08:35.043Z] b352a97aabf1: Waiting [2023-05-10T23:08:35.043Z] 4872d77fe225: Waiting [2023-05-10T23:08:35.043Z] 5851b861e8e6: Waiting [2023-05-10T23:08:35.043Z] e2be974225ed: Verifying Checksum [2023-05-10T23:08:35.043Z] e2be974225ed: Download complete [2023-05-10T23:08:35.043Z] 988bab9f4d93: Download complete [2023-05-10T23:08:35.316Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T23:08:35.316Z] 1469e6f7b9e6: Download complete [2023-05-10T23:08:35.316Z] eaf3925da568: Verifying Checksum [2023-05-10T23:08:35.316Z] eaf3925da568: Download complete [2023-05-10T23:08:35.316Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T23:08:35.316Z] 339a4e72a1f5: Download complete [2023-05-10T23:08:35.316Z] bde34c3a00c8: Verifying Checksum [2023-05-10T23:08:35.316Z] bde34c3a00c8: Download complete [2023-05-10T23:08:35.316Z] b352a97aabf1: Download complete [2023-05-10T23:08:35.316Z] 4872d77fe225: Verifying Checksum [2023-05-10T23:08:35.316Z] 4872d77fe225: Download complete [2023-05-10T23:08:35.316Z] 5851b861e8e6: Download complete [2023-05-10T23:08:35.316Z] b85a868b505f: Verifying Checksum [2023-05-10T23:08:35.316Z] b85a868b505f: Download complete [2023-05-10T23:08:35.577Z] bab4dde63d76: Verifying Checksum [2023-05-10T23:08:35.577Z] bab4dde63d76: Download complete [2023-05-10T23:08:36.520Z] b85a868b505f: Pull complete [2023-05-10T23:08:36.786Z] e2be974225ed: Pull complete [2023-05-10T23:08:37.356Z] 339a4e72a1f5: Pull complete [2023-05-10T23:08:37.356Z] 988bab9f4d93: Pull complete [2023-05-10T23:08:37.617Z] 1469e6f7b9e6: Pull complete [2023-05-10T23:08:37.617Z] eaf3925da568: Pull complete [2023-05-10T23:08:39.527Z] bab4dde63d76: Pull complete [2023-05-10T23:08:39.527Z] bde34c3a00c8: Pull complete [2023-05-10T23:08:39.527Z] b352a97aabf1: Pull complete [2023-05-10T23:08:39.527Z] 4872d77fe225: Pull complete [2023-05-10T23:08:39.527Z] 5851b861e8e6: Pull complete [2023-05-10T23:08:39.527Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T23:08:39.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:08:39.527Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:08:39.633Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:08:39.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:08:41.470Z] $ docker top 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 -eo pid,comm [2023-05-10T23:08:41.543Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:08:41.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:08:41.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:08:41.583Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:08:41.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:08:41.693Z] $ docker exec 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent [2023-05-10T23:08:41.813Z] SSH_AUTH_SOCK=/tmp/ssh-A57xltrlTdc5/agent.33 [2023-05-10T23:08:41.813Z] SSH_AGENT_PID=39 [2023-05-10T23:08:41.820Z] Running ssh-add (command line suppressed) [2023-05-10T23:08:41.915Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12951817560225621416.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12951817560225621416.key) [2023-05-10T23:08:41.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:08:42.229Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T23:08:42.227Z] $ docker exec --env ******** --env ******** 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent -k [2023-05-10T23:08:42.327Z] unset SSH_AUTH_SOCK; [2023-05-10T23:08:42.328Z] unset SSH_AGENT_PID; [2023-05-10T23:08:42.329Z] echo Agent pid 39 killed; [2023-05-10T23:08:42.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T23:08:42.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:08:42.418Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:08:42.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:08:42.519Z] $ docker exec 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent [2023-05-10T23:08:42.642Z] SSH_AUTH_SOCK=/tmp/ssh-lKJwsuTI3zV9/agent.73 [2023-05-10T23:08:42.642Z] SSH_AGENT_PID=79 [2023-05-10T23:08:42.648Z] Running ssh-add (command line suppressed) [2023-05-10T23:08:42.741Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10148590532581935758.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10148590532581935758.key) [2023-05-10T23:08:42.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:08:43.055Z] + git semver init [2023-05-10T23:08:43.317Z] 2023-05-10 23:08:43,227 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T23:08:43.317Z] 2023-05-10 23:08:43,228 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-10T23:08:43.317Z] 2023-05-10 23:08:43,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-10T23:08:43.317Z] 2023-05-10 23:08:43,229 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:08:44.699Z] 2023-05-10 23:08:44,370 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-05-10T23:08:44.699Z] 2023-05-10 23:08:44,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-05-10T23:08:44.699Z] 2023-05-10 23:08:44,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:08:44.699Z] 2023-05-10 23:08:44,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:08:44.699Z] 3.0.0-dev.40 [Pipeline] } [2023-05-10T23:08:44.699Z] $ docker exec --env ******** --env ******** 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 ssh-agent -k [2023-05-10T23:08:44.794Z] unset SSH_AUTH_SOCK; [2023-05-10T23:08:44.794Z] unset SSH_AGENT_PID; [2023-05-10T23:08:44.795Z] echo Agent pid 79 killed; [2023-05-10T23:08:44.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:08:45.116Z] + git semver [Pipeline] } [2023-05-10T23:08:45.379Z] $ docker stop --time=1 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 [2023-05-10T23:08:46.706Z] $ docker rm -f --volumes 610ef18a1157531ec848d3cd45e9626bbdee3225435b226c367703644c7a70d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:08:47.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T23:08:47.257Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T23:08:47.259Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:08:47.372Z] provisioning config files... [2023-05-10T23:08:47.381Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8471946979797651116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:08:47.674Z] ---> docker-login.sh [2023-05-10T23:08:47.674Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:08:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:47.674Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:47.674Z] [2023-05-10T23:08:47.674Z] Login Succeeded [2023-05-10T23:08:47.674Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:08:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:47.674Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:47.674Z] [2023-05-10T23:08:47.674Z] Login Succeeded [2023-05-10T23:08:47.674Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:08:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:47.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:47.935Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:47.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:47.935Z] [2023-05-10T23:08:47.935Z] Login Succeeded [2023-05-10T23:08:47.935Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:08:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:47.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:47.935Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:47.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:47.935Z] [2023-05-10T23:08:47.935Z] Login Succeeded [2023-05-10T23:08:47.935Z] docker.io [2023-05-10T23:08:48.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:08:48.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:08:48.196Z] Configure a credential helper to remove this warning. See [2023-05-10T23:08:48.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:08:48.196Z] [2023-05-10T23:08:48.196Z] Login Succeeded [2023-05-10T23:08:48.196Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:08:48.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T23:08:48.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:08:48.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:08:48.293Z] ========================================================= [2023-05-10T23:08:48.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T23:08:48.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:08:48.613Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T23:08:48.613Z] Sending build context to Docker daemon 10.91MB [2023-05-10T23:08:48.613Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:08:48.613Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T23:08:48.613Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T23:08:48.613Z] f56be85fc22e: Pulling fs layer [2023-05-10T23:08:48.613Z] 85791d961cd3: Pulling fs layer [2023-05-10T23:08:48.613Z] d694b5ae8c79: Pulling fs layer [2023-05-10T23:08:48.613Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T23:08:48.613Z] 4d19c01a9841: Pulling fs layer [2023-05-10T23:08:48.613Z] 9325e15d5711: Pulling fs layer [2023-05-10T23:08:48.613Z] 556b6ee489ea: Pulling fs layer [2023-05-10T23:08:48.613Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T23:08:48.613Z] 9f32a84ed3da: Waiting [2023-05-10T23:08:48.613Z] 4d19c01a9841: Waiting [2023-05-10T23:08:48.613Z] 9325e15d5711: Waiting [2023-05-10T23:08:48.613Z] 556b6ee489ea: Waiting [2023-05-10T23:08:48.613Z] c5a4b2cf53e6: Waiting [2023-05-10T23:08:48.613Z] 85791d961cd3: Verifying Checksum [2023-05-10T23:08:48.613Z] 85791d961cd3: Download complete [2023-05-10T23:08:48.613Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T23:08:48.613Z] 9f32a84ed3da: Download complete [2023-05-10T23:08:48.613Z] 4d19c01a9841: Verifying Checksum [2023-05-10T23:08:48.613Z] 4d19c01a9841: Download complete [2023-05-10T23:08:48.873Z] f56be85fc22e: Verifying Checksum [2023-05-10T23:08:48.873Z] f56be85fc22e: Download complete [2023-05-10T23:08:48.873Z] 9325e15d5711: Verifying Checksum [2023-05-10T23:08:48.873Z] 9325e15d5711: Download complete [2023-05-10T23:08:48.873Z] f56be85fc22e: Pull complete [2023-05-10T23:08:49.134Z] 85791d961cd3: Pull complete [2023-05-10T23:08:49.394Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T23:08:49.394Z] c5a4b2cf53e6: Download complete [2023-05-10T23:08:49.394Z] d694b5ae8c79: Verifying Checksum [2023-05-10T23:08:49.394Z] d694b5ae8c79: Download complete [2023-05-10T23:08:49.651Z] 556b6ee489ea: Verifying Checksum [2023-05-10T23:08:49.652Z] 556b6ee489ea: Download complete [2023-05-10T23:08:52.945Z] d694b5ae8c79: Pull complete [2023-05-10T23:08:52.945Z] 9f32a84ed3da: Pull complete [2023-05-10T23:08:52.945Z] 4d19c01a9841: Pull complete [2023-05-10T23:08:52.945Z] 9325e15d5711: Pull complete [2023-05-10T23:08:55.479Z] 556b6ee489ea: Pull complete [2023-05-10T23:08:56.413Z] c5a4b2cf53e6: Pull complete [2023-05-10T23:08:56.413Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T23:08:56.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T23:08:56.413Z] ---> c4be618373d6 [2023-05-10T23:08:56.413Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:08:59.955Z] ---> Running in 8deba592ed7c [2023-05-10T23:08:59.955Z] Removing intermediate container 8deba592ed7c [2023-05-10T23:08:59.955Z] ---> 13ffd7f71e1d [2023-05-10T23:08:59.955Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:08:59.955Z] ---> Running in 7adf275ea7c5 [2023-05-10T23:08:59.955Z] Removing intermediate container 7adf275ea7c5 [2023-05-10T23:08:59.955Z] ---> 47eb12eca3fc [2023-05-10T23:08:59.955Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:08:59.955Z] ---> Running in 719054be0b5d [2023-05-10T23:08:59.955Z] Removing intermediate container 719054be0b5d [2023-05-10T23:08:59.955Z] ---> acb330392c05 [2023-05-10T23:08:59.955Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:08:59.955Z] ---> Running in 31e38859a253 [2023-05-10T23:08:59.955Z] Removing intermediate container 31e38859a253 [2023-05-10T23:08:59.955Z] ---> 13be28c6d008 [2023-05-10T23:08:59.955Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:08:59.955Z] ---> Running in 998fecb3e09f [2023-05-10T23:09:00.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:09:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:09:00.476Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T23:09:00.739Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T23:09:00.739Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T23:09:00.739Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T23:09:00.739Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:09:00.739Z] OK: 269 MiB in 57 packages [2023-05-10T23:09:01.309Z] Removing intermediate container 998fecb3e09f [2023-05-10T23:09:01.309Z] ---> 251cc20aa566 [2023-05-10T23:09:01.309Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T23:09:01.309Z] ---> Running in a94a7cfcbc8c [2023-05-10T23:09:01.309Z] Removing intermediate container a94a7cfcbc8c [2023-05-10T23:09:01.309Z] ---> 108000a3399a [2023-05-10T23:09:01.309Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T23:09:01.309Z] ---> b5a83244c90e [2023-05-10T23:09:01.309Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:09:01.309Z] ---> Running in fba2235f0d28 [2023-05-10T23:09:02.345Z] Still waiting to schedule task [2023-05-10T23:09:02.345Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-10T23:09:23.267Z] Removing intermediate container fba2235f0d28 [2023-05-10T23:09:23.267Z] ---> 5b1c626b789d [2023-05-10T23:09:23.267Z] Step 11/12 : COPY . . [2023-05-10T23:09:23.528Z] ---> 1c8f317ac7f8 [2023-05-10T23:09:23.528Z] Step 12/12 : RUN $MAKE [2023-05-10T23:09:23.528Z] ---> Running in b3dfc3081d7d [2023-05-10T23:09:23.789Z] noop [2023-05-10T23:09:24.048Z] Removing intermediate container b3dfc3081d7d [2023-05-10T23:09:24.048Z] ---> e00c7b0b391d [2023-05-10T23:09:24.048Z] Successfully built e00c7b0b391d [2023-05-10T23:09:24.048Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:09:24.354Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T23:09:24.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:09:24.423Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:09:24.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T23:09:24.796Z] $ docker top 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:09:25.128Z] + go version [2023-05-10T23:09:25.128Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T23:09:25.149Z] $ docker stop --time=1 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 [2023-05-10T23:09:26.429Z] $ docker rm -f --volumes 0ec7b307de4cea4d5e31f729d40b47db6f5bec79da2d6d34f7f2d39089ce26c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:09:26.801Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T23:09:26.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:09:26.876Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:09:26.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T23:09:27.228Z] $ docker top ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:09:27.557Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-10T23:09:27.851Z] + make test [2023-05-10T23:09:27.851Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T23:09:32.042Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T23:09:42.003Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T23:09:42.003Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-10T23:09:48.575Z] go vet ./... [2023-05-10T23:09:51.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:09:51.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:09:51.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:09:51.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:09:51.894Z] $ docker stop --time=1 ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 [2023-05-10T23:09:54.523Z] $ docker rm -f --volumes ea3ad084a16d0700a03e20f50d5681ab052e9c664c54f0babcf777c8583614d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:09:54.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:09:55.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T23:09:55.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:09:55.818Z] + ls -al . [2023-05-10T23:09:55.818Z] total 184 [2023-05-10T23:09:55.818Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:09 . [2023-05-10T23:09:55.818Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:08 .. [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 23:08 .dockerignore [2023-05-10T23:09:55.818Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:08 .git [2023-05-10T23:09:55.818Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:08 .github [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 23:08 .gitignore [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:08 .golangci.yml [2023-05-10T23:09:55.818Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:08 .semver [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 23:08 Attribution.txt [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 23:08 CHANGELOG.md [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 23:08 Dockerfile [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:08 GOVERNANCE.md [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:08 Jenkinsfile [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:08 LICENSE [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 23:08 Makefile [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 23:08 OWNERS.md [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 10 23:08 README.md [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:08 VERSION [2023-05-10T23:09:55.818Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:08 bin [2023-05-10T23:09:55.818Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:08 cmd [2023-05-10T23:09:55.818Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 23:09 coverage.out [2023-05-10T23:09:55.818Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:08 driver [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 23:08 go.mod [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 23:08 go.sum [2023-05-10T23:09:55.818Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:08 snap [2023-05-10T23:09:55.818Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:09:56.130Z] + 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=c2b4310d658eb26855889a332446806987507426 --label arch=amd64 --label version=3.0.0-dev.40 . [2023-05-10T23:09:56.130Z] Sending build context to Docker daemon 10.93MB [2023-05-10T23:09:56.130Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:09:56.130Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T23:09:56.130Z] ---> e00c7b0b391d [2023-05-10T23:09:56.130Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:09:56.391Z] ---> Running in 80cac9fcea09 [2023-05-10T23:09:56.391Z] Removing intermediate container 80cac9fcea09 [2023-05-10T23:09:56.391Z] ---> 4b2c58508e4f [2023-05-10T23:09:56.391Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:09:56.391Z] ---> Running in c23d44e0b83e [2023-05-10T23:09:56.391Z] Removing intermediate container c23d44e0b83e [2023-05-10T23:09:56.391Z] ---> e550e6631817 [2023-05-10T23:09:56.391Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:09:56.391Z] ---> Running in 0883ffd4a260 [2023-05-10T23:09:56.687Z] Removing intermediate container 0883ffd4a260 [2023-05-10T23:09:56.687Z] ---> 6ad55cd988b2 [2023-05-10T23:09:56.687Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:09:56.687Z] ---> Running in 8bc617ebe978 [2023-05-10T23:09:56.687Z] Removing intermediate container 8bc617ebe978 [2023-05-10T23:09:56.687Z] ---> 1f0eba8af075 [2023-05-10T23:09:56.687Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:09:56.687Z] ---> Running in a4fd4fa1682e [2023-05-10T23:09:56.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:09:57.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:09:57.243Z] OK: 269 MiB in 57 packages [2023-05-10T23:09:57.520Z] Removing intermediate container a4fd4fa1682e [2023-05-10T23:09:57.520Z] ---> c1cd41c48445 [2023-05-10T23:09:57.520Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T23:09:57.520Z] ---> Running in e7de7515ea10 [2023-05-10T23:09:57.812Z] Removing intermediate container e7de7515ea10 [2023-05-10T23:09:57.812Z] ---> 2949c71982ef [2023-05-10T23:09:57.812Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T23:09:57.812Z] ---> 3eb7d3290023 [2023-05-10T23:09:57.812Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:09:57.812Z] ---> Running in 89f8773351f3 [2023-05-10T23:09:58.749Z] Removing intermediate container 89f8773351f3 [2023-05-10T23:09:58.750Z] ---> f2e6d3482f13 [2023-05-10T23:09:58.750Z] Step 11/25 : COPY . . [2023-05-10T23:09:59.009Z] ---> 5deb4e4a1b42 [2023-05-10T23:09:59.009Z] Step 12/25 : RUN $MAKE [2023-05-10T23:09:59.009Z] ---> Running in a296a88e7437 [2023-05-10T23:09:59.267Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-10T23:10:17.376Z] Removing intermediate container a296a88e7437 [2023-05-10T23:10:17.376Z] ---> 8e4b87b815de [2023-05-10T23:10:17.376Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T23:10:17.376Z] 3.17: Pulling from library/alpine [2023-05-10T23:10:17.376Z] f56be85fc22e: Already exists [2023-05-10T23:10:17.634Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:10:17.634Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:10:17.634Z] ---> 9ed4aefc74f6 [2023-05-10T23:10:17.634Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T23:10:17.634Z] ---> Running in bb8ef105cfa1 [2023-05-10T23:10:17.893Z] Removing intermediate container bb8ef105cfa1 [2023-05-10T23:10:17.893Z] ---> 001221a9e4a1 [2023-05-10T23:10:17.893Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T23:10:17.893Z] ---> Running in ab00fb85c895 [2023-05-10T23:10:17.893Z] Removing intermediate container ab00fb85c895 [2023-05-10T23:10:17.893Z] ---> 4999890f42dc [2023-05-10T23:10:17.893Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:10:17.893Z] ---> Running in 7ac1eb94feec [2023-05-10T23:10:18.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:10:18.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:10:18.408Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:10:18.408Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:10:18.408Z] OK: 7 MiB in 16 packages [2023-05-10T23:10:18.975Z] Removing intermediate container 7ac1eb94feec [2023-05-10T23:10:18.975Z] ---> d816de0a20ec [2023-05-10T23:10:18.975Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T23:10:19.542Z] ---> 124df801b514 [2023-05-10T23:10:19.542Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T23:10:19.542Z] ---> 62b648ce924c [2023-05-10T23:10:19.542Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T23:10:19.800Z] ---> 1b7fb0140795 [2023-05-10T23:10:19.800Z] Step 20/25 : EXPOSE 59986 [2023-05-10T23:10:19.800Z] ---> Running in 010672191a2f [2023-05-10T23:10:19.800Z] Removing intermediate container 010672191a2f [2023-05-10T23:10:19.800Z] ---> caafc7fd3b0e [2023-05-10T23:10:19.800Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T23:10:19.800Z] ---> Running in 73d69063d51e [2023-05-10T23:10:19.800Z] Removing intermediate container 73d69063d51e [2023-05-10T23:10:19.800Z] ---> 3e1135c17b11 [2023-05-10T23:10:19.800Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T23:10:19.800Z] ---> Running in 208f1fc64a4f [2023-05-10T23:10:20.058Z] Removing intermediate container 208f1fc64a4f [2023-05-10T23:10:20.058Z] ---> fb3f42e9d389 [2023-05-10T23:10:20.058Z] Step 23/25 : LABEL arch=amd64 [2023-05-10T23:10:20.058Z] ---> Running in e7f78c25be5c [2023-05-10T23:10:20.058Z] Removing intermediate container e7f78c25be5c [2023-05-10T23:10:20.058Z] ---> 9510b1b3dd50 [2023-05-10T23:10:20.058Z] Step 24/25 : LABEL git_sha=c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:10:20.058Z] ---> Running in 8dec33f4da6d [2023-05-10T23:10:20.058Z] Removing intermediate container 8dec33f4da6d [2023-05-10T23:10:20.058Z] ---> 056353d2de6a [2023-05-10T23:10:20.058Z] Step 25/25 : LABEL version=3.0.0-dev.40 [2023-05-10T23:10:20.058Z] ---> Running in 572b73841bd9 [2023-05-10T23:10:20.317Z] Removing intermediate container 572b73841bd9 [2023-05-10T23:10:20.317Z] ---> 1d28641312cd [2023-05-10T23:10:20.317Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:10:20.317Z] Successfully built 1d28641312cd [2023-05-10T23:10:20.317Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:10:20.422Z] provisioning config files... [2023-05-10T23:10:20.430Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8976343712889374448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:10:20.729Z] ---> docker-login.sh [2023-05-10T23:10:20.729Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:10:20.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:10:20.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:10:20.729Z] Configure a credential helper to remove this warning. See [2023-05-10T23:10:20.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:10:20.729Z] [2023-05-10T23:10:20.729Z] Login Succeeded [2023-05-10T23:10:20.729Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:10:20.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:10:20.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:10:20.729Z] Configure a credential helper to remove this warning. See [2023-05-10T23:10:20.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:10:20.729Z] [2023-05-10T23:10:20.729Z] Login Succeeded [2023-05-10T23:10:20.729Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:10:20.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:10:20.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:10:20.990Z] Configure a credential helper to remove this warning. See [2023-05-10T23:10:20.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:10:20.990Z] [2023-05-10T23:10:20.990Z] Login Succeeded [2023-05-10T23:10:20.990Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:10:20.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:10:20.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:10:20.990Z] Configure a credential helper to remove this warning. See [2023-05-10T23:10:20.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:10:20.990Z] [2023-05-10T23:10:20.990Z] Login Succeeded [2023-05-10T23:10:20.990Z] docker.io [2023-05-10T23:10:20.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:10:21.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:10:21.251Z] Configure a credential helper to remove this warning. See [2023-05-10T23:10:21.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:10:21.251Z] [2023-05-10T23:10:21.251Z] Login Succeeded [2023-05-10T23:10:21.251Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:10:21.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:10:21.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:10:21.298Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-05-10T23:10:21.298Z] c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:10:21.298Z] latest [2023-05-10T23:10:21.298Z] 3.0.0-dev.40 [2023-05-10T23:10:21.298Z] c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:10:21.298Z] main [2023-05-10T23:10:21.298Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:21.606Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:21.917Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:10:21.917Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-10T23:10:21.917Z] 236c10dee056: Preparing [2023-05-10T23:10:21.917Z] 9414cb1c9338: Preparing [2023-05-10T23:10:21.917Z] 0f6e12c9a8a2: Preparing [2023-05-10T23:10:21.917Z] eb0103cce0fe: Preparing [2023-05-10T23:10:21.917Z] f1417ff83b31: Preparing [2023-05-10T23:10:21.917Z] f1417ff83b31: Layer already exists [2023-05-10T23:10:21.917Z] 9414cb1c9338: Pushed [2023-05-10T23:10:21.917Z] 236c10dee056: Pushed [2023-05-10T23:10:21.917Z] eb0103cce0fe: Pushed [2023-05-10T23:10:24.449Z] 0f6e12c9a8a2: Pushed [2023-05-10T23:10:24.709Z] c2b4310d658eb26855889a332446806987507426: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:25.027Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:25.329Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-10T23:10:25.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-10T23:10:25.329Z] 236c10dee056: Preparing [2023-05-10T23:10:25.329Z] 9414cb1c9338: Preparing [2023-05-10T23:10:25.329Z] 0f6e12c9a8a2: Preparing [2023-05-10T23:10:25.329Z] eb0103cce0fe: Preparing [2023-05-10T23:10:25.329Z] f1417ff83b31: Preparing [2023-05-10T23:10:25.329Z] 9414cb1c9338: Layer already exists [2023-05-10T23:10:25.329Z] eb0103cce0fe: Layer already exists [2023-05-10T23:10:25.329Z] 236c10dee056: Layer already exists [2023-05-10T23:10:25.329Z] f1417ff83b31: Layer already exists [2023-05-10T23:10:25.329Z] 0f6e12c9a8a2: Layer already exists [2023-05-10T23:10:25.329Z] latest: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:25.638Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:25.936Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 [2023-05-10T23:10:25.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-10T23:10:25.936Z] 236c10dee056: Preparing [2023-05-10T23:10:25.936Z] 9414cb1c9338: Preparing [2023-05-10T23:10:25.936Z] 0f6e12c9a8a2: Preparing [2023-05-10T23:10:25.936Z] eb0103cce0fe: Preparing [2023-05-10T23:10:25.936Z] f1417ff83b31: Preparing [2023-05-10T23:10:25.936Z] f1417ff83b31: Layer already exists [2023-05-10T23:10:25.936Z] eb0103cce0fe: Layer already exists [2023-05-10T23:10:25.936Z] 0f6e12c9a8a2: Layer already exists [2023-05-10T23:10:25.936Z] 236c10dee056: Layer already exists [2023-05-10T23:10:25.936Z] 9414cb1c9338: Layer already exists [2023-05-10T23:10:25.936Z] 3.0.0-dev.40: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:26.248Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:26.549Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:10:26.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-10T23:10:26.549Z] 236c10dee056: Preparing [2023-05-10T23:10:26.549Z] 9414cb1c9338: Preparing [2023-05-10T23:10:26.549Z] 0f6e12c9a8a2: Preparing [2023-05-10T23:10:26.549Z] eb0103cce0fe: Preparing [2023-05-10T23:10:26.549Z] f1417ff83b31: Preparing [2023-05-10T23:10:26.549Z] 9414cb1c9338: Layer already exists [2023-05-10T23:10:26.549Z] f1417ff83b31: Layer already exists [2023-05-10T23:10:26.549Z] eb0103cce0fe: Layer already exists [2023-05-10T23:10:26.549Z] 0f6e12c9a8a2: Layer already exists [2023-05-10T23:10:26.549Z] 236c10dee056: Layer already exists [2023-05-10T23:10:26.549Z] c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:26.858Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:27.157Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-05-10T23:10:27.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-10T23:10:27.157Z] 236c10dee056: Preparing [2023-05-10T23:10:27.157Z] 9414cb1c9338: Preparing [2023-05-10T23:10:27.157Z] 0f6e12c9a8a2: Preparing [2023-05-10T23:10:27.157Z] eb0103cce0fe: Preparing [2023-05-10T23:10:27.157Z] f1417ff83b31: Preparing [2023-05-10T23:10:27.157Z] eb0103cce0fe: Layer already exists [2023-05-10T23:10:27.157Z] 9414cb1c9338: Layer already exists [2023-05-10T23:10:27.157Z] f1417ff83b31: Layer already exists [2023-05-10T23:10:27.157Z] 0f6e12c9a8a2: Layer already exists [2023-05-10T23:10:27.157Z] 236c10dee056: Layer already exists [2023-05-10T23:10:27.157Z] main: digest: sha256:d7ba49c44e8a7d844c9a55ad272274ebfc95704e8f4bb584bf033c7fa80cef69 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:10:27.198Z] ===================================================== [Pipeline] echo [2023-05-10T23:10:27.204Z] taggedImages: [2023-05-10T23:10:27.204Z] - nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:10:27.204Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-10T23:10:27.204Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.40 [2023-05-10T23:10:27.204Z] - nexus3.edgexfoundry.org:10004/device-rest:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:10:27.204Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:27.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:10:27.558Z] [2023-05-10T23:10:27.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:10:27.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:10:27.853Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T23:10:27.853Z] 5eb5b503b376: Pulling fs layer [2023-05-10T23:10:27.853Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T23:10:27.853Z] ec43610c2a17: Pulling fs layer [2023-05-10T23:10:27.853Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T23:10:27.853Z] 33b1e0a273af: Pulling fs layer [2023-05-10T23:10:27.853Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T23:10:27.853Z] 2f39f015ded8: Pulling fs layer [2023-05-10T23:10:27.853Z] 33b1e0a273af: Waiting [2023-05-10T23:10:27.853Z] 5d3b04190fa2: Waiting [2023-05-10T23:10:27.853Z] 2f39f015ded8: Waiting [2023-05-10T23:10:27.853Z] 3a2ae6a8a46f: Waiting [2023-05-10T23:10:27.853Z] 5c69ac0246d0: Verifying Checksum [2023-05-10T23:10:27.853Z] 5c69ac0246d0: Download complete [2023-05-10T23:10:27.853Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T23:10:27.853Z] 3a2ae6a8a46f: Download complete [2023-05-10T23:10:27.853Z] 33b1e0a273af: Verifying Checksum [2023-05-10T23:10:27.853Z] 33b1e0a273af: Download complete [2023-05-10T23:10:27.853Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T23:10:27.853Z] 5d3b04190fa2: Download complete [2023-05-10T23:10:28.120Z] ec43610c2a17: Verifying Checksum [2023-05-10T23:10:28.120Z] ec43610c2a17: Download complete [2023-05-10T23:10:28.120Z] 5eb5b503b376: Verifying Checksum [2023-05-10T23:10:28.120Z] 5eb5b503b376: Download complete [2023-05-10T23:10:28.686Z] 2f39f015ded8: Verifying Checksum [2023-05-10T23:10:28.686Z] 2f39f015ded8: Download complete [2023-05-10T23:10:29.252Z] 5eb5b503b376: Pull complete [2023-05-10T23:10:29.510Z] 5c69ac0246d0: Pull complete [2023-05-10T23:10:29.768Z] ec43610c2a17: Pull complete [2023-05-10T23:10:29.768Z] 3a2ae6a8a46f: Pull complete [2023-05-10T23:10:30.026Z] 33b1e0a273af: Pull complete [2023-05-10T23:10:30.026Z] 5d3b04190fa2: Pull complete [2023-05-10T23:10:34.212Z] 2f39f015ded8: Pull complete [2023-05-10T23:10:34.212Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T23:10:34.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:10:34.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:10:34.295Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:10:34.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T23:10:36.413Z] $ docker top 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:10:36.803Z] ---> job-cost.sh [2023-05-10T23:10:36.803Z] lf-activate-venv: SKIPPING [2023-05-10T23:10:36.803Z] INFO: No Stack... [2023-05-10T23:10:37.370Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:10:37.630Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:10:37.921Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-05-10T23:10:37.921Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:10:37.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [2023-05-10T23:10:37.938Z] Resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] did not exist. Created. [2023-05-10T23:10:37.939Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:10:38.235Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T23:10:38.262Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:10:38.268Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:10:38.300Z] $ docker stop --time=1 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad [2023-05-10T23:10:39.453Z] $ docker rm -f --volumes 5ddafd8431b3bc1af4bc93266e4f344e2da94a360cab3a8261697a50e7f8f7ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T23:13:14.175Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15115 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-05-10T23:13:14.187Z] Running in /w/workspace/device-rest-go/112 [Pipeline] { [Pipeline] checkout [2023-05-10T23:13:14.230Z] The recommended git tool is: git [2023-05-10T23:13:21.104Z] using credential edgex-jenkins-ssh [2023-05-10T23:13:21.122Z] Cloning the remote Git repository [2023-05-10T23:13:21.183Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T23:13:21.302Z] > git init /w/workspace/device-rest-go/112 # timeout=10 [2023-05-10T23:13:21.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T23:13:21.491Z] > git --version # timeout=10 [2023-05-10T23:13:21.514Z] > git --version # 'git version 2.25.1' [2023-05-10T23:13:21.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T23:13:21.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:13:23.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-10T23:13:23.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:13:24.799Z] Avoid second fetch [2023-05-10T23:13:24.800Z] Checking out Revision c2b4310d658eb26855889a332446806987507426 (main) [2023-05-10T23:13:25.435Z] Commit message: "docs: Add main branch Warning (#316)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:13:24.819Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T23:13:24.910Z] > git checkout -f c2b4310d658eb26855889a332446806987507426 # timeout=10 [2023-05-10T23:13:26.299Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T23:13:26.299Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:13:26.299Z] Dload Upload Total Spent Left Speed [2023-05-10T23:13:26.299Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh [2023-05-10T23:13:26.925Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T23:13:27.259Z] + sudo tee /etc/docker/daemon.new [2023-05-10T23:13:27.259Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T23:13:27.259Z] { [2023-05-10T23:13:27.259Z] "registry-mirrors": [ [2023-05-10T23:13:27.259Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T23:13:27.259Z] ], [2023-05-10T23:13:27.259Z] "bip": "10.250.0.254/24", [2023-05-10T23:13:27.259Z] "hosts": [ [2023-05-10T23:13:27.259Z] "tcp://0.0.0.0:5555", [2023-05-10T23:13:27.259Z] "unix:///var/run/docker.sock" [2023-05-10T23:13:27.259Z] ], [2023-05-10T23:13:27.259Z] "mtu": 1458, [2023-05-10T23:13:27.259Z] "selinux-enabled": true, [2023-05-10T23:13:27.259Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T23:13:27.259Z] } [Pipeline] sh [2023-05-10T23:13:27.590Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T23:13:27.933Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:13:46.230Z] provisioning config files... [2023-05-10T23:13:46.269Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/112@tmp/config13656162791807234857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:13:46.649Z] ---> docker-login.sh [2023-05-10T23:13:46.649Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:13:47.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:47.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:47.248Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:47.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:47.248Z] [2023-05-10T23:13:47.248Z] Login Succeeded [2023-05-10T23:13:47.248Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:13:47.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:47.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:47.797Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:47.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:47.797Z] [2023-05-10T23:13:47.797Z] Login Succeeded [2023-05-10T23:13:47.797Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:13:48.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:48.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:48.071Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:48.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:48.071Z] [2023-05-10T23:13:48.071Z] Login Succeeded [2023-05-10T23:13:48.071Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:13:48.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:48.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:48.627Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:48.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:48.627Z] [2023-05-10T23:13:48.627Z] Login Succeeded [2023-05-10T23:13:48.627Z] docker.io [2023-05-10T23:13:48.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:49.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:49.168Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:49.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:49.168Z] [2023-05-10T23:13:49.168Z] Login Succeeded [2023-05-10T23:13:49.168Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:13:49.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T23:13:49.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:13:49.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:13:49.534Z] ========================================================= [2023-05-10T23:13:49.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T23:13:49.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:13:50.076Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T23:13:50.076Z] Sending build context to Docker daemon 139.3kB [2023-05-10T23:13:51.526Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:13:51.526Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T23:13:51.526Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T23:13:51.526Z] c41833b44d91: Pulling fs layer [2023-05-10T23:13:51.526Z] ed15518f5707: Pulling fs layer [2023-05-10T23:13:51.526Z] feae8fd75edb: Pulling fs layer [2023-05-10T23:13:51.526Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T23:13:51.526Z] 3cdef696dda3: Pulling fs layer [2023-05-10T23:13:51.526Z] 2ced38df9373: Pulling fs layer [2023-05-10T23:13:51.526Z] 58f1dce35555: Pulling fs layer [2023-05-10T23:13:51.526Z] 242c74f7c9fa: Waiting [2023-05-10T23:13:51.526Z] 3cdef696dda3: Waiting [2023-05-10T23:13:51.526Z] 2ced38df9373: Waiting [2023-05-10T23:13:51.526Z] 58f1dce35555: Waiting [2023-05-10T23:13:51.526Z] ed15518f5707: Verifying Checksum [2023-05-10T23:13:51.526Z] ed15518f5707: Download complete [2023-05-10T23:13:51.526Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T23:13:51.526Z] 242c74f7c9fa: Download complete [2023-05-10T23:13:51.526Z] 3cdef696dda3: Verifying Checksum [2023-05-10T23:13:51.526Z] 3cdef696dda3: Download complete [2023-05-10T23:13:51.526Z] c41833b44d91: Verifying Checksum [2023-05-10T23:13:51.526Z] c41833b44d91: Download complete [2023-05-10T23:13:52.977Z] c41833b44d91: Pull complete [2023-05-10T23:13:53.256Z] 58f1dce35555: Verifying Checksum [2023-05-10T23:13:53.256Z] 58f1dce35555: Download complete [2023-05-10T23:13:53.853Z] ed15518f5707: Pull complete [2023-05-10T23:13:54.453Z] feae8fd75edb: Verifying Checksum [2023-05-10T23:13:54.453Z] feae8fd75edb: Download complete [2023-05-10T23:13:54.724Z] 2ced38df9373: Verifying Checksum [2023-05-10T23:13:54.724Z] 2ced38df9373: Download complete [2023-05-10T23:14:04.832Z] feae8fd75edb: Pull complete [2023-05-10T23:14:05.109Z] 242c74f7c9fa: Pull complete [2023-05-10T23:14:05.379Z] 3cdef696dda3: Pull complete [2023-05-10T23:14:12.192Z] 2ced38df9373: Pull complete [2023-05-10T23:14:14.164Z] 58f1dce35555: Pull complete [2023-05-10T23:14:14.164Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T23:14:14.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T23:14:14.164Z] ---> fadd8f120f05 [2023-05-10T23:14:14.164Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:14:16.799Z] ---> Running in f37b37cda936 [2023-05-10T23:14:16.799Z] Removing intermediate container f37b37cda936 [2023-05-10T23:14:16.799Z] ---> 0083a234675a [2023-05-10T23:14:16.799Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:14:16.799Z] ---> Running in 4cf3d1b9ec5b [2023-05-10T23:14:17.072Z] Removing intermediate container 4cf3d1b9ec5b [2023-05-10T23:14:17.072Z] ---> 0203d0608060 [2023-05-10T23:14:17.072Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:14:17.344Z] ---> Running in 11bf57d5810b [2023-05-10T23:14:17.615Z] Removing intermediate container 11bf57d5810b [2023-05-10T23:14:17.615Z] ---> 6e3acb6d401e [2023-05-10T23:14:17.615Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:14:17.615Z] ---> Running in c23a078fa49e [2023-05-10T23:14:18.214Z] Removing intermediate container c23a078fa49e [2023-05-10T23:14:18.214Z] ---> dbcd900b5de1 [2023-05-10T23:14:18.214Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:14:18.214Z] ---> Running in 25e226cf11ff [2023-05-10T23:14:19.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:14:19.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:14:21.332Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T23:14:21.332Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T23:14:21.332Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T23:14:21.332Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T23:14:21.332Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:14:21.332Z] OK: 268 MiB in 57 packages [2023-05-10T23:14:22.304Z] Removing intermediate container 25e226cf11ff [2023-05-10T23:14:22.304Z] ---> e4698a51c994 [2023-05-10T23:14:22.304Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T23:14:22.304Z] ---> Running in b3d53eec7d0c [2023-05-10T23:14:22.899Z] Removing intermediate container b3d53eec7d0c [2023-05-10T23:14:22.899Z] ---> e8d5c9ad0542 [2023-05-10T23:14:22.899Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T23:14:23.174Z] ---> 8ffcd95c9fde [2023-05-10T23:14:23.174Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:14:23.445Z] ---> Running in f53b9e90fb01 [2023-05-10T23:15:31.375Z] Removing intermediate container f53b9e90fb01 [2023-05-10T23:15:31.375Z] ---> b972424e4273 [2023-05-10T23:15:31.375Z] Step 11/12 : COPY . . [2023-05-10T23:15:31.375Z] ---> ccbbd91df1cb [2023-05-10T23:15:31.375Z] Step 12/12 : RUN $MAKE [2023-05-10T23:15:31.375Z] ---> Running in 1c344606859a [2023-05-10T23:15:31.375Z] noop [2023-05-10T23:15:31.375Z] Removing intermediate container 1c344606859a [2023-05-10T23:15:31.375Z] ---> bab371198957 [2023-05-10T23:15:31.375Z] Successfully built bab371198957 [2023-05-10T23:15:31.375Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:31.735Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:15:31.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:15:31.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container [2023-05-10T23:15:32.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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-05-10T23:15:33.370Z] $ docker top 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:15:34.264Z] + go version [2023-05-10T23:15:34.264Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T23:15:34.286Z] $ docker stop --time=1 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa [2023-05-10T23:15:36.026Z] $ docker rm -f --volumes 40f23e69131f15b582dd26f780ed3b1b13e65c08507d0c1933b5b8c43ebe96aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:36.615Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:15:36.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:15:36.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container [2023-05-10T23:15:36.922Z] $ 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/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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-05-10T23:15:38.264Z] $ docker top 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:15:39.122Z] + git config --global --add safe.directory /w/workspace/device-rest-go/112 [Pipeline] fileExists [Pipeline] sh [2023-05-10T23:15:39.778Z] + make test [2023-05-10T23:15:39.778Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T23:16:18.675Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T23:18:40.421Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T23:18:43.795Z] ok github.com/edgexfoundry/device-rest-go/driver 0.122s coverage: 32.2% of statements [2023-05-10T23:18:44.391Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T23:18:44.391Z] go vet ./... [2023-05-10T23:19:16.660Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:19:16.660Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:19:16.660Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:19:16.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:19:16.962Z] $ docker stop --time=1 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 [2023-05-10T23:19:18.863Z] $ docker rm -f --volumes 638a0eb85270dfb7e7b9f5fa0fb43dcbca19015cee3038056889ae2a9e8a9f53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:19:20.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:19:20.147Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T23:19:20.663Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:19:21.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:19:21.356Z] + ls -al . [2023-05-10T23:19:21.356Z] total 180 [2023-05-10T23:19:21.356Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:15 . [2023-05-10T23:19:21.356Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 .. [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 23:13 .dockerignore [2023-05-10T23:19:21.356Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:13 .git [2023-05-10T23:19:21.356Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 .github [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 23:13 .gitignore [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:13 .golangci.yml [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 23:13 Attribution.txt [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 23:13 CHANGELOG.md [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 23:13 Dockerfile [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:13 GOVERNANCE.md [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:13 Jenkinsfile [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:13 LICENSE [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 23:13 Makefile [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 23:13 OWNERS.md [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 10 23:13 README.md [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:08 VERSION [2023-05-10T23:19:21.356Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 bin [2023-05-10T23:19:21.356Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 cmd [2023-05-10T23:19:21.356Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 23:18 coverage.out [2023-05-10T23:19:21.356Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 driver [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 23:13 go.mod [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 23:13 go.sum [2023-05-10T23:19:21.356Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 snap [2023-05-10T23:19:21.356Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:19:21.697Z] + 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=c2b4310d658eb26855889a332446806987507426 --label arch=arm64 --label version=3.0.0-dev.40 . [2023-05-10T23:19:21.697Z] Sending build context to Docker daemon 154.6kB [2023-05-10T23:19:21.966Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:19:21.966Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T23:19:21.966Z] ---> bab371198957 [2023-05-10T23:19:21.966Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:19:22.947Z] ---> Running in bf6e39cb2247 [2023-05-10T23:19:23.218Z] Removing intermediate container bf6e39cb2247 [2023-05-10T23:19:23.218Z] ---> 39775293ce22 [2023-05-10T23:19:23.218Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:19:23.218Z] ---> Running in 8dd69175fcce [2023-05-10T23:19:23.488Z] Removing intermediate container 8dd69175fcce [2023-05-10T23:19:23.488Z] ---> d05fe1db3d73 [2023-05-10T23:19:23.488Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T23:19:23.761Z] ---> Running in dbe88beaccb5 [2023-05-10T23:19:24.030Z] Removing intermediate container dbe88beaccb5 [2023-05-10T23:19:24.030Z] ---> af349a8d9c10 [2023-05-10T23:19:24.030Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T23:19:24.030Z] ---> Running in c26eb5cf81ea [2023-05-10T23:19:24.300Z] Removing intermediate container c26eb5cf81ea [2023-05-10T23:19:24.300Z] ---> 5d9ba40b0a26 [2023-05-10T23:19:24.300Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T23:19:24.300Z] ---> Running in 9ddc45f6e5ee [2023-05-10T23:19:25.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:19:26.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:19:27.721Z] OK: 268 MiB in 57 packages [2023-05-10T23:19:28.689Z] Removing intermediate container 9ddc45f6e5ee [2023-05-10T23:19:28.689Z] ---> 26cee99bb3d7 [2023-05-10T23:19:28.689Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T23:19:28.689Z] ---> Running in 96d38e0897c5 [2023-05-10T23:19:28.960Z] Removing intermediate container 96d38e0897c5 [2023-05-10T23:19:28.960Z] ---> c44cd7419dce [2023-05-10T23:19:28.960Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T23:19:29.557Z] ---> ad590f305688 [2023-05-10T23:19:29.557Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:19:29.557Z] ---> Running in 2e2d68d8f147 [2023-05-10T23:19:32.919Z] Removing intermediate container 2e2d68d8f147 [2023-05-10T23:19:32.919Z] ---> 950dd1182c59 [2023-05-10T23:19:32.919Z] Step 11/25 : COPY . . [2023-05-10T23:19:32.919Z] ---> a7fb81d40b8a [2023-05-10T23:19:32.919Z] Step 12/25 : RUN $MAKE [2023-05-10T23:19:33.195Z] ---> Running in 67d343c55efb [2023-05-10T23:19:34.611Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-10T23:21:56.391Z] Removing intermediate container 67d343c55efb [2023-05-10T23:21:56.391Z] ---> c7c886f3d6c4 [2023-05-10T23:21:56.391Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T23:21:56.660Z] 3.17: Pulling from library/alpine [2023-05-10T23:21:56.660Z] c41833b44d91: Already exists [2023-05-10T23:21:56.927Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:21:56.928Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:21:56.928Z] ---> 51e60588ff2c [2023-05-10T23:21:56.928Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T23:21:56.928Z] ---> Running in 7854ad31a489 [2023-05-10T23:21:57.204Z] Removing intermediate container 7854ad31a489 [2023-05-10T23:21:57.204Z] ---> f9e9e395c0a3 [2023-05-10T23:21:57.204Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T23:21:57.472Z] ---> Running in 29ff57c144c9 [2023-05-10T23:21:57.743Z] Removing intermediate container 29ff57c144c9 [2023-05-10T23:21:57.743Z] ---> dc0e081b7dfc [2023-05-10T23:21:57.743Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:21:57.743Z] ---> Running in ddf03ff56953 [2023-05-10T23:21:58.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:21:59.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:22:00.634Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:22:00.634Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:22:00.903Z] OK: 8 MiB in 16 packages [2023-05-10T23:22:01.874Z] Removing intermediate container ddf03ff56953 [2023-05-10T23:22:01.875Z] ---> 4e949e4542a5 [2023-05-10T23:22:01.875Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T23:22:04.468Z] ---> b8a71e98dab2 [2023-05-10T23:22:04.468Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T23:22:04.468Z] ---> 1e7ed2653cad [2023-05-10T23:22:04.468Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T23:22:05.051Z] ---> 84a7366891cb [2023-05-10T23:22:05.051Z] Step 20/25 : EXPOSE 59986 [2023-05-10T23:22:05.051Z] ---> Running in 114cfb5588f9 [2023-05-10T23:22:05.318Z] Removing intermediate container 114cfb5588f9 [2023-05-10T23:22:05.318Z] ---> f13eefaebfb6 [2023-05-10T23:22:05.318Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T23:22:05.586Z] ---> Running in 4cec5cb4baf1 [2023-05-10T23:22:05.855Z] Removing intermediate container 4cec5cb4baf1 [2023-05-10T23:22:05.855Z] ---> ab62b28752f8 [2023-05-10T23:22:05.855Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T23:22:05.855Z] ---> Running in c4af611179b7 [2023-05-10T23:22:06.126Z] Removing intermediate container c4af611179b7 [2023-05-10T23:22:06.126Z] ---> 00efd9736648 [2023-05-10T23:22:06.126Z] Step 23/25 : LABEL arch=arm64 [2023-05-10T23:22:06.126Z] ---> Running in a39d8e78082d [2023-05-10T23:22:06.453Z] Removing intermediate container a39d8e78082d [2023-05-10T23:22:06.453Z] ---> 19d86ff927c2 [2023-05-10T23:22:06.453Z] Step 24/25 : LABEL git_sha=c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:22:06.453Z] ---> Running in 48721d288660 [2023-05-10T23:22:06.728Z] Removing intermediate container 48721d288660 [2023-05-10T23:22:06.728Z] ---> 5f725f2cc36d [2023-05-10T23:22:06.728Z] Step 25/25 : LABEL version=3.0.0-dev.40 [2023-05-10T23:22:07.010Z] ---> Running in 2987070ddb9a [2023-05-10T23:22:07.279Z] Removing intermediate container 2987070ddb9a [2023-05-10T23:22:07.279Z] ---> c0aa556d2ae8 [2023-05-10T23:22:07.279Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:22:07.279Z] Successfully built c0aa556d2ae8 [2023-05-10T23:22:07.279Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:22:07.372Z] provisioning config files... [2023-05-10T23:22:07.390Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/112@tmp/config4393015957040008207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:07.766Z] ---> docker-login.sh [2023-05-10T23:22:07.766Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:22:07.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:08.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:08.036Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:08.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:08.036Z] [2023-05-10T23:22:08.036Z] Login Succeeded [2023-05-10T23:22:08.036Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:22:08.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:08.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:08.305Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:08.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:08.305Z] [2023-05-10T23:22:08.305Z] Login Succeeded [2023-05-10T23:22:08.305Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:22:08.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:08.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:08.843Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:08.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:08.843Z] [2023-05-10T23:22:08.843Z] Login Succeeded [2023-05-10T23:22:08.843Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:22:09.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:09.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:09.108Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:09.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:09.108Z] [2023-05-10T23:22:09.108Z] Login Succeeded [2023-05-10T23:22:09.108Z] docker.io [2023-05-10T23:22:09.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:09.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:09.640Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:09.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:09.640Z] [2023-05-10T23:22:09.640Z] Login Succeeded [2023-05-10T23:22:09.640Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:22:09.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:22:09.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:22:09.711Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-05-10T23:22:09.711Z] c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:22:09.711Z] latest [2023-05-10T23:22:09.711Z] 3.0.0-dev.40 [2023-05-10T23:22:09.711Z] c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:22:09.711Z] main [2023-05-10T23:22:09.711Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:10.054Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:10.402Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:22:10.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-10T23:22:10.402Z] c1fa47c4ea2c: Preparing [2023-05-10T23:22:10.402Z] 9cd2ee614d2a: Preparing [2023-05-10T23:22:10.402Z] cb8919f4207a: Preparing [2023-05-10T23:22:10.402Z] 0b15bf8f20c7: Preparing [2023-05-10T23:22:10.402Z] 26cbea5cba74: Preparing [2023-05-10T23:22:10.402Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:10.669Z] c1fa47c4ea2c: Pushed [2023-05-10T23:22:10.669Z] 9cd2ee614d2a: Pushed [2023-05-10T23:22:10.669Z] 0b15bf8f20c7: Pushed [2023-05-10T23:22:16.009Z] cb8919f4207a: Pushed [2023-05-10T23:22:16.009Z] c2b4310d658eb26855889a332446806987507426: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:16.367Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:16.709Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-10T23:22:16.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-10T23:22:16.710Z] c1fa47c4ea2c: Preparing [2023-05-10T23:22:16.710Z] 9cd2ee614d2a: Preparing [2023-05-10T23:22:16.710Z] cb8919f4207a: Preparing [2023-05-10T23:22:16.710Z] 0b15bf8f20c7: Preparing [2023-05-10T23:22:16.710Z] 26cbea5cba74: Preparing [2023-05-10T23:22:16.710Z] cb8919f4207a: Layer already exists [2023-05-10T23:22:16.710Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:16.710Z] 9cd2ee614d2a: Layer already exists [2023-05-10T23:22:16.710Z] c1fa47c4ea2c: Layer already exists [2023-05-10T23:22:16.710Z] 0b15bf8f20c7: Layer already exists [2023-05-10T23:22:16.710Z] latest: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:17.067Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:17.418Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 [2023-05-10T23:22:17.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-10T23:22:17.418Z] c1fa47c4ea2c: Preparing [2023-05-10T23:22:17.418Z] 9cd2ee614d2a: Preparing [2023-05-10T23:22:17.419Z] cb8919f4207a: Preparing [2023-05-10T23:22:17.419Z] 0b15bf8f20c7: Preparing [2023-05-10T23:22:17.419Z] 26cbea5cba74: Preparing [2023-05-10T23:22:17.419Z] cb8919f4207a: Layer already exists [2023-05-10T23:22:17.419Z] 9cd2ee614d2a: Layer already exists [2023-05-10T23:22:17.419Z] 0b15bf8f20c7: Layer already exists [2023-05-10T23:22:17.419Z] c1fa47c4ea2c: Layer already exists [2023-05-10T23:22:17.419Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:17.419Z] 3.0.0-dev.40: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:17.772Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:18.121Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:22:18.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-10T23:22:18.122Z] c1fa47c4ea2c: Preparing [2023-05-10T23:22:18.122Z] 9cd2ee614d2a: Preparing [2023-05-10T23:22:18.122Z] cb8919f4207a: Preparing [2023-05-10T23:22:18.122Z] 0b15bf8f20c7: Preparing [2023-05-10T23:22:18.122Z] 26cbea5cba74: Preparing [2023-05-10T23:22:18.122Z] cb8919f4207a: Layer already exists [2023-05-10T23:22:18.122Z] 9cd2ee614d2a: Layer already exists [2023-05-10T23:22:18.122Z] c1fa47c4ea2c: Layer already exists [2023-05-10T23:22:18.122Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:18.122Z] 0b15bf8f20c7: Layer already exists [2023-05-10T23:22:18.449Z] c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:18.799Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:19.132Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-05-10T23:22:19.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-10T23:22:19.132Z] c1fa47c4ea2c: Preparing [2023-05-10T23:22:19.132Z] 9cd2ee614d2a: Preparing [2023-05-10T23:22:19.132Z] cb8919f4207a: Preparing [2023-05-10T23:22:19.132Z] 0b15bf8f20c7: Preparing [2023-05-10T23:22:19.132Z] 26cbea5cba74: Preparing [2023-05-10T23:22:19.132Z] 9cd2ee614d2a: Layer already exists [2023-05-10T23:22:19.132Z] cb8919f4207a: Layer already exists [2023-05-10T23:22:19.132Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:19.132Z] 0b15bf8f20c7: Layer already exists [2023-05-10T23:22:19.132Z] c1fa47c4ea2c: Layer already exists [2023-05-10T23:22:19.132Z] main: digest: sha256:bf4970bf821b2c1f9b5e8f085fef947224e6178308f7d670f6348f31fb349918 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:22:19.440Z] ===================================================== [Pipeline] echo [2023-05-10T23:22:19.447Z] taggedImages: [2023-05-10T23:22:19.447Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426 [2023-05-10T23:22:19.447Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-10T23:22:19.447Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.40 [2023-05-10T23:22:19.447Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b4310d658eb26855889a332446806987507426-3.0.0-dev.40 [2023-05-10T23:22:19.447Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:19.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:19.811Z] [2023-05-10T23:22:19.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:20.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:20.143Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T23:22:20.143Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T23:22:20.143Z] 04944245beec: Pulling fs layer [2023-05-10T23:22:20.143Z] 699f458cf7ca: Pulling fs layer [2023-05-10T23:22:20.143Z] 765212b225bb: Pulling fs layer [2023-05-10T23:22:20.143Z] f23df028b6ca: Pulling fs layer [2023-05-10T23:22:20.143Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T23:22:20.143Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T23:22:20.143Z] 765212b225bb: Waiting [2023-05-10T23:22:20.143Z] f23df028b6ca: Waiting [2023-05-10T23:22:20.143Z] d65c8cfc05b1: Waiting [2023-05-10T23:22:20.143Z] 2437ff75d9bd: Waiting [2023-05-10T23:22:20.412Z] 04944245beec: Verifying Checksum [2023-05-10T23:22:20.412Z] 04944245beec: Download complete [2023-05-10T23:22:20.412Z] 765212b225bb: Download complete [2023-05-10T23:22:20.412Z] f23df028b6ca: Verifying Checksum [2023-05-10T23:22:20.412Z] f23df028b6ca: Download complete [2023-05-10T23:22:20.412Z] d65c8cfc05b1: Download complete [2023-05-10T23:22:20.412Z] 699f458cf7ca: Verifying Checksum [2023-05-10T23:22:20.412Z] 699f458cf7ca: Download complete [2023-05-10T23:22:21.004Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T23:22:21.004Z] 8998bd30e6a1: Download complete [2023-05-10T23:22:22.946Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T23:22:22.946Z] 2437ff75d9bd: Download complete [2023-05-10T23:22:24.366Z] 8998bd30e6a1: Pull complete [2023-05-10T23:22:24.949Z] 04944245beec: Pull complete [2023-05-10T23:22:26.357Z] 699f458cf7ca: Pull complete [2023-05-10T23:22:26.357Z] 765212b225bb: Pull complete [2023-05-10T23:22:26.941Z] f23df028b6ca: Pull complete [2023-05-10T23:22:27.208Z] d65c8cfc05b1: Pull complete [2023-05-10T23:22:42.196Z] 2437ff75d9bd: Pull complete [2023-05-10T23:22:42.196Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T23:22:42.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:42.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:22:42.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-15115 does not seem to be running inside a container [2023-05-10T23:22:42.481Z] $ 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/112 -v /w/workspace/device-rest-go/112:/w/workspace/device-rest-go/112:rw,z -v /w/workspace/device-rest-go/112@tmp:/w/workspace/device-rest-go/112@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-05-10T23:22:45.158Z] $ docker top 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:46.003Z] ---> job-cost.sh [2023-05-10T23:22:46.003Z] lf-activate-venv: SKIPPING [2023-05-10T23:22:46.003Z] INFO: No Stack... [2023-05-10T23:22:46.585Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T23:22:47.546Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:22:48.185Z] + cat /w/workspace/device-rest-go/112/archives/cost.csv [2023-05-10T23:22:48.185Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:22:48.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [2023-05-10T23:22:48.264Z] Resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] did not exist. Created. [2023-05-10T23:22:48.264Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:22:48.924Z] /w/workspace/device-rest-go/112@tmp/durable-120a6066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T23:22:49.570Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T23:22:49.592Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T23:22:49.638Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:22:49.648Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:22:49.673Z] $ docker stop --time=1 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd [2023-05-10T23:22:51.258Z] $ docker rm -f --volumes 1a6c7a8108d4125378fecaf5f4fe99a0165a5490e989620ff64f7a6791678dfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-10T23:22:51.646Z] provisioning config files... [2023-05-10T23:22:51.656Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6365285541335390754tmp [Pipeline] { [Pipeline] sh [2023-05-10T23:22:51.957Z] + set +x [2023-05-10T23:22:51.957Z] + curl -s https://codecov.io/bash [2023-05-10T23:22:51.957Z] + bash -s -- [2023-05-10T23:22:51.957Z] [2023-05-10T23:22:51.957Z] _____ _ [2023-05-10T23:22:51.957Z] / ____| | | [2023-05-10T23:22:51.957Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T23:22:51.957Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T23:22:51.957Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T23:22:51.957Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T23:22:51.957Z] Bash-1.0.6 [2023-05-10T23:22:51.957Z] [2023-05-10T23:22:51.957Z] [2023-05-10T23:22:51.957Z] ==> git version 2.25.1 found [2023-05-10T23:22:51.957Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-10T23:22:51.957Z] Release-Date: 2020-01-08 [2023-05-10T23:22:51.957Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-10T23:22:51.957Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T23:22:51.957Z] ==> Jenkins CI detected. [2023-05-10T23:22:51.957Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-05-10T23:22:51.957Z] project root: . [2023-05-10T23:22:51.957Z] --> token set from env [2023-05-10T23:22:51.957Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T23:22:51.957Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T23:22:51.957Z] ==> Python coveragepy not found [2023-05-10T23:22:51.957Z] ==> Searching for coverage reports in: [2023-05-10T23:22:51.957Z] + . [2023-05-10T23:22:51.957Z] -> Found 1 reports [2023-05-10T23:22:51.957Z] ==> Detecting git/mercurial file structure [2023-05-10T23:22:51.957Z] ==> Reading reports [2023-05-10T23:22:51.957Z] + ./coverage.out bytes=14663 [2023-05-10T23:22:51.957Z] ==> Appending adjustments [2023-05-10T23:22:51.957Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T23:22:52.217Z] + Found adjustments [2023-05-10T23:22:52.217Z] ==> Gzipping contents [2023-05-10T23:22:52.217Z] 4.0K /tmp/codecov.vNrfg7.gz [2023-05-10T23:22:52.217Z] ==> Uploading reports [2023-05-10T23:22:52.217Z] url: https://codecov.io [2023-05-10T23:22:52.218Z] query: branch=main&commit=c2b4310d658eb26855889a332446806987507426&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:22:52.218Z] -> Pinging Codecov [2023-05-10T23:22:52.218Z] 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=c2b4310d658eb26855889a332446806987507426&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:22:52.218Z] -> Uploading to [2023-05-10T23:22:52.218Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/c2b4310d658eb26855889a332446806987507426/4c2a991f-f43e-4cba-8c50-3471ec2c3604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T232252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65b992b75baee335f1c4c291528f1bda17881600d48df8892fc36a003b06992c [2023-05-10T23:22:52.218Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:22:52.218Z] Dload Upload Total Spent Left Speed [2023-05-10T23:22:52.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11306 --:--:-- --:--:-- --:--:-- 11306 [2023-05-10T23:22:52.476Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c2b4310d658eb26855889a332446806987507426 [Pipeline] } [2023-05-10T23:22:52.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T23:22:52.606Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T23:22:52.620Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:52.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:22:52.917Z] [2023-05-10T23:22:52.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:53.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:22:53.232Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T23:22:53.232Z] df9b9388f04a: Pulling fs layer [2023-05-10T23:22:53.232Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T23:22:53.232Z] 25bc292e5bac: Pulling fs layer [2023-05-10T23:22:53.232Z] 114826534d7a: Pulling fs layer [2023-05-10T23:22:53.232Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T23:22:53.232Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T23:22:53.232Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T23:22:53.232Z] 114826534d7a: Waiting [2023-05-10T23:22:53.232Z] 4657fd5d0bcf: Waiting [2023-05-10T23:22:53.232Z] 6ad1cebc031e: Waiting [2023-05-10T23:22:53.232Z] 8a3aa393b2d8: Waiting [2023-05-10T23:22:53.232Z] 25bc292e5bac: Verifying Checksum [2023-05-10T23:22:53.232Z] 25bc292e5bac: Download complete [2023-05-10T23:22:53.232Z] 52dc419b0ee2: Verifying Checksum [2023-05-10T23:22:53.232Z] 52dc419b0ee2: Download complete [2023-05-10T23:22:53.232Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T23:22:53.232Z] 4657fd5d0bcf: Download complete [2023-05-10T23:22:53.232Z] df9b9388f04a: Download complete [2023-05-10T23:22:53.503Z] 6ad1cebc031e: Verifying Checksum [2023-05-10T23:22:53.503Z] 6ad1cebc031e: Download complete [2023-05-10T23:22:53.503Z] df9b9388f04a: Pull complete [2023-05-10T23:22:53.764Z] 52dc419b0ee2: Pull complete [2023-05-10T23:22:53.764Z] 25bc292e5bac: Pull complete [2023-05-10T23:22:54.331Z] 114826534d7a: Verifying Checksum [2023-05-10T23:22:54.331Z] 114826534d7a: Download complete [2023-05-10T23:22:54.331Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T23:22:54.331Z] 8a3aa393b2d8: Download complete [2023-05-10T23:22:57.621Z] 114826534d7a: Pull complete [2023-05-10T23:22:57.621Z] 4657fd5d0bcf: Pull complete [2023-05-10T23:22:58.189Z] 6ad1cebc031e: Pull complete [2023-05-10T23:23:00.721Z] 8a3aa393b2d8: Pull complete [2023-05-10T23:23:00.721Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T23:23:00.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:23:00.721Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:00.795Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:00.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-10T23:23:03.947Z] $ docker top 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T23:23:03.997Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-05-10T23:23:04.278Z] + set -o pipefail [2023-05-10T23:23:04.278Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/e1d52001-ea89-45bb-b120-2706299c48df [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] [2023-05-10T23:23:08.477Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T23:23:08.478Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T23:23:08.478Z] More details here: https://snyk.co/ue1NS [2023-05-10T23:23:08.478Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T23:23:08.478Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T23:23:08.508Z] $ docker stop --time=1 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 [2023-05-10T23:23:11.132Z] $ docker rm -f --volumes 6e658c256fc5631130c56659b0027cc112296b954071e625d182bcbd9187c584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:23:11.847Z] + git log --format=format:%s -1 c2b4310d658eb26855889a332446806987507426 [Pipeline] sh [2023-05-10T23:23:12.139Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:12.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:12.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:12.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:12.520Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:12.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:23:12.926Z] $ docker top 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:12.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:12.994Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:13.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:13.124Z] $ docker exec 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 ssh-agent [2023-05-10T23:23:13.198Z] SSH_AUTH_SOCK=/tmp/ssh-ZM9KWdkLmXeh/agent.31 [2023-05-10T23:23:13.198Z] SSH_AGENT_PID=36 [2023-05-10T23:23:13.202Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:13.332Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4508719899948958855.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4508719899948958855.key) [2023-05-10T23:23:13.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:13.613Z] + git semver tag [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,802 [run_tag] DEBUG tag force:False [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,802 [check_head_tag] DEBUG check head tag [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,804 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,808 [execute] INFO git cat-file --batch [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,834 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,834 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:13.871Z] 2023-05-10 23:23:13,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:13.871Z] 3.0.0-dev.40 [Pipeline] } [2023-05-10T23:23:13.902Z] $ docker exec --env ******** --env ******** 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 ssh-agent -k [2023-05-10T23:23:13.998Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:13.998Z] unset SSH_AGENT_PID; [2023-05-10T23:23:13.998Z] echo Agent pid 36 killed; [2023-05-10T23:23:13.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:14.285Z] + git semver [Pipeline] } [2023-05-10T23:23:14.581Z] $ docker stop --time=1 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 [2023-05-10T23:23:15.876Z] $ docker rm -f --volumes 8d6dad881303c3529c192497572b0bbc55a670e03c27b5eb57904f49ba5e5cc0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:16.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:16.247Z] [2023-05-10T23:23:16.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:16.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:16.556Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T23:23:16.556Z] ab5ef0e58194: Pulling fs layer [2023-05-10T23:23:16.556Z] 9712f1f96733: Pulling fs layer [2023-05-10T23:23:16.556Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T23:23:16.556Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T23:23:16.556Z] e9a5061849ea: Pulling fs layer [2023-05-10T23:23:16.556Z] 0d9ebad4ef96: Waiting [2023-05-10T23:23:16.556Z] d747dcd14b5f: Pulling fs layer [2023-05-10T23:23:16.556Z] e9a5061849ea: Waiting [2023-05-10T23:23:16.556Z] 2de7ff778b66: Pulling fs layer [2023-05-10T23:23:16.556Z] 2de7ff778b66: Waiting [2023-05-10T23:23:16.556Z] d747dcd14b5f: Waiting [2023-05-10T23:23:16.556Z] 9712f1f96733: Verifying Checksum [2023-05-10T23:23:16.556Z] 9712f1f96733: Download complete [2023-05-10T23:23:17.127Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T23:23:17.127Z] 63f879dbbcfc: Download complete [2023-05-10T23:23:17.127Z] e9a5061849ea: Verifying Checksum [2023-05-10T23:23:17.127Z] e9a5061849ea: Download complete [2023-05-10T23:23:17.127Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T23:23:17.127Z] 0d9ebad4ef96: Download complete [2023-05-10T23:23:17.127Z] d747dcd14b5f: Download complete [2023-05-10T23:23:17.127Z] ab5ef0e58194: Verifying Checksum [2023-05-10T23:23:17.127Z] ab5ef0e58194: Download complete [2023-05-10T23:23:17.127Z] 2de7ff778b66: Verifying Checksum [2023-05-10T23:23:17.127Z] 2de7ff778b66: Download complete [2023-05-10T23:23:19.666Z] ab5ef0e58194: Pull complete [2023-05-10T23:23:19.925Z] 9712f1f96733: Pull complete [2023-05-10T23:23:20.491Z] 63f879dbbcfc: Pull complete [2023-05-10T23:23:24.672Z] 0d9ebad4ef96: Pull complete [2023-05-10T23:23:24.672Z] e9a5061849ea: Pull complete [2023-05-10T23:23:24.672Z] d747dcd14b5f: Pull complete [2023-05-10T23:23:25.243Z] 2de7ff778b66: Pull complete [2023-05-10T23:23:25.243Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T23:23:25.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:25.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:25.330Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:25.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-10T23:23:28.400Z] $ docker top c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:23:28.451Z] provisioning config files... [2023-05-10T23:23:28.457Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3526425835213410487tmp [2023-05-10T23:23:28.467Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5475304130353808907tmp [2023-05-10T23:23:28.475Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12777717197136374225tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:23:28.492Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:28.772Z] ---> sigul-configuration.sh [2023-05-10T23:23:28.772Z] gpg: directory `/root/.gnupg' created [2023-05-10T23:23:28.772Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T23:23:28.772Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T23:23:28.772Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T23:23:28.772Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T23:23:28.772Z] gpg: CAST5 encrypted data [2023-05-10T23:23:28.772Z] gpg: encrypted with 1 passphrase [2023-05-10T23:23:28.772Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T23:23:29.059Z] + mkdir /home/jenkins [2023-05-10T23:23:29.059Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T23:23:29.340Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-10T23:23:29.349Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:29.632Z] ---> sigul-install.sh [2023-05-10T23:23:29.632Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T23:23:29.918Z] + git tag --list [2023-05-10T23:23:29.918Z] v1.0.0 [2023-05-10T23:23:29.918Z] v1.1.0 [2023-05-10T23:23:29.918Z] v1.1.1 [2023-05-10T23:23:29.918Z] v1.1.2 [2023-05-10T23:23:29.918Z] v1.2.0 [2023-05-10T23:23:29.918Z] v1.2.1 [2023-05-10T23:23:29.918Z] v2.0.0 [2023-05-10T23:23:29.918Z] v2.1.0 [2023-05-10T23:23:29.918Z] v2.1.1 [2023-05-10T23:23:29.918Z] v2.1.1-dev.1 [2023-05-10T23:23:29.918Z] v2.1.1-dev.2 [2023-05-10T23:23:29.918Z] v2.1.1-dev.3 [2023-05-10T23:23:29.918Z] v2.2.0 [2023-05-10T23:23:29.918Z] v2.2.1-dev.1 [2023-05-10T23:23:29.918Z] v2.2.1-dev.2 [2023-05-10T23:23:29.918Z] v2.2.1-dev.3 [2023-05-10T23:23:29.918Z] v2.2.1-dev.4 [2023-05-10T23:23:29.918Z] v2.2.1-dev.5 [2023-05-10T23:23:29.918Z] v2.2.1-dev.6 [2023-05-10T23:23:29.918Z] v2.2.1-dev.7 [2023-05-10T23:23:29.918Z] v2.2.1-dev.8 [2023-05-10T23:23:29.918Z] v2.2.1-dev.9 [2023-05-10T23:23:29.918Z] v2.3.0 [2023-05-10T23:23:29.918Z] v2.3.0-dev.10 [2023-05-10T23:23:29.918Z] v2.3.0-dev.11 [2023-05-10T23:23:29.918Z] v2.3.0-dev.12 [2023-05-10T23:23:29.918Z] v2.3.0-dev.13 [2023-05-10T23:23:29.918Z] v2.3.0-dev.14 [2023-05-10T23:23:29.918Z] v2.3.0-dev.15 [2023-05-10T23:23:29.918Z] v2.3.0-dev.16 [2023-05-10T23:23:29.918Z] v2.3.0-dev.17 [2023-05-10T23:23:29.918Z] v2.3.0-dev.18 [2023-05-10T23:23:29.918Z] v2.3.0-dev.19 [2023-05-10T23:23:29.918Z] v2.3.0-dev.20 [2023-05-10T23:23:29.918Z] v2.3.0-dev.21 [2023-05-10T23:23:29.918Z] v2.3.0-dev.22 [2023-05-10T23:23:29.918Z] v2.3.0-dev.23 [2023-05-10T23:23:29.918Z] v2.3.0-dev.24 [2023-05-10T23:23:29.918Z] v2.3.0-dev.25 [2023-05-10T23:23:29.918Z] v2.3.0-dev.9 [2023-05-10T23:23:29.918Z] v3.0.0-dev.1 [2023-05-10T23:23:29.918Z] v3.0.0-dev.10 [2023-05-10T23:23:29.918Z] v3.0.0-dev.11 [2023-05-10T23:23:29.918Z] v3.0.0-dev.12 [2023-05-10T23:23:29.918Z] v3.0.0-dev.13 [2023-05-10T23:23:29.918Z] v3.0.0-dev.14 [2023-05-10T23:23:29.918Z] v3.0.0-dev.15 [2023-05-10T23:23:29.918Z] v3.0.0-dev.16 [2023-05-10T23:23:29.918Z] v3.0.0-dev.17 [2023-05-10T23:23:29.918Z] v3.0.0-dev.18 [2023-05-10T23:23:29.918Z] v3.0.0-dev.19 [2023-05-10T23:23:29.918Z] v3.0.0-dev.2 [2023-05-10T23:23:29.918Z] v3.0.0-dev.20 [2023-05-10T23:23:29.918Z] v3.0.0-dev.21 [2023-05-10T23:23:29.918Z] v3.0.0-dev.22 [2023-05-10T23:23:29.918Z] v3.0.0-dev.23 [2023-05-10T23:23:29.918Z] v3.0.0-dev.24 [2023-05-10T23:23:29.918Z] v3.0.0-dev.25 [2023-05-10T23:23:29.918Z] v3.0.0-dev.26 [2023-05-10T23:23:29.918Z] v3.0.0-dev.27 [2023-05-10T23:23:29.918Z] v3.0.0-dev.28 [2023-05-10T23:23:29.918Z] v3.0.0-dev.29 [2023-05-10T23:23:29.918Z] v3.0.0-dev.3 [2023-05-10T23:23:29.918Z] v3.0.0-dev.30 [2023-05-10T23:23:29.918Z] v3.0.0-dev.31 [2023-05-10T23:23:29.918Z] v3.0.0-dev.32 [2023-05-10T23:23:29.918Z] v3.0.0-dev.33 [2023-05-10T23:23:29.918Z] v3.0.0-dev.34 [2023-05-10T23:23:29.918Z] v3.0.0-dev.35 [2023-05-10T23:23:29.918Z] v3.0.0-dev.36 [2023-05-10T23:23:29.918Z] v3.0.0-dev.37 [2023-05-10T23:23:29.918Z] v3.0.0-dev.38 [2023-05-10T23:23:29.918Z] v3.0.0-dev.39 [2023-05-10T23:23:29.918Z] v3.0.0-dev.4 [2023-05-10T23:23:29.918Z] v3.0.0-dev.40 [2023-05-10T23:23:29.918Z] v3.0.0-dev.5 [2023-05-10T23:23:29.918Z] v3.0.0-dev.6 [2023-05-10T23:23:29.918Z] v3.0.0-dev.7 [2023-05-10T23:23:29.918Z] v3.0.0-dev.8 [2023-05-10T23:23:29.918Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T23:23:30.204Z] + lftools sign git-tag v3.0.0-dev.40 [2023-05-10T23:23:30.771Z] Signing Git tag with Sigul... [2023-05-10T23:23:30.771Z] Signing v3.0.0-dev.40 [Pipeline] echo [2023-05-10T23:23:31.038Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:31.321Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T23:23:31.328Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T23:23:31.371Z] $ docker stop --time=1 c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 [2023-05-10T23:23:32.667Z] $ docker rm -f --volumes c1284496329868be77120a8fadf9d2ab34c1a5ed14d4961fbffb139cf8e960a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T23:23:33.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:33.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:33.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:33.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:33.439Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:33.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:23:33.812Z] $ docker top c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f -eo pid,comm [2023-05-10T23:23:33.840Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:23:33.840Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:33.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:33.881Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:33.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:34.009Z] $ docker exec c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f ssh-agent [2023-05-10T23:23:34.094Z] SSH_AUTH_SOCK=/tmp/ssh-FfxCarI5ZR01/agent.32 [2023-05-10T23:23:34.094Z] SSH_AGENT_PID=38 [2023-05-10T23:23:34.099Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:34.208Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3108033000687128030.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3108033000687128030.key) [2023-05-10T23:23:34.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:34.490Z] + git semver bump pre [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,677 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,678 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,678 [bump_version] DEBUG bumped version:3.0.0-dev.41 [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,678 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,678 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,679 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,686 [execute] INFO git cat-file --batch [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:34.750Z] 2023-05-10 23:23:34,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:34.750Z] 3.0.0-dev.41 [Pipeline] } [2023-05-10T23:23:34.780Z] $ docker exec --env ******** --env ******** c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f ssh-agent -k [2023-05-10T23:23:34.874Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:34.874Z] unset SSH_AGENT_PID; [2023-05-10T23:23:34.874Z] echo Agent pid 38 killed; [2023-05-10T23:23:34.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:35.157Z] + git semver [Pipeline] } [2023-05-10T23:23:35.448Z] $ docker stop --time=1 c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f [2023-05-10T23:23:36.741Z] $ docker rm -f --volumes c31d962cce8c38a56285371bbb52ba194ea1db6f522041379c9d02d7067a3c8f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:23:37.062Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:37.062Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:37.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:37.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:37.439Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:37.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:23:37.793Z] $ docker top 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb -eo pid,comm [2023-05-10T23:23:37.819Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:23:37.819Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:37.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:37.857Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:37.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:37.988Z] $ docker exec 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb ssh-agent [2023-05-10T23:23:38.063Z] SSH_AUTH_SOCK=/tmp/ssh-9e94zvrShIlE/agent.31 [2023-05-10T23:23:38.063Z] SSH_AGENT_PID=37 [2023-05-10T23:23:38.069Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:38.201Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16025370499422045060.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16025370499422045060.key) [2023-05-10T23:23:38.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:38.482Z] + git semver push [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,668 [run_push] DEBUG push [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,668 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,672 [execute] INFO git rev-list 73769c864d5be4a62d69c035aeeab8376c4ff54d -- [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,673 [execute] DEBUG Popen(['git', 'rev-list', '73769c864d5be4a62d69c035aeeab8376c4ff54d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,681 [execute] INFO git fetch -v origin [2023-05-10T23:23:38.740Z] 2023-05-10 23:23:38,681 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-10T23:23:39.309Z] 2023-05-10 23:23:39,167 [run_push] DEBUG no remote changes detected [2023-05-10T23:23:39.309Z] 2023-05-10 23:23:39,167 [execute] INFO git push origin semver [2023-05-10T23:23:39.309Z] 2023-05-10 23:23:39,168 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:40.250Z] 2023-05-10 23:23:39,919 [run_push] DEBUG push all version tags [2023-05-10T23:23:40.250Z] 2023-05-10 23:23:39,919 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T23:23:40.250Z] 2023-05-10 23:23:39,920 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:40.821Z] 2023-05-10 23:23:40,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-10T23:23:40.821Z] 3.0.0-dev.41 [Pipeline] } [2023-05-10T23:23:40.853Z] $ docker exec --env ******** --env ******** 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb ssh-agent -k [2023-05-10T23:23:40.957Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:40.958Z] unset SSH_AGENT_PID; [2023-05-10T23:23:40.958Z] echo Agent pid 37 killed; [2023-05-10T23:23:40.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:41.254Z] + git semver [Pipeline] } [2023-05-10T23:23:41.547Z] $ docker stop --time=1 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb [2023-05-10T23:23:42.817Z] $ docker rm -f --volumes 7125ab4cd5ef40cf5c91093757e0991819dd70bba0fa8117d9470934ba0ac5fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-10T23:23:43.331Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-05-10T23:23:43.331Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-10T23:23:43.331Z] total 16 [2023-05-10T23:23:43.331Z] drwxr-xr-x 3 root root 4096 May 10 23:10 . [2023-05-10T23:23:43.331Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:23 .. [2023-05-10T23:23:43.331Z] drwxr-xr-x 2 root root 4096 May 10 23:10 cost [2023-05-10T23:23:43.331Z] -rw-r--r-- 1 root root 86 May 10 23:10 cost.csv [2023-05-10T23:23:43.331Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-10T23:23:43.331Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-10T23:23:43.331Z] total 16 [2023-05-10T23:23:43.331Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:10 . [2023-05-10T23:23:43.331Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:23 .. [2023-05-10T23:23:43.331Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:10 cost [2023-05-10T23:23:43.331Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:43.623Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:44.486Z] ---> package-listing.sh [2023-05-10T23:23:44.486Z] ++ facter osfamily [2023-05-10T23:23:44.486Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T23:23:44.746Z] + OS_FAMILY=debian [2023-05-10T23:23:44.746Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-05-10T23:23:44.746Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T23:23:44.746Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T23:23:44.746Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T23:23:44.746Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T23:23:44.746Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-10T23:23:44.746Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T23:23:44.746Z] + case "${OS_FAMILY}" in [2023-05-10T23:23:44.746Z] + dpkg -l [2023-05-10T23:23:44.746Z] + grep '^ii' [2023-05-10T23:23:44.746Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T23:23:44.746Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T23:23:44.746Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T23:23:44.746Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-10T23:23:44.746Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-05-10T23:23:44.746Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-05-10T23:23:44.756Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T23:23:45.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:45.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:23:45.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:45.667Z] prd-ubuntu20.04-docker-8c-8g-15086 does not seem to be running inside a container [2023-05-10T23:23:45.726Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T23:23:45.953Z] $ docker top 83f303d883b846c89ff2e970fca6e0890e3c002b3447fdab4934f1f409c580d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:23:46.311Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T23:23:46.640Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T23:23:46.984Z] + ls /var/log/sa-host [2023-05-10T23:23:46.984Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:23:47.047Z] provisioning config files... [2023-05-10T23:23:47.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config49993332790480757tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:23:47.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:47.366Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T23:23:47.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:47.696Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T23:23:47.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:47.987Z] ---> sudo-logs.sh [2023-05-10T23:23:47.987Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T23:23:48.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:48.302Z] ---> job-cost.sh [2023-05-10T23:23:48.302Z] lf-activate-venv: SKIPPING [2023-05-10T23:23:48.302Z] DEBUG: total: 0.2199999988079071 [2023-05-10T23:23:48.302Z] INFO: Retrieving Stack Cost... [2023-05-10T23:23:48.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:23:49.129Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T23:23:49.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:49.424Z] ---> logs-deploy.sh [2023-05-10T23:23:49.425Z] lf-activate-venv: SKIPPING [2023-05-10T23:23:49.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/112 [2023-05-10T23:23:49.425Z] INFO: archiving workspace using pattern(s): [2023-05-10T23:23:50.361Z] Archives upload complete. [2023-05-10T23:23:50.361Z] INFO: archiving logs to Nexus