Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99d2988c42a4468ca534e1bc92575890b1a7bdf5 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-ssh13072339274472922837.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11030385299123817116.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1534207404651534294.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh3000983297065005200.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh7872932166217995039.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [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-63055 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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" > git rev-list --no-walk 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T05:49:52.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T05:49:52.801Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T05:49:52.820Z] ========================================================= [2022-05-11T05:49:52.820Z] EdgeX Global Pipelines Version Info [2022-05-11T05:49:52.820Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:49:53.603Z] ------------------- [2022-05-11T05:49:53.603Z] stable info: [2022-05-11T05:49:53.603Z] ------------------- [2022-05-11T05:49:53.603Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:49:53.603Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:49:53.603Z] Message: update stable to v1.0.230 [2022-05-11T05:49:54.177Z] ------------------- [2022-05-11T05:49:54.177Z] experimental info: [2022-05-11T05:49:54.177Z] ------------------- [2022-05-11T05:49:54.177Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:49:54.177Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:49:54.177Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T05:49:54.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-11T05:49:54.336Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-11T05:49:54.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T05:49:54.362Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T05:49:54.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T05:49:54.386Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T05:49:54.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T05:49:54.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T05:49:54.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T05:49:54.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T05:49:54.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T05:49:54.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-11T05:49:54.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T05:49:54.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T05:49:54.508Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:49:54.519Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:49:54.533Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:49:54.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:49:54.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T05:49:54.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T05:49:54.583Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T05:49:54.597Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T05:49:54.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T05:49:54.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T05:49:54.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T05:49:54.657Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T05:49:54.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T05:49:54.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T05:49:54.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T05:49:54.722Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T05:49:54.738Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99d2988 [Pipeline] echo [2022-05-11T05:49:54.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:49:54.796Z] provisioning config files... [2022-05-11T05:49:54.809Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3284178687446332294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:49:55.141Z] ---> docker-login.sh [2022-05-11T05:49:55.141Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:49:55.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:55.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:55.714Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:55.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:55.714Z] [2022-05-11T05:49:55.714Z] Login Succeeded [2022-05-11T05:49:55.714Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:49:55.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:55.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:55.714Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:55.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:55.714Z] [2022-05-11T05:49:55.714Z] Login Succeeded [2022-05-11T05:49:55.714Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:49:55.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:55.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:55.981Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:55.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:55.981Z] [2022-05-11T05:49:55.981Z] Login Succeeded [2022-05-11T05:49:55.981Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:49:55.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:55.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:55.982Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:55.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:55.982Z] [2022-05-11T05:49:55.982Z] Login Succeeded [2022-05-11T05:49:56.244Z] docker.io [2022-05-11T05:49:56.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:56.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:56.509Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:56.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:56.509Z] [2022-05-11T05:49:56.509Z] Login Succeeded [2022-05-11T05:49:56.509Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:49:56.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T05:49:56.908Z] + git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T05:49:57.009Z] -----------> git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T05:49:57.009Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [false] [Pipeline] sh [2022-05-11T05:49:57.300Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T05:49:57.317Z] ========================================================= [2022-05-11T05:49:57.317Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T05:49:57.317Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:49:57.660Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T05:49:57.676Z] [semverPrep] GIT_COMMIT: 99d2988c42a4468ca534e1bc92575890b1a7bdf5, Commit Message: Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T05:49:57.689Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T05:49:58.087Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T05:49:58.088Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T05:49:58.088Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T05:49:58.088Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T05:49:58.088Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T05:49:58.088Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T05:49:58.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:49:58.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:49:58.453Z] [2022-05-11T05:49:58.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:49:58.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:49:58.762Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T05:49:58.762Z] 1fe172e4850f: Pulling fs layer [2022-05-11T05:49:58.762Z] caf521ccaac6: Pulling fs layer [2022-05-11T05:49:58.762Z] 3ead6fa29328: Pulling fs layer [2022-05-11T05:49:58.762Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T05:49:58.762Z] a8d5f1318db7: Pulling fs layer [2022-05-11T05:49:58.762Z] c427282e49a2: Pulling fs layer [2022-05-11T05:49:58.762Z] 1827001aaf11: Pulling fs layer [2022-05-11T05:49:58.762Z] 0714d37db230: Pulling fs layer [2022-05-11T05:49:58.762Z] ac28cf19c067: Pulling fs layer [2022-05-11T05:49:58.762Z] ca983d60f3e2: Pulling fs layer [2022-05-11T05:49:58.762Z] 9f894cec8388: Pulling fs layer [2022-05-11T05:49:58.762Z] 1827001aaf11: Waiting [2022-05-11T05:49:58.762Z] 0714d37db230: Waiting [2022-05-11T05:49:58.762Z] ac28cf19c067: Waiting [2022-05-11T05:49:58.762Z] ca983d60f3e2: Waiting [2022-05-11T05:49:58.762Z] 9f894cec8388: Waiting [2022-05-11T05:49:58.762Z] a8d5f1318db7: Waiting [2022-05-11T05:49:58.762Z] 5c2a1cbceb83: Waiting [2022-05-11T05:49:58.762Z] c427282e49a2: Waiting [2022-05-11T05:49:58.762Z] caf521ccaac6: Verifying Checksum [2022-05-11T05:49:58.762Z] caf521ccaac6: Download complete [2022-05-11T05:49:58.762Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T05:49:58.762Z] 5c2a1cbceb83: Download complete [2022-05-11T05:49:59.023Z] a8d5f1318db7: Verifying Checksum [2022-05-11T05:49:59.023Z] a8d5f1318db7: Download complete [2022-05-11T05:49:59.023Z] c427282e49a2: Verifying Checksum [2022-05-11T05:49:59.023Z] c427282e49a2: Download complete [2022-05-11T05:49:59.023Z] 3ead6fa29328: Verifying Checksum [2022-05-11T05:49:59.023Z] 3ead6fa29328: Download complete [2022-05-11T05:49:59.023Z] 0714d37db230: Verifying Checksum [2022-05-11T05:49:59.023Z] 0714d37db230: Download complete [2022-05-11T05:49:59.023Z] ac28cf19c067: Download complete [2022-05-11T05:49:59.023Z] ca983d60f3e2: Download complete [2022-05-11T05:49:59.023Z] 9f894cec8388: Verifying Checksum [2022-05-11T05:49:59.023Z] 9f894cec8388: Download complete [2022-05-11T05:49:59.023Z] 1fe172e4850f: Verifying Checksum [2022-05-11T05:49:59.023Z] 1fe172e4850f: Download complete [2022-05-11T05:49:59.594Z] 1827001aaf11: Verifying Checksum [2022-05-11T05:49:59.594Z] 1827001aaf11: Download complete [2022-05-11T05:50:00.534Z] 1fe172e4850f: Pull complete [2022-05-11T05:50:00.795Z] caf521ccaac6: Pull complete [2022-05-11T05:50:01.374Z] 3ead6fa29328: Pull complete [2022-05-11T05:50:01.374Z] 5c2a1cbceb83: Pull complete [2022-05-11T05:50:01.648Z] a8d5f1318db7: Pull complete [2022-05-11T05:50:01.924Z] c427282e49a2: Pull complete [2022-05-11T05:50:03.837Z] 1827001aaf11: Pull complete [2022-05-11T05:50:03.837Z] 0714d37db230: Pull complete [2022-05-11T05:50:04.099Z] ac28cf19c067: Pull complete [2022-05-11T05:50:04.099Z] ca983d60f3e2: Pull complete [2022-05-11T05:50:04.099Z] 9f894cec8388: Pull complete [2022-05-11T05:50:04.361Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T05:50:04.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:50:04.362Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T05:50:04.436Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T05:50:04.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T05:50:06.784Z] $ docker top df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f -eo pid,comm [2022-05-11T05:50:06.870Z] 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). [2022-05-11T05:50:06.870Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T05:50:06.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:50:06.916Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:50:07.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:50:07.050Z] $ docker exec df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f ssh-agent [2022-05-11T05:50:07.189Z] SSH_AUTH_SOCK=/tmp/ssh-jcecYHtRmWIt/agent.32 [2022-05-11T05:50:07.189Z] SSH_AGENT_PID=38 [2022-05-11T05:50:07.198Z] Running ssh-add (command line suppressed) [2022-05-11T05:50:07.322Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8047975609693979675.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8047975609693979675.key) [2022-05-11T05:50:07.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:50:07.638Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T05:50:07.656Z] $ docker exec --env ******** --env ******** df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f ssh-agent -k [2022-05-11T05:50:07.761Z] unset SSH_AUTH_SOCK; [2022-05-11T05:50:07.762Z] unset SSH_AGENT_PID; [2022-05-11T05:50:07.762Z] echo Agent pid 38 killed; [2022-05-11T05:50:07.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T05:50:07.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:50:07.799Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:50:07.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:50:07.941Z] $ docker exec df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f ssh-agent [2022-05-11T05:50:08.095Z] SSH_AUTH_SOCK=/tmp/ssh-a7t8ws0Xekkj/agent.73 [2022-05-11T05:50:08.095Z] SSH_AGENT_PID=79 [2022-05-11T05:50:08.102Z] Running ssh-add (command line suppressed) [2022-05-11T05:50:08.240Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4338733330357066517.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4338733330357066517.key) [2022-05-11T05:50:08.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:50:08.561Z] + git semver init [2022-05-11T05:50:08.822Z] 2022-05-11 05:50:08,784 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T05:50:08.822Z] 2022-05-11 05:50:08,784 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-11T05:50:08.822Z] 2022-05-11 05:50:08,785 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-11T05:50:08.822Z] 2022-05-11 05:50:08,785 [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) [2022-05-11T05:50:10.207Z] 2022-05-11 05:50:10,042 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-05-11T05:50:10.207Z] 2022-05-11 05:50:10,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-05-11T05:50:10.208Z] 2022-05-11 05:50:10,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T05:50:10.208Z] 2022-05-11 05:50:10,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T05:50:10.208Z] 2.2.0-dev.18 [Pipeline] } [2022-05-11T05:50:10.216Z] $ docker exec --env ******** --env ******** df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f ssh-agent -k [2022-05-11T05:50:10.346Z] unset SSH_AUTH_SOCK; [2022-05-11T05:50:10.347Z] unset SSH_AGENT_PID; [2022-05-11T05:50:10.347Z] echo Agent pid 79 killed; [2022-05-11T05:50:10.364Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T05:50:10.681Z] + git semver [Pipeline] } [2022-05-11T05:50:10.954Z] $ docker stop --time=1 df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f [2022-05-11T05:50:12.674Z] $ docker rm -f df96536b418ca066f32b562897bd9e428e09cce606e54c359c5d2c47c186e40f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:50:13.059Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T05:50:13.398Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T05:50:13.403Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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 [2022-05-11T05:50:13.526Z] provisioning config files... [2022-05-11T05:50:13.536Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6422050654083572413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:50:13.838Z] ---> docker-login.sh [2022-05-11T05:50:13.838Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:50:13.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:13.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:13.838Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:13.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:13.838Z] [2022-05-11T05:50:13.838Z] Login Succeeded [2022-05-11T05:50:13.838Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:50:13.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:14.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:14.099Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:14.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:14.099Z] [2022-05-11T05:50:14.099Z] Login Succeeded [2022-05-11T05:50:14.099Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:50:14.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:14.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:14.099Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:14.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:14.099Z] [2022-05-11T05:50:14.099Z] Login Succeeded [2022-05-11T05:50:14.099Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:50:14.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:14.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:14.360Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:14.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:14.360Z] [2022-05-11T05:50:14.360Z] Login Succeeded [2022-05-11T05:50:14.360Z] docker.io [2022-05-11T05:50:14.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:50:14.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:50:14.622Z] Configure a credential helper to remove this warning. See [2022-05-11T05:50:14.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:50:14.622Z] [2022-05-11T05:50:14.622Z] Login Succeeded [2022-05-11T05:50:14.622Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:50:14.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:50:14.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:50:14.710Z] ========================================================= [2022-05-11T05:50:14.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T05:50:14.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:15.142Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:50:15.142Z] Sending build context to Docker daemon 10.62MB [2022-05-11T05:50:15.142Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:50:15.142Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:50:15.403Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T05:50:15.403Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T05:50:15.403Z] 666ba61612fd: Pulling fs layer [2022-05-11T05:50:15.403Z] 8ed8ca486205: Pulling fs layer [2022-05-11T05:50:15.403Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T05:50:15.403Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T05:50:15.403Z] ca2b28591e48: Pulling fs layer [2022-05-11T05:50:15.403Z] a51346096db8: Pulling fs layer [2022-05-11T05:50:15.403Z] daebc70d1ce1: Pulling fs layer [2022-05-11T05:50:15.403Z] 0e18a0eac166: Pulling fs layer [2022-05-11T05:50:15.403Z] ca2b28591e48: Waiting [2022-05-11T05:50:15.403Z] a51346096db8: Waiting [2022-05-11T05:50:15.403Z] daebc70d1ce1: Waiting [2022-05-11T05:50:15.403Z] 0e18a0eac166: Waiting [2022-05-11T05:50:15.403Z] 4fe6c5a15a65: Waiting [2022-05-11T05:50:15.403Z] 22a0e8bec74d: Waiting [2022-05-11T05:50:15.403Z] 8ed8ca486205: Verifying Checksum [2022-05-11T05:50:15.403Z] 8ed8ca486205: Download complete [2022-05-11T05:50:15.403Z] 666ba61612fd: Verifying Checksum [2022-05-11T05:50:15.403Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T05:50:15.403Z] 22a0e8bec74d: Download complete [2022-05-11T05:50:15.403Z] ca2b28591e48: Verifying Checksum [2022-05-11T05:50:15.403Z] ca2b28591e48: Download complete [2022-05-11T05:50:15.403Z] a51346096db8: Verifying Checksum [2022-05-11T05:50:15.403Z] a51346096db8: Download complete [2022-05-11T05:50:15.403Z] 59bf1c3509f3: Download complete [2022-05-11T05:50:15.403Z] daebc70d1ce1: Verifying Checksum [2022-05-11T05:50:15.403Z] daebc70d1ce1: Download complete [2022-05-11T05:50:15.403Z] 59bf1c3509f3: Pull complete [2022-05-11T05:50:15.665Z] 666ba61612fd: Pull complete [2022-05-11T05:50:15.665Z] 8ed8ca486205: Pull complete [2022-05-11T05:50:16.244Z] 0e18a0eac166: Verifying Checksum [2022-05-11T05:50:16.244Z] 0e18a0eac166: Download complete [2022-05-11T05:50:16.244Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T05:50:16.244Z] 4fe6c5a15a65: Download complete [2022-05-11T05:50:20.443Z] 4fe6c5a15a65: Pull complete [2022-05-11T05:50:20.443Z] 22a0e8bec74d: Pull complete [2022-05-11T05:50:20.443Z] ca2b28591e48: Pull complete [2022-05-11T05:50:20.443Z] a51346096db8: Pull complete [2022-05-11T05:50:20.443Z] daebc70d1ce1: Pull complete [2022-05-11T05:50:23.003Z] 0e18a0eac166: Pull complete [2022-05-11T05:50:23.003Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T05:50:23.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T05:50:23.003Z] ---> f018257e8ee9 [2022-05-11T05:50:23.003Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T05:50:24.919Z] ---> Running in b415ce6b301f [2022-05-11T05:50:24.919Z] Removing intermediate container b415ce6b301f [2022-05-11T05:50:24.919Z] ---> b19bffc0ea65 [2022-05-11T05:50:24.919Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:50:24.919Z] ---> Running in c3c45b095272 [2022-05-11T05:50:24.919Z] Removing intermediate container c3c45b095272 [2022-05-11T05:50:24.919Z] ---> c59a7d0788c1 [2022-05-11T05:50:24.919Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:50:24.919Z] ---> Running in 01bdc5af3628 [2022-05-11T05:50:24.919Z] Removing intermediate container 01bdc5af3628 [2022-05-11T05:50:24.919Z] ---> 690cf7f961f7 [2022-05-11T05:50:24.919Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:50:24.919Z] ---> Running in bfce29f1e1d1 [2022-05-11T05:50:25.490Z] Removing intermediate container bfce29f1e1d1 [2022-05-11T05:50:25.490Z] ---> 3751e11c01f8 [2022-05-11T05:50:25.490Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:50:25.758Z] ---> Running in 03ea1f11c3ad [2022-05-11T05:50:26.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:26.962Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:27.222Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:50:27.222Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:50:27.483Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:50:27.483Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:50:27.483Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:50:27.483Z] OK: 224 MiB in 56 packages [2022-05-11T05:50:28.055Z] Removing intermediate container 03ea1f11c3ad [2022-05-11T05:50:28.055Z] ---> 4315029b4aef [2022-05-11T05:50:28.055Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T05:50:28.055Z] ---> Running in 0e405baa4939 [2022-05-11T05:50:28.055Z] Removing intermediate container 0e405baa4939 [2022-05-11T05:50:28.055Z] ---> 227bf716defb [2022-05-11T05:50:28.055Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T05:50:28.340Z] ---> 6a7d6e88f511 [2022-05-11T05:50:28.340Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:50:28.495Z] Still waiting to schedule task [2022-05-11T05:50:28.495Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-11T05:50:28.602Z] ---> Running in 795f54328dbb [2022-05-11T05:50:46.743Z] Removing intermediate container 795f54328dbb [2022-05-11T05:50:46.743Z] ---> 8f5c24fc6e64 [2022-05-11T05:50:46.743Z] Step 11/12 : COPY . . [2022-05-11T05:50:46.743Z] ---> 21b0ce218893 [2022-05-11T05:50:46.743Z] Step 12/12 : RUN $MAKE [2022-05-11T05:50:46.743Z] ---> Running in 4122a179ee27 [2022-05-11T05:50:46.743Z] noop [2022-05-11T05:50:46.743Z] Removing intermediate container 4122a179ee27 [2022-05-11T05:50:46.743Z] ---> 813b5316f34a [2022-05-11T05:50:46.743Z] Successfully built 813b5316f34a [2022-05-11T05:50:46.743Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:47.052Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:47.053Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:47.125Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T05:50:47.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:50:47.696Z] $ docker top c4357db45c861a2997021ed5326cac2aaf2e2434f10780d20328fa1ea69e595e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:50:48.085Z] + go version [2022-05-11T05:50:48.085Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T05:50:48.106Z] $ docker stop --time=1 c4357db45c861a2997021ed5326cac2aaf2e2434f10780d20328fa1ea69e595e [2022-05-11T05:50:49.442Z] $ docker rm -f c4357db45c861a2997021ed5326cac2aaf2e2434f10780d20328fa1ea69e595e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:49.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:49.883Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:49.961Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T05:50:50.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:50:50.398Z] $ docker top 60c8a7dbb028964dc8720250e34b34057dfbe599e2e74f392e5da9ae9701c490 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:50:50.776Z] + make test [2022-05-11T05:50:50.776Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T05:50:51.035Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T05:51:01.019Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T05:51:01.019Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements [2022-05-11T05:51:09.147Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:51:12.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:51:12.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:51:12.445Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:51:13.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:51:13.033Z] $ docker stop --time=1 60c8a7dbb028964dc8720250e34b34057dfbe599e2e74f392e5da9ae9701c490 [2022-05-11T05:51:15.014Z] $ docker rm -f 60c8a7dbb028964dc8720250e34b34057dfbe599e2e74f392e5da9ae9701c490 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:51:15.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:51:15.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T05:51:16.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:51:16.340Z] + ls -al . [2022-05-11T05:51:16.340Z] total 172 [2022-05-11T05:51:16.340Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:51 . [2022-05-11T05:51:16.340Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 .. [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 05:49 .dockerignore [2022-05-11T05:51:16.340Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 .git [2022-05-11T05:51:16.340Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 .github [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 05:49 .gitignore [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:49 .golangci.yml [2022-05-11T05:51:16.340Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:50 .semver [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 05:49 Attribution.txt [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 05:49 CHANGELOG.md [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 05:49 Dockerfile [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:49 GOVERNANCE.md [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:49 Jenkinsfile [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:49 LICENSE [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 05:49 Makefile [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:49 OWNERS.md [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 05:49 README.md [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION [2022-05-11T05:51:16.340Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 bin [2022-05-11T05:51:16.340Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 cmd [2022-05-11T05:51:16.340Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 05:51 coverage.out [2022-05-11T05:51:16.340Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 driver [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 05:49 go.mod [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 05:49 go.sum [2022-05-11T05:51:16.340Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 snap [2022-05-11T05:51:16.340Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:16.643Z] + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=amd64 --label version=2.2.0-dev.18 . [2022-05-11T05:51:16.643Z] Sending build context to Docker daemon 10.63MB [2022-05-11T05:51:16.643Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:51:16.643Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T05:51:16.643Z] ---> 813b5316f34a [2022-05-11T05:51:16.643Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T05:51:16.910Z] ---> Running in 809136dba133 [2022-05-11T05:51:16.910Z] Removing intermediate container 809136dba133 [2022-05-11T05:51:16.910Z] ---> 97bd99644530 [2022-05-11T05:51:16.910Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:51:17.174Z] ---> Running in 854ca747bd29 [2022-05-11T05:51:17.174Z] Removing intermediate container 854ca747bd29 [2022-05-11T05:51:17.174Z] ---> a13aa27779d5 [2022-05-11T05:51:17.174Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:51:17.174Z] ---> Running in c1570c034ab3 [2022-05-11T05:51:17.434Z] Removing intermediate container c1570c034ab3 [2022-05-11T05:51:17.434Z] ---> c8b68f9e6d54 [2022-05-11T05:51:17.434Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:51:17.434Z] ---> Running in a35ef19a333f [2022-05-11T05:51:18.007Z] Removing intermediate container a35ef19a333f [2022-05-11T05:51:18.007Z] ---> c8be5cdcd67d [2022-05-11T05:51:18.007Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:51:18.267Z] ---> Running in 9130ce8f15c3 [2022-05-11T05:51:18.528Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:19.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:19.728Z] OK: 224 MiB in 56 packages [2022-05-11T05:51:19.989Z] Removing intermediate container 9130ce8f15c3 [2022-05-11T05:51:19.989Z] ---> ed499e2037cd [2022-05-11T05:51:19.989Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T05:51:19.989Z] ---> Running in 7f3a51478fc0 [2022-05-11T05:51:20.255Z] Removing intermediate container 7f3a51478fc0 [2022-05-11T05:51:20.255Z] ---> e4a1df0ddd09 [2022-05-11T05:51:20.255Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T05:51:20.518Z] ---> 69e0a3ddebf3 [2022-05-11T05:51:20.518Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:51:20.518Z] ---> Running in 41b4f32725a1 [2022-05-11T05:51:21.094Z] Removing intermediate container 41b4f32725a1 [2022-05-11T05:51:21.094Z] ---> 649fc486105d [2022-05-11T05:51:21.094Z] Step 11/25 : COPY . . [2022-05-11T05:51:21.665Z] ---> 6b444db13053 [2022-05-11T05:51:21.665Z] Step 12/25 : RUN $MAKE [2022-05-11T05:51:21.665Z] ---> Running in 5cad0361160c [2022-05-11T05:51:21.924Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T05:51:43.888Z] Removing intermediate container 5cad0361160c [2022-05-11T05:51:43.888Z] ---> 928e4806e6a0 [2022-05-11T05:51:43.888Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T05:51:43.888Z] 3.14: Pulling from library/alpine [2022-05-11T05:51:43.888Z] 8663204ce13b: Pulling fs layer [2022-05-11T05:51:43.888Z] 8663204ce13b: Download complete [2022-05-11T05:51:43.888Z] 8663204ce13b: Pull complete [2022-05-11T05:51:43.888Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:51:43.888Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:51:43.888Z] ---> e04c818066af [2022-05-11T05:51:43.888Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T05:51:43.888Z] ---> Running in 28567423d146 [2022-05-11T05:51:43.888Z] Removing intermediate container 28567423d146 [2022-05-11T05:51:43.888Z] ---> b87a87cd5960 [2022-05-11T05:51:43.888Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T05:51:43.888Z] ---> Running in 44f5499ec72d [2022-05-11T05:51:43.888Z] Removing intermediate container 44f5499ec72d [2022-05-11T05:51:43.888Z] ---> e920fbf7bf03 [2022-05-11T05:51:43.888Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:51:43.888Z] ---> Running in d5e299a3d044 [2022-05-11T05:51:43.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:43.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:43.888Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:51:43.888Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:51:43.888Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:51:43.888Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:51:43.888Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:51:43.888Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:51:43.888Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:51:43.888Z] OK: 8 MiB in 20 packages [2022-05-11T05:51:44.147Z] Removing intermediate container d5e299a3d044 [2022-05-11T05:51:44.147Z] ---> a2c2fd239b47 [2022-05-11T05:51:44.147Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T05:51:45.090Z] ---> bd583030fbfe [2022-05-11T05:51:45.090Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T05:51:45.090Z] ---> 75f19a9859eb [2022-05-11T05:51:45.090Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T05:51:45.090Z] ---> ed8b61aa154a [2022-05-11T05:51:45.090Z] Step 20/25 : EXPOSE 59986 [2022-05-11T05:51:45.090Z] ---> Running in 3d6cfec3205f [2022-05-11T05:51:45.350Z] Removing intermediate container 3d6cfec3205f [2022-05-11T05:51:45.350Z] ---> 157eda724869 [2022-05-11T05:51:45.350Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T05:51:45.350Z] ---> Running in cb7181e0ed2b [2022-05-11T05:51:45.350Z] Removing intermediate container cb7181e0ed2b [2022-05-11T05:51:45.350Z] ---> d70da933a77d [2022-05-11T05:51:45.350Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T05:51:45.350Z] ---> Running in f929891c7fe7 [2022-05-11T05:51:45.609Z] Removing intermediate container f929891c7fe7 [2022-05-11T05:51:45.609Z] ---> 6a181372aa32 [2022-05-11T05:51:45.609Z] Step 23/25 : LABEL arch=amd64 [2022-05-11T05:51:45.870Z] ---> Running in 406e7910b4c2 [2022-05-11T05:51:45.870Z] Removing intermediate container 406e7910b4c2 [2022-05-11T05:51:45.870Z] ---> 99414a3c66d5 [2022-05-11T05:51:45.870Z] Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T05:51:45.870Z] ---> Running in 4e53d6d2c994 [2022-05-11T05:51:45.870Z] Removing intermediate container 4e53d6d2c994 [2022-05-11T05:51:45.870Z] ---> 4815d1e16473 [2022-05-11T05:51:45.870Z] Step 25/25 : LABEL version=2.2.0-dev.18 [2022-05-11T05:51:46.131Z] ---> Running in 3353a9e63665 [2022-05-11T05:51:46.131Z] Removing intermediate container 3353a9e63665 [2022-05-11T05:51:46.131Z] ---> 8b9885c09115 [2022-05-11T05:51:46.131Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:51:46.131Z] Successfully built 8b9885c09115 [2022-05-11T05:51:46.131Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:51:46.221Z] provisioning config files... [2022-05-11T05:51:46.229Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config142046108603386726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:51:46.534Z] ---> docker-login.sh [2022-05-11T05:51:46.534Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:51:46.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:46.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:46.534Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:46.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:46.534Z] [2022-05-11T05:51:46.534Z] Login Succeeded [2022-05-11T05:51:46.534Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:51:46.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:46.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:46.794Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:46.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:46.794Z] [2022-05-11T05:51:46.794Z] Login Succeeded [2022-05-11T05:51:46.794Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:51:46.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:46.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:46.794Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:46.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:46.794Z] [2022-05-11T05:51:46.794Z] Login Succeeded [2022-05-11T05:51:46.794Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:51:46.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.053Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.053Z] [2022-05-11T05:51:47.053Z] Login Succeeded [2022-05-11T05:51:47.053Z] docker.io [2022-05-11T05:51:47.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:47.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:47.313Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:47.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:47.313Z] [2022-05-11T05:51:47.313Z] Login Succeeded [2022-05-11T05:51:47.313Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:51:47.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:47.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:51:47.381Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-05-11T05:51:47.381Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T05:51:47.381Z] latest [2022-05-11T05:51:47.381Z] 2.2.0-dev.18 [2022-05-11T05:51:47.381Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T05:51:47.381Z] main [2022-05-11T05:51:47.381Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:47.720Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:48.089Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T05:51:48.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T05:51:48.089Z] 9dc317e3d7d0: Preparing [2022-05-11T05:51:48.089Z] f872986e0585: Preparing [2022-05-11T05:51:48.089Z] 9416da1214fd: Preparing [2022-05-11T05:51:48.089Z] 5a6f827d2cb9: Preparing [2022-05-11T05:51:48.089Z] b541d28bf3b4: Preparing [2022-05-11T05:51:48.089Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:48.089Z] f872986e0585: Pushed [2022-05-11T05:51:48.089Z] 9dc317e3d7d0: Pushed [2022-05-11T05:51:48.351Z] 5a6f827d2cb9: Pushed [2022-05-11T05:51:50.923Z] 9416da1214fd: Pushed [2022-05-11T05:51:50.924Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:3a7334a67937a0681c6ed7c9da456ba21b6818499f2e173333bd4dabe515b1b4 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:51.223Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:51.520Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-11T05:51:51.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T05:51:51.520Z] 9dc317e3d7d0: Preparing [2022-05-11T05:51:51.520Z] f872986e0585: Preparing [2022-05-11T05:51:51.520Z] 9416da1214fd: Preparing [2022-05-11T05:51:51.520Z] 5a6f827d2cb9: Preparing [2022-05-11T05:51:51.520Z] b541d28bf3b4: Preparing [2022-05-11T05:51:51.520Z] f872986e0585: Layer already exists [2022-05-11T05:51:51.520Z] 9dc317e3d7d0: Layer already exists [2022-05-11T05:51:51.520Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:51.520Z] 5a6f827d2cb9: Layer already exists [2022-05-11T05:51:51.520Z] 9416da1214fd: Layer already exists [2022-05-11T05:51:51.520Z] latest: digest: sha256:3a7334a67937a0681c6ed7c9da456ba21b6818499f2e173333bd4dabe515b1b4 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:51.821Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.134Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.18 [2022-05-11T05:51:52.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T05:51:52.134Z] 9dc317e3d7d0: Preparing [2022-05-11T05:51:52.134Z] f872986e0585: Preparing [2022-05-11T05:51:52.134Z] 9416da1214fd: Preparing [2022-05-11T05:51:52.134Z] 5a6f827d2cb9: Preparing [2022-05-11T05:51:52.134Z] b541d28bf3b4: Preparing [2022-05-11T05:51:52.134Z] 9416da1214fd: Layer already exists [2022-05-11T05:51:52.134Z] 5a6f827d2cb9: Layer already exists [2022-05-11T05:51:52.134Z] 9dc317e3d7d0: Layer already exists [2022-05-11T05:51:52.134Z] f872986e0585: Layer already exists [2022-05-11T05:51:52.134Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:52.134Z] 2.2.0-dev.18: digest: sha256:3a7334a67937a0681c6ed7c9da456ba21b6818499f2e173333bd4dabe515b1b4 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.445Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:52.733Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T05:51:52.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T05:51:52.734Z] 9dc317e3d7d0: Preparing [2022-05-11T05:51:52.734Z] f872986e0585: Preparing [2022-05-11T05:51:52.734Z] 9416da1214fd: Preparing [2022-05-11T05:51:52.734Z] 5a6f827d2cb9: Preparing [2022-05-11T05:51:52.734Z] b541d28bf3b4: Preparing [2022-05-11T05:51:52.734Z] f872986e0585: Layer already exists [2022-05-11T05:51:52.734Z] 5a6f827d2cb9: Layer already exists [2022-05-11T05:51:52.734Z] 9416da1214fd: Layer already exists [2022-05-11T05:51:52.734Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:52.734Z] 9dc317e3d7d0: Layer already exists [2022-05-11T05:51:52.734Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18: digest: sha256:3a7334a67937a0681c6ed7c9da456ba21b6818499f2e173333bd4dabe515b1b4 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.037Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:53.330Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-05-11T05:51:53.330Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T05:51:53.330Z] 9dc317e3d7d0: Preparing [2022-05-11T05:51:53.330Z] f872986e0585: Preparing [2022-05-11T05:51:53.330Z] 9416da1214fd: Preparing [2022-05-11T05:51:53.330Z] 5a6f827d2cb9: Preparing [2022-05-11T05:51:53.330Z] b541d28bf3b4: Preparing [2022-05-11T05:51:53.330Z] 5a6f827d2cb9: Layer already exists [2022-05-11T05:51:53.330Z] f872986e0585: Layer already exists [2022-05-11T05:51:53.330Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:53.330Z] 9416da1214fd: Layer already exists [2022-05-11T05:51:53.330Z] 9dc317e3d7d0: Layer already exists [2022-05-11T05:51:53.330Z] main: digest: sha256:3a7334a67937a0681c6ed7c9da456ba21b6818499f2e173333bd4dabe515b1b4 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:53.375Z] ===================================================== [Pipeline] echo [2022-05-11T05:51:53.387Z] taggedImages: [2022-05-11T05:51:53.387Z] - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T05:51:53.387Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-11T05:51:53.387Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.18 [2022-05-11T05:51:53.387Z] - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T05:51:53.387Z] - 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] sh [2022-05-11T05:51:53.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:53.780Z] [2022-05-11T05:51:53.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:54.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:54.088Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T05:51:54.088Z] 5eb5b503b376: Pulling fs layer [2022-05-11T05:51:54.088Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T05:51:54.088Z] ec43610c2a17: Pulling fs layer [2022-05-11T05:51:54.088Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T05:51:54.088Z] 33b1e0a273af: Pulling fs layer [2022-05-11T05:51:54.088Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T05:51:54.088Z] 2f39f015ded8: Pulling fs layer [2022-05-11T05:51:54.088Z] 33b1e0a273af: Waiting [2022-05-11T05:51:54.088Z] 5d3b04190fa2: Waiting [2022-05-11T05:51:54.088Z] 2f39f015ded8: Waiting [2022-05-11T05:51:54.088Z] 3a2ae6a8a46f: Waiting [2022-05-11T05:51:54.088Z] 5c69ac0246d0: Verifying Checksum [2022-05-11T05:51:54.088Z] 5c69ac0246d0: Download complete [2022-05-11T05:51:54.088Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T05:51:54.088Z] 3a2ae6a8a46f: Download complete [2022-05-11T05:51:54.088Z] 33b1e0a273af: Verifying Checksum [2022-05-11T05:51:54.088Z] 33b1e0a273af: Download complete [2022-05-11T05:51:54.088Z] ec43610c2a17: Verifying Checksum [2022-05-11T05:51:54.088Z] ec43610c2a17: Download complete [2022-05-11T05:51:54.088Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T05:51:54.088Z] 5d3b04190fa2: Download complete [2022-05-11T05:51:54.348Z] 5eb5b503b376: Verifying Checksum [2022-05-11T05:51:54.348Z] 5eb5b503b376: Download complete [2022-05-11T05:51:54.916Z] 2f39f015ded8: Download complete [2022-05-11T05:51:55.856Z] 5eb5b503b376: Pull complete [2022-05-11T05:51:55.856Z] 5c69ac0246d0: Pull complete [2022-05-11T05:51:56.423Z] ec43610c2a17: Pull complete [2022-05-11T05:51:56.423Z] 3a2ae6a8a46f: Pull complete [2022-05-11T05:51:56.682Z] 33b1e0a273af: Pull complete [2022-05-11T05:51:56.682Z] 5d3b04190fa2: Pull complete [2022-05-11T05:52:00.878Z] 2f39f015ded8: Pull complete [2022-05-11T05:52:00.878Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T05:52:00.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:52:00.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T05:52:00.949Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T05:52:00.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T05:52:03.161Z] $ docker top 377cb5ebf88e06cf428ecde00d1ccf063b2859a74dd0673c455794d38ffc3a0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:52:03.575Z] ---> job-cost.sh [2022-05-11T05:52:03.575Z] lf-activate-venv: SKIPPING [2022-05-11T05:52:03.575Z] INFO: No Stack... [2022-05-11T05:52:03.836Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:52:04.406Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:52:04.703Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-05-11T05:52:04.703Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:52:04.723Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [2022-05-11T05:52:04.729Z] Resource [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] did not exist. Created. [2022-05-11T05:52:04.729Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:52:05.040Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T05:52:05.067Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:52:05.073Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:52:05.089Z] $ docker stop --time=1 377cb5ebf88e06cf428ecde00d1ccf063b2859a74dd0673c455794d38ffc3a0e [2022-05-11T05:52:06.338Z] $ docker rm -f 377cb5ebf88e06cf428ecde00d1ccf063b2859a74dd0673c455794d38ffc3a0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T05:53:38.533Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63059 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-05-11T05:53:38.544Z] Running in /w/workspace/device-rest-go/40 [Pipeline] { [Pipeline] checkout [2022-05-11T05:53:38.908Z] The recommended git tool is: git [2022-05-11T05:53:46.098Z] using credential edgex-jenkins-ssh [2022-05-11T05:53:46.114Z] Cloning the remote Git repository [2022-05-11T05:53:46.172Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T05:53:46.246Z] > git init /w/workspace/device-rest-go/40 # timeout=10 [2022-05-11T05:53:46.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T05:53:46.317Z] > git --version # timeout=10 [2022-05-11T05:53:46.352Z] > git --version # 'git version 2.25.1' [2022-05-11T05:53:46.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:53:46.445Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:53:48.351Z] Avoid second fetch [2022-05-11T05:53:48.352Z] Checking out Revision 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (main) [2022-05-11T05:53:48.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T05:53:48.332Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:53:48.374Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:53:48.435Z] > git checkout -f 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [2022-05-11T05:53:53.071Z] Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:53:53.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T05:53:53.942Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:53:53.942Z] Dload Upload Total Spent Left Speed [2022-05-11T05:53:53.942Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-05-11T05:53:54.478Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T05:53:54.825Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T05:53:54.825Z] + sudo tee /etc/docker/daemon.new [2022-05-11T05:53:54.825Z] { [2022-05-11T05:53:54.825Z] "registry-mirrors": [ [2022-05-11T05:53:54.825Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T05:53:54.825Z] ], [2022-05-11T05:53:54.825Z] "bip": "10.250.0.254/24", [2022-05-11T05:53:54.825Z] "hosts": [ [2022-05-11T05:53:54.825Z] "tcp://0.0.0.0:5555", [2022-05-11T05:53:54.825Z] "unix:///var/run/docker.sock" [2022-05-11T05:53:54.825Z] ], [2022-05-11T05:53:54.825Z] "mtu": 1458, [2022-05-11T05:53:54.825Z] "selinux-enabled": true, [2022-05-11T05:53:54.825Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T05:53:54.825Z] } [Pipeline] sh [2022-05-11T05:53:55.175Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T05:53:55.524Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:54:13.891Z] provisioning config files... [2022-05-11T05:54:13.922Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config6991574328591498048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:54:14.303Z] ---> docker-login.sh [2022-05-11T05:54:14.303Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:54:14.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:54:15.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:54:15.184Z] Configure a credential helper to remove this warning. See [2022-05-11T05:54:15.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:54:15.184Z] [2022-05-11T05:54:15.184Z] Login Succeeded [2022-05-11T05:54:15.184Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:54:15.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:54:15.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:54:15.785Z] Configure a credential helper to remove this warning. See [2022-05-11T05:54:15.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:54:15.785Z] [2022-05-11T05:54:15.785Z] Login Succeeded [2022-05-11T05:54:15.785Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:54:16.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:54:16.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:54:16.342Z] Configure a credential helper to remove this warning. See [2022-05-11T05:54:16.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:54:16.342Z] [2022-05-11T05:54:16.342Z] Login Succeeded [2022-05-11T05:54:16.342Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:54:16.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:54:16.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:54:16.891Z] Configure a credential helper to remove this warning. See [2022-05-11T05:54:16.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:54:16.891Z] [2022-05-11T05:54:16.891Z] Login Succeeded [2022-05-11T05:54:16.891Z] docker.io [2022-05-11T05:54:17.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:54:17.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:54:17.768Z] Configure a credential helper to remove this warning. See [2022-05-11T05:54:17.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:54:17.768Z] [2022-05-11T05:54:17.768Z] Login Succeeded [2022-05-11T05:54:17.768Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:54:17.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:54:18.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:54:18.593Z] ========================================================= [2022-05-11T05:54:18.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T05:54:18.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:54:18.962Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:54:18.962Z] Sending build context to Docker daemon 128.5kB [2022-05-11T05:54:19.242Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:54:19.242Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:54:19.524Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T05:54:19.524Z] 9b3977197b4f: Pulling fs layer [2022-05-11T05:54:19.524Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T05:54:19.524Z] 94645a83ff95: Pulling fs layer [2022-05-11T05:54:19.524Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T05:54:19.524Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T05:54:19.524Z] 3096ccb668a1: Pulling fs layer [2022-05-11T05:54:19.524Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T05:54:19.524Z] a4caa8a26152: Pulling fs layer [2022-05-11T05:54:19.524Z] 3096ccb668a1: Waiting [2022-05-11T05:54:19.524Z] e8cf19c19ddd: Waiting [2022-05-11T05:54:19.524Z] 3f3a8bcf1eab: Waiting [2022-05-11T05:54:19.524Z] 0c92f367c5e7: Waiting [2022-05-11T05:54:19.524Z] a4caa8a26152: Waiting [2022-05-11T05:54:19.524Z] 94645a83ff95: Verifying Checksum [2022-05-11T05:54:19.524Z] 94645a83ff95: Download complete [2022-05-11T05:54:19.524Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T05:54:19.524Z] 1a89e8eeedd5: Download complete [2022-05-11T05:54:19.524Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T05:54:19.524Z] 0c92f367c5e7: Download complete [2022-05-11T05:54:19.524Z] 3096ccb668a1: Verifying Checksum [2022-05-11T05:54:19.524Z] 3096ccb668a1: Download complete [2022-05-11T05:54:19.524Z] 9b3977197b4f: Verifying Checksum [2022-05-11T05:54:19.524Z] 9b3977197b4f: Download complete [2022-05-11T05:54:19.815Z] e8cf19c19ddd: Download complete [2022-05-11T05:54:20.427Z] 9b3977197b4f: Pull complete [2022-05-11T05:54:21.036Z] 1a89e8eeedd5: Pull complete [2022-05-11T05:54:21.644Z] 94645a83ff95: Pull complete [2022-05-11T05:54:21.918Z] a4caa8a26152: Verifying Checksum [2022-05-11T05:54:21.918Z] a4caa8a26152: Download complete [2022-05-11T05:54:22.520Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T05:54:34.939Z] 3f3a8bcf1eab: Pull complete [2022-05-11T05:54:34.939Z] 0c92f367c5e7: Pull complete [2022-05-11T05:54:34.939Z] 3096ccb668a1: Pull complete [2022-05-11T05:54:34.939Z] e8cf19c19ddd: Pull complete [2022-05-11T05:54:41.675Z] a4caa8a26152: Pull complete [2022-05-11T05:54:41.675Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T05:54:41.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T05:54:41.675Z] ---> 725f1c02e7f9 [2022-05-11T05:54:41.675Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T05:54:42.275Z] ---> Running in 673814b3ecc5 [2022-05-11T05:54:42.550Z] Removing intermediate container 673814b3ecc5 [2022-05-11T05:54:42.550Z] ---> ae064155e1e1 [2022-05-11T05:54:42.550Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:54:42.824Z] ---> Running in 2be5538702fd [2022-05-11T05:54:43.099Z] Removing intermediate container 2be5538702fd [2022-05-11T05:54:43.099Z] ---> b37f258266b5 [2022-05-11T05:54:43.099Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:54:43.099Z] ---> Running in 8142329e7db2 [2022-05-11T05:54:43.375Z] Removing intermediate container 8142329e7db2 [2022-05-11T05:54:43.375Z] ---> a4ff293c13e5 [2022-05-11T05:54:43.375Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:54:43.651Z] ---> Running in e381a0dc0dca [2022-05-11T05:54:45.651Z] Removing intermediate container e381a0dc0dca [2022-05-11T05:54:45.651Z] ---> 708071c9c50e [2022-05-11T05:54:45.651Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:54:45.651Z] ---> Running in e58d0d30785b [2022-05-11T05:54:48.283Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:54:48.884Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:54:50.332Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:54:50.332Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:54:50.332Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:54:50.332Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:54:50.608Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:54:50.608Z] OK: 224 MiB in 56 packages [2022-05-11T05:54:51.608Z] Removing intermediate container e58d0d30785b [2022-05-11T05:54:51.608Z] ---> f9f6b6f2b109 [2022-05-11T05:54:51.608Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T05:54:51.898Z] ---> Running in 187338fd7b1a [2022-05-11T05:54:52.173Z] Removing intermediate container 187338fd7b1a [2022-05-11T05:54:52.173Z] ---> e41369c99a7b [2022-05-11T05:54:52.173Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T05:54:52.781Z] ---> b8f9eadd6f4c [2022-05-11T05:54:52.781Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:54:52.781Z] ---> Running in cf4e4ebbb709 [2022-05-11T05:55:39.843Z] Removing intermediate container cf4e4ebbb709 [2022-05-11T05:55:39.843Z] ---> 16d8df65c5a8 [2022-05-11T05:55:39.843Z] Step 11/12 : COPY . . [2022-05-11T05:55:40.832Z] ---> d623ad1d3cbc [2022-05-11T05:55:40.832Z] Step 12/12 : RUN $MAKE [2022-05-11T05:55:40.832Z] ---> Running in 23d05b5eebb2 [2022-05-11T05:55:42.277Z] noop [2022-05-11T05:55:42.877Z] Removing intermediate container 23d05b5eebb2 [2022-05-11T05:55:42.877Z] ---> 330bf4b05afc [2022-05-11T05:55:42.877Z] Successfully built 330bf4b05afc [2022-05-11T05:55:42.877Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:55:43.241Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:55:43.241Z] . [Pipeline] withDockerContainer [2022-05-11T05:55:43.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-63059 does not seem to be running inside a container [2022-05-11T05:55:43.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:55:45.111Z] $ docker top 6ae1f8deef2add28b2f69ae53a4cef20b56863604d2e033d04e179ff5a4447a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:55:46.088Z] + go version [2022-05-11T05:55:46.088Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T05:55:46.118Z] $ docker stop --time=1 6ae1f8deef2add28b2f69ae53a4cef20b56863604d2e033d04e179ff5a4447a4 [2022-05-11T05:55:47.873Z] $ docker rm -f 6ae1f8deef2add28b2f69ae53a4cef20b56863604d2e033d04e179ff5a4447a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:55:48.532Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:55:48.532Z] . [Pipeline] withDockerContainer [2022-05-11T05:55:48.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-63059 does not seem to be running inside a container [2022-05-11T05:55:48.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-11T05:55:50.335Z] $ docker top 2e2162a1b57f1136436429cf72839537b4f1f12e74e6866780139c85ef33702d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:55:51.331Z] + make test [2022-05-11T05:55:51.331Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T05:55:53.330Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T05:57:30.333Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T05:57:30.333Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 55.2% of statements [2022-05-11T05:57:30.333Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T05:57:30.333Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:57:57.229Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:57:57.229Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:57:57.229Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:57:57.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:57:57.876Z] $ docker stop --time=1 2e2162a1b57f1136436429cf72839537b4f1f12e74e6866780139c85ef33702d [2022-05-11T05:57:59.702Z] $ docker rm -f 2e2162a1b57f1136436429cf72839537b4f1f12e74e6866780139c85ef33702d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:58:00.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:58:00.741Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T05:58:01.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:58:01.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:58:02.198Z] + ls -al . [2022-05-11T05:58:02.198Z] total 168 [2022-05-11T05:58:02.198Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:57 . [2022-05-11T05:58:02.198Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:53 .. [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 05:53 .dockerignore [2022-05-11T05:58:02.198Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:53 .git [2022-05-11T05:58:02.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:53 .github [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 05:53 .gitignore [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:53 .golangci.yml [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 05:53 Attribution.txt [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 05:53 CHANGELOG.md [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 05:53 Dockerfile [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:53 GOVERNANCE.md [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:53 Jenkinsfile [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:53 LICENSE [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 05:53 Makefile [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:53 OWNERS.md [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 05:53 README.md [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:50 VERSION [2022-05-11T05:58:02.198Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:53 bin [2022-05-11T05:58:02.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:53 cmd [2022-05-11T05:58:02.198Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 05:57 coverage.out [2022-05-11T05:58:02.198Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:53 driver [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 05:53 go.mod [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 05:53 go.sum [2022-05-11T05:58:02.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:53 snap [2022-05-11T05:58:02.198Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 05:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:58:02.557Z] + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=arm64 --label version=2.2.0-dev.18 . [2022-05-11T05:58:02.557Z] Sending build context to Docker daemon 138.8kB [2022-05-11T05:58:02.879Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:58:02.879Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T05:58:02.879Z] ---> 330bf4b05afc [2022-05-11T05:58:02.879Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T05:58:03.158Z] ---> Running in 98c1ee600dfe [2022-05-11T05:58:03.435Z] Removing intermediate container 98c1ee600dfe [2022-05-11T05:58:03.435Z] ---> a5fc7eaed9dd [2022-05-11T05:58:03.435Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:58:03.435Z] ---> Running in 82570b403d55 [2022-05-11T05:58:04.033Z] Removing intermediate container 82570b403d55 [2022-05-11T05:58:04.033Z] ---> d69ef2a630f6 [2022-05-11T05:58:04.033Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:58:04.033Z] ---> Running in 0791fe066958 [2022-05-11T05:58:04.342Z] Removing intermediate container 0791fe066958 [2022-05-11T05:58:04.342Z] ---> 31b969145c9b [2022-05-11T05:58:04.342Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:58:04.342Z] ---> Running in bf2e738b6f0b [2022-05-11T05:58:06.332Z] Removing intermediate container bf2e738b6f0b [2022-05-11T05:58:06.332Z] ---> a15e1209cbb1 [2022-05-11T05:58:06.332Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:58:06.332Z] ---> Running in 8a5d484817b6 [2022-05-11T05:58:07.318Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:58:08.309Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:58:09.294Z] OK: 224 MiB in 56 packages [2022-05-11T05:58:10.281Z] Removing intermediate container 8a5d484817b6 [2022-05-11T05:58:10.281Z] ---> d39f3c45feca [2022-05-11T05:58:10.281Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T05:58:10.281Z] ---> Running in b02be3cc0b04 [2022-05-11T05:58:10.556Z] Removing intermediate container b02be3cc0b04 [2022-05-11T05:58:10.556Z] ---> 8801adfd6f6f [2022-05-11T05:58:10.556Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T05:58:11.155Z] ---> e046ec4bb15c [2022-05-11T05:58:11.155Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:58:11.155Z] ---> Running in 4ae3a447cb2a [2022-05-11T05:58:13.142Z] Removing intermediate container 4ae3a447cb2a [2022-05-11T05:58:13.142Z] ---> 46038b5692f1 [2022-05-11T05:58:13.142Z] Step 11/25 : COPY . . [2022-05-11T05:58:14.129Z] ---> fbea04006526 [2022-05-11T05:58:14.129Z] Step 12/25 : RUN $MAKE [2022-05-11T05:58:14.129Z] ---> Running in 5edd8535b18a [2022-05-11T05:58:15.119Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T06:00:37.087Z] Removing intermediate container 5edd8535b18a [2022-05-11T06:00:37.087Z] ---> 60208b2720bc [2022-05-11T06:00:37.087Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T06:00:37.087Z] 3.14: Pulling from library/alpine [2022-05-11T06:00:37.087Z] 455c02918c45: Pulling fs layer [2022-05-11T06:00:37.087Z] 455c02918c45: Download complete [2022-05-11T06:00:37.087Z] 455c02918c45: Pull complete [2022-05-11T06:00:37.087Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T06:00:37.087Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T06:00:37.087Z] ---> ac73e934f311 [2022-05-11T06:00:37.087Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T06:00:37.087Z] ---> Running in dba501b4d8ba [2022-05-11T06:00:37.087Z] Removing intermediate container dba501b4d8ba [2022-05-11T06:00:37.087Z] ---> 8494fd0f91b7 [2022-05-11T06:00:37.087Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T06:00:37.087Z] ---> Running in 1af8c3b4a76c [2022-05-11T06:00:37.087Z] Removing intermediate container 1af8c3b4a76c [2022-05-11T06:00:37.087Z] ---> 72919de78d88 [2022-05-11T06:00:37.087Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T06:00:37.087Z] ---> Running in da4b604501af [2022-05-11T06:00:37.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T06:00:37.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T06:00:37.087Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T06:00:37.364Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T06:00:37.364Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T06:00:37.364Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T06:00:37.364Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T06:00:37.364Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T06:00:37.364Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T06:00:37.364Z] OK: 8 MiB in 20 packages [2022-05-11T06:00:38.357Z] Removing intermediate container da4b604501af [2022-05-11T06:00:38.357Z] ---> a7bb2500fa2c [2022-05-11T06:00:38.357Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T06:00:39.793Z] ---> e59fed37acb5 [2022-05-11T06:00:39.793Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T06:00:40.390Z] ---> 790c51d76663 [2022-05-11T06:00:40.390Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T06:00:40.999Z] ---> c2ef9b1a544b [2022-05-11T06:00:40.999Z] Step 20/25 : EXPOSE 59986 [2022-05-11T06:00:40.999Z] ---> Running in 501d79ef4589 [2022-05-11T06:00:41.273Z] Removing intermediate container 501d79ef4589 [2022-05-11T06:00:41.273Z] ---> f84b02b56751 [2022-05-11T06:00:41.273Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T06:00:41.273Z] ---> Running in d02e8fe12239 [2022-05-11T06:00:41.566Z] Removing intermediate container d02e8fe12239 [2022-05-11T06:00:41.566Z] ---> 57166e5c8c57 [2022-05-11T06:00:41.566Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T06:00:41.843Z] ---> Running in 9f408fd7b3ee [2022-05-11T06:00:42.123Z] Removing intermediate container 9f408fd7b3ee [2022-05-11T06:00:42.123Z] ---> dfcd07030f33 [2022-05-11T06:00:42.123Z] Step 23/25 : LABEL arch=arm64 [2022-05-11T06:00:42.123Z] ---> Running in 9d1d437f3eb2 [2022-05-11T06:00:42.396Z] Removing intermediate container 9d1d437f3eb2 [2022-05-11T06:00:42.396Z] ---> 86b3075c863c [2022-05-11T06:00:42.396Z] Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T06:00:42.396Z] ---> Running in 6098e574bbe4 [2022-05-11T06:00:42.676Z] Removing intermediate container 6098e574bbe4 [2022-05-11T06:00:42.676Z] ---> e86957b6fa41 [2022-05-11T06:00:42.676Z] Step 25/25 : LABEL version=2.2.0-dev.18 [2022-05-11T06:00:42.948Z] ---> Running in 67abe710b882 [2022-05-11T06:00:43.223Z] Removing intermediate container 67abe710b882 [2022-05-11T06:00:43.223Z] ---> a400264dc8fb [2022-05-11T06:00:43.223Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T06:00:43.223Z] Successfully built a400264dc8fb [2022-05-11T06:00:43.223Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:00:43.324Z] provisioning config files... [2022-05-11T06:00:43.346Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/40@tmp/config5902461385823854117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:00:43.702Z] ---> docker-login.sh [2022-05-11T06:00:43.702Z] nexus3.edgexfoundry.org:10001 [2022-05-11T06:00:43.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:00:43.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:00:43.979Z] Configure a credential helper to remove this warning. See [2022-05-11T06:00:43.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:00:43.979Z] [2022-05-11T06:00:43.979Z] Login Succeeded [2022-05-11T06:00:43.979Z] nexus3.edgexfoundry.org:10002 [2022-05-11T06:00:44.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:00:44.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:00:44.578Z] Configure a credential helper to remove this warning. See [2022-05-11T06:00:44.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:00:44.578Z] [2022-05-11T06:00:44.578Z] Login Succeeded [2022-05-11T06:00:44.578Z] nexus3.edgexfoundry.org:10003 [2022-05-11T06:00:44.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:00:45.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:00:45.131Z] Configure a credential helper to remove this warning. See [2022-05-11T06:00:45.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:00:45.131Z] [2022-05-11T06:00:45.131Z] Login Succeeded [2022-05-11T06:00:45.131Z] nexus3.edgexfoundry.org:10004 [2022-05-11T06:00:45.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:00:45.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:00:45.683Z] Configure a credential helper to remove this warning. See [2022-05-11T06:00:45.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:00:45.683Z] [2022-05-11T06:00:45.683Z] Login Succeeded [2022-05-11T06:00:45.683Z] docker.io [2022-05-11T06:00:45.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T06:00:46.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T06:00:46.231Z] Configure a credential helper to remove this warning. See [2022-05-11T06:00:46.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T06:00:46.231Z] [2022-05-11T06:00:46.505Z] Login Succeeded [2022-05-11T06:00:46.505Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T06:00:46.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:00:46.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T06:00:46.595Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-05-11T06:00:46.595Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T06:00:46.595Z] latest [2022-05-11T06:00:46.595Z] 2.2.0-dev.18 [2022-05-11T06:00:46.595Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T06:00:46.595Z] main [2022-05-11T06:00:46.595Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:46.959Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:47.329Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T06:00:47.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T06:00:47.329Z] 9a5f5723b3bd: Preparing [2022-05-11T06:00:47.329Z] adfda949fd5d: Preparing [2022-05-11T06:00:47.329Z] 698e4ead8211: Preparing [2022-05-11T06:00:47.329Z] 9c1617e05727: Preparing [2022-05-11T06:00:47.329Z] f73e7dbfee58: Preparing [2022-05-11T06:00:47.329Z] f73e7dbfee58: Layer already exists [2022-05-11T06:00:47.620Z] adfda949fd5d: Pushed [2022-05-11T06:00:47.620Z] 9a5f5723b3bd: Pushed [2022-05-11T06:00:48.221Z] 9c1617e05727: Pushed [2022-05-11T06:00:53.628Z] 698e4ead8211: Pushed [2022-05-11T06:00:53.628Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:cf4a88bbf476d6e2d2b930ad178835e45f7d713e02cb8511e88cf0dcccf95602 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:53.984Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:54.330Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-11T06:00:54.331Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T06:00:54.331Z] 9a5f5723b3bd: Preparing [2022-05-11T06:00:54.331Z] adfda949fd5d: Preparing [2022-05-11T06:00:54.331Z] 698e4ead8211: Preparing [2022-05-11T06:00:54.331Z] 9c1617e05727: Preparing [2022-05-11T06:00:54.331Z] f73e7dbfee58: Preparing [2022-05-11T06:00:54.331Z] adfda949fd5d: Layer already exists [2022-05-11T06:00:54.331Z] 698e4ead8211: Layer already exists [2022-05-11T06:00:54.331Z] 9c1617e05727: Layer already exists [2022-05-11T06:00:54.331Z] f73e7dbfee58: Layer already exists [2022-05-11T06:00:54.604Z] 9a5f5723b3bd: Layer already exists [2022-05-11T06:00:54.604Z] latest: digest: sha256:cf4a88bbf476d6e2d2b930ad178835e45f7d713e02cb8511e88cf0dcccf95602 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:54.970Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:55.321Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.18 [2022-05-11T06:00:55.321Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T06:00:55.321Z] 9a5f5723b3bd: Preparing [2022-05-11T06:00:55.321Z] adfda949fd5d: Preparing [2022-05-11T06:00:55.321Z] 698e4ead8211: Preparing [2022-05-11T06:00:55.321Z] 9c1617e05727: Preparing [2022-05-11T06:00:55.321Z] f73e7dbfee58: Preparing [2022-05-11T06:00:55.321Z] 698e4ead8211: Layer already exists [2022-05-11T06:00:55.595Z] f73e7dbfee58: Layer already exists [2022-05-11T06:00:55.595Z] adfda949fd5d: Layer already exists [2022-05-11T06:00:55.595Z] 9a5f5723b3bd: Layer already exists [2022-05-11T06:00:55.595Z] 9c1617e05727: Layer already exists [2022-05-11T06:00:55.595Z] 2.2.0-dev.18: digest: sha256:cf4a88bbf476d6e2d2b930ad178835e45f7d713e02cb8511e88cf0dcccf95602 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:55.946Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:56.292Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T06:00:56.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T06:00:56.293Z] 9a5f5723b3bd: Preparing [2022-05-11T06:00:56.293Z] adfda949fd5d: Preparing [2022-05-11T06:00:56.293Z] 698e4ead8211: Preparing [2022-05-11T06:00:56.293Z] 9c1617e05727: Preparing [2022-05-11T06:00:56.293Z] f73e7dbfee58: Preparing [2022-05-11T06:00:56.293Z] 9a5f5723b3bd: Layer already exists [2022-05-11T06:00:56.293Z] adfda949fd5d: Layer already exists [2022-05-11T06:00:56.293Z] f73e7dbfee58: Layer already exists [2022-05-11T06:00:56.293Z] 9c1617e05727: Layer already exists [2022-05-11T06:00:56.293Z] 698e4ead8211: Layer already exists [2022-05-11T06:00:56.566Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18: digest: sha256:cf4a88bbf476d6e2d2b930ad178835e45f7d713e02cb8511e88cf0dcccf95602 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:56.911Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:57.259Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-05-11T06:00:57.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T06:00:57.259Z] 9a5f5723b3bd: Preparing [2022-05-11T06:00:57.259Z] adfda949fd5d: Preparing [2022-05-11T06:00:57.259Z] 698e4ead8211: Preparing [2022-05-11T06:00:57.259Z] 9c1617e05727: Preparing [2022-05-11T06:00:57.259Z] f73e7dbfee58: Preparing [2022-05-11T06:00:57.259Z] 9c1617e05727: Layer already exists [2022-05-11T06:00:57.259Z] adfda949fd5d: Layer already exists [2022-05-11T06:00:57.259Z] f73e7dbfee58: Layer already exists [2022-05-11T06:00:57.259Z] 698e4ead8211: Layer already exists [2022-05-11T06:00:57.259Z] 9a5f5723b3bd: Layer already exists [2022-05-11T06:00:57.533Z] main: digest: sha256:cf4a88bbf476d6e2d2b930ad178835e45f7d713e02cb8511e88cf0dcccf95602 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T06:00:57.586Z] ===================================================== [Pipeline] echo [2022-05-11T06:00:57.599Z] taggedImages: [2022-05-11T06:00:57.599Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T06:00:57.599Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-11T06:00:57.599Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.18 [2022-05-11T06:00:57.599Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0-dev.18 [2022-05-11T06:00:57.599Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:57.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:00:57.988Z] [2022-05-11T06:00:57.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:58.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:00:58.622Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T06:00:58.622Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T06:00:58.622Z] 04944245beec: Pulling fs layer [2022-05-11T06:00:58.623Z] 699f458cf7ca: Pulling fs layer [2022-05-11T06:00:58.623Z] 765212b225bb: Pulling fs layer [2022-05-11T06:00:58.623Z] f23df028b6ca: Pulling fs layer [2022-05-11T06:00:58.623Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T06:00:58.623Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T06:00:58.623Z] f23df028b6ca: Waiting [2022-05-11T06:00:58.623Z] d65c8cfc05b1: Waiting [2022-05-11T06:00:58.623Z] 2437ff75d9bd: Waiting [2022-05-11T06:00:58.623Z] 765212b225bb: Waiting [2022-05-11T06:00:58.623Z] 04944245beec: Verifying Checksum [2022-05-11T06:00:58.623Z] 04944245beec: Download complete [2022-05-11T06:00:58.623Z] 765212b225bb: Download complete [2022-05-11T06:00:58.623Z] f23df028b6ca: Verifying Checksum [2022-05-11T06:00:58.623Z] f23df028b6ca: Download complete [2022-05-11T06:00:58.623Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T06:00:58.623Z] d65c8cfc05b1: Download complete [2022-05-11T06:00:58.902Z] 699f458cf7ca: Verifying Checksum [2022-05-11T06:00:58.902Z] 699f458cf7ca: Download complete [2022-05-11T06:00:59.178Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T06:00:59.178Z] 8998bd30e6a1: Download complete [2022-05-11T06:01:01.844Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T06:01:01.844Z] 2437ff75d9bd: Download complete [2022-05-11T06:01:03.915Z] 8998bd30e6a1: Pull complete [2022-05-11T06:01:04.203Z] 04944245beec: Pull complete [2022-05-11T06:01:06.224Z] 699f458cf7ca: Pull complete [2022-05-11T06:01:06.224Z] 765212b225bb: Pull complete [2022-05-11T06:01:07.208Z] f23df028b6ca: Pull complete [2022-05-11T06:01:07.208Z] d65c8cfc05b1: Pull complete [2022-05-11T06:01:22.305Z] 2437ff75d9bd: Pull complete [2022-05-11T06:01:22.305Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T06:01:22.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:01:22.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T06:01:22.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-63059 does not seem to be running inside a container [2022-05-11T06:01:22.629Z] $ 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/40 -v /w/workspace/device-rest-go/40:/w/workspace/device-rest-go/40:rw,z -v /w/workspace/device-rest-go/40@tmp:/w/workspace/device-rest-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T06:01:25.385Z] $ docker top cb0cea1c2f4e1cdf3edee3844466233562f4243c8ca46e137580136806ff3671 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:26.335Z] ---> job-cost.sh [2022-05-11T06:01:26.335Z] lf-activate-venv: SKIPPING [2022-05-11T06:01:26.335Z] INFO: No Stack... [2022-05-11T06:01:26.928Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T06:01:27.904Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T06:01:28.569Z] + + catcut /w/workspace/device-rest-go/40/archives/cost.csv -d, [2022-05-11T06:01:28.569Z] -f6 [Pipeline] lock [2022-05-11T06:01:28.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [2022-05-11T06:01:28.639Z] Resource [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] did not exist. Created. [2022-05-11T06:01:28.640Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:01:29.326Z] /w/workspace/device-rest-go/40@tmp/durable-6a79bb04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T06:01:30.015Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T06:01:30.037Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T06:01:30.083Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T06:01:30.093Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T06:01:30.116Z] $ docker stop --time=1 cb0cea1c2f4e1cdf3edee3844466233562f4243c8ca46e137580136806ff3671 [2022-05-11T06:01:31.650Z] $ docker rm -f cb0cea1c2f4e1cdf3edee3844466233562f4243c8ca46e137580136806ff3671 [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 [2022-05-11T06:01:32.144Z] provisioning config files... [2022-05-11T06:01:32.153Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4913092334106330599tmp [Pipeline] { [Pipeline] sh [2022-05-11T06:01:32.460Z] + set +x [2022-05-11T06:01:32.460Z] + curl+ -s https://codecov.io/bash [2022-05-11T06:01:32.460Z] bash -s -- [2022-05-11T06:01:32.460Z] [2022-05-11T06:01:32.460Z] _____ _ [2022-05-11T06:01:32.460Z] / ____| | | [2022-05-11T06:01:32.460Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T06:01:32.460Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T06:01:32.460Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T06:01:32.460Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T06:01:32.460Z] Bash-1.0.6 [2022-05-11T06:01:32.460Z] [2022-05-11T06:01:32.460Z] [2022-05-11T06:01:32.460Z] ==> git version 2.25.1 found [2022-05-11T06:01:32.460Z] ==> 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 [2022-05-11T06:01:32.460Z] Release-Date: 2020-01-08 [2022-05-11T06:01:32.460Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-11T06:01:32.460Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T06:01:32.460Z] ==> Jenkins CI detected. [2022-05-11T06:01:32.460Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-05-11T06:01:32.460Z] project root: . [2022-05-11T06:01:32.460Z] --> token set from env [2022-05-11T06:01:32.460Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T06:01:32.460Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T06:01:32.460Z] ==> Python coveragepy not found [2022-05-11T06:01:32.460Z] ==> Searching for coverage reports in: [2022-05-11T06:01:32.460Z] + . [2022-05-11T06:01:32.460Z] -> Found 1 reports [2022-05-11T06:01:32.460Z] ==> Detecting git/mercurial file structure [2022-05-11T06:01:32.460Z] ==> Reading reports [2022-05-11T06:01:32.460Z] + ./coverage.out bytes=9355 [2022-05-11T06:01:32.460Z] ==> Appending adjustments [2022-05-11T06:01:32.460Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T06:01:32.720Z] + Found adjustments [2022-05-11T06:01:32.720Z] ==> Gzipping contents [2022-05-11T06:01:32.720Z] 4.0K /tmp/codecov.FDsUCZ.gz [2022-05-11T06:01:32.720Z] ==> Uploading reports [2022-05-11T06:01:32.720Z] url: https://codecov.io [2022-05-11T06:01:32.720Z] query: branch=main&commit=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:01:32.720Z] -> Pinging Codecov [2022-05-11T06:01:32.720Z] 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:01:32.981Z] -> Uploading to [2022-05-11T06:01:32.981Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/99d2988c42a4468ca534e1bc92575890b1a7bdf5/a109acbb-09d0-4b78-8523-991cf2657c2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T060132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dcd102d6127abfc8d9780e771a195210047dfd7266b5bdffc0eb21e5a81232b [2022-05-11T06:01:32.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T06:01:32.981Z] Dload Upload Total Spent Left Speed [2022-05-11T06:01:33.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8518 --:--:-- --:--:-- --:--:-- 8518 [2022-05-11T06:01:33.241Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] } [2022-05-11T06:01:33.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T06:01:33.389Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T06:01:33.398Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:33.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:01:33.697Z] [2022-05-11T06:01:33.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:34.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:01:34.003Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T06:01:34.003Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T06:01:34.003Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T06:01:34.003Z] de9db76c5a1d: Pulling fs layer [2022-05-11T06:01:34.003Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T06:01:34.003Z] 0d57e429df01: Pulling fs layer [2022-05-11T06:01:34.003Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T06:01:34.003Z] e1f770b5df2f: Pulling fs layer [2022-05-11T06:01:34.003Z] 85a0685a4137: Pulling fs layer [2022-05-11T06:01:34.003Z] 0eba1c9be4d2: Waiting [2022-05-11T06:01:34.003Z] e1f770b5df2f: Waiting [2022-05-11T06:01:34.003Z] 85a0685a4137: Waiting [2022-05-11T06:01:34.003Z] 0d57e429df01: Waiting [2022-05-11T06:01:34.003Z] de9db76c5a1d: Verifying Checksum [2022-05-11T06:01:34.003Z] de9db76c5a1d: Download complete [2022-05-11T06:01:34.003Z] 0ef7d3d256c8: Verifying Checksum [2022-05-11T06:01:34.003Z] 0ef7d3d256c8: Download complete [2022-05-11T06:01:34.003Z] 0d57e429df01: Verifying Checksum [2022-05-11T06:01:34.003Z] 0d57e429df01: Download complete [2022-05-11T06:01:34.003Z] 4e4be7b47b0d: Verifying Checksum [2022-05-11T06:01:34.003Z] 4e4be7b47b0d: Download complete [2022-05-11T06:01:34.003Z] 188c0c94c7c5: Verifying Checksum [2022-05-11T06:01:34.003Z] 188c0c94c7c5: Download complete [2022-05-11T06:01:34.265Z] e1f770b5df2f: Verifying Checksum [2022-05-11T06:01:34.265Z] e1f770b5df2f: Download complete [2022-05-11T06:01:34.265Z] 188c0c94c7c5: Pull complete [2022-05-11T06:01:34.265Z] 0ef7d3d256c8: Pull complete [2022-05-11T06:01:34.527Z] de9db76c5a1d: Pull complete [2022-05-11T06:01:34.787Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T06:01:34.787Z] 0eba1c9be4d2: Download complete [2022-05-11T06:01:35.050Z] 85a0685a4137: Verifying Checksum [2022-05-11T06:01:35.050Z] 85a0685a4137: Download complete [2022-05-11T06:01:38.342Z] 0eba1c9be4d2: Pull complete [2022-05-11T06:01:38.342Z] 0d57e429df01: Pull complete [2022-05-11T06:01:38.342Z] 4e4be7b47b0d: Pull complete [2022-05-11T06:01:38.602Z] e1f770b5df2f: Pull complete [2022-05-11T06:01:42.802Z] 85a0685a4137: Pull complete [2022-05-11T06:01:42.802Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T06:01:42.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:01:42.802Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T06:01:42.873Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:01:42.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-11T06:01:45.225Z] $ docker top a04b53b5500f9e388aac135d40251ca645e8ca70dbd42a348f3276998f5d3c43 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T06:01:45.320Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T06:01:45.603Z] + set -o pipefail [2022-05-11T06:01:45.603Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T06:01:52.197Z] [2022-05-11T06:01:52.197Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-05-11T06:01:52.197Z] [2022-05-11T06:01:52.197Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/78757cb4-c749-4c25-820c-99df05702603 [2022-05-11T06:01:52.197Z] [2022-05-11T06:01:52.197Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-11T06:01:52.197Z] [2022-05-11T06:01:52.197Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T06:01:52.197Z] [2022-05-11T06:01:52.197Z] [Pipeline] } [2022-05-11T06:01:52.203Z] $ docker stop --time=1 a04b53b5500f9e388aac135d40251ca645e8ca70dbd42a348f3276998f5d3c43 [2022-05-11T06:01:54.380Z] $ docker rm -f a04b53b5500f9e388aac135d40251ca645e8ca70dbd42a348f3276998f5d3c43 [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 [2022-05-11T06:01:55.230Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] sh [2022-05-11T06:01:55.533Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:01:55.533Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:55.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:01:55.833Z] . [Pipeline] withDockerContainer [2022-05-11T06:01:55.900Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:01:55.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:01:56.436Z] $ docker top 9dc9016e7877db532a237d3ee09b8b974ca1eb8716502f56780f288bc4703333 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:01:56.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:01:56.544Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:01:56.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:01:56.667Z] $ docker exec 9dc9016e7877db532a237d3ee09b8b974ca1eb8716502f56780f288bc4703333 ssh-agent [2022-05-11T06:01:56.803Z] SSH_AUTH_SOCK=/tmp/ssh-jBhW5wivT4xp/agent.33 [2022-05-11T06:01:56.803Z] SSH_AGENT_PID=39 [2022-05-11T06:01:56.808Z] Running ssh-add (command line suppressed) [2022-05-11T06:01:56.920Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_833403459286532116.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_833403459286532116.key) [2022-05-11T06:01:56.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:01:57.236Z] + git semver tag [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,450 [run_tag] DEBUG tag force:False [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,450 [check_head_tag] DEBUG check head tag [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,450 [execute] INFO git cat-file --batch-check [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,455 [execute] INFO git cat-file --batch [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,471 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 [2022-05-11T06:01:57.498Z] 2022-05-11 06:01:57,472 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:01:57.499Z] 2022-05-11 06:01:57,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:01:57.499Z] 2.2.0-dev.18 [Pipeline] } [2022-05-11T06:01:57.501Z] $ docker exec --env ******** --env ******** 9dc9016e7877db532a237d3ee09b8b974ca1eb8716502f56780f288bc4703333 ssh-agent -k [2022-05-11T06:01:57.615Z] unset SSH_AUTH_SOCK; [2022-05-11T06:01:57.615Z] unset SSH_AGENT_PID; [2022-05-11T06:01:57.616Z] echo Agent pid 39 killed; [2022-05-11T06:01:57.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:01:57.953Z] + git semver [Pipeline] } [2022-05-11T06:01:58.219Z] $ docker stop --time=1 9dc9016e7877db532a237d3ee09b8b974ca1eb8716502f56780f288bc4703333 [2022-05-11T06:01:59.538Z] $ docker rm -f 9dc9016e7877db532a237d3ee09b8b974ca1eb8716502f56780f288bc4703333 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:59.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:01:59.969Z] [2022-05-11T06:01:59.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:00.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:02:00.269Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T06:02:00.269Z] ab5ef0e58194: Pulling fs layer [2022-05-11T06:02:00.269Z] 9712f1f96733: Pulling fs layer [2022-05-11T06:02:00.269Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T06:02:00.269Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T06:02:00.269Z] e9a5061849ea: Pulling fs layer [2022-05-11T06:02:00.269Z] d747dcd14b5f: Pulling fs layer [2022-05-11T06:02:00.269Z] 2de7ff778b66: Pulling fs layer [2022-05-11T06:02:00.269Z] 0d9ebad4ef96: Waiting [2022-05-11T06:02:00.269Z] e9a5061849ea: Waiting [2022-05-11T06:02:00.269Z] 2de7ff778b66: Waiting [2022-05-11T06:02:00.269Z] d747dcd14b5f: Waiting [2022-05-11T06:02:00.269Z] 9712f1f96733: Download complete [2022-05-11T06:02:00.538Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T06:02:00.538Z] 63f879dbbcfc: Download complete [2022-05-11T06:02:00.800Z] e9a5061849ea: Verifying Checksum [2022-05-11T06:02:00.800Z] e9a5061849ea: Download complete [2022-05-11T06:02:00.800Z] d747dcd14b5f: Verifying Checksum [2022-05-11T06:02:00.800Z] d747dcd14b5f: Download complete [2022-05-11T06:02:00.800Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T06:02:00.800Z] 0d9ebad4ef96: Download complete [2022-05-11T06:02:00.800Z] ab5ef0e58194: Verifying Checksum [2022-05-11T06:02:00.800Z] ab5ef0e58194: Download complete [2022-05-11T06:02:01.059Z] 2de7ff778b66: Verifying Checksum [2022-05-11T06:02:01.059Z] 2de7ff778b66: Download complete [2022-05-11T06:02:04.351Z] ab5ef0e58194: Pull complete [2022-05-11T06:02:04.351Z] 9712f1f96733: Pull complete [2022-05-11T06:02:04.921Z] 63f879dbbcfc: Pull complete [2022-05-11T06:02:09.120Z] 0d9ebad4ef96: Pull complete [2022-05-11T06:02:09.120Z] e9a5061849ea: Pull complete [2022-05-11T06:02:09.120Z] d747dcd14b5f: Pull complete [2022-05-11T06:02:10.503Z] 2de7ff778b66: Pull complete [2022-05-11T06:02:10.503Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T06:02:10.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:02:10.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T06:02:10.574Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:02:10.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-11T06:02:12.627Z] $ docker top 49365d01262f7a4e27ca1dd8c0c43038d471c9a22028d389aace486ae778766b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:02:12.719Z] provisioning config files... [2022-05-11T06:02:12.726Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4000265342797350161tmp [2022-05-11T06:02:12.742Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2565947876605626889tmp [2022-05-11T06:02:12.753Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8036250664101863071tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:02:12.770Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:13.063Z] ---> sigul-configuration.sh [2022-05-11T06:02:13.063Z] gpg: directory `/root/.gnupg' created [2022-05-11T06:02:13.063Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T06:02:13.063Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T06:02:13.063Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T06:02:13.063Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T06:02:13.063Z] gpg: CAST5 encrypted data [2022-05-11T06:02:13.063Z] gpg: encrypted with 1 passphrase [2022-05-11T06:02:13.063Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T06:02:13.356Z] + mkdir /home/jenkins [2022-05-11T06:02:13.356Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T06:02:13.651Z] + 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 [2022-05-11T06:02:13.662Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:13.950Z] ---> sigul-install.sh [2022-05-11T06:02:13.950Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T06:02:14.244Z] + git tag --list [2022-05-11T06:02:14.244Z] v1.0.0 [2022-05-11T06:02:14.244Z] v1.1.0 [2022-05-11T06:02:14.244Z] v1.1.1 [2022-05-11T06:02:14.244Z] v1.1.2 [2022-05-11T06:02:14.244Z] v1.2.0 [2022-05-11T06:02:14.244Z] v1.2.1 [2022-05-11T06:02:14.244Z] v2.0.0 [2022-05-11T06:02:14.244Z] v2.0.1-dev.1 [2022-05-11T06:02:14.244Z] v2.0.1-dev.10 [2022-05-11T06:02:14.244Z] v2.0.1-dev.11 [2022-05-11T06:02:14.244Z] v2.0.1-dev.12 [2022-05-11T06:02:14.244Z] v2.0.1-dev.13 [2022-05-11T06:02:14.244Z] v2.0.1-dev.14 [2022-05-11T06:02:14.244Z] v2.0.1-dev.2 [2022-05-11T06:02:14.244Z] v2.0.1-dev.3 [2022-05-11T06:02:14.244Z] v2.0.1-dev.4 [2022-05-11T06:02:14.244Z] v2.0.1-dev.5 [2022-05-11T06:02:14.244Z] v2.0.1-dev.6 [2022-05-11T06:02:14.244Z] v2.0.1-dev.7 [2022-05-11T06:02:14.244Z] v2.0.1-dev.8 [2022-05-11T06:02:14.244Z] v2.0.1-dev.9 [2022-05-11T06:02:14.244Z] v2.1.0 [2022-05-11T06:02:14.244Z] v2.2.0-dev.1 [2022-05-11T06:02:14.244Z] v2.2.0-dev.10 [2022-05-11T06:02:14.244Z] v2.2.0-dev.11 [2022-05-11T06:02:14.244Z] v2.2.0-dev.12 [2022-05-11T06:02:14.244Z] v2.2.0-dev.13 [2022-05-11T06:02:14.244Z] v2.2.0-dev.14 [2022-05-11T06:02:14.244Z] v2.2.0-dev.15 [2022-05-11T06:02:14.244Z] v2.2.0-dev.16 [2022-05-11T06:02:14.244Z] v2.2.0-dev.17 [2022-05-11T06:02:14.244Z] v2.2.0-dev.18 [2022-05-11T06:02:14.244Z] v2.2.0-dev.2 [2022-05-11T06:02:14.244Z] v2.2.0-dev.3 [2022-05-11T06:02:14.244Z] v2.2.0-dev.4 [2022-05-11T06:02:14.244Z] v2.2.0-dev.5 [2022-05-11T06:02:14.244Z] v2.2.0-dev.6 [2022-05-11T06:02:14.244Z] v2.2.0-dev.7 [2022-05-11T06:02:14.244Z] v2.2.0-dev.8 [2022-05-11T06:02:14.244Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T06:02:14.537Z] + lftools sign git-tag v2.2.0-dev.18 [2022-05-11T06:02:15.107Z] Signing Git tag with Sigul... [2022-05-11T06:02:15.107Z] Signing v2.2.0-dev.18 [Pipeline] echo [2022-05-11T06:02:15.689Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:15.975Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T06:02:15.983Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T06:02:15.996Z] $ docker stop --time=1 49365d01262f7a4e27ca1dd8c0c43038d471c9a22028d389aace486ae778766b [2022-05-11T06:02:17.304Z] $ docker rm -f 49365d01262f7a4e27ca1dd8c0c43038d471c9a22028d389aace486ae778766b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T06:02:17.736Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:02:17.736Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:18.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:02:18.034Z] . [Pipeline] withDockerContainer [2022-05-11T06:02:18.103Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:02:18.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:02:18.516Z] $ docker top d93d2f95fc7e74f622e4813b38d9b955a7d6c85e7be743d58a042e02f92e2855 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:02:18.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:02:18.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:02:18.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:02:18.788Z] $ docker exec d93d2f95fc7e74f622e4813b38d9b955a7d6c85e7be743d58a042e02f92e2855 ssh-agent [2022-05-11T06:02:18.946Z] SSH_AUTH_SOCK=/tmp/ssh-F0Ie6UYJMKwa/agent.33 [2022-05-11T06:02:18.946Z] SSH_AGENT_PID=40 [2022-05-11T06:02:18.951Z] Running ssh-add (command line suppressed) [2022-05-11T06:02:19.062Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6679918872349058347.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6679918872349058347.key) [2022-05-11T06:02:19.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:02:19.376Z] + git semver bump pre [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,578 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,578 [bump_version] DEBUG bumped version:2.2.0-dev.19 [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,578 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,578 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,580 [execute] INFO git cat-file --batch-check [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:02:19.637Z] 2022-05-11 06:02:19,586 [execute] INFO git cat-file --batch [2022-05-11T06:02:19.638Z] 2022-05-11 06:02:19,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:02:19.638Z] 2022-05-11 06:02:19,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:02:19.638Z] 2.2.0-dev.19 [Pipeline] } [2022-05-11T06:02:19.650Z] $ docker exec --env ******** --env ******** d93d2f95fc7e74f622e4813b38d9b955a7d6c85e7be743d58a042e02f92e2855 ssh-agent -k [2022-05-11T06:02:19.781Z] unset SSH_AUTH_SOCK; [2022-05-11T06:02:19.781Z] unset SSH_AGENT_PID; [2022-05-11T06:02:19.781Z] echo Agent pid 40 killed; [2022-05-11T06:02:19.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:02:20.133Z] + git semver [Pipeline] } [2022-05-11T06:02:20.402Z] $ docker stop --time=1 d93d2f95fc7e74f622e4813b38d9b955a7d6c85e7be743d58a042e02f92e2855 [2022-05-11T06:02:21.724Z] $ docker rm -f d93d2f95fc7e74f622e4813b38d9b955a7d6c85e7be743d58a042e02f92e2855 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:02:22.093Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:02:22.093Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:22.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:02:22.393Z] . [Pipeline] withDockerContainer [2022-05-11T06:02:22.467Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:02:22.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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T06:02:22.883Z] $ docker top b9c07438cb1c93202caef10d775928d43dc6f44db8d4623bc99d9c67e05afc40 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:02:23.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:02:23.010Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:02:23.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:02:23.150Z] $ docker exec b9c07438cb1c93202caef10d775928d43dc6f44db8d4623bc99d9c67e05afc40 ssh-agent [2022-05-11T06:02:23.285Z] SSH_AUTH_SOCK=/tmp/ssh-h4DjaPfZT0Yt/agent.32 [2022-05-11T06:02:23.285Z] SSH_AGENT_PID=40 [2022-05-11T06:02:23.291Z] Running ssh-add (command line suppressed) [2022-05-11T06:02:23.410Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3977851437780551151.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3977851437780551151.key) [2022-05-11T06:02:23.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:02:23.729Z] + git semver push [2022-05-11T06:02:23.990Z] 2022-05-11 06:02:23,937 [run_push] DEBUG push [2022-05-11T06:02:23.990Z] 2022-05-11 06:02:23,937 [execute] INFO git push origin semver [2022-05-11T06:02:23.990Z] 2022-05-11 06:02:23,938 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:02:24.931Z] 2022-05-11 06:02:24,757 [run_push] DEBUG push all version tags [2022-05-11T06:02:24.931Z] 2022-05-11 06:02:24,758 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-11T06:02:24.932Z] 2022-05-11 06:02:24,758 [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) [2022-05-11T06:02:25.875Z] 2022-05-11 06:02:25,518 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T06:02:25.875Z] 2.2.0-dev.19 [Pipeline] } [2022-05-11T06:02:25.878Z] $ docker exec --env ******** --env ******** b9c07438cb1c93202caef10d775928d43dc6f44db8d4623bc99d9c67e05afc40 ssh-agent -k [2022-05-11T06:02:26.001Z] unset SSH_AUTH_SOCK; [2022-05-11T06:02:26.001Z] unset SSH_AGENT_PID; [2022-05-11T06:02:26.001Z] echo Agent pid 40 killed; [2022-05-11T06:02:26.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:02:26.434Z] + git semver [Pipeline] } [2022-05-11T06:02:26.701Z] $ docker stop --time=1 b9c07438cb1c93202caef10d775928d43dc6f44db8d4623bc99d9c67e05afc40 [2022-05-11T06:02:28.033Z] $ docker rm -f b9c07438cb1c93202caef10d775928d43dc6f44db8d4623bc99d9c67e05afc40 [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 [2022-05-11T06:02:28.641Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-05-11T06:02:28.641Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T06:02:28.641Z] total 16 [2022-05-11T06:02:28.641Z] drwxr-xr-x 3 root root 4096 May 11 05:52 . [2022-05-11T06:02:28.641Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:02 .. [2022-05-11T06:02:28.641Z] drwxr-xr-x 2 root root 4096 May 11 05:52 cost [2022-05-11T06:02:28.642Z] -rw-r--r-- 1 root root 84 May 11 05:52 cost.csv [2022-05-11T06:02:28.642Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T06:02:28.642Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T06:02:28.642Z] total 16 [2022-05-11T06:02:28.642Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:52 . [2022-05-11T06:02:28.642Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:02 .. [2022-05-11T06:02:28.642Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:52 cost [2022-05-11T06:02:28.642Z] -rw-r--r-- 1 jenkins jenkins 84 May 11 05:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:28.933Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:29.803Z] ---> package-listing.sh [2022-05-11T06:02:29.803Z] ++ facter osfamily [2022-05-11T06:02:29.803Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T06:02:30.065Z] + OS_FAMILY=debian [2022-05-11T06:02:30.065Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-05-11T06:02:30.065Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T06:02:30.065Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T06:02:30.065Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T06:02:30.065Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T06:02:30.065Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-11T06:02:30.065Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T06:02:30.065Z] + case "${OS_FAMILY}" in [2022-05-11T06:02:30.065Z] + dpkg -l [2022-05-11T06:02:30.065Z] + grep '^ii' [2022-05-11T06:02:30.065Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T06:02:30.065Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T06:02:30.065Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T06:02:30.065Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-11T06:02:30.065Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-05-11T06:02:30.065Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-05-11T06:02:30.078Z] 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 [2022-05-11T06:02:30.361Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:02:30.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:02:30.921Z] . [Pipeline] withDockerContainer [2022-05-11T06:02:30.996Z] prd-ubuntu20.04-docker-8c-8g-63055 does not seem to be running inside a container [2022-05-11T06:02:31.036Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T06:02:31.332Z] $ docker top b6ac1f6e35a2f84e1f6f40c338ad90a287ce79231373e8103b2caff29639d211 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:02:31.721Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T06:02:32.019Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T06:02:32.313Z] + ls /var/log/sa-host [2022-05-11T06:02:32.313Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:02:32.396Z] provisioning config files... [2022-05-11T06:02:32.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7635120588189983849tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:02:32.422Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:32.714Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T06:02:32.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:33.061Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T06:02:33.073Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:33.366Z] ---> sudo-logs.sh [2022-05-11T06:02:33.366Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T06:02:33.391Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:33.685Z] ---> job-cost.sh [2022-05-11T06:02:33.685Z] lf-activate-venv: SKIPPING [2022-05-11T06:02:33.685Z] DEBUG: total: 0.2199999988079071 [2022-05-11T06:02:33.685Z] INFO: Retrieving Stack Cost... [2022-05-11T06:02:34.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T06:02:34.518Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T06:02:34.531Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:02:34.818Z] ---> logs-deploy.sh [2022-05-11T06:02:34.818Z] lf-activate-venv: SKIPPING [2022-05-11T06:02:34.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/40 [2022-05-11T06:02:34.818Z] INFO: archiving workspace using pattern(s): [2022-05-11T06:02:35.759Z] Archives upload complete. [2022-05-11T06:02:35.759Z] INFO: archiving logs to Nexus