Started by user Cloud Tsai Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 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-ssh7309373592147342432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6578032796350751260.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh797326975060344738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh13812986226931329309.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-ssh10859431289318591149.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7837 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 Commit message: "Merge pull request #160 from hahattan/bump-go-mods" > git rev-list --no-walk ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T15:37:50.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T15:37:50.630Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T15:37:50.645Z] ========================================================= [2022-03-17T15:37:50.646Z] EdgeX Global Pipelines Version Info [2022-03-17T15:37:50.646Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:37:51.434Z] ------------------- [2022-03-17T15:37:51.434Z] stable info: [2022-03-17T15:37:51.434Z] ------------------- [2022-03-17T15:37:51.434Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T15:37:51.434Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T15:37:51.434Z] Message: update stable to v1.0.221 [2022-03-17T15:37:52.010Z] ------------------- [2022-03-17T15:37:52.010Z] experimental info: [2022-03-17T15:37:52.010Z] ------------------- [2022-03-17T15:37:52.010Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T15:37:52.010Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T15:37:52.010Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T15:37:52.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-17T15:37:52.168Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-17T15:37:52.181Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T15:37:52.192Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T15:37:52.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T15:37:52.227Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T15:37:52.246Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T15:37:52.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T15:37:52.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T15:37:52.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T15:37:52.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T15:37:52.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-17T15:37:52.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T15:37:52.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T15:37:52.349Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T15:37:52.361Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T15:37:52.373Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T15:37:52.386Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T15:37:52.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T15:37:52.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T15:37:52.419Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T15:37:52.432Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T15:37:52.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T15:37:52.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T15:37:52.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T15:37:52.480Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T15:37:52.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T15:37:52.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T15:37:52.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T15:37:52.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T15:37:52.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec779fd [Pipeline] echo [2022-03-17T15:37:52.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T15:37:52.659Z] provisioning config files... [2022-03-17T15:37:52.672Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9219423248883151735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:37:53.002Z] ---> docker-login.sh [2022-03-17T15:37:53.002Z] nexus3.edgexfoundry.org:10001 [2022-03-17T15:37:53.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:37:53.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:37:53.264Z] Configure a credential helper to remove this warning. See [2022-03-17T15:37:53.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:37:53.264Z] [2022-03-17T15:37:53.264Z] Login Succeeded [2022-03-17T15:37:53.264Z] nexus3.edgexfoundry.org:10002 [2022-03-17T15:37:53.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:37:53.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:37:53.525Z] Configure a credential helper to remove this warning. See [2022-03-17T15:37:53.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:37:53.525Z] [2022-03-17T15:37:53.525Z] Login Succeeded [2022-03-17T15:37:53.525Z] nexus3.edgexfoundry.org:10003 [2022-03-17T15:37:53.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:37:53.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:37:53.525Z] Configure a credential helper to remove this warning. See [2022-03-17T15:37:53.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:37:53.525Z] [2022-03-17T15:37:53.525Z] Login Succeeded [2022-03-17T15:37:53.525Z] nexus3.edgexfoundry.org:10004 [2022-03-17T15:37:53.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:37:53.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:37:53.788Z] Configure a credential helper to remove this warning. See [2022-03-17T15:37:53.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:37:53.788Z] [2022-03-17T15:37:53.788Z] Login Succeeded [2022-03-17T15:37:53.788Z] docker.io [2022-03-17T15:37:53.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:37:54.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:37:54.362Z] Configure a credential helper to remove this warning. See [2022-03-17T15:37:54.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:37:54.362Z] [2022-03-17T15:37:54.362Z] Login Succeeded [2022-03-17T15:37:54.362Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T15:37:54.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T15:37:54.764Z] + git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T15:37:54.898Z] -----------> git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:37:54.898Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [false] [Pipeline] sh [2022-03-17T15:37:55.197Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T15:37:55.216Z] ========================================================= [2022-03-17T15:37:55.216Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T15:37:55.216Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T15:37:55.559Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T15:37:55.574Z] [semverPrep] GIT_COMMIT: ec779fd03c03a2eb2a0571cd3b2e316fba414fa2, Commit Message: Merge pull request #160 from hahattan/bump-go-mods [Pipeline] echo [2022-03-17T15:37:55.584Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T15:37:56.020Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T15:37:56.020Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T15:37:56.020Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T15:37:56.020Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T15:37:56.020Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T15:37:56.020Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T15:37:56.020Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:37:56.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:37:56.441Z] [2022-03-17T15:37:56.441Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:37:56.746Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:37:56.746Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T15:37:56.746Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T15:37:56.746Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T15:37:56.746Z] 4c7163046ea9: Pulling fs layer [2022-03-17T15:37:56.746Z] 0c2d73faf560: Pulling fs layer [2022-03-17T15:37:56.746Z] 0c2d73faf560: Waiting [2022-03-17T15:37:56.746Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T15:37:56.746Z] 3e5f54012d9b: Download complete [2022-03-17T15:37:56.746Z] a0d0a0d46f8b: Verifying Checksum [2022-03-17T15:37:56.746Z] a0d0a0d46f8b: Download complete [2022-03-17T15:37:56.746Z] 0c2d73faf560: Download complete [2022-03-17T15:37:56.746Z] 4c7163046ea9: Verifying Checksum [2022-03-17T15:37:56.746Z] 4c7163046ea9: Download complete [2022-03-17T15:37:57.007Z] a0d0a0d46f8b: Pull complete [2022-03-17T15:37:57.007Z] 3e5f54012d9b: Pull complete [2022-03-17T15:37:57.268Z] 4c7163046ea9: Pull complete [2022-03-17T15:37:57.529Z] 0c2d73faf560: Pull complete [2022-03-17T15:37:57.529Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T15:37:57.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:37:57.529Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T15:37:57.616Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:37:57.660Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T15:37:58.359Z] $ docker top aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T15:37:58.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T15:37:58.457Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T15:37:58.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T15:37:58.604Z] $ docker exec aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent [2022-03-17T15:37:58.728Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcJJEAH/agent.14 [2022-03-17T15:37:58.728Z] SSH_AGENT_PID=20 [2022-03-17T15:37:58.737Z] Running ssh-add (command line suppressed) [2022-03-17T15:37:58.865Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3703635813011089817.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3703635813011089817.key) [2022-03-17T15:37:58.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T15:37:59.173Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T15:37:59.198Z] $ docker exec --env ******** --env ******** aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent -k [2022-03-17T15:37:59.311Z] unset SSH_AUTH_SOCK; [2022-03-17T15:37:59.312Z] unset SSH_AGENT_PID; [2022-03-17T15:37:59.312Z] echo Agent pid 20 killed; [2022-03-17T15:37:59.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T15:37:59.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T15:37:59.341Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T15:37:59.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T15:37:59.487Z] $ docker exec aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent [2022-03-17T15:37:59.611Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoFniPd/agent.54 [2022-03-17T15:37:59.611Z] SSH_AGENT_PID=60 [2022-03-17T15:37:59.616Z] Running ssh-add (command line suppressed) [2022-03-17T15:37:59.739Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4353155028434695168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4353155028434695168.key) [2022-03-17T15:37:59.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T15:38:00.047Z] + git semver init [2022-03-17T15:38:00.047Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T15:38:00.047Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T15:38:00.047Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:38:00.047Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T15:38:00.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T15:38:00.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T15:38:00.047Z] # $SEMVER_BRANCH = main [2022-03-17T15:38:00.047Z] # $SEMVER_TEMP = /tmp/semver-602423418 [2022-03-17T15:38:00.047Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-17T15:38:01.433Z] # '/tmp/semver-602423418' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-03-17T15:38:01.433Z] # -> Force: false [2022-03-17T15:38:01.433Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-03-17T15:38:01.450Z] $ docker exec --env ******** --env ******** aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 ssh-agent -k [2022-03-17T15:38:01.566Z] unset SSH_AUTH_SOCK; [2022-03-17T15:38:01.566Z] unset SSH_AGENT_PID; [2022-03-17T15:38:01.566Z] echo Agent pid 60 killed; [2022-03-17T15:38:01.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T15:38:01.883Z] + git semver [Pipeline] } [2022-03-17T15:38:01.905Z] $ docker stop --time=1 aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 [2022-03-17T15:38:03.296Z] $ docker rm -f aa9b8ad802c7e69aa94aadf28b4df06ed20bc45d32bc073d7eef6c82043bc393 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T15:38:03.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T15:38:03.936Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T15:38:03.940Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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-03-17T15:38:04.076Z] provisioning config files... [2022-03-17T15:38:04.086Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6606732788506925578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:38:04.390Z] ---> docker-login.sh [2022-03-17T15:38:04.390Z] nexus3.edgexfoundry.org:10001 [2022-03-17T15:38:04.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:38:04.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:38:04.390Z] Configure a credential helper to remove this warning. See [2022-03-17T15:38:04.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:38:04.390Z] [2022-03-17T15:38:04.390Z] Login Succeeded [2022-03-17T15:38:04.390Z] nexus3.edgexfoundry.org:10002 [2022-03-17T15:38:04.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:38:04.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:38:04.649Z] Configure a credential helper to remove this warning. See [2022-03-17T15:38:04.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:38:04.649Z] [2022-03-17T15:38:04.649Z] Login Succeeded [2022-03-17T15:38:04.649Z] nexus3.edgexfoundry.org:10003 [2022-03-17T15:38:04.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:38:04.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:38:04.649Z] Configure a credential helper to remove this warning. See [2022-03-17T15:38:04.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:38:04.649Z] [2022-03-17T15:38:04.650Z] Login Succeeded [2022-03-17T15:38:04.650Z] nexus3.edgexfoundry.org:10004 [2022-03-17T15:38:04.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:38:04.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:38:04.910Z] Configure a credential helper to remove this warning. See [2022-03-17T15:38:04.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:38:04.910Z] [2022-03-17T15:38:04.910Z] Login Succeeded [2022-03-17T15:38:04.910Z] docker.io [2022-03-17T15:38:04.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:38:05.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:38:05.170Z] Configure a credential helper to remove this warning. See [2022-03-17T15:38:05.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:38:05.170Z] [2022-03-17T15:38:05.170Z] Login Succeeded [2022-03-17T15:38:05.170Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T15:38:05.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T15:38:05.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T15:38:05.265Z] ========================================================= [2022-03-17T15:38:05.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T15:38:05.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:38:05.568Z] + 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-03-17T15:38:05.568Z] Sending build context to Docker daemon 10.54MB [2022-03-17T15:38:05.568Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T15:38:05.568Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T15:38:05.837Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T15:38:05.837Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T15:38:05.837Z] 666ba61612fd: Pulling fs layer [2022-03-17T15:38:05.837Z] 8ed8ca486205: Pulling fs layer [2022-03-17T15:38:05.837Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T15:38:05.837Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T15:38:05.837Z] 640e595b4fbd: Pulling fs layer [2022-03-17T15:38:05.837Z] 763cafe07f6e: Pulling fs layer [2022-03-17T15:38:05.837Z] 0c0b528cf693: Pulling fs layer [2022-03-17T15:38:05.837Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T15:38:05.837Z] 763cafe07f6e: Waiting [2022-03-17T15:38:05.837Z] 0c0b528cf693: Waiting [2022-03-17T15:38:05.837Z] 4fe6c5a15a65: Waiting [2022-03-17T15:38:05.837Z] 640e595b4fbd: Waiting [2022-03-17T15:38:05.837Z] 10935f4eaf8b: Waiting [2022-03-17T15:38:05.837Z] 22a0e8bec74d: Waiting [2022-03-17T15:38:05.837Z] 8ed8ca486205: Verifying Checksum [2022-03-17T15:38:05.837Z] 8ed8ca486205: Download complete [2022-03-17T15:38:05.837Z] 666ba61612fd: Verifying Checksum [2022-03-17T15:38:05.837Z] 666ba61612fd: Download complete [2022-03-17T15:38:05.837Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T15:38:05.837Z] 640e595b4fbd: Verifying Checksum [2022-03-17T15:38:05.837Z] 640e595b4fbd: Download complete [2022-03-17T15:38:05.837Z] 763cafe07f6e: Verifying Checksum [2022-03-17T15:38:05.837Z] 763cafe07f6e: Download complete [2022-03-17T15:38:05.837Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T15:38:05.837Z] 59bf1c3509f3: Download complete [2022-03-17T15:38:05.838Z] 0c0b528cf693: Verifying Checksum [2022-03-17T15:38:05.838Z] 0c0b528cf693: Download complete [2022-03-17T15:38:05.838Z] 59bf1c3509f3: Pull complete [2022-03-17T15:38:06.099Z] 666ba61612fd: Pull complete [2022-03-17T15:38:06.099Z] 8ed8ca486205: Pull complete [2022-03-17T15:38:06.362Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T15:38:06.362Z] 10935f4eaf8b: Download complete [2022-03-17T15:38:06.623Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T15:38:06.623Z] 4fe6c5a15a65: Download complete [2022-03-17T15:38:10.834Z] 4fe6c5a15a65: Pull complete [2022-03-17T15:38:10.834Z] 22a0e8bec74d: Pull complete [2022-03-17T15:38:10.834Z] 640e595b4fbd: Pull complete [2022-03-17T15:38:10.834Z] 763cafe07f6e: Pull complete [2022-03-17T15:38:11.096Z] 0c0b528cf693: Pull complete [2022-03-17T15:38:13.643Z] 10935f4eaf8b: Pull complete [2022-03-17T15:38:13.643Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T15:38:13.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T15:38:13.643Z] ---> 99d49a6021b9 [2022-03-17T15:38:13.643Z] Step 3/12 : ARG MAKE='make build' [2022-03-17T15:38:14.586Z] ---> Running in 26bae547e2f1 [2022-03-17T15:38:14.586Z] Removing intermediate container 26bae547e2f1 [2022-03-17T15:38:14.586Z] ---> 24062dfd97d2 [2022-03-17T15:38:14.586Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T15:38:14.848Z] ---> Running in a5f374edd43f [2022-03-17T15:38:14.848Z] Removing intermediate container a5f374edd43f [2022-03-17T15:38:14.848Z] ---> 90b9c716b738 [2022-03-17T15:38:14.848Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T15:38:14.848Z] ---> Running in 67818faf730c [2022-03-17T15:38:14.848Z] Removing intermediate container 67818faf730c [2022-03-17T15:38:14.848Z] ---> 08a17f31d7bf [2022-03-17T15:38:14.848Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T15:38:14.848Z] ---> Running in e09b1d53e11a [2022-03-17T15:38:15.420Z] Removing intermediate container e09b1d53e11a [2022-03-17T15:38:15.420Z] ---> 213c9571d22e [2022-03-17T15:38:15.420Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T15:38:15.681Z] ---> Running in 18093e4edf67 [2022-03-17T15:38:15.942Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T15:38:16.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T15:38:17.088Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T15:38:17.088Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T15:38:17.088Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T15:38:17.349Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T15:38:17.349Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T15:38:17.349Z] OK: 224 MiB in 56 packages [2022-03-17T15:38:17.920Z] Removing intermediate container 18093e4edf67 [2022-03-17T15:38:17.920Z] ---> f6a30c91881a [2022-03-17T15:38:17.920Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-17T15:38:17.920Z] ---> Running in a30a73a03c15 [2022-03-17T15:38:17.920Z] Removing intermediate container a30a73a03c15 [2022-03-17T15:38:17.920Z] ---> 25052ddb98e3 [2022-03-17T15:38:17.920Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-17T15:38:17.920Z] ---> 4cd617fe2bcc [2022-03-17T15:38:17.920Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T15:38:18.180Z] ---> Running in 6dcba1602c7a [2022-03-17T15:38:19.046Z] Still waiting to schedule task [2022-03-17T15:38:19.046Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T15:38:44.772Z] Removing intermediate container 6dcba1602c7a [2022-03-17T15:38:44.772Z] ---> 384d82ebb1c7 [2022-03-17T15:38:44.772Z] Step 11/12 : COPY . . [2022-03-17T15:38:44.772Z] ---> 4e7895e6c3b6 [2022-03-17T15:38:44.772Z] Step 12/12 : RUN $MAKE [2022-03-17T15:38:44.772Z] ---> Running in adf6b9b278c2 [2022-03-17T15:38:44.772Z] noop [2022-03-17T15:38:44.772Z] Removing intermediate container adf6b9b278c2 [2022-03-17T15:38:44.772Z] ---> 06a376d7445c [2022-03-17T15:38:44.772Z] Successfully built 06a376d7445c [2022-03-17T15:38:44.772Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:38:45.067Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T15:38:45.067Z] . [Pipeline] withDockerContainer [2022-03-17T15:38:45.142Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:38:45.181Z] $ 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-03-17T15:38:45.598Z] $ docker top 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T15:38:45.962Z] + go version [2022-03-17T15:38:45.962Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T15:38:45.980Z] $ docker stop --time=1 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 [2022-03-17T15:38:47.255Z] $ docker rm -f 891d3f33f57ae93e0062af45ae203e2608e0f0357ebb71e2deb503d23f7b1dc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:38:47.660Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T15:38:47.660Z] . [Pipeline] withDockerContainer [2022-03-17T15:38:47.733Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:38:47.771Z] $ 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-03-17T15:38:48.156Z] $ docker top 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T15:38:48.525Z] + make test [2022-03-17T15:38:48.525Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T15:38:48.786Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-17T15:38:55.418Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-17T15:38:55.703Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements [2022-03-17T15:38:55.703Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T15:38:59.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T15:38:59.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T15:38:59.018Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T15:38:59.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T15:38:59.052Z] $ docker stop --time=1 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 [2022-03-17T15:39:00.648Z] $ docker rm -f 1cb8ac2d931fe693d3b9bf483eba6e5bdebda1b03eca9054d9c85d830925ef00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T15:39:01.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T15:39:01.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T15:39:02.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T15:39:02.338Z] + ls -al . [2022-03-17T15:39:02.338Z] total 180 [2022-03-17T15:39:02.338Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 15:38 . [2022-03-17T15:39:02.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 15:37 .. [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 15:37 .dockerignore [2022-03-17T15:39:02.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:37 .git [2022-03-17T15:39:02.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 .github [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 15:37 .gitignore [2022-03-17T15:39:02.338Z] drwx------ 3 jenkins jenkins 4096 Mar 17 15:38 .semver [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 15:37 Attribution.txt [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 15:37 CHANGELOG.md [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 15:37 Dockerfile [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 15:37 GOVERNANCE.md [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 15:37 Jenkinsfile [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 15:37 LICENSE [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 15:37 Makefile [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 15:37 OWNERS.md [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 15:37 README.md [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 15:38 VERSION [2022-03-17T15:39:02.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 bin [2022-03-17T15:39:02.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:37 cmd [2022-03-17T15:39:02.338Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 15:38 coverage.out [2022-03-17T15:39:02.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:37 driver [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 15:37 go.mod [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 15:37 go.sum [2022-03-17T15:39:02.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:37 snap [2022-03-17T15:39:02.338Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 15:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:02.635Z] + 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=amd64 --label version=2.2.0-dev.6 . [2022-03-17T15:39:02.635Z] Sending build context to Docker daemon 10.55MB [2022-03-17T15:39:02.635Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T15:39:02.635Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T15:39:02.635Z] ---> 06a376d7445c [2022-03-17T15:39:02.635Z] Step 3/25 : ARG MAKE='make build' [2022-03-17T15:39:02.635Z] ---> Running in 36c2b80245f7 [2022-03-17T15:39:02.896Z] Removing intermediate container 36c2b80245f7 [2022-03-17T15:39:02.896Z] ---> dd9ea6c3e891 [2022-03-17T15:39:02.896Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T15:39:02.896Z] ---> Running in cde2e9b3f554 [2022-03-17T15:39:02.896Z] Removing intermediate container cde2e9b3f554 [2022-03-17T15:39:02.896Z] ---> a2cf4d1bea1a [2022-03-17T15:39:02.896Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T15:39:02.896Z] ---> Running in 1e34815092a5 [2022-03-17T15:39:03.155Z] Removing intermediate container 1e34815092a5 [2022-03-17T15:39:03.155Z] ---> 4cf8757da9c8 [2022-03-17T15:39:03.155Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T15:39:03.155Z] ---> Running in b2a3c150cffb [2022-03-17T15:39:03.726Z] Removing intermediate container b2a3c150cffb [2022-03-17T15:39:03.726Z] ---> ef31aa02737d [2022-03-17T15:39:03.726Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T15:39:03.726Z] ---> Running in 83e83cad3c8d [2022-03-17T15:39:03.986Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T15:39:04.930Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T15:39:05.190Z] OK: 224 MiB in 56 packages [2022-03-17T15:39:05.449Z] Removing intermediate container 83e83cad3c8d [2022-03-17T15:39:05.449Z] ---> bef6b898a42e [2022-03-17T15:39:05.449Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-17T15:39:05.449Z] ---> Running in f21e4930d7bb [2022-03-17T15:39:05.449Z] Removing intermediate container f21e4930d7bb [2022-03-17T15:39:05.449Z] ---> 918d51d75129 [2022-03-17T15:39:05.449Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-17T15:39:05.710Z] ---> 87bd568a9da4 [2022-03-17T15:39:05.710Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T15:39:05.710Z] ---> Running in 70c3a98f7517 [2022-03-17T15:39:06.281Z] Removing intermediate container 70c3a98f7517 [2022-03-17T15:39:06.281Z] ---> 975137fe7573 [2022-03-17T15:39:06.281Z] Step 11/25 : COPY . . [2022-03-17T15:39:06.541Z] ---> 188d4f285f68 [2022-03-17T15:39:06.541Z] Step 12/25 : RUN $MAKE [2022-03-17T15:39:06.541Z] ---> Running in af9f8270f12d [2022-03-17T15:39:07.112Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd [2022-03-17T15:39:15.248Z] Removing intermediate container af9f8270f12d [2022-03-17T15:39:15.248Z] ---> cf51714c2128 [2022-03-17T15:39:15.248Z] Step 13/25 : FROM alpine:3.14 [2022-03-17T15:39:15.248Z] 3.14: Pulling from library/alpine [2022-03-17T15:39:15.248Z] 36ccefbf3d8a: Pulling fs layer [2022-03-17T15:39:15.248Z] 36ccefbf3d8a: Verifying Checksum [2022-03-17T15:39:15.248Z] 36ccefbf3d8a: Download complete [2022-03-17T15:39:15.506Z] 36ccefbf3d8a: Pull complete [2022-03-17T15:39:15.506Z] Digest: sha256:b0b3ff85b7fd14a700deb840052b9382078c15d77362c700217a8356f0b31f4e [2022-03-17T15:39:15.506Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T15:39:15.506Z] ---> a33ac4f1069a [2022-03-17T15:39:15.506Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-17T15:39:15.506Z] ---> Running in d08ed11aca11 [2022-03-17T15:39:15.766Z] Removing intermediate container d08ed11aca11 [2022-03-17T15:39:15.766Z] ---> 9bce0739edbd [2022-03-17T15:39:15.766Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-17T15:39:15.766Z] ---> Running in 409afa01348b [2022-03-17T15:39:15.766Z] Removing intermediate container 409afa01348b [2022-03-17T15:39:15.766Z] ---> 9354ec0bdf8e [2022-03-17T15:39:15.766Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T15:39:15.766Z] ---> Running in e40aa43303c3 [2022-03-17T15:39:16.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T15:39:16.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T15:39:16.287Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T15:39:16.287Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T15:39:16.287Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T15:39:16.287Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T15:39:16.287Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T15:39:16.287Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T15:39:16.287Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T15:39:16.548Z] OK: 8 MiB in 20 packages [2022-03-17T15:39:16.809Z] Removing intermediate container e40aa43303c3 [2022-03-17T15:39:16.809Z] ---> 12e03f783b57 [2022-03-17T15:39:16.809Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-17T15:39:17.384Z] ---> 1b03f7b3d56d [2022-03-17T15:39:17.384Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-17T15:39:17.384Z] ---> 7aef5e596f79 [2022-03-17T15:39:17.384Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-17T15:39:17.646Z] ---> 2434d0aedc4e [2022-03-17T15:39:17.646Z] Step 20/25 : EXPOSE 59986 [2022-03-17T15:39:17.646Z] ---> Running in 163ba187a8e2 [2022-03-17T15:39:17.646Z] Removing intermediate container 163ba187a8e2 [2022-03-17T15:39:17.646Z] ---> fad8060bd53d [2022-03-17T15:39:17.646Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-17T15:39:17.646Z] ---> Running in ddf2a8cc6535 [2022-03-17T15:39:17.905Z] Removing intermediate container ddf2a8cc6535 [2022-03-17T15:39:17.905Z] ---> 3b4733ad1ea2 [2022-03-17T15:39:17.905Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-17T15:39:17.905Z] ---> Running in d20d8a8da597 [2022-03-17T15:39:17.905Z] Removing intermediate container d20d8a8da597 [2022-03-17T15:39:17.905Z] ---> 4244118f3444 [2022-03-17T15:39:17.905Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T15:39:17.905Z] ---> Running in a63ac4ee969a [2022-03-17T15:39:18.164Z] Removing intermediate container a63ac4ee969a [2022-03-17T15:39:18.164Z] ---> 414859895e8d [2022-03-17T15:39:18.164Z] Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:39:18.164Z] ---> Running in 83f783cb81a1 [2022-03-17T15:39:18.164Z] Removing intermediate container 83f783cb81a1 [2022-03-17T15:39:18.164Z] ---> 8aca17699cdf [2022-03-17T15:39:18.164Z] Step 25/25 : LABEL version=2.2.0-dev.6 [2022-03-17T15:39:18.164Z] ---> Running in 5a25eae0804f [2022-03-17T15:39:18.425Z] Removing intermediate container 5a25eae0804f [2022-03-17T15:39:18.425Z] ---> 6a0bbdac7253 [2022-03-17T15:39:18.425Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T15:39:18.425Z] Successfully built 6a0bbdac7253 [2022-03-17T15:39:18.425Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T15:39:18.522Z] provisioning config files... [2022-03-17T15:39:18.531Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8036158493824009088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:39:18.832Z] ---> docker-login.sh [2022-03-17T15:39:18.832Z] nexus3.edgexfoundry.org:10001 [2022-03-17T15:39:18.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:39:18.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:39:18.832Z] Configure a credential helper to remove this warning. See [2022-03-17T15:39:18.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:39:18.832Z] [2022-03-17T15:39:18.832Z] Login Succeeded [2022-03-17T15:39:18.832Z] nexus3.edgexfoundry.org:10002 [2022-03-17T15:39:18.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:39:18.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:39:18.832Z] Configure a credential helper to remove this warning. See [2022-03-17T15:39:18.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:39:18.832Z] [2022-03-17T15:39:18.832Z] Login Succeeded [2022-03-17T15:39:18.832Z] nexus3.edgexfoundry.org:10003 [2022-03-17T15:39:19.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:39:19.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:39:19.095Z] Configure a credential helper to remove this warning. See [2022-03-17T15:39:19.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:39:19.095Z] [2022-03-17T15:39:19.095Z] Login Succeeded [2022-03-17T15:39:19.095Z] nexus3.edgexfoundry.org:10004 [2022-03-17T15:39:19.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:39:19.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:39:19.095Z] Configure a credential helper to remove this warning. See [2022-03-17T15:39:19.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:39:19.095Z] [2022-03-17T15:39:19.095Z] Login Succeeded [2022-03-17T15:39:19.356Z] docker.io [2022-03-17T15:39:19.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:39:19.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:39:19.618Z] Configure a credential helper to remove this warning. See [2022-03-17T15:39:19.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:39:19.618Z] [2022-03-17T15:39:19.618Z] Login Succeeded [2022-03-17T15:39:19.618Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T15:39:19.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T15:39:19.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T15:39:19.685Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-03-17T15:39:19.685Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:39:19.685Z] latest [2022-03-17T15:39:19.685Z] 2.2.0-dev.6 [2022-03-17T15:39:19.685Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:39:19.685Z] main [2022-03-17T15:39:19.685Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:19.994Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:20.288Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:39:20.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T15:39:20.288Z] 187ad8d75efe: Preparing [2022-03-17T15:39:20.288Z] 7d004be9c6a4: Preparing [2022-03-17T15:39:20.288Z] ee68570ab832: Preparing [2022-03-17T15:39:20.288Z] bef231d12594: Preparing [2022-03-17T15:39:20.288Z] 2e38978dfe40: Preparing [2022-03-17T15:39:20.288Z] 187ad8d75efe: Pushed [2022-03-17T15:39:20.288Z] 7d004be9c6a4: Pushed [2022-03-17T15:39:20.549Z] bef231d12594: Pushed [2022-03-17T15:39:20.808Z] 2e38978dfe40: Pushed [2022-03-17T15:39:21.752Z] ee68570ab832: Pushed [2022-03-17T15:39:21.752Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:22.052Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:22.348Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-03-17T15:39:22.348Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T15:39:22.348Z] 187ad8d75efe: Preparing [2022-03-17T15:39:22.348Z] 7d004be9c6a4: Preparing [2022-03-17T15:39:22.348Z] ee68570ab832: Preparing [2022-03-17T15:39:22.348Z] bef231d12594: Preparing [2022-03-17T15:39:22.348Z] 2e38978dfe40: Preparing [2022-03-17T15:39:22.348Z] 7d004be9c6a4: Layer already exists [2022-03-17T15:39:22.348Z] ee68570ab832: Layer already exists [2022-03-17T15:39:22.348Z] bef231d12594: Layer already exists [2022-03-17T15:39:22.348Z] 187ad8d75efe: Layer already exists [2022-03-17T15:39:22.348Z] 2e38978dfe40: Layer already exists [2022-03-17T15:39:22.348Z] latest: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:22.647Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:22.938Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [2022-03-17T15:39:22.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T15:39:22.938Z] 187ad8d75efe: Preparing [2022-03-17T15:39:22.938Z] 7d004be9c6a4: Preparing [2022-03-17T15:39:22.938Z] ee68570ab832: Preparing [2022-03-17T15:39:22.938Z] bef231d12594: Preparing [2022-03-17T15:39:22.938Z] 2e38978dfe40: Preparing [2022-03-17T15:39:22.938Z] 7d004be9c6a4: Layer already exists [2022-03-17T15:39:22.938Z] ee68570ab832: Layer already exists [2022-03-17T15:39:22.938Z] 187ad8d75efe: Layer already exists [2022-03-17T15:39:22.938Z] 2e38978dfe40: Layer already exists [2022-03-17T15:39:22.938Z] bef231d12594: Layer already exists [2022-03-17T15:39:22.938Z] 2.2.0-dev.6: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:23.238Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:23.531Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:39:23.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T15:39:23.531Z] 187ad8d75efe: Preparing [2022-03-17T15:39:23.531Z] 7d004be9c6a4: Preparing [2022-03-17T15:39:23.531Z] ee68570ab832: Preparing [2022-03-17T15:39:23.531Z] bef231d12594: Preparing [2022-03-17T15:39:23.531Z] 2e38978dfe40: Preparing [2022-03-17T15:39:23.531Z] 7d004be9c6a4: Layer already exists [2022-03-17T15:39:23.531Z] 2e38978dfe40: Layer already exists [2022-03-17T15:39:23.531Z] 187ad8d75efe: Layer already exists [2022-03-17T15:39:23.531Z] bef231d12594: Layer already exists [2022-03-17T15:39:23.531Z] ee68570ab832: Layer already exists [2022-03-17T15:39:23.531Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:23.829Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:24.127Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-03-17T15:39:24.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T15:39:24.127Z] 187ad8d75efe: Preparing [2022-03-17T15:39:24.127Z] 7d004be9c6a4: Preparing [2022-03-17T15:39:24.127Z] ee68570ab832: Preparing [2022-03-17T15:39:24.127Z] bef231d12594: Preparing [2022-03-17T15:39:24.127Z] 2e38978dfe40: Preparing [2022-03-17T15:39:24.127Z] ee68570ab832: Layer already exists [2022-03-17T15:39:24.127Z] 187ad8d75efe: Layer already exists [2022-03-17T15:39:24.127Z] 2e38978dfe40: Layer already exists [2022-03-17T15:39:24.127Z] 7d004be9c6a4: Layer already exists [2022-03-17T15:39:24.127Z] bef231d12594: Layer already exists [2022-03-17T15:39:24.127Z] main: digest: sha256:13ee569c5b027f7a5e7849d07eefba7179b98f1cc033ee8174e2425133e24ff6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T15:39:24.166Z] ===================================================== [Pipeline] echo [2022-03-17T15:39:24.175Z] taggedImages: [2022-03-17T15:39:24.175Z] - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:39:24.175Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-03-17T15:39:24.175Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [2022-03-17T15:39:24.175Z] - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:39:24.175Z] - 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-03-17T15:39:24.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T15:39:24.536Z] [2022-03-17T15:39:24.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:39:24.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T15:39:24.840Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T15:39:24.840Z] 5eb5b503b376: Pulling fs layer [2022-03-17T15:39:24.840Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T15:39:24.840Z] ec43610c2a17: Pulling fs layer [2022-03-17T15:39:24.840Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T15:39:24.840Z] 33b1e0a273af: Pulling fs layer [2022-03-17T15:39:24.840Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T15:39:24.840Z] 2f39f015ded8: Pulling fs layer [2022-03-17T15:39:24.840Z] 3a2ae6a8a46f: Waiting [2022-03-17T15:39:24.840Z] 33b1e0a273af: Waiting [2022-03-17T15:39:24.840Z] 5d3b04190fa2: Waiting [2022-03-17T15:39:24.840Z] 2f39f015ded8: Waiting [2022-03-17T15:39:24.840Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T15:39:24.840Z] 5c69ac0246d0: Download complete [2022-03-17T15:39:24.840Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T15:39:24.840Z] 3a2ae6a8a46f: Download complete [2022-03-17T15:39:24.840Z] 33b1e0a273af: Verifying Checksum [2022-03-17T15:39:24.840Z] 33b1e0a273af: Download complete [2022-03-17T15:39:24.840Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T15:39:24.840Z] ec43610c2a17: Verifying Checksum [2022-03-17T15:39:24.840Z] ec43610c2a17: Download complete [2022-03-17T15:39:24.840Z] 5d3b04190fa2: Download complete [2022-03-17T15:39:25.102Z] 5eb5b503b376: Verifying Checksum [2022-03-17T15:39:25.102Z] 5eb5b503b376: Download complete [2022-03-17T15:39:25.672Z] 2f39f015ded8: Download complete [2022-03-17T15:39:26.243Z] 5eb5b503b376: Pull complete [2022-03-17T15:39:26.503Z] 5c69ac0246d0: Pull complete [2022-03-17T15:39:27.074Z] ec43610c2a17: Pull complete [2022-03-17T15:39:27.074Z] 3a2ae6a8a46f: Pull complete [2022-03-17T15:39:27.074Z] 33b1e0a273af: Pull complete [2022-03-17T15:39:27.334Z] 5d3b04190fa2: Pull complete [2022-03-17T15:39:31.531Z] 2f39f015ded8: Pull complete [2022-03-17T15:39:31.531Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T15:39:31.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T15:39:31.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T15:39:31.592Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:39:31.627Z] $ 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-03-17T15:39:33.231Z] $ docker top e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:39:33.667Z] ---> job-cost.sh [2022-03-17T15:39:33.667Z] lf-activate-venv: SKIPPING [2022-03-17T15:39:33.667Z] INFO: No Stack... [2022-03-17T15:39:33.926Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T15:39:34.496Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T15:39:34.785Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-03-17T15:39:34.785Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T15:39:34.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [2022-03-17T15:39:34.806Z] Resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] did not exist. Created. [2022-03-17T15:39:34.806Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T15:39:35.109Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T15:39:35.135Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T15:39:35.141Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T15:39:35.166Z] $ docker stop --time=1 e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 [2022-03-17T15:39:36.333Z] $ docker rm -f e870419060a44f8af0d2b4ec5443cb203553e19baaa5db0ca957cce9652e9162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T15:39:58.287Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7838 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-03-17T15:39:58.299Z] Running in /w/workspace/device-rest-go/27 [Pipeline] { [Pipeline] checkout [2022-03-17T15:39:58.511Z] The recommended git tool is: git [2022-03-17T15:40:06.005Z] using credential edgex-jenkins-ssh [2022-03-17T15:40:06.022Z] Cloning the remote Git repository [2022-03-17T15:40:06.090Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-17T15:40:06.161Z] > git init /w/workspace/device-rest-go/27 # timeout=10 [2022-03-17T15:40:06.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-17T15:40:06.247Z] > git --version # timeout=10 [2022-03-17T15:40:06.262Z] > git --version # 'git version 2.25.1' [2022-03-17T15:40:06.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T15:40:06.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T15:40:08.346Z] Avoid second fetch [2022-03-17T15:40:08.346Z] Checking out Revision ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (main) [2022-03-17T15:40:08.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-17T15:40:08.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T15:40:08.372Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T15:40:08.396Z] > git checkout -f ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-17T15:40:13.027Z] Commit message: "Merge pull request #160 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T15:40:13.998Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T15:40:13.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T15:40:13.998Z] Dload Upload Total Spent Left Speed [2022-03-17T15:40:13.998Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48938 0 --:--:-- --:--:-- --:--:-- 48938 [Pipeline] sh [2022-03-17T15:40:14.602Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T15:40:14.960Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-03-17T15:40:14.961Z] sudo tee /etc/docker/daemon.new [2022-03-17T15:40:14.961Z] { [2022-03-17T15:40:14.961Z] "registry-mirrors": [ [2022-03-17T15:40:14.961Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T15:40:14.961Z] ], [2022-03-17T15:40:14.961Z] "bip": "10.250.0.254/24", [2022-03-17T15:40:14.961Z] "hosts": [ [2022-03-17T15:40:14.961Z] "tcp://0.0.0.0:5555", [2022-03-17T15:40:14.961Z] "unix:///var/run/docker.sock" [2022-03-17T15:40:14.961Z] ], [2022-03-17T15:40:14.961Z] "mtu": 1458, [2022-03-17T15:40:14.961Z] "selinux-enabled": true, [2022-03-17T15:40:14.961Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T15:40:14.961Z] } [Pipeline] sh [2022-03-17T15:40:15.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T15:40:15.666Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T15:40:34.037Z] provisioning config files... [2022-03-17T15:40:34.061Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config1632340922795852530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:40:34.433Z] ---> docker-login.sh [2022-03-17T15:40:34.433Z] nexus3.edgexfoundry.org:10001 [2022-03-17T15:40:35.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:40:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:40:35.310Z] Configure a credential helper to remove this warning. See [2022-03-17T15:40:35.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:40:35.310Z] [2022-03-17T15:40:35.310Z] Login Succeeded [2022-03-17T15:40:35.310Z] nexus3.edgexfoundry.org:10002 [2022-03-17T15:40:35.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:40:35.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:40:35.587Z] Configure a credential helper to remove this warning. See [2022-03-17T15:40:35.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:40:35.587Z] [2022-03-17T15:40:35.587Z] Login Succeeded [2022-03-17T15:40:35.868Z] nexus3.edgexfoundry.org:10003 [2022-03-17T15:40:36.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:40:36.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:40:36.147Z] Configure a credential helper to remove this warning. See [2022-03-17T15:40:36.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:40:36.147Z] [2022-03-17T15:40:36.147Z] Login Succeeded [2022-03-17T15:40:36.147Z] nexus3.edgexfoundry.org:10004 [2022-03-17T15:40:36.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:40:36.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:40:36.700Z] Configure a credential helper to remove this warning. See [2022-03-17T15:40:36.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:40:36.700Z] [2022-03-17T15:40:36.700Z] Login Succeeded [2022-03-17T15:40:36.700Z] docker.io [2022-03-17T15:40:36.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:40:37.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:40:37.578Z] Configure a credential helper to remove this warning. See [2022-03-17T15:40:37.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:40:37.578Z] [2022-03-17T15:40:37.578Z] Login Succeeded [2022-03-17T15:40:37.578Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T15:40:37.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T15:40:38.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T15:40:38.108Z] ========================================================= [2022-03-17T15:40:38.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T15:40:38.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:40:38.499Z] + 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-03-17T15:40:38.499Z] Sending build context to Docker daemon 124.9kB [2022-03-17T15:40:38.776Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T15:40:38.776Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T15:40:39.053Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T15:40:39.053Z] 9b3977197b4f: Pulling fs layer [2022-03-17T15:40:39.053Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T15:40:39.053Z] 94645a83ff95: Pulling fs layer [2022-03-17T15:40:39.053Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T15:40:39.053Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T15:40:39.053Z] f7c0051592d6: Pulling fs layer [2022-03-17T15:40:39.053Z] a227ed2f7395: Pulling fs layer [2022-03-17T15:40:39.053Z] 7b1c46037f91: Pulling fs layer [2022-03-17T15:40:39.053Z] 3f3a8bcf1eab: Waiting [2022-03-17T15:40:39.053Z] 0c92f367c5e7: Waiting [2022-03-17T15:40:39.053Z] f7c0051592d6: Waiting [2022-03-17T15:40:39.053Z] 7b1c46037f91: Waiting [2022-03-17T15:40:39.053Z] a227ed2f7395: Waiting [2022-03-17T15:40:39.053Z] 94645a83ff95: Verifying Checksum [2022-03-17T15:40:39.053Z] 94645a83ff95: Download complete [2022-03-17T15:40:39.053Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T15:40:39.053Z] 1a89e8eeedd5: Download complete [2022-03-17T15:40:39.053Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T15:40:39.053Z] 0c92f367c5e7: Download complete [2022-03-17T15:40:39.053Z] f7c0051592d6: Verifying Checksum [2022-03-17T15:40:39.053Z] f7c0051592d6: Download complete [2022-03-17T15:40:39.053Z] 9b3977197b4f: Download complete [2022-03-17T15:40:39.053Z] a227ed2f7395: Verifying Checksum [2022-03-17T15:40:39.053Z] a227ed2f7395: Download complete [2022-03-17T15:40:40.055Z] 9b3977197b4f: Pull complete [2022-03-17T15:40:40.336Z] 1a89e8eeedd5: Pull complete [2022-03-17T15:40:40.947Z] 94645a83ff95: Pull complete [2022-03-17T15:40:41.222Z] 7b1c46037f91: Download complete [2022-03-17T15:40:41.819Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T15:40:41.819Z] 3f3a8bcf1eab: Download complete [2022-03-17T15:40:54.229Z] 3f3a8bcf1eab: Pull complete [2022-03-17T15:40:54.229Z] 0c92f367c5e7: Pull complete [2022-03-17T15:40:54.229Z] f7c0051592d6: Pull complete [2022-03-17T15:40:54.505Z] a227ed2f7395: Pull complete [2022-03-17T15:41:01.243Z] 7b1c46037f91: Pull complete [2022-03-17T15:41:01.243Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T15:41:01.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T15:41:01.243Z] ---> f79e39bc4007 [2022-03-17T15:41:01.243Z] Step 3/12 : ARG MAKE='make build' [2022-03-17T15:41:01.853Z] ---> Running in a4572222d578 [2022-03-17T15:41:02.131Z] Removing intermediate container a4572222d578 [2022-03-17T15:41:02.131Z] ---> 3f71a040b393 [2022-03-17T15:41:02.131Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T15:41:02.131Z] ---> Running in eb9a1d4a9142 [2022-03-17T15:41:02.405Z] Removing intermediate container eb9a1d4a9142 [2022-03-17T15:41:02.405Z] ---> 38cdce7cffd4 [2022-03-17T15:41:02.405Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T15:41:02.682Z] ---> Running in 9cead381b66c [2022-03-17T15:41:02.957Z] Removing intermediate container 9cead381b66c [2022-03-17T15:41:02.957Z] ---> ea5ba071d360 [2022-03-17T15:41:02.957Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T15:41:02.957Z] ---> Running in 2f0c48fa8b5a [2022-03-17T15:41:04.940Z] Removing intermediate container 2f0c48fa8b5a [2022-03-17T15:41:04.940Z] ---> 371150686585 [2022-03-17T15:41:04.940Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T15:41:04.940Z] ---> Running in 53fc633a3e4d [2022-03-17T15:41:05.923Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T15:41:06.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T15:41:07.499Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T15:41:07.499Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T15:41:07.499Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T15:41:07.774Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T15:41:07.774Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T15:41:07.774Z] OK: 224 MiB in 56 packages [2022-03-17T15:41:08.769Z] Removing intermediate container 53fc633a3e4d [2022-03-17T15:41:08.769Z] ---> 36db28854f0e [2022-03-17T15:41:08.769Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-17T15:41:08.769Z] ---> Running in e52c627b8f9c [2022-03-17T15:41:09.044Z] Removing intermediate container e52c627b8f9c [2022-03-17T15:41:09.044Z] ---> d6e5216a9398 [2022-03-17T15:41:09.044Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-17T15:41:09.644Z] ---> 0b767a39f354 [2022-03-17T15:41:09.644Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T15:41:09.644Z] ---> Running in 0ab14f4fb55d [2022-03-17T15:42:31.458Z] Removing intermediate container 0ab14f4fb55d [2022-03-17T15:42:31.458Z] ---> 13f3ed7bcf73 [2022-03-17T15:42:31.458Z] Step 11/12 : COPY . . [2022-03-17T15:42:31.458Z] ---> aa4bfb5a5755 [2022-03-17T15:42:31.458Z] Step 12/12 : RUN $MAKE [2022-03-17T15:42:31.458Z] ---> Running in ee834b42e63a [2022-03-17T15:42:31.458Z] noop [2022-03-17T15:42:31.458Z] Removing intermediate container ee834b42e63a [2022-03-17T15:42:31.458Z] ---> edb1abbc1466 [2022-03-17T15:42:31.458Z] Successfully built edb1abbc1466 [2022-03-17T15:42:31.458Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:42:31.803Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T15:42:31.803Z] . [Pipeline] withDockerContainer [2022-03-17T15:42:32.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container [2022-03-17T15:42:32.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-arm64 cat [2022-03-17T15:42:33.407Z] $ docker top 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T15:42:34.336Z] + go version [2022-03-17T15:42:34.336Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T15:42:34.370Z] $ docker stop --time=1 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa [2022-03-17T15:42:36.015Z] $ docker rm -f 060267e2a8c649158bbb378c18bcbcdf1adabb1ec7596d390a10f1408500a4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:42:36.624Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T15:42:36.624Z] . [Pipeline] withDockerContainer [2022-03-17T15:42:36.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container [2022-03-17T15:42:36.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-arm64 cat [2022-03-17T15:42:38.330Z] $ docker top 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T15:42:39.264Z] + make test [2022-03-17T15:42:39.265Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T15:42:40.706Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-17T15:43:27.743Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-17T15:43:29.741Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.0% of statements [2022-03-17T15:43:29.741Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T15:43:48.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T15:43:48.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T15:43:48.068Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T15:43:50.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T15:43:50.091Z] $ docker stop --time=1 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 [2022-03-17T15:43:51.875Z] $ docker rm -f 22f83fbf2d12ffce740e34a6c4872cdd1483e2a12a88d5f966466e05ba9a2274 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T15:43:52.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T15:43:52.724Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T15:43:53.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T15:43:53.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T15:43:53.895Z] + ls -al . [2022-03-17T15:43:53.895Z] total 176 [2022-03-17T15:43:53.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:43 . [2022-03-17T15:43:53.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 15:40 .. [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 15:40 .dockerignore [2022-03-17T15:43:53.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 15:40 .git [2022-03-17T15:43:53.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 .github [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 15:40 .gitignore [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 15:40 Attribution.txt [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 15:40 CHANGELOG.md [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 15:40 Dockerfile [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 15:40 GOVERNANCE.md [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 15:40 Jenkinsfile [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 15:40 LICENSE [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 15:40 Makefile [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 15:40 OWNERS.md [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 15:40 README.md [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 15:38 VERSION [2022-03-17T15:43:53.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 bin [2022-03-17T15:43:53.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:40 cmd [2022-03-17T15:43:53.895Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 15:43 coverage.out [2022-03-17T15:43:53.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 15:40 driver [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 15:40 go.mod [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 15:40 go.sum [2022-03-17T15:43:53.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 15:40 snap [2022-03-17T15:43:53.895Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 15:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:43:54.291Z] + 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=arm64 --label version=2.2.0-dev.6 . [2022-03-17T15:43:54.291Z] Sending build context to Docker daemon 134.7kB [2022-03-17T15:43:54.578Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T15:43:54.578Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T15:43:54.578Z] ---> edb1abbc1466 [2022-03-17T15:43:54.578Z] Step 3/25 : ARG MAKE='make build' [2022-03-17T15:43:54.856Z] ---> Running in b2aad7eebda2 [2022-03-17T15:43:55.160Z] Removing intermediate container b2aad7eebda2 [2022-03-17T15:43:55.160Z] ---> 8d5abf048887 [2022-03-17T15:43:55.160Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T15:43:55.160Z] ---> Running in ce05eabcbf65 [2022-03-17T15:43:55.452Z] Removing intermediate container ce05eabcbf65 [2022-03-17T15:43:55.452Z] ---> 5bc330596d87 [2022-03-17T15:43:55.452Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T15:43:55.736Z] ---> Running in 489754ad2a3a [2022-03-17T15:43:56.030Z] Removing intermediate container 489754ad2a3a [2022-03-17T15:43:56.030Z] ---> 79753e78577c [2022-03-17T15:43:56.030Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T15:43:56.030Z] ---> Running in 42aa38834112 [2022-03-17T15:43:58.016Z] Removing intermediate container 42aa38834112 [2022-03-17T15:43:58.016Z] ---> ded9aa3132d6 [2022-03-17T15:43:58.016Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T15:43:58.016Z] ---> Running in 11137a081b32 [2022-03-17T15:43:58.615Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T15:43:59.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T15:44:00.582Z] OK: 224 MiB in 56 packages [2022-03-17T15:44:01.182Z] Removing intermediate container 11137a081b32 [2022-03-17T15:44:01.182Z] ---> ee920540e8a9 [2022-03-17T15:44:01.182Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-17T15:44:01.182Z] ---> Running in ccb6128584b5 [2022-03-17T15:44:01.777Z] Removing intermediate container ccb6128584b5 [2022-03-17T15:44:01.777Z] ---> 73a5b18eba03 [2022-03-17T15:44:01.777Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-17T15:44:02.053Z] ---> 4c089f382d59 [2022-03-17T15:44:02.053Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T15:44:02.329Z] ---> Running in 1ab3415f671b [2022-03-17T15:44:04.306Z] Removing intermediate container 1ab3415f671b [2022-03-17T15:44:04.306Z] ---> 567d2bb12b20 [2022-03-17T15:44:04.306Z] Step 11/25 : COPY . . [2022-03-17T15:44:04.906Z] ---> 160a79e2acfe [2022-03-17T15:44:04.906Z] Step 12/25 : RUN $MAKE [2022-03-17T15:44:04.906Z] ---> Running in c10ec1784d34 [2022-03-17T15:44:05.891Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd [2022-03-17T15:44:52.912Z] Removing intermediate container c10ec1784d34 [2022-03-17T15:44:52.912Z] ---> 833cd4471251 [2022-03-17T15:44:52.912Z] Step 13/25 : FROM alpine:3.14 [2022-03-17T15:44:52.912Z] 3.14: Pulling from library/alpine [2022-03-17T15:44:52.912Z] be307f383ecc: Pulling fs layer [2022-03-17T15:44:52.912Z] be307f383ecc: Download complete [2022-03-17T15:44:52.912Z] be307f383ecc: Pull complete [2022-03-17T15:44:52.912Z] Digest: sha256:b0b3ff85b7fd14a700deb840052b9382078c15d77362c700217a8356f0b31f4e [2022-03-17T15:44:52.912Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T15:44:52.912Z] ---> 5b8b7b635229 [2022-03-17T15:44:52.912Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-17T15:44:52.912Z] ---> Running in 03685a72d0c7 [2022-03-17T15:44:52.912Z] Removing intermediate container 03685a72d0c7 [2022-03-17T15:44:52.912Z] ---> 0d0194344bc3 [2022-03-17T15:44:52.912Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-17T15:44:52.912Z] ---> Running in 99a3ec2e04f3 [2022-03-17T15:44:52.912Z] Removing intermediate container 99a3ec2e04f3 [2022-03-17T15:44:52.912Z] ---> abf33904f34b [2022-03-17T15:44:52.912Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T15:44:52.912Z] ---> Running in 45efa67f1f4e [2022-03-17T15:44:52.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T15:44:52.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T15:44:52.912Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T15:44:52.912Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T15:44:52.912Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T15:44:52.912Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T15:44:52.912Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T15:44:52.912Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T15:44:52.912Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T15:44:52.912Z] OK: 8 MiB in 20 packages [2022-03-17T15:44:52.912Z] Removing intermediate container 45efa67f1f4e [2022-03-17T15:44:52.912Z] ---> bd2f53f0ec06 [2022-03-17T15:44:52.912Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-17T15:44:52.912Z] ---> 0e132bd56c3a [2022-03-17T15:44:52.912Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-17T15:44:52.912Z] ---> 796d30f01d0b [2022-03-17T15:44:52.912Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-17T15:44:53.508Z] ---> db9a911eae36 [2022-03-17T15:44:53.508Z] Step 20/25 : EXPOSE 59986 [2022-03-17T15:44:53.508Z] ---> Running in c0b80b38ec6a [2022-03-17T15:44:53.781Z] Removing intermediate container c0b80b38ec6a [2022-03-17T15:44:53.781Z] ---> 46e918e133ec [2022-03-17T15:44:53.781Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-17T15:44:53.781Z] ---> Running in b54e344af78f [2022-03-17T15:44:54.381Z] Removing intermediate container b54e344af78f [2022-03-17T15:44:54.381Z] ---> fe72ca8e2b0a [2022-03-17T15:44:54.381Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-17T15:44:54.381Z] ---> Running in a85977787701 [2022-03-17T15:44:54.653Z] Removing intermediate container a85977787701 [2022-03-17T15:44:54.653Z] ---> 4f0be394ee10 [2022-03-17T15:44:54.653Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T15:44:54.653Z] ---> Running in a153ab39bf5e [2022-03-17T15:44:54.929Z] Removing intermediate container a153ab39bf5e [2022-03-17T15:44:54.929Z] ---> e830370e3515 [2022-03-17T15:44:54.929Z] Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:44:54.929Z] ---> Running in 593f641c1b27 [2022-03-17T15:44:55.200Z] Removing intermediate container 593f641c1b27 [2022-03-17T15:44:55.200Z] ---> 0fe149160828 [2022-03-17T15:44:55.200Z] Step 25/25 : LABEL version=2.2.0-dev.6 [2022-03-17T15:44:55.474Z] ---> Running in 4bafd0b68671 [2022-03-17T15:44:55.744Z] Removing intermediate container 4bafd0b68671 [2022-03-17T15:44:55.744Z] ---> 7f94185d7450 [2022-03-17T15:44:55.744Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T15:44:55.744Z] Successfully built 7f94185d7450 [2022-03-17T15:44:55.744Z] 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-03-17T15:44:55.824Z] provisioning config files... [2022-03-17T15:44:55.841Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config6604457585767517321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:44:56.190Z] ---> docker-login.sh [2022-03-17T15:44:56.190Z] nexus3.edgexfoundry.org:10001 [2022-03-17T15:44:56.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:44:56.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:44:56.460Z] Configure a credential helper to remove this warning. See [2022-03-17T15:44:56.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:44:56.460Z] [2022-03-17T15:44:56.460Z] Login Succeeded [2022-03-17T15:44:56.460Z] nexus3.edgexfoundry.org:10002 [2022-03-17T15:44:56.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:44:57.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:44:57.011Z] Configure a credential helper to remove this warning. See [2022-03-17T15:44:57.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:44:57.011Z] [2022-03-17T15:44:57.011Z] Login Succeeded [2022-03-17T15:44:57.011Z] nexus3.edgexfoundry.org:10003 [2022-03-17T15:44:57.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:44:57.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:44:57.557Z] Configure a credential helper to remove this warning. See [2022-03-17T15:44:57.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:44:57.557Z] [2022-03-17T15:44:57.557Z] Login Succeeded [2022-03-17T15:44:57.557Z] nexus3.edgexfoundry.org:10004 [2022-03-17T15:44:57.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:44:57.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:44:57.831Z] Configure a credential helper to remove this warning. See [2022-03-17T15:44:57.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:44:57.831Z] [2022-03-17T15:44:57.831Z] Login Succeeded [2022-03-17T15:44:57.831Z] docker.io [2022-03-17T15:44:58.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T15:44:58.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T15:44:58.696Z] Configure a credential helper to remove this warning. See [2022-03-17T15:44:58.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T15:44:58.696Z] [2022-03-17T15:44:58.696Z] Login Succeeded [2022-03-17T15:44:58.696Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T15:44:58.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T15:44:58.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T15:44:58.769Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-03-17T15:44:58.769Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:44:58.769Z] latest [2022-03-17T15:44:58.769Z] 2.2.0-dev.6 [2022-03-17T15:44:58.769Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:44:58.769Z] main [2022-03-17T15:44:58.769Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:44:59.111Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:44:59.459Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:44:59.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T15:44:59.459Z] a014a535c2af: Preparing [2022-03-17T15:44:59.459Z] f6b8cfeac64f: Preparing [2022-03-17T15:44:59.459Z] bc3fa7ae09f0: Preparing [2022-03-17T15:44:59.459Z] ab12ce05d088: Preparing [2022-03-17T15:44:59.459Z] 62170e181a92: Preparing [2022-03-17T15:44:59.459Z] 62170e181a92: Layer already exists [2022-03-17T15:44:59.740Z] a014a535c2af: Pushed [2022-03-17T15:44:59.740Z] f6b8cfeac64f: Pushed [2022-03-17T15:45:00.339Z] ab12ce05d088: Pushed [2022-03-17T15:45:02.955Z] bc3fa7ae09f0: Pushed [2022-03-17T15:45:02.955Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:03.317Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:03.667Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-03-17T15:45:03.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T15:45:03.667Z] a014a535c2af: Preparing [2022-03-17T15:45:03.667Z] f6b8cfeac64f: Preparing [2022-03-17T15:45:03.667Z] bc3fa7ae09f0: Preparing [2022-03-17T15:45:03.667Z] ab12ce05d088: Preparing [2022-03-17T15:45:03.667Z] 62170e181a92: Preparing [2022-03-17T15:45:03.667Z] f6b8cfeac64f: Layer already exists [2022-03-17T15:45:03.667Z] ab12ce05d088: Layer already exists [2022-03-17T15:45:03.667Z] a014a535c2af: Layer already exists [2022-03-17T15:45:03.667Z] 62170e181a92: Layer already exists [2022-03-17T15:45:03.667Z] bc3fa7ae09f0: Layer already exists [2022-03-17T15:45:03.940Z] latest: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:04.296Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:04.644Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [2022-03-17T15:45:04.644Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T15:45:04.644Z] a014a535c2af: Preparing [2022-03-17T15:45:04.644Z] f6b8cfeac64f: Preparing [2022-03-17T15:45:04.644Z] bc3fa7ae09f0: Preparing [2022-03-17T15:45:04.644Z] ab12ce05d088: Preparing [2022-03-17T15:45:04.644Z] 62170e181a92: Preparing [2022-03-17T15:45:04.644Z] 62170e181a92: Layer already exists [2022-03-17T15:45:04.644Z] a014a535c2af: Layer already exists [2022-03-17T15:45:04.644Z] ab12ce05d088: Layer already exists [2022-03-17T15:45:04.644Z] bc3fa7ae09f0: Layer already exists [2022-03-17T15:45:04.644Z] f6b8cfeac64f: Layer already exists [2022-03-17T15:45:04.916Z] 2.2.0-dev.6: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:05.264Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:05.605Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:45:05.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T15:45:05.605Z] a014a535c2af: Preparing [2022-03-17T15:45:05.605Z] f6b8cfeac64f: Preparing [2022-03-17T15:45:05.605Z] bc3fa7ae09f0: Preparing [2022-03-17T15:45:05.605Z] ab12ce05d088: Preparing [2022-03-17T15:45:05.605Z] 62170e181a92: Preparing [2022-03-17T15:45:05.605Z] bc3fa7ae09f0: Layer already exists [2022-03-17T15:45:05.605Z] 62170e181a92: Layer already exists [2022-03-17T15:45:05.605Z] ab12ce05d088: Layer already exists [2022-03-17T15:45:05.605Z] a014a535c2af: Layer already exists [2022-03-17T15:45:05.605Z] f6b8cfeac64f: Layer already exists [2022-03-17T15:45:05.878Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:06.230Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:06.573Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-03-17T15:45:06.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T15:45:06.573Z] a014a535c2af: Preparing [2022-03-17T15:45:06.573Z] f6b8cfeac64f: Preparing [2022-03-17T15:45:06.573Z] bc3fa7ae09f0: Preparing [2022-03-17T15:45:06.573Z] ab12ce05d088: Preparing [2022-03-17T15:45:06.573Z] 62170e181a92: Preparing [2022-03-17T15:45:06.573Z] 62170e181a92: Layer already exists [2022-03-17T15:45:06.573Z] bc3fa7ae09f0: Layer already exists [2022-03-17T15:45:06.573Z] a014a535c2af: Layer already exists [2022-03-17T15:45:06.573Z] f6b8cfeac64f: Layer already exists [2022-03-17T15:45:06.573Z] ab12ce05d088: Layer already exists [2022-03-17T15:45:06.844Z] main: digest: sha256:182a8c63a7751329c5fe135602814186eae4347b4a834b79e362752599698c01 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T15:45:06.893Z] ===================================================== [Pipeline] echo [2022-03-17T15:45:06.904Z] taggedImages: [2022-03-17T15:45:06.904Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T15:45:06.904Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-03-17T15:45:06.904Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [2022-03-17T15:45:06.904Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T15:45:06.904Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:07.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T15:45:07.280Z] [2022-03-17T15:45:07.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:07.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T15:45:07.911Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T15:45:07.911Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T15:45:07.911Z] 04944245beec: Pulling fs layer [2022-03-17T15:45:07.911Z] 699f458cf7ca: Pulling fs layer [2022-03-17T15:45:07.911Z] 765212b225bb: Pulling fs layer [2022-03-17T15:45:07.911Z] f23df028b6ca: Pulling fs layer [2022-03-17T15:45:07.911Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T15:45:07.911Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T15:45:07.911Z] 765212b225bb: Waiting [2022-03-17T15:45:07.911Z] f23df028b6ca: Waiting [2022-03-17T15:45:07.911Z] d65c8cfc05b1: Waiting [2022-03-17T15:45:07.911Z] 2437ff75d9bd: Waiting [2022-03-17T15:45:07.911Z] 04944245beec: Verifying Checksum [2022-03-17T15:45:07.911Z] 04944245beec: Download complete [2022-03-17T15:45:07.911Z] 765212b225bb: Verifying Checksum [2022-03-17T15:45:07.911Z] 765212b225bb: Download complete [2022-03-17T15:45:07.911Z] f23df028b6ca: Verifying Checksum [2022-03-17T15:45:07.911Z] f23df028b6ca: Download complete [2022-03-17T15:45:07.911Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T15:45:07.911Z] d65c8cfc05b1: Download complete [2022-03-17T15:45:08.186Z] 699f458cf7ca: Verifying Checksum [2022-03-17T15:45:08.186Z] 699f458cf7ca: Download complete [2022-03-17T15:45:08.462Z] 8998bd30e6a1: Download complete [2022-03-17T15:45:11.090Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T15:45:11.090Z] 2437ff75d9bd: Download complete [2022-03-17T15:45:13.078Z] 8998bd30e6a1: Pull complete [2022-03-17T15:45:13.352Z] 04944245beec: Pull complete [2022-03-17T15:45:14.792Z] 699f458cf7ca: Pull complete [2022-03-17T15:45:15.067Z] 765212b225bb: Pull complete [2022-03-17T15:45:16.050Z] f23df028b6ca: Pull complete [2022-03-17T15:45:16.050Z] d65c8cfc05b1: Pull complete [2022-03-17T15:45:31.137Z] 2437ff75d9bd: Pull complete [2022-03-17T15:45:31.137Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T15:45:31.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T15:45:31.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T15:45:31.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-7838 does not seem to be running inside a container [2022-03-17T15:45:31.492Z] $ 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/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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:arm64 cat [2022-03-17T15:45:34.258Z] $ docker top 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:45:35.263Z] ---> job-cost.sh [2022-03-17T15:45:35.263Z] lf-activate-venv: SKIPPING [2022-03-17T15:45:35.263Z] INFO: No Stack... [2022-03-17T15:45:35.545Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T15:45:36.523Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T15:45:37.187Z] + cat /w/workspace/device-rest-go/27/archives/cost.csv [2022-03-17T15:45:37.187Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T15:45:37.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [2022-03-17T15:45:37.260Z] Resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] did not exist. Created. [2022-03-17T15:45:37.260Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T15:45:37.934Z] /w/workspace/device-rest-go/27@tmp/durable-2ee4a582/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T15:45:38.621Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T15:45:38.653Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T15:45:38.708Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T15:45:38.714Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T15:45:38.747Z] $ docker stop --time=1 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c [2022-03-17T15:45:40.292Z] $ docker rm -f 4aaa659c26f34cdf785bf746741258ed1e6421ee097707436348938ea930ba7c [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-03-17T15:45:40.804Z] provisioning config files... [2022-03-17T15:45:40.835Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4407545993508546461tmp [Pipeline] { [Pipeline] sh [2022-03-17T15:45:41.131Z] + set +x [2022-03-17T15:45:41.131Z] + + bash -s -- [2022-03-17T15:45:41.131Z] curl -s https://codecov.io/bash [2022-03-17T15:45:41.131Z] [2022-03-17T15:45:41.131Z] _____ _ [2022-03-17T15:45:41.131Z] / ____| | | [2022-03-17T15:45:41.131Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T15:45:41.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T15:45:41.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T15:45:41.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T15:45:41.131Z] Bash-1.0.6 [2022-03-17T15:45:41.131Z] [2022-03-17T15:45:41.131Z] [2022-03-17T15:45:41.131Z] ==> git version 2.25.1 found [2022-03-17T15:45:41.131Z] ==> 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-03-17T15:45:41.131Z] Release-Date: 2020-01-08 [2022-03-17T15:45:41.131Z] 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-03-17T15:45:41.131Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T15:45:41.131Z] ==> Jenkins CI detected. [2022-03-17T15:45:41.131Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:45:41.131Z] project root: . [2022-03-17T15:45:41.131Z] --> token set from env [2022-03-17T15:45:41.131Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T15:45:41.131Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T15:45:41.131Z] ==> Python coveragepy not found [2022-03-17T15:45:41.131Z] ==> Searching for coverage reports in: [2022-03-17T15:45:41.131Z] + . [2022-03-17T15:45:41.131Z] -> Found 1 reports [2022-03-17T15:45:41.131Z] ==> Detecting git/mercurial file structure [2022-03-17T15:45:41.131Z] ==> Reading reports [2022-03-17T15:45:41.131Z] + ./coverage.out bytes=9215 [2022-03-17T15:45:41.131Z] ==> Appending adjustments [2022-03-17T15:45:41.131Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T15:45:41.392Z] + Found adjustments [2022-03-17T15:45:41.392Z] ==> Gzipping contents [2022-03-17T15:45:41.392Z] 4.0K /tmp/codecov.AsmItn.gz [2022-03-17T15:45:41.392Z] ==> Uploading reports [2022-03-17T15:45:41.392Z] url: https://codecov.io [2022-03-17T15:45:41.393Z] query: branch=main&commit=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T15:45:41.393Z] -> Pinging Codecov [2022-03-17T15:45:41.393Z] 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T15:45:41.654Z] -> Uploading to [2022-03-17T15:45:41.654Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/4E5D53B4F1F92C436F7061BF334D961C/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2/9d6f3ef2-b479-488a-8487-fa578043b7dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T154541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e001916b137b83ce883b9d7b06322f3cdf5094063ed1da9e7bea80574eb27b1 [2022-03-17T15:45:41.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T15:45:41.654Z] Dload Upload Total Spent Left Speed [2022-03-17T15:45:41.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 5689 --:--:-- --:--:-- --:--:-- 5689 [2022-03-17T15:45:41.915Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] } [2022-03-17T15:45:41.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T15:45:42.192Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T15:45:42.201Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:42.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T15:45:42.492Z] [2022-03-17T15:45:42.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:45:42.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T15:45:42.794Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T15:45:42.794Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T15:45:42.794Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T15:45:42.794Z] de9db76c5a1d: Pulling fs layer [2022-03-17T15:45:42.794Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T15:45:42.794Z] 0d57e429df01: Pulling fs layer [2022-03-17T15:45:42.794Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T15:45:42.794Z] e1f770b5df2f: Pulling fs layer [2022-03-17T15:45:42.794Z] 85a0685a4137: Pulling fs layer [2022-03-17T15:45:42.794Z] 0d57e429df01: Waiting [2022-03-17T15:45:42.794Z] 85a0685a4137: Waiting [2022-03-17T15:45:42.794Z] 4e4be7b47b0d: Waiting [2022-03-17T15:45:42.794Z] e1f770b5df2f: Waiting [2022-03-17T15:45:42.794Z] 0eba1c9be4d2: Waiting [2022-03-17T15:45:42.795Z] de9db76c5a1d: Verifying Checksum [2022-03-17T15:45:42.795Z] de9db76c5a1d: Download complete [2022-03-17T15:45:42.795Z] 0ef7d3d256c8: Verifying Checksum [2022-03-17T15:45:42.795Z] 0ef7d3d256c8: Download complete [2022-03-17T15:45:42.795Z] 0d57e429df01: Verifying Checksum [2022-03-17T15:45:42.795Z] 0d57e429df01: Download complete [2022-03-17T15:45:42.795Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T15:45:42.795Z] 4e4be7b47b0d: Download complete [2022-03-17T15:45:42.795Z] 188c0c94c7c5: Verifying Checksum [2022-03-17T15:45:43.054Z] 188c0c94c7c5: Pull complete [2022-03-17T15:45:43.054Z] e1f770b5df2f: Verifying Checksum [2022-03-17T15:45:43.054Z] e1f770b5df2f: Download complete [2022-03-17T15:45:43.054Z] 0ef7d3d256c8: Pull complete [2022-03-17T15:45:43.054Z] de9db76c5a1d: Pull complete [2022-03-17T15:45:43.622Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T15:45:43.622Z] 0eba1c9be4d2: Download complete [2022-03-17T15:45:43.622Z] 85a0685a4137: Verifying Checksum [2022-03-17T15:45:43.622Z] 85a0685a4137: Download complete [2022-03-17T15:45:46.907Z] 0eba1c9be4d2: Pull complete [2022-03-17T15:45:46.907Z] 0d57e429df01: Pull complete [2022-03-17T15:45:46.907Z] 4e4be7b47b0d: Pull complete [2022-03-17T15:45:47.166Z] e1f770b5df2f: Pull complete [2022-03-17T15:45:51.431Z] 85a0685a4137: Pull complete [2022-03-17T15:45:51.431Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T15:45:51.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T15:45:51.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T15:45:51.499Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:45:51.532Z] $ 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-03-17T15:45:52.994Z] $ docker top 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T15:45:53.071Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T15:45:53.351Z] + set -o pipefail [2022-03-17T15:45:53.352Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T15:45:57.553Z] [2022-03-17T15:45:57.553Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-03-17T15:45:57.553Z] [2022-03-17T15:45:57.553Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/4558b1e4-94e8-4f3b-80fd-7eeb0211bcf9 [2022-03-17T15:45:57.553Z] [2022-03-17T15:45:57.553Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-03-17T15:45:57.553Z] [2022-03-17T15:45:57.553Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T15:45:57.553Z] [2022-03-17T15:45:58.124Z] [Pipeline] } [2022-03-17T15:45:58.140Z] $ docker stop --time=1 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad [2022-03-17T15:45:59.875Z] $ docker rm -f 37618cfd409c20ab483a606affac40dc3dfaddff9411bdb7c7fb4b9d732e9dad [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-03-17T15:46:00.556Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] sh [2022-03-17T15:46:00.850Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T15:46:00.850Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:01.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:46:01.139Z] . [Pipeline] withDockerContainer [2022-03-17T15:46:01.194Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:46:01.224Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T15:46:01.648Z] $ docker top c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T15:46:01.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T15:46:01.742Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T15:46:01.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T15:46:01.858Z] $ docker exec c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 ssh-agent [2022-03-17T15:46:01.977Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXClmFFi/agent.13 [2022-03-17T15:46:01.977Z] SSH_AGENT_PID=20 [2022-03-17T15:46:01.982Z] Running ssh-add (command line suppressed) [2022-03-17T15:46:02.109Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8293229164158467670.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8293229164158467670.key) [2022-03-17T15:46:02.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T15:46:02.412Z] + git semver tag [2022-03-17T15:46:02.412Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T15:46:02.412Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T15:46:02.412Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:46:02.412Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T15:46:02.412Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T15:46:02.412Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T15:46:02.412Z] # $SEMVER_BRANCH = main [2022-03-17T15:46:02.412Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-03-17T15:46:02.412Z] # ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 HEAD [2022-03-17T15:46:02.412Z] # -> Force: false [2022-03-17T15:46:02.412Z] # d61feb5a9f35adc12d11056809b1ef352631f13b refs/tags/v2.2.0-dev.6 [Pipeline] } [2022-03-17T15:46:02.425Z] $ docker exec --env ******** --env ******** c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 ssh-agent -k [2022-03-17T15:46:02.549Z] unset SSH_AUTH_SOCK; [2022-03-17T15:46:02.549Z] unset SSH_AGENT_PID; [2022-03-17T15:46:02.549Z] echo Agent pid 20 killed; [2022-03-17T15:46:02.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T15:46:02.868Z] + git semver [Pipeline] } [2022-03-17T15:46:02.883Z] $ docker stop --time=1 c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 [2022-03-17T15:46:04.148Z] $ docker rm -f c90b96a2b849930a1ad22be59e5a1bb1a733f0f3e2e77e4b8fcf9385979e39b8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:04.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T15:46:04.528Z] [2022-03-17T15:46:04.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:04.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T15:46:04.827Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T15:46:04.827Z] ab5ef0e58194: Pulling fs layer [2022-03-17T15:46:04.827Z] 9712f1f96733: Pulling fs layer [2022-03-17T15:46:04.827Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T15:46:04.827Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T15:46:04.827Z] e9a5061849ea: Pulling fs layer [2022-03-17T15:46:04.827Z] d747dcd14b5f: Pulling fs layer [2022-03-17T15:46:04.827Z] 2de7ff778b66: Pulling fs layer [2022-03-17T15:46:04.827Z] e9a5061849ea: Waiting [2022-03-17T15:46:04.827Z] 0d9ebad4ef96: Waiting [2022-03-17T15:46:04.827Z] d747dcd14b5f: Waiting [2022-03-17T15:46:04.827Z] 2de7ff778b66: Waiting [2022-03-17T15:46:04.827Z] 9712f1f96733: Verifying Checksum [2022-03-17T15:46:04.827Z] 9712f1f96733: Download complete [2022-03-17T15:46:05.087Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T15:46:05.087Z] 63f879dbbcfc: Download complete [2022-03-17T15:46:05.087Z] e9a5061849ea: Verifying Checksum [2022-03-17T15:46:05.087Z] e9a5061849ea: Download complete [2022-03-17T15:46:05.087Z] d747dcd14b5f: Verifying Checksum [2022-03-17T15:46:05.087Z] d747dcd14b5f: Download complete [2022-03-17T15:46:05.346Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T15:46:05.346Z] ab5ef0e58194: Verifying Checksum [2022-03-17T15:46:05.346Z] ab5ef0e58194: Download complete [2022-03-17T15:46:05.346Z] 2de7ff778b66: Verifying Checksum [2022-03-17T15:46:05.346Z] 2de7ff778b66: Download complete [2022-03-17T15:46:07.886Z] ab5ef0e58194: Pull complete [2022-03-17T15:46:07.886Z] 9712f1f96733: Pull complete [2022-03-17T15:46:08.824Z] 63f879dbbcfc: Pull complete [2022-03-17T15:46:13.020Z] 0d9ebad4ef96: Pull complete [2022-03-17T15:46:13.020Z] e9a5061849ea: Pull complete [2022-03-17T15:46:13.020Z] d747dcd14b5f: Pull complete [2022-03-17T15:46:14.400Z] 2de7ff778b66: Pull complete [2022-03-17T15:46:14.400Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T15:46:14.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T15:46:14.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T15:46:14.509Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:46:14.560Z] $ 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-03-17T15:46:16.789Z] $ docker top 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T15:46:16.873Z] provisioning config files... [2022-03-17T15:46:16.882Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2816118960954608049tmp [2022-03-17T15:46:16.892Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2662114814478774099tmp [2022-03-17T15:46:16.902Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2163114462133542823tmp [Pipeline] { [Pipeline] echo [2022-03-17T15:46:16.918Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:17.200Z] ---> sigul-configuration.sh [2022-03-17T15:46:17.200Z] gpg: directory `/root/.gnupg' created [2022-03-17T15:46:17.200Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T15:46:17.200Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T15:46:17.200Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T15:46:17.200Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T15:46:17.200Z] gpg: CAST5 encrypted data [2022-03-17T15:46:17.200Z] gpg: encrypted with 1 passphrase [2022-03-17T15:46:17.200Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T15:46:17.490Z] + mkdir /home/jenkins [2022-03-17T15:46:17.490Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T15:46:17.780Z] + 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-03-17T15:46:17.791Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:18.075Z] ---> sigul-install.sh [2022-03-17T15:46:18.075Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T15:46:18.364Z] + git tag --list [2022-03-17T15:46:18.364Z] v1.0.0 [2022-03-17T15:46:18.364Z] v1.1.0 [2022-03-17T15:46:18.364Z] v1.1.1 [2022-03-17T15:46:18.364Z] v1.1.2 [2022-03-17T15:46:18.364Z] v1.2.0 [2022-03-17T15:46:18.364Z] v1.2.1 [2022-03-17T15:46:18.364Z] v2.0.0 [2022-03-17T15:46:18.364Z] v2.0.1-dev.1 [2022-03-17T15:46:18.364Z] v2.0.1-dev.10 [2022-03-17T15:46:18.364Z] v2.0.1-dev.11 [2022-03-17T15:46:18.364Z] v2.0.1-dev.12 [2022-03-17T15:46:18.364Z] v2.0.1-dev.13 [2022-03-17T15:46:18.364Z] v2.0.1-dev.14 [2022-03-17T15:46:18.364Z] v2.0.1-dev.2 [2022-03-17T15:46:18.364Z] v2.0.1-dev.3 [2022-03-17T15:46:18.364Z] v2.0.1-dev.4 [2022-03-17T15:46:18.364Z] v2.0.1-dev.5 [2022-03-17T15:46:18.364Z] v2.0.1-dev.6 [2022-03-17T15:46:18.364Z] v2.0.1-dev.7 [2022-03-17T15:46:18.364Z] v2.0.1-dev.8 [2022-03-17T15:46:18.364Z] v2.0.1-dev.9 [2022-03-17T15:46:18.364Z] v2.1.0 [2022-03-17T15:46:18.364Z] v2.2.0-dev.1 [2022-03-17T15:46:18.364Z] v2.2.0-dev.2 [2022-03-17T15:46:18.364Z] v2.2.0-dev.3 [2022-03-17T15:46:18.364Z] v2.2.0-dev.4 [2022-03-17T15:46:18.364Z] v2.2.0-dev.5 [2022-03-17T15:46:18.364Z] v2.2.0-dev.6 [Pipeline] sh [2022-03-17T15:46:18.653Z] + lftools sign git-tag v2.2.0-dev.6 [2022-03-17T15:46:19.225Z] Signing Git tag with Sigul... [2022-03-17T15:46:19.225Z] Signing v2.2.0-dev.6 [Pipeline] echo [2022-03-17T15:46:19.495Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:19.784Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T15:46:19.792Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T15:46:19.811Z] $ docker stop --time=1 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 [2022-03-17T15:46:21.112Z] $ docker rm -f 395db6b7832e6ebc01de507e6e5643b5070d5041a04f3de1f6208777e7980572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T15:46:21.538Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T15:46:21.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:21.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:46:21.834Z] . [Pipeline] withDockerContainer [2022-03-17T15:46:21.899Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:46:21.933Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T15:46:22.302Z] $ docker top 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T15:46:22.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T15:46:22.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T15:46:22.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T15:46:22.526Z] $ docker exec 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce ssh-agent [2022-03-17T15:46:22.631Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdjmoLM/agent.14 [2022-03-17T15:46:22.631Z] SSH_AGENT_PID=21 [2022-03-17T15:46:22.636Z] Running ssh-add (command line suppressed) [2022-03-17T15:46:22.740Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4230133491632976850.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4230133491632976850.key) [2022-03-17T15:46:22.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T15:46:23.040Z] + git semver bump pre [2022-03-17T15:46:23.040Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T15:46:23.040Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T15:46:23.040Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:46:23.040Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T15:46:23.040Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T15:46:23.040Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T15:46:23.040Z] # $SEMVER_BRANCH = main [2022-03-17T15:46:23.040Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-03-17T15:46:23.040Z] 2.2.0-dev.7 [Pipeline] } [2022-03-17T15:46:23.053Z] $ docker exec --env ******** --env ******** 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce ssh-agent -k [2022-03-17T15:46:23.167Z] unset SSH_AUTH_SOCK; [2022-03-17T15:46:23.167Z] unset SSH_AGENT_PID; [2022-03-17T15:46:23.167Z] echo Agent pid 21 killed; [2022-03-17T15:46:23.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T15:46:23.485Z] + git semver [Pipeline] } [2022-03-17T15:46:23.501Z] $ docker stop --time=1 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce [2022-03-17T15:46:24.800Z] $ docker rm -f 1e978e74bf8b15828540e913036df7e9703338c63d41d7cb635bdca121f401ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T15:46:25.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T15:46:25.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:25.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T15:46:25.454Z] . [Pipeline] withDockerContainer [2022-03-17T15:46:25.517Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:46:25.550Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T15:46:25.931Z] $ docker top 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T15:46:26.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T15:46:26.026Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T15:46:26.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T15:46:26.152Z] $ docker exec 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 ssh-agent [2022-03-17T15:46:26.267Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmEjlLH/agent.13 [2022-03-17T15:46:26.267Z] SSH_AGENT_PID=19 [2022-03-17T15:46:26.272Z] Running ssh-add (command line suppressed) [2022-03-17T15:46:26.391Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2955811894165712981.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2955811894165712981.key) [2022-03-17T15:46:26.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T15:46:26.691Z] + git semver push [2022-03-17T15:46:26.691Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T15:46:26.691Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T15:46:26.691Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:46:26.691Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T15:46:26.691Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T15:46:26.691Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T15:46:26.691Z] # $SEMVER_BRANCH = main [2022-03-17T15:46:26.691Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-03-17T15:46:28.620Z] $ docker exec --env ******** --env ******** 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 ssh-agent -k [2022-03-17T15:46:28.724Z] unset SSH_AUTH_SOCK; [2022-03-17T15:46:28.724Z] unset SSH_AGENT_PID; [2022-03-17T15:46:28.724Z] echo Agent pid 19 killed; [2022-03-17T15:46:28.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T15:46:29.037Z] + git semver [Pipeline] } [2022-03-17T15:46:29.053Z] $ docker stop --time=1 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 [2022-03-17T15:46:30.390Z] $ docker rm -f 114bd4060457266c066a429ccf347b5c73e3c1d026a3036bbf64eeec8d3be3d0 [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-03-17T15:46:31.008Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-03-17T15:46:31.008Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T15:46:31.008Z] total 16 [2022-03-17T15:46:31.008Z] drwxr-xr-x 3 root root 4096 Mar 17 15:39 . [2022-03-17T15:46:31.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 15:46 .. [2022-03-17T15:46:31.008Z] drwxr-xr-x 2 root root 4096 Mar 17 15:39 cost [2022-03-17T15:46:31.008Z] -rw-r--r-- 1 root root 84 Mar 17 15:39 cost.csv [2022-03-17T15:46:31.008Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T15:46:31.008Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T15:46:31.008Z] total 16 [2022-03-17T15:46:31.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 15:39 . [2022-03-17T15:46:31.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 15:46 .. [2022-03-17T15:46:31.008Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 15:39 cost [2022-03-17T15:46:31.008Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 17 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:31.300Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:32.167Z] ---> package-listing.sh [2022-03-17T15:46:32.167Z] ++ facter osfamily [2022-03-17T15:46:32.167Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T15:46:32.426Z] + OS_FAMILY=debian [2022-03-17T15:46:32.426Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T15:46:32.426Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T15:46:32.426Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T15:46:32.426Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T15:46:32.426Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T15:46:32.426Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-03-17T15:46:32.426Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T15:46:32.426Z] + case "${OS_FAMILY}" in [2022-03-17T15:46:32.426Z] + dpkg -l [2022-03-17T15:46:32.426Z] + grep '^ii' [2022-03-17T15:46:32.426Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T15:46:32.426Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T15:46:32.426Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T15:46:32.426Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-03-17T15:46:32.426Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-03-17T15:46:32.426Z] + 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-03-17T15:46:32.437Z] 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-03-17T15:46:32.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T15:46:33.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T15:46:33.392Z] . [Pipeline] withDockerContainer [2022-03-17T15:46:33.463Z] prd-ubuntu20.04-docker-8c-8g-7837 does not seem to be running inside a container [2022-03-17T15:46:33.498Z] $ 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-03-17T15:46:33.783Z] $ docker top 29491e08159f8c76033a5722597c3fb77df6f40006cd0724434000fe14330db1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T15:46:34.147Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T15:46:34.440Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T15:46:34.733Z] + ls /var/log/sa-host [2022-03-17T15:46:34.733Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T15:46:34.985Z] provisioning config files... [2022-03-17T15:46:34.995Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2115720177123448995tmp [Pipeline] { [Pipeline] echo [2022-03-17T15:46:35.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:35.294Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T15:46:35.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:35.656Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T15:46:35.668Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:35.958Z] ---> sudo-logs.sh [2022-03-17T15:46:35.958Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T15:46:35.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:36.272Z] ---> job-cost.sh [2022-03-17T15:46:36.272Z] lf-activate-venv: SKIPPING [2022-03-17T15:46:36.272Z] DEBUG: total: 0.2199999988079071 [2022-03-17T15:46:36.272Z] INFO: Retrieving Stack Cost... [2022-03-17T15:46:36.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T15:46:37.105Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T15:46:37.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T15:46:37.407Z] ---> logs-deploy.sh [2022-03-17T15:46:37.407Z] lf-activate-venv: SKIPPING [2022-03-17T15:46:37.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/27 [2022-03-17T15:46:37.407Z] INFO: archiving workspace using pattern(s): [2022-03-17T15:46:38.349Z] Archives upload complete. [2022-03-17T15:46:38.349Z] INFO: archiving logs to Nexus