Push event to branch main 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-ssh11947002953554298381.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-ssh9094793743206077721.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-ssh11769033080853128455.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 Could not update commit status. Message: 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-ssh261466625092960462.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-ssh7063821882094122475.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 Could not update commit status. Message: 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-7830 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 f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T14:50:20.362Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T14:50:20.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T14:50:20.464Z] ========================================================= [2022-03-17T14:50:20.465Z] EdgeX Global Pipelines Version Info [2022-03-17T14:50:20.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:50:21.254Z] ------------------- [2022-03-17T14:50:21.254Z] stable info: [2022-03-17T14:50:21.254Z] ------------------- [2022-03-17T14:50:21.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T14:50:21.254Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T14:50:21.254Z] Message: update stable to v1.0.221 [2022-03-17T14:50:21.827Z] ------------------- [2022-03-17T14:50:21.827Z] experimental info: [2022-03-17T14:50:21.827Z] ------------------- [2022-03-17T14:50:21.827Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T14:50:21.827Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T14:50:21.827Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T14:50:21.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-17T14:50:21.950Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-17T14:50:21.962Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T14:50:21.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T14:50:21.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T14:50:21.996Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T14:50:22.007Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T14:50:22.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T14:50:22.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T14:50:22.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T14:50:22.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T14:50:22.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-17T14:50:22.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T14:50:22.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T14:50:22.104Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T14:50:22.115Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T14:50:22.127Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T14:50:22.138Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T14:50:22.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T14:50:22.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T14:50:22.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T14:50:22.184Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T14:50:22.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T14:50:22.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T14:50:22.219Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T14:50:22.230Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T14:50:22.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T14:50:22.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T14:50:22.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T14:50:22.281Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T14:50:22.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec779fd [Pipeline] echo [2022-03-17T14:50:22.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T14:50:22.349Z] provisioning config files... [2022-03-17T14:50:22.375Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5284591477970411487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:50:22.772Z] ---> docker-login.sh [2022-03-17T14:50:22.772Z] nexus3.edgexfoundry.org:10001 [2022-03-17T14:50:23.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:23.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:23.034Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:23.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:23.034Z] [2022-03-17T14:50:23.034Z] Login Succeeded [2022-03-17T14:50:23.034Z] nexus3.edgexfoundry.org:10002 [2022-03-17T14:50:23.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:23.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:23.296Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:23.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:23.296Z] [2022-03-17T14:50:23.296Z] Login Succeeded [2022-03-17T14:50:23.296Z] nexus3.edgexfoundry.org:10003 [2022-03-17T14:50:23.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:23.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:23.559Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:23.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:23.559Z] [2022-03-17T14:50:23.559Z] Login Succeeded [2022-03-17T14:50:23.559Z] nexus3.edgexfoundry.org:10004 [2022-03-17T14:50:23.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:23.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:23.559Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:23.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:23.559Z] [2022-03-17T14:50:23.559Z] Login Succeeded [2022-03-17T14:50:23.559Z] docker.io [2022-03-17T14:50:23.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:24.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:24.133Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:24.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:24.133Z] [2022-03-17T14:50:24.133Z] Login Succeeded [2022-03-17T14:50:24.133Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T14:50:24.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T14:50:24.542Z] + git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T14:50:24.575Z] -----------> git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:50:24.575Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [false] [Pipeline] sh [2022-03-17T14:50:24.873Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T14:50:24.891Z] ========================================================= [2022-03-17T14:50:24.891Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T14:50:24.891Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T14:50:25.236Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo [2022-03-17T14:50:25.249Z] [semverPrep] GIT_COMMIT: ec779fd03c03a2eb2a0571cd3b2e316fba414fa2, Commit Message: Merge pull request #160 from hahattan/bump-go-mods [Pipeline] echo [2022-03-17T14:50:25.259Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T14:50:25.689Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T14:50:25.689Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T14:50:25.689Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T14:50:25.689Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T14:50:25.689Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T14:50:25.689Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T14:50:25.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:50:26.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:50:26.111Z] [2022-03-17T14:50:26.111Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:50:26.415Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:50:26.415Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T14:50:26.415Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T14:50:26.415Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T14:50:26.415Z] 4c7163046ea9: Pulling fs layer [2022-03-17T14:50:26.415Z] 0c2d73faf560: Pulling fs layer [2022-03-17T14:50:26.415Z] 0c2d73faf560: Waiting [2022-03-17T14:50:26.415Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T14:50:26.415Z] 3e5f54012d9b: Download complete [2022-03-17T14:50:26.415Z] a0d0a0d46f8b: Download complete [2022-03-17T14:50:26.415Z] 0c2d73faf560: Verifying Checksum [2022-03-17T14:50:26.415Z] 0c2d73faf560: Download complete [2022-03-17T14:50:26.415Z] 4c7163046ea9: Verifying Checksum [2022-03-17T14:50:26.415Z] 4c7163046ea9: Download complete [2022-03-17T14:50:26.676Z] a0d0a0d46f8b: Pull complete [2022-03-17T14:50:26.676Z] 3e5f54012d9b: Pull complete [2022-03-17T14:50:26.938Z] 4c7163046ea9: Pull complete [2022-03-17T14:50:27.199Z] 0c2d73faf560: Pull complete [2022-03-17T14:50:27.199Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T14:50:27.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:50:27.199Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T14:50:27.273Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:50:27.335Z] $ 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-17T14:50:28.065Z] $ docker top 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T14:50:28.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T14:50:28.169Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T14:50:28.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T14:50:28.301Z] $ docker exec 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent [2022-03-17T14:50:28.415Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNNDbMa/agent.13 [2022-03-17T14:50:28.415Z] SSH_AGENT_PID=20 [2022-03-17T14:50:28.424Z] Running ssh-add (command line suppressed) [2022-03-17T14:50:28.541Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6445234688042259934.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6445234688042259934.key) [2022-03-17T14:50:28.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T14:50:28.841Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T14:50:28.868Z] $ docker exec --env ******** --env ******** 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent -k [2022-03-17T14:50:28.975Z] unset SSH_AUTH_SOCK; [2022-03-17T14:50:28.976Z] unset SSH_AGENT_PID; [2022-03-17T14:50:28.976Z] echo Agent pid 20 killed; [2022-03-17T14:50:28.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T14:50:29.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T14:50:29.007Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T14:50:29.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T14:50:29.147Z] $ docker exec 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent [2022-03-17T14:50:29.262Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiLJgNM/agent.53 [2022-03-17T14:50:29.262Z] SSH_AGENT_PID=59 [2022-03-17T14:50:29.268Z] Running ssh-add (command line suppressed) [2022-03-17T14:50:29.391Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1000226886705329839.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1000226886705329839.key) [2022-03-17T14:50:29.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T14:50:29.705Z] + git semver init [2022-03-17T14:50:29.705Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T14:50:29.705Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T14:50:29.705Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:50:29.705Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T14:50:29.705Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T14:50:29.705Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T14:50:29.705Z] # $SEMVER_BRANCH = main [2022-03-17T14:50:29.705Z] # $SEMVER_TEMP = /tmp/semver-305642546 [2022-03-17T14:50:29.705Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-17T14:50:31.093Z] # '/tmp/semver-305642546' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-03-17T14:50:31.093Z] # -> Force: false [2022-03-17T14:50:31.093Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-03-17T14:50:31.110Z] $ docker exec --env ******** --env ******** 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent -k [2022-03-17T14:50:31.222Z] unset SSH_AUTH_SOCK; [2022-03-17T14:50:31.222Z] unset SSH_AGENT_PID; [2022-03-17T14:50:31.232Z] echo Agent pid 59 killed; [2022-03-17T14:50:31.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T14:50:31.547Z] + git semver [Pipeline] } [2022-03-17T14:50:31.567Z] $ docker stop --time=1 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa [2022-03-17T14:50:33.003Z] $ docker rm -f 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T14:50:33.364Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T14:50:33.613Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T14:50:33.616Z] [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-17T14:50:33.753Z] provisioning config files... [2022-03-17T14:50:33.766Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8995636155104646708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:50:34.062Z] ---> docker-login.sh [2022-03-17T14:50:34.062Z] nexus3.edgexfoundry.org:10001 [2022-03-17T14:50:34.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:34.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:34.062Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:34.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:34.062Z] [2022-03-17T14:50:34.062Z] Login Succeeded [2022-03-17T14:50:34.062Z] nexus3.edgexfoundry.org:10002 [2022-03-17T14:50:34.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:34.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:34.323Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:34.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:34.323Z] [2022-03-17T14:50:34.323Z] Login Succeeded [2022-03-17T14:50:34.323Z] nexus3.edgexfoundry.org:10003 [2022-03-17T14:50:34.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:34.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:34.323Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:34.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:34.323Z] [2022-03-17T14:50:34.323Z] Login Succeeded [2022-03-17T14:50:34.323Z] nexus3.edgexfoundry.org:10004 [2022-03-17T14:50:34.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:34.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:34.583Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:34.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:34.583Z] [2022-03-17T14:50:34.583Z] Login Succeeded [2022-03-17T14:50:34.583Z] docker.io [2022-03-17T14:50:34.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:50:34.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:50:34.843Z] Configure a credential helper to remove this warning. See [2022-03-17T14:50:34.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:50:34.843Z] [2022-03-17T14:50:34.843Z] Login Succeeded [2022-03-17T14:50:34.843Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T14:50:34.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T14:50:34.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T14:50:34.935Z] ========================================================= [2022-03-17T14:50:34.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T14:50:34.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:50:35.247Z] + 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-17T14:50:35.247Z] Sending build context to Docker daemon 10.54MB [2022-03-17T14:50:35.247Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T14:50:35.247Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T14:50:35.247Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T14:50:35.247Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T14:50:35.247Z] 666ba61612fd: Pulling fs layer [2022-03-17T14:50:35.247Z] 8ed8ca486205: Pulling fs layer [2022-03-17T14:50:35.247Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T14:50:35.247Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T14:50:35.247Z] 640e595b4fbd: Pulling fs layer [2022-03-17T14:50:35.247Z] 763cafe07f6e: Pulling fs layer [2022-03-17T14:50:35.247Z] 0c0b528cf693: Pulling fs layer [2022-03-17T14:50:35.247Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T14:50:35.247Z] 4fe6c5a15a65: Waiting [2022-03-17T14:50:35.247Z] 22a0e8bec74d: Waiting [2022-03-17T14:50:35.247Z] 640e595b4fbd: Waiting [2022-03-17T14:50:35.247Z] 0c0b528cf693: Waiting [2022-03-17T14:50:35.247Z] 10935f4eaf8b: Waiting [2022-03-17T14:50:35.247Z] 763cafe07f6e: Waiting [2022-03-17T14:50:35.247Z] 8ed8ca486205: Verifying Checksum [2022-03-17T14:50:35.247Z] 8ed8ca486205: Download complete [2022-03-17T14:50:35.247Z] 666ba61612fd: Download complete [2022-03-17T14:50:35.512Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T14:50:35.512Z] 22a0e8bec74d: Download complete [2022-03-17T14:50:35.512Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T14:50:35.512Z] 59bf1c3509f3: Download complete [2022-03-17T14:50:35.512Z] 640e595b4fbd: Verifying Checksum [2022-03-17T14:50:35.512Z] 640e595b4fbd: Download complete [2022-03-17T14:50:35.512Z] 763cafe07f6e: Download complete [2022-03-17T14:50:35.512Z] 0c0b528cf693: Verifying Checksum [2022-03-17T14:50:35.512Z] 0c0b528cf693: Download complete [2022-03-17T14:50:35.512Z] 59bf1c3509f3: Pull complete [2022-03-17T14:50:35.773Z] 666ba61612fd: Pull complete [2022-03-17T14:50:35.773Z] 8ed8ca486205: Pull complete [2022-03-17T14:50:36.033Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T14:50:36.033Z] 10935f4eaf8b: Download complete [2022-03-17T14:50:36.033Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T14:50:36.033Z] 4fe6c5a15a65: Download complete [2022-03-17T14:50:40.239Z] 4fe6c5a15a65: Pull complete [2022-03-17T14:50:40.239Z] 22a0e8bec74d: Pull complete [2022-03-17T14:50:40.239Z] 640e595b4fbd: Pull complete [2022-03-17T14:50:40.239Z] 763cafe07f6e: Pull complete [2022-03-17T14:50:40.499Z] 0c0b528cf693: Pull complete [2022-03-17T14:50:43.040Z] 10935f4eaf8b: Pull complete [2022-03-17T14:50:43.040Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T14:50:43.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T14:50:43.040Z] ---> 99d49a6021b9 [2022-03-17T14:50:43.040Z] Step 3/12 : ARG MAKE='make build' [2022-03-17T14:50:44.423Z] ---> Running in 1fb20a5f216d [2022-03-17T14:50:44.423Z] Removing intermediate container 1fb20a5f216d [2022-03-17T14:50:44.423Z] ---> 9e9e25d74414 [2022-03-17T14:50:44.423Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T14:50:44.423Z] ---> Running in f32f586d0d59 [2022-03-17T14:50:44.423Z] Removing intermediate container f32f586d0d59 [2022-03-17T14:50:44.423Z] ---> 92f46297e2d5 [2022-03-17T14:50:44.423Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T14:50:44.423Z] ---> Running in 4d843e037f96 [2022-03-17T14:50:44.424Z] Removing intermediate container 4d843e037f96 [2022-03-17T14:50:44.424Z] ---> 448d6adb1764 [2022-03-17T14:50:44.424Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T14:50:44.424Z] ---> Running in 0b54f406b6a7 [2022-03-17T14:50:44.994Z] Removing intermediate container 0b54f406b6a7 [2022-03-17T14:50:44.994Z] ---> c6c448b59087 [2022-03-17T14:50:44.994Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T14:50:44.994Z] ---> Running in 0f80b4032eee [2022-03-17T14:50:45.565Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T14:50:46.508Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T14:50:46.508Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T14:50:46.769Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T14:50:46.769Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T14:50:46.769Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T14:50:47.029Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T14:50:47.029Z] OK: 224 MiB in 56 packages [2022-03-17T14:50:47.291Z] Removing intermediate container 0f80b4032eee [2022-03-17T14:50:47.291Z] ---> dc667c770526 [2022-03-17T14:50:47.291Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-17T14:50:47.552Z] ---> Running in 10d0ad779e12 [2022-03-17T14:50:47.552Z] Removing intermediate container 10d0ad779e12 [2022-03-17T14:50:47.552Z] ---> 601aef33222c [2022-03-17T14:50:47.552Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-17T14:50:47.813Z] ---> 6974185d90f1 [2022-03-17T14:50:47.813Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T14:50:47.813Z] ---> Running in ac567294cd0b [2022-03-17T14:50:48.712Z] Still waiting to schedule task [2022-03-17T14:50:48.713Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T14:51:14.392Z] Removing intermediate container ac567294cd0b [2022-03-17T14:51:14.392Z] ---> 2266abfe890b [2022-03-17T14:51:14.392Z] Step 11/12 : COPY . . [2022-03-17T14:51:14.392Z] ---> f212b4f77c7e [2022-03-17T14:51:14.392Z] Step 12/12 : RUN $MAKE [2022-03-17T14:51:14.392Z] ---> Running in 394afec5ba69 [2022-03-17T14:51:14.392Z] noop [2022-03-17T14:51:14.392Z] Removing intermediate container 394afec5ba69 [2022-03-17T14:51:14.392Z] ---> 8374893b3c22 [2022-03-17T14:51:14.392Z] Successfully built 8374893b3c22 [2022-03-17T14:51:14.392Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:14.684Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T14:51:14.684Z] . [Pipeline] withDockerContainer [2022-03-17T14:51:14.753Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:51:14.796Z] $ 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-17T14:51:15.195Z] $ docker top 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T14:51:15.557Z] + go version [2022-03-17T14:51:15.558Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T14:51:15.574Z] $ docker stop --time=1 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a [2022-03-17T14:51:16.834Z] $ docker rm -f 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:17.257Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T14:51:17.257Z] . [Pipeline] withDockerContainer [2022-03-17T14:51:17.325Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:51:17.366Z] $ 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-17T14:51:17.743Z] $ docker top 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T14:51:18.138Z] + make test [2022-03-17T14:51:18.138Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T14:51:18.427Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-17T14:51:25.029Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-17T14:51:25.297Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-03-17T14:51:25.556Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T14:51:28.858Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T14:51:28.858Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T14:51:28.858Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T14:51:29.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T14:51:29.151Z] $ docker stop --time=1 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 [2022-03-17T14:51:30.822Z] $ docker rm -f 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T14:51:31.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T14:51:31.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T14:51:32.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T14:51:32.535Z] + ls -al . [2022-03-17T14:51:32.535Z] total 180 [2022-03-17T14:51:32.535Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 14:51 . [2022-03-17T14:51:32.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:50 .. [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 14:50 .dockerignore [2022-03-17T14:51:32.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:50 .git [2022-03-17T14:51:32.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 .github [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 14:50 .gitignore [2022-03-17T14:51:32.535Z] drwx------ 3 jenkins jenkins 4096 Mar 17 14:50 .semver [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 14:50 Attribution.txt [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 14:50 CHANGELOG.md [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 14:50 Dockerfile [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:50 GOVERNANCE.md [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 14:50 Jenkinsfile [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:50 LICENSE [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 14:50 Makefile [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 14:50 OWNERS.md [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 14:50 README.md [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:50 VERSION [2022-03-17T14:51:32.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 bin [2022-03-17T14:51:32.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:50 cmd [2022-03-17T14:51:32.535Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 14:51 coverage.out [2022-03-17T14:51:32.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 driver [2022-03-17T14:51:32.535Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 14:50 go.mod [2022-03-17T14:51:32.536Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 14:50 go.sum [2022-03-17T14:51:32.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:50 snap [2022-03-17T14:51:32.536Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 14:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:32.834Z] + 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-17T14:51:32.834Z] Sending build context to Docker daemon 10.55MB [2022-03-17T14:51:32.834Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T14:51:32.834Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T14:51:32.834Z] ---> 8374893b3c22 [2022-03-17T14:51:32.834Z] Step 3/25 : ARG MAKE='make build' [2022-03-17T14:51:33.094Z] ---> Running in 3ba1b687a14b [2022-03-17T14:51:33.094Z] Removing intermediate container 3ba1b687a14b [2022-03-17T14:51:33.094Z] ---> 9bae24b49822 [2022-03-17T14:51:33.094Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T14:51:33.094Z] ---> Running in 20313034c7dc [2022-03-17T14:51:33.094Z] Removing intermediate container 20313034c7dc [2022-03-17T14:51:33.094Z] ---> b8d7def6d2f6 [2022-03-17T14:51:33.094Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T14:51:33.356Z] ---> Running in cbf6da72f33b [2022-03-17T14:51:33.356Z] Removing intermediate container cbf6da72f33b [2022-03-17T14:51:33.356Z] ---> a2122a3977ce [2022-03-17T14:51:33.356Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T14:51:33.356Z] ---> Running in 762721b03170 [2022-03-17T14:51:33.927Z] Removing intermediate container 762721b03170 [2022-03-17T14:51:33.927Z] ---> 44cc6647e521 [2022-03-17T14:51:33.927Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T14:51:33.927Z] ---> Running in 3b464ae1180d [2022-03-17T14:51:34.500Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T14:51:35.073Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T14:51:35.334Z] OK: 224 MiB in 56 packages [2022-03-17T14:51:35.907Z] Removing intermediate container 3b464ae1180d [2022-03-17T14:51:35.907Z] ---> bbbb36aaaaa4 [2022-03-17T14:51:35.907Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-17T14:51:35.907Z] ---> Running in 3a134517c2cb [2022-03-17T14:51:35.907Z] Removing intermediate container 3a134517c2cb [2022-03-17T14:51:35.907Z] ---> fcbdda46e71a [2022-03-17T14:51:35.907Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-17T14:51:36.168Z] ---> 4deef138f72c [2022-03-17T14:51:36.168Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T14:51:36.168Z] ---> Running in bae999413749 [2022-03-17T14:51:36.740Z] Removing intermediate container bae999413749 [2022-03-17T14:51:36.740Z] ---> 057014f291da [2022-03-17T14:51:36.740Z] Step 11/25 : COPY . . [2022-03-17T14:51:37.315Z] ---> 2ccf888f1a07 [2022-03-17T14:51:37.315Z] Step 12/25 : RUN $MAKE [2022-03-17T14:51:37.315Z] ---> Running in a92fc7c18cc7 [2022-03-17T14:51:37.575Z] 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-17T14:51:45.710Z] Removing intermediate container a92fc7c18cc7 [2022-03-17T14:51:45.710Z] ---> dda51454fd90 [2022-03-17T14:51:45.710Z] Step 13/25 : FROM alpine:3.14 [2022-03-17T14:51:45.710Z] 3.14: Pulling from library/alpine [2022-03-17T14:51:45.971Z] 97518928ae5f: Pulling fs layer [2022-03-17T14:51:46.262Z] 97518928ae5f: Verifying Checksum [2022-03-17T14:51:46.262Z] 97518928ae5f: Pull complete [2022-03-17T14:51:46.262Z] Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 [2022-03-17T14:51:46.262Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T14:51:46.262Z] ---> 0a97eee8041e [2022-03-17T14:51:46.262Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-17T14:51:46.523Z] ---> Running in 3eed2d46e409 [2022-03-17T14:51:46.523Z] Removing intermediate container 3eed2d46e409 [2022-03-17T14:51:46.523Z] ---> 2cbea36ee52a [2022-03-17T14:51:46.523Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-17T14:51:46.523Z] ---> Running in 5f380da469b5 [2022-03-17T14:51:46.523Z] Removing intermediate container 5f380da469b5 [2022-03-17T14:51:46.524Z] ---> 37b206521974 [2022-03-17T14:51:46.524Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T14:51:46.784Z] ---> Running in e5515f77c172 [2022-03-17T14:51:47.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T14:51:47.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T14:51:47.306Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T14:51:47.306Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T14:51:47.306Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T14:51:47.306Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T14:51:47.306Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T14:51:47.306Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T14:51:47.306Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T14:51:47.306Z] OK: 8 MiB in 20 packages [2022-03-17T14:51:47.880Z] Removing intermediate container e5515f77c172 [2022-03-17T14:51:47.880Z] ---> 0db234f6187d [2022-03-17T14:51:47.880Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-17T14:51:48.141Z] ---> 9796268f6b92 [2022-03-17T14:51:48.141Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-17T14:51:48.401Z] ---> 12e7479b5861 [2022-03-17T14:51:48.401Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-17T14:51:48.662Z] ---> 90e21656f2e4 [2022-03-17T14:51:48.662Z] Step 20/25 : EXPOSE 59986 [2022-03-17T14:51:48.662Z] ---> Running in a87f50231b66 [2022-03-17T14:51:48.662Z] Removing intermediate container a87f50231b66 [2022-03-17T14:51:48.662Z] ---> 38c54987f6f0 [2022-03-17T14:51:48.662Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-17T14:51:48.662Z] ---> Running in fcd77c95cd35 [2022-03-17T14:51:48.926Z] Removing intermediate container fcd77c95cd35 [2022-03-17T14:51:48.926Z] ---> d509967be47a [2022-03-17T14:51:48.926Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-17T14:51:48.926Z] ---> Running in 6147ed843419 [2022-03-17T14:51:48.926Z] Removing intermediate container 6147ed843419 [2022-03-17T14:51:48.926Z] ---> 8f0fefc61070 [2022-03-17T14:51:48.926Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T14:51:49.187Z] ---> Running in f47e69df69c3 [2022-03-17T14:51:49.187Z] Removing intermediate container f47e69df69c3 [2022-03-17T14:51:49.187Z] ---> 69a6bdb8831c [2022-03-17T14:51:49.187Z] Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:51:49.187Z] ---> Running in 4224547b6a6d [2022-03-17T14:51:49.187Z] Removing intermediate container 4224547b6a6d [2022-03-17T14:51:49.187Z] ---> 749a60d2471b [2022-03-17T14:51:49.187Z] Step 25/25 : LABEL version=2.2.0-dev.6 [2022-03-17T14:51:49.447Z] ---> Running in f74ae43a316c [2022-03-17T14:51:49.447Z] Removing intermediate container f74ae43a316c [2022-03-17T14:51:49.447Z] ---> 1370e9a661e2 [2022-03-17T14:51:49.447Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T14:51:49.447Z] Successfully built 1370e9a661e2 [2022-03-17T14:51:49.447Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T14:51:49.515Z] provisioning config files... [2022-03-17T14:51:49.525Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4549197842394809293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:51:49.824Z] ---> docker-login.sh [2022-03-17T14:51:49.824Z] nexus3.edgexfoundry.org:10001 [2022-03-17T14:51:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:51:49.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:51:49.824Z] Configure a credential helper to remove this warning. See [2022-03-17T14:51:49.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:51:49.824Z] [2022-03-17T14:51:49.824Z] Login Succeeded [2022-03-17T14:51:49.824Z] nexus3.edgexfoundry.org:10002 [2022-03-17T14:51:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:51:50.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:51:50.084Z] Configure a credential helper to remove this warning. See [2022-03-17T14:51:50.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:51:50.084Z] [2022-03-17T14:51:50.084Z] Login Succeeded [2022-03-17T14:51:50.084Z] nexus3.edgexfoundry.org:10003 [2022-03-17T14:51:50.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:51:50.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:51:50.084Z] Configure a credential helper to remove this warning. See [2022-03-17T14:51:50.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:51:50.084Z] [2022-03-17T14:51:50.084Z] Login Succeeded [2022-03-17T14:51:50.084Z] nexus3.edgexfoundry.org:10004 [2022-03-17T14:51:50.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:51:50.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:51:50.345Z] Configure a credential helper to remove this warning. See [2022-03-17T14:51:50.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:51:50.345Z] [2022-03-17T14:51:50.345Z] Login Succeeded [2022-03-17T14:51:50.345Z] docker.io [2022-03-17T14:51:50.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:51:50.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:51:50.604Z] Configure a credential helper to remove this warning. See [2022-03-17T14:51:50.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:51:50.604Z] [2022-03-17T14:51:50.604Z] Login Succeeded [2022-03-17T14:51:50.604Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T14:51:50.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T14:51:50.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T14:51:50.658Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-03-17T14:51:50.658Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:51:50.658Z] latest [2022-03-17T14:51:50.658Z] 2.2.0-dev.6 [2022-03-17T14:51:50.658Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:51:50.658Z] main [2022-03-17T14:51:50.658Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:50.959Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:51.250Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:51:51.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T14:51:51.250Z] 3242b55c034b: Preparing [2022-03-17T14:51:51.250Z] 205e7135afdb: Preparing [2022-03-17T14:51:51.250Z] 991eab6f8c64: Preparing [2022-03-17T14:51:51.250Z] 45f80239bec1: Preparing [2022-03-17T14:51:51.250Z] 1a058d5342cc: Preparing [2022-03-17T14:51:51.250Z] 1a058d5342cc: Layer already exists [2022-03-17T14:51:51.250Z] 3242b55c034b: Pushed [2022-03-17T14:51:51.250Z] 205e7135afdb: Pushed [2022-03-17T14:51:51.509Z] 45f80239bec1: Pushed [2022-03-17T14:51:52.448Z] 991eab6f8c64: Pushed [2022-03-17T14:51:52.710Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:53.014Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:53.308Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-03-17T14:51:53.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T14:51:53.308Z] 3242b55c034b: Preparing [2022-03-17T14:51:53.308Z] 205e7135afdb: Preparing [2022-03-17T14:51:53.308Z] 991eab6f8c64: Preparing [2022-03-17T14:51:53.308Z] 45f80239bec1: Preparing [2022-03-17T14:51:53.308Z] 1a058d5342cc: Preparing [2022-03-17T14:51:53.308Z] 45f80239bec1: Layer already exists [2022-03-17T14:51:53.308Z] 1a058d5342cc: Layer already exists [2022-03-17T14:51:53.308Z] 991eab6f8c64: Layer already exists [2022-03-17T14:51:53.308Z] 205e7135afdb: Layer already exists [2022-03-17T14:51:53.308Z] 3242b55c034b: Layer already exists [2022-03-17T14:51:53.308Z] latest: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:53.610Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:53.907Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [2022-03-17T14:51:53.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T14:51:53.907Z] 3242b55c034b: Preparing [2022-03-17T14:51:53.907Z] 205e7135afdb: Preparing [2022-03-17T14:51:53.907Z] 991eab6f8c64: Preparing [2022-03-17T14:51:53.907Z] 45f80239bec1: Preparing [2022-03-17T14:51:53.907Z] 1a058d5342cc: Preparing [2022-03-17T14:51:53.907Z] 1a058d5342cc: Layer already exists [2022-03-17T14:51:53.907Z] 45f80239bec1: Layer already exists [2022-03-17T14:51:53.907Z] 205e7135afdb: Layer already exists [2022-03-17T14:51:53.907Z] 991eab6f8c64: Layer already exists [2022-03-17T14:51:53.907Z] 3242b55c034b: Layer already exists [2022-03-17T14:51:53.907Z] 2.2.0-dev.6: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:54.210Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:54.510Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:51:54.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T14:51:54.511Z] 3242b55c034b: Preparing [2022-03-17T14:51:54.511Z] 205e7135afdb: Preparing [2022-03-17T14:51:54.511Z] 991eab6f8c64: Preparing [2022-03-17T14:51:54.511Z] 45f80239bec1: Preparing [2022-03-17T14:51:54.511Z] 1a058d5342cc: Preparing [2022-03-17T14:51:54.511Z] 991eab6f8c64: Layer already exists [2022-03-17T14:51:54.511Z] 3242b55c034b: Layer already exists [2022-03-17T14:51:54.511Z] 205e7135afdb: Layer already exists [2022-03-17T14:51:54.511Z] 45f80239bec1: Layer already exists [2022-03-17T14:51:54.511Z] 1a058d5342cc: Layer already exists [2022-03-17T14:51:54.511Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:54.814Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:55.111Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-03-17T14:51:55.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-03-17T14:51:55.111Z] 3242b55c034b: Preparing [2022-03-17T14:51:55.111Z] 205e7135afdb: Preparing [2022-03-17T14:51:55.111Z] 991eab6f8c64: Preparing [2022-03-17T14:51:55.111Z] 45f80239bec1: Preparing [2022-03-17T14:51:55.111Z] 1a058d5342cc: Preparing [2022-03-17T14:51:55.111Z] 1a058d5342cc: Layer already exists [2022-03-17T14:51:55.111Z] 205e7135afdb: Layer already exists [2022-03-17T14:51:55.111Z] 3242b55c034b: Layer already exists [2022-03-17T14:51:55.111Z] 45f80239bec1: Layer already exists [2022-03-17T14:51:55.111Z] 991eab6f8c64: Layer already exists [2022-03-17T14:51:55.111Z] main: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T14:51:55.156Z] ===================================================== [Pipeline] echo [2022-03-17T14:51:55.167Z] taggedImages: [2022-03-17T14:51:55.167Z] - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:51:55.167Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-03-17T14:51:55.167Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [2022-03-17T14:51:55.167Z] - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:51:55.167Z] - 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-17T14:51:55.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T14:51:55.552Z] [2022-03-17T14:51:55.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:51:55.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T14:51:55.864Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T14:51:55.864Z] 5eb5b503b376: Pulling fs layer [2022-03-17T14:51:55.864Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T14:51:55.864Z] ec43610c2a17: Pulling fs layer [2022-03-17T14:51:55.864Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T14:51:55.864Z] 33b1e0a273af: Pulling fs layer [2022-03-17T14:51:55.864Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T14:51:55.864Z] 2f39f015ded8: Pulling fs layer [2022-03-17T14:51:55.864Z] 3a2ae6a8a46f: Waiting [2022-03-17T14:51:55.864Z] 33b1e0a273af: Waiting [2022-03-17T14:51:55.864Z] 2f39f015ded8: Waiting [2022-03-17T14:51:55.864Z] 5d3b04190fa2: Waiting [2022-03-17T14:51:55.864Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T14:51:55.864Z] 5c69ac0246d0: Download complete [2022-03-17T14:51:55.864Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T14:51:55.864Z] 3a2ae6a8a46f: Download complete [2022-03-17T14:51:55.864Z] 33b1e0a273af: Verifying Checksum [2022-03-17T14:51:55.864Z] 33b1e0a273af: Download complete [2022-03-17T14:51:55.864Z] 5d3b04190fa2: Download complete [2022-03-17T14:51:55.864Z] ec43610c2a17: Verifying Checksum [2022-03-17T14:51:55.864Z] ec43610c2a17: Download complete [2022-03-17T14:51:56.124Z] 5eb5b503b376: Download complete [2022-03-17T14:51:56.692Z] 2f39f015ded8: Verifying Checksum [2022-03-17T14:51:56.692Z] 2f39f015ded8: Download complete [2022-03-17T14:51:57.261Z] 5eb5b503b376: Pull complete [2022-03-17T14:51:57.521Z] 5c69ac0246d0: Pull complete [2022-03-17T14:51:57.781Z] ec43610c2a17: Pull complete [2022-03-17T14:51:57.781Z] 3a2ae6a8a46f: Pull complete [2022-03-17T14:51:58.041Z] 33b1e0a273af: Pull complete [2022-03-17T14:51:58.301Z] 5d3b04190fa2: Pull complete [2022-03-17T14:52:02.500Z] 2f39f015ded8: Pull complete [2022-03-17T14:52:02.500Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T14:52:02.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T14:52:02.500Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T14:52:02.567Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:52:02.608Z] $ 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-17T14:52:04.497Z] $ docker top 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:52:04.933Z] ---> job-cost.sh [2022-03-17T14:52:04.933Z] lf-activate-venv: SKIPPING [2022-03-17T14:52:04.933Z] INFO: No Stack... [2022-03-17T14:52:05.192Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T14:52:05.763Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T14:52:06.053Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-03-17T14:52:06.053Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T14:52:06.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [2022-03-17T14:52:06.072Z] Resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] did not exist. Created. [2022-03-17T14:52:06.073Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T14:52:06.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T14:52:06.457Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T14:52:06.463Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T14:52:06.488Z] $ docker stop --time=1 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 [2022-03-17T14:52:07.658Z] $ docker rm -f 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T14:52:27.413Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7831 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-03-17T14:52:27.425Z] Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout [2022-03-17T14:52:27.674Z] The recommended git tool is: git [2022-03-17T14:52:34.916Z] using credential edgex-jenkins-ssh [2022-03-17T14:52:34.935Z] Cloning the remote Git repository [2022-03-17T14:52:35.022Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-17T14:52:35.116Z] > git init /w/workspace/device-rest-go/26 # timeout=10 [2022-03-17T14:52:35.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-17T14:52:35.225Z] > git --version # timeout=10 [2022-03-17T14:52:35.255Z] > git --version # 'git version 2.25.1' [2022-03-17T14:52:35.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T14:52:35.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T14:52:37.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-17T14:52:38.007Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T14:52:38.042Z] Avoid second fetch [2022-03-17T14:52:38.042Z] Checking out Revision ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (main) [2022-03-17T14:52:38.065Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T14:52:38.104Z] > git checkout -f ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-17T14:52:42.665Z] 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-17T14:52:43.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T14:52:43.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T14:52:43.542Z] Dload Upload Total Spent Left Speed [2022-03-17T14:52:43.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh [2022-03-17T14:52:44.080Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T14:52:44.427Z] + sudo tee /etc/docker/daemon.new [2022-03-17T14:52:44.427Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T14:52:44.427Z] { [2022-03-17T14:52:44.427Z] "registry-mirrors": [ [2022-03-17T14:52:44.427Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T14:52:44.428Z] ], [2022-03-17T14:52:44.428Z] "bip": "10.250.0.254/24", [2022-03-17T14:52:44.428Z] "hosts": [ [2022-03-17T14:52:44.428Z] "tcp://0.0.0.0:5555", [2022-03-17T14:52:44.428Z] "unix:///var/run/docker.sock" [2022-03-17T14:52:44.428Z] ], [2022-03-17T14:52:44.428Z] "mtu": 1458, [2022-03-17T14:52:44.428Z] "selinux-enabled": true, [2022-03-17T14:52:44.428Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T14:52:44.428Z] } [Pipeline] sh [2022-03-17T14:52:44.778Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T14:52:45.122Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T14:53:03.498Z] provisioning config files... [2022-03-17T14:53:03.524Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config9123787839147595011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:53:03.893Z] ---> docker-login.sh [2022-03-17T14:53:03.893Z] nexus3.edgexfoundry.org:10001 [2022-03-17T14:53:04.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:53:04.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:53:04.814Z] Configure a credential helper to remove this warning. See [2022-03-17T14:53:04.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:53:04.814Z] [2022-03-17T14:53:04.814Z] Login Succeeded [2022-03-17T14:53:04.814Z] nexus3.edgexfoundry.org:10002 [2022-03-17T14:53:05.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:53:05.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:53:05.364Z] Configure a credential helper to remove this warning. See [2022-03-17T14:53:05.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:53:05.364Z] [2022-03-17T14:53:05.364Z] Login Succeeded [2022-03-17T14:53:05.364Z] nexus3.edgexfoundry.org:10003 [2022-03-17T14:53:05.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:53:05.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:53:05.929Z] Configure a credential helper to remove this warning. See [2022-03-17T14:53:05.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:53:05.929Z] [2022-03-17T14:53:05.929Z] Login Succeeded [2022-03-17T14:53:05.929Z] nexus3.edgexfoundry.org:10004 [2022-03-17T14:53:06.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:53:06.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:53:06.206Z] Configure a credential helper to remove this warning. See [2022-03-17T14:53:06.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:53:06.206Z] [2022-03-17T14:53:06.206Z] Login Succeeded [2022-03-17T14:53:06.206Z] docker.io [2022-03-17T14:53:06.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:53:07.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:53:07.083Z] Configure a credential helper to remove this warning. See [2022-03-17T14:53:07.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:53:07.083Z] [2022-03-17T14:53:07.083Z] Login Succeeded [2022-03-17T14:53:07.083Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T14:53:07.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T14:53:07.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T14:53:07.525Z] ========================================================= [2022-03-17T14:53:07.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T14:53:07.525Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:53:07.869Z] + 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-17T14:53:07.869Z] Sending build context to Docker daemon 124.9kB [2022-03-17T14:53:08.144Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T14:53:08.144Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T14:53:08.422Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T14:53:08.422Z] 9b3977197b4f: Pulling fs layer [2022-03-17T14:53:08.422Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T14:53:08.422Z] 94645a83ff95: Pulling fs layer [2022-03-17T14:53:08.422Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T14:53:08.422Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T14:53:08.422Z] f7c0051592d6: Pulling fs layer [2022-03-17T14:53:08.422Z] a227ed2f7395: Pulling fs layer [2022-03-17T14:53:08.422Z] 7b1c46037f91: Pulling fs layer [2022-03-17T14:53:08.422Z] 3f3a8bcf1eab: Waiting [2022-03-17T14:53:08.422Z] 0c92f367c5e7: Waiting [2022-03-17T14:53:08.422Z] f7c0051592d6: Waiting [2022-03-17T14:53:08.422Z] a227ed2f7395: Waiting [2022-03-17T14:53:08.422Z] 7b1c46037f91: Waiting [2022-03-17T14:53:08.422Z] 94645a83ff95: Verifying Checksum [2022-03-17T14:53:08.422Z] 94645a83ff95: Download complete [2022-03-17T14:53:08.422Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T14:53:08.422Z] 1a89e8eeedd5: Download complete [2022-03-17T14:53:08.422Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T14:53:08.422Z] 0c92f367c5e7: Download complete [2022-03-17T14:53:08.422Z] f7c0051592d6: Verifying Checksum [2022-03-17T14:53:08.422Z] f7c0051592d6: Download complete [2022-03-17T14:53:08.422Z] 9b3977197b4f: Verifying Checksum [2022-03-17T14:53:08.422Z] 9b3977197b4f: Download complete [2022-03-17T14:53:08.422Z] a227ed2f7395: Verifying Checksum [2022-03-17T14:53:08.422Z] a227ed2f7395: Download complete [2022-03-17T14:53:09.414Z] 9b3977197b4f: Pull complete [2022-03-17T14:53:09.695Z] 1a89e8eeedd5: Pull complete [2022-03-17T14:53:09.995Z] 94645a83ff95: Pull complete [2022-03-17T14:53:10.593Z] 7b1c46037f91: Verifying Checksum [2022-03-17T14:53:10.593Z] 7b1c46037f91: Download complete [2022-03-17T14:53:10.867Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T14:53:10.867Z] 3f3a8bcf1eab: Download complete [2022-03-17T14:53:23.280Z] 3f3a8bcf1eab: Pull complete [2022-03-17T14:53:23.280Z] 0c92f367c5e7: Pull complete [2022-03-17T14:53:23.280Z] f7c0051592d6: Pull complete [2022-03-17T14:53:23.554Z] a227ed2f7395: Pull complete [2022-03-17T14:53:30.276Z] 7b1c46037f91: Pull complete [2022-03-17T14:53:30.276Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T14:53:30.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T14:53:30.276Z] ---> f79e39bc4007 [2022-03-17T14:53:30.276Z] Step 3/12 : ARG MAKE='make build' [2022-03-17T14:53:30.551Z] ---> Running in 0f529b7c244a [2022-03-17T14:53:30.832Z] Removing intermediate container 0f529b7c244a [2022-03-17T14:53:30.832Z] ---> 5e227274ecf2 [2022-03-17T14:53:30.832Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T14:53:30.832Z] ---> Running in 49924322bf15 [2022-03-17T14:53:31.112Z] Removing intermediate container 49924322bf15 [2022-03-17T14:53:31.112Z] ---> 68230aea3947 [2022-03-17T14:53:31.112Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T14:53:31.388Z] ---> Running in afb2f0497ecc [2022-03-17T14:53:31.662Z] Removing intermediate container afb2f0497ecc [2022-03-17T14:53:31.662Z] ---> c32ca42386c5 [2022-03-17T14:53:31.662Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T14:53:31.662Z] ---> Running in 0c4c07876c2b [2022-03-17T14:53:33.640Z] Removing intermediate container 0c4c07876c2b [2022-03-17T14:53:33.640Z] ---> e5e9ca6fb220 [2022-03-17T14:53:33.640Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T14:53:33.640Z] ---> Running in 0781079fa1fa [2022-03-17T14:53:34.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T14:53:35.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T14:53:36.187Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T14:53:36.187Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T14:53:36.187Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T14:53:36.464Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T14:53:36.464Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T14:53:36.464Z] OK: 224 MiB in 56 packages [2022-03-17T14:53:37.451Z] Removing intermediate container 0781079fa1fa [2022-03-17T14:53:37.451Z] ---> 44ff813a1190 [2022-03-17T14:53:37.451Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-17T14:53:37.451Z] ---> Running in 3b9cef33b722 [2022-03-17T14:53:37.724Z] Removing intermediate container 3b9cef33b722 [2022-03-17T14:53:37.724Z] ---> c0b6b1a64cf2 [2022-03-17T14:53:37.724Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-17T14:53:38.321Z] ---> e9a72664b5f9 [2022-03-17T14:53:38.321Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T14:53:38.321Z] ---> Running in 80503fa8a3ec [2022-03-17T14:55:00.185Z] Removing intermediate container 80503fa8a3ec [2022-03-17T14:55:00.186Z] ---> 08fe7ce25c5f [2022-03-17T14:55:00.186Z] Step 11/12 : COPY . . [2022-03-17T14:55:00.186Z] ---> 6b4bd2b22c33 [2022-03-17T14:55:00.186Z] Step 12/12 : RUN $MAKE [2022-03-17T14:55:00.186Z] ---> Running in 604f3169700f [2022-03-17T14:55:00.186Z] noop [2022-03-17T14:55:00.186Z] Removing intermediate container 604f3169700f [2022-03-17T14:55:00.186Z] ---> 3558f2c1ca53 [2022-03-17T14:55:00.186Z] Successfully built 3558f2c1ca53 [2022-03-17T14:55:00.186Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:55:00.551Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T14:55:00.551Z] . [Pipeline] withDockerContainer [2022-03-17T14:55:00.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container [2022-03-17T14:55:00.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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-17T14:55:02.287Z] $ docker top b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T14:55:03.234Z] + go version [2022-03-17T14:55:03.234Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T14:55:03.263Z] $ docker stop --time=1 b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 [2022-03-17T14:55:04.973Z] $ docker rm -f b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:55:05.649Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T14:55:05.649Z] . [Pipeline] withDockerContainer [2022-03-17T14:55:05.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container [2022-03-17T14:55:06.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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-17T14:55:07.453Z] $ docker top c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T14:55:08.438Z] + make test [2022-03-17T14:55:08.438Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T14:55:09.886Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-17T14:56:06.506Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-17T14:56:06.506Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 56.0% of statements [2022-03-17T14:56:06.506Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T14:56:28.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T14:56:28.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T14:56:28.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T14:56:30.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T14:56:30.724Z] $ docker stop --time=1 c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc [2022-03-17T14:56:32.642Z] $ docker rm -f c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T14:56:33.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T14:56:33.584Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T14:56:34.132Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T14:56:34.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T14:56:34.898Z] + ls -al . [2022-03-17T14:56:34.898Z] total 176 [2022-03-17T14:56:34.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:56 . [2022-03-17T14:56:34.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:52 .. [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 14:52 .dockerignore [2022-03-17T14:56:34.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:52 .git [2022-03-17T14:56:34.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 .github [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 14:52 .gitignore [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 14:52 Attribution.txt [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 14:52 CHANGELOG.md [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 14:52 Dockerfile [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:52 GOVERNANCE.md [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 14:52 Jenkinsfile [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:52 LICENSE [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 14:52 Makefile [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 14:52 OWNERS.md [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 14:52 README.md [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:50 VERSION [2022-03-17T14:56:34.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 bin [2022-03-17T14:56:34.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 cmd [2022-03-17T14:56:34.898Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 14:56 coverage.out [2022-03-17T14:56:34.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 driver [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 14:52 go.mod [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 14:52 go.sum [2022-03-17T14:56:34.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 snap [2022-03-17T14:56:34.898Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 14:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:56:35.257Z] + 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-17T14:56:35.257Z] Sending build context to Docker daemon 134.7kB [2022-03-17T14:56:35.532Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T14:56:35.532Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T14:56:35.532Z] ---> 3558f2c1ca53 [2022-03-17T14:56:35.532Z] Step 3/25 : ARG MAKE='make build' [2022-03-17T14:56:35.814Z] ---> Running in 2d4a9e4f0784 [2022-03-17T14:56:36.092Z] Removing intermediate container 2d4a9e4f0784 [2022-03-17T14:56:36.092Z] ---> d45c08dbb5cc [2022-03-17T14:56:36.092Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T14:56:36.092Z] ---> Running in c6ba9c5df4f8 [2022-03-17T14:56:36.705Z] Removing intermediate container c6ba9c5df4f8 [2022-03-17T14:56:36.705Z] ---> 89d93181a792 [2022-03-17T14:56:36.705Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T14:56:36.705Z] ---> Running in d73fdbac8d91 [2022-03-17T14:56:36.986Z] Removing intermediate container d73fdbac8d91 [2022-03-17T14:56:36.986Z] ---> d60c7686ea2b [2022-03-17T14:56:36.986Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T14:56:36.986Z] ---> Running in f77091499e7a [2022-03-17T14:56:38.982Z] Removing intermediate container f77091499e7a [2022-03-17T14:56:38.982Z] ---> 1d34e1981ed9 [2022-03-17T14:56:38.982Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T14:56:38.982Z] ---> Running in de38f768546e [2022-03-17T14:56:39.975Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T14:56:40.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T14:56:41.946Z] OK: 224 MiB in 56 packages [2022-03-17T14:56:42.937Z] Removing intermediate container de38f768546e [2022-03-17T14:56:42.937Z] ---> e727e114591c [2022-03-17T14:56:42.937Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-17T14:56:42.937Z] ---> Running in f79a39396afd [2022-03-17T14:56:43.214Z] Removing intermediate container f79a39396afd [2022-03-17T14:56:43.214Z] ---> a498c0fa23a5 [2022-03-17T14:56:43.214Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-17T14:56:43.809Z] ---> e853916fd509 [2022-03-17T14:56:43.809Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T14:56:43.809Z] ---> Running in 96c9d0851efe [2022-03-17T14:56:45.796Z] Removing intermediate container 96c9d0851efe [2022-03-17T14:56:45.796Z] ---> 2c4b67fce01b [2022-03-17T14:56:45.796Z] Step 11/25 : COPY . . [2022-03-17T14:56:46.787Z] ---> 99dd46cdf0e6 [2022-03-17T14:56:46.787Z] Step 12/25 : RUN $MAKE [2022-03-17T14:56:46.787Z] ---> Running in 078224a3acc7 [2022-03-17T14:56:47.772Z] 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-17T14:57:34.804Z] Removing intermediate container 078224a3acc7 [2022-03-17T14:57:34.805Z] ---> 9ac7083ec5fa [2022-03-17T14:57:34.805Z] Step 13/25 : FROM alpine:3.14 [2022-03-17T14:57:34.805Z] 3.14: Pulling from library/alpine [2022-03-17T14:57:34.805Z] be307f383ecc: Pulling fs layer [2022-03-17T14:57:34.805Z] be307f383ecc: Verifying Checksum [2022-03-17T14:57:34.805Z] be307f383ecc: Download complete [2022-03-17T14:57:34.805Z] be307f383ecc: Pull complete [2022-03-17T14:57:34.805Z] Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 [2022-03-17T14:57:34.805Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T14:57:34.805Z] ---> 5b8b7b635229 [2022-03-17T14:57:34.805Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-17T14:57:34.805Z] ---> Running in e66fa3ab4138 [2022-03-17T14:57:34.805Z] Removing intermediate container e66fa3ab4138 [2022-03-17T14:57:34.805Z] ---> 225dc8565f65 [2022-03-17T14:57:34.805Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-17T14:57:34.805Z] ---> Running in 5ef1f3efbee1 [2022-03-17T14:57:34.805Z] Removing intermediate container 5ef1f3efbee1 [2022-03-17T14:57:34.805Z] ---> 09f8dd9416c2 [2022-03-17T14:57:34.805Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T14:57:34.805Z] ---> Running in 33b16721c5b4 [2022-03-17T14:57:34.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T14:57:34.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T14:57:35.075Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T14:57:35.075Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T14:57:35.075Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T14:57:35.075Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T14:57:35.075Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T14:57:35.075Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T14:57:35.075Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T14:57:35.075Z] OK: 8 MiB in 20 packages [2022-03-17T14:57:36.052Z] Removing intermediate container 33b16721c5b4 [2022-03-17T14:57:36.052Z] ---> 86deac859700 [2022-03-17T14:57:36.052Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-17T14:57:37.028Z] ---> eeedeca3caaf [2022-03-17T14:57:37.028Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-17T14:57:37.625Z] ---> ed8f38939e03 [2022-03-17T14:57:37.625Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-17T14:57:38.221Z] ---> 7ca15d0faa96 [2022-03-17T14:57:38.221Z] Step 20/25 : EXPOSE 59986 [2022-03-17T14:57:38.221Z] ---> Running in 87047014fc37 [2022-03-17T14:57:38.497Z] Removing intermediate container 87047014fc37 [2022-03-17T14:57:38.497Z] ---> d4710d7cb3ed [2022-03-17T14:57:38.497Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-17T14:57:38.497Z] ---> Running in d7cbfe1db28c [2022-03-17T14:57:39.093Z] Removing intermediate container d7cbfe1db28c [2022-03-17T14:57:39.093Z] ---> 94f7ed977016 [2022-03-17T14:57:39.093Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-17T14:57:39.093Z] ---> Running in d1f25f97b2d3 [2022-03-17T14:57:39.369Z] Removing intermediate container d1f25f97b2d3 [2022-03-17T14:57:39.369Z] ---> 4f4c1b7b0f56 [2022-03-17T14:57:39.369Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T14:57:39.369Z] ---> Running in 1c1b06735d76 [2022-03-17T14:57:39.653Z] Removing intermediate container 1c1b06735d76 [2022-03-17T14:57:39.653Z] ---> fd90c3aaa704 [2022-03-17T14:57:39.653Z] Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:57:39.930Z] ---> Running in 94ac8a498267 [2022-03-17T14:57:40.207Z] Removing intermediate container 94ac8a498267 [2022-03-17T14:57:40.207Z] ---> 56614e9891ee [2022-03-17T14:57:40.207Z] Step 25/25 : LABEL version=2.2.0-dev.6 [2022-03-17T14:57:40.207Z] ---> Running in 0c787ddde7e5 [2022-03-17T14:57:40.483Z] Removing intermediate container 0c787ddde7e5 [2022-03-17T14:57:40.483Z] ---> a558f1402892 [2022-03-17T14:57:40.483Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T14:57:40.483Z] Successfully built a558f1402892 [2022-03-17T14:57:40.483Z] 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-17T14:57:40.605Z] provisioning config files... [2022-03-17T14:57:40.627Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config6118647466045872232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:57:40.985Z] ---> docker-login.sh [2022-03-17T14:57:40.985Z] nexus3.edgexfoundry.org:10001 [2022-03-17T14:57:41.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:57:41.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:57:41.260Z] Configure a credential helper to remove this warning. See [2022-03-17T14:57:41.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:57:41.260Z] [2022-03-17T14:57:41.260Z] Login Succeeded [2022-03-17T14:57:41.260Z] nexus3.edgexfoundry.org:10002 [2022-03-17T14:57:41.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:57:41.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:57:41.861Z] Configure a credential helper to remove this warning. See [2022-03-17T14:57:41.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:57:41.861Z] [2022-03-17T14:57:41.861Z] Login Succeeded [2022-03-17T14:57:41.861Z] nexus3.edgexfoundry.org:10003 [2022-03-17T14:57:42.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:57:42.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:57:42.418Z] Configure a credential helper to remove this warning. See [2022-03-17T14:57:42.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:57:42.418Z] [2022-03-17T14:57:42.418Z] Login Succeeded [2022-03-17T14:57:42.418Z] nexus3.edgexfoundry.org:10004 [2022-03-17T14:57:43.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:57:43.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:57:43.020Z] Configure a credential helper to remove this warning. See [2022-03-17T14:57:43.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:57:43.020Z] [2022-03-17T14:57:43.020Z] Login Succeeded [2022-03-17T14:57:43.020Z] docker.io [2022-03-17T14:57:43.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T14:57:43.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T14:57:43.905Z] Configure a credential helper to remove this warning. See [2022-03-17T14:57:43.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T14:57:43.905Z] [2022-03-17T14:57:43.905Z] Login Succeeded [2022-03-17T14:57:43.905Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T14:57:43.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T14:57:43.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T14:57:43.984Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-03-17T14:57:43.984Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:57:43.984Z] latest [2022-03-17T14:57:43.985Z] 2.2.0-dev.6 [2022-03-17T14:57:43.985Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:57:43.985Z] main [2022-03-17T14:57:43.985Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:44.353Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:44.714Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:57:44.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T14:57:44.714Z] e1e3d07045f2: Preparing [2022-03-17T14:57:44.714Z] 2cb973f1faa1: Preparing [2022-03-17T14:57:44.714Z] 9c092ba0ddd6: Preparing [2022-03-17T14:57:44.714Z] 7c7a18bb4299: Preparing [2022-03-17T14:57:44.714Z] 62170e181a92: Preparing [2022-03-17T14:57:44.714Z] 62170e181a92: Layer already exists [2022-03-17T14:57:44.999Z] e1e3d07045f2: Pushed [2022-03-17T14:57:44.999Z] 2cb973f1faa1: Pushed [2022-03-17T14:57:45.985Z] 7c7a18bb4299: Pushed [2022-03-17T14:57:47.965Z] 9c092ba0ddd6: Pushed [2022-03-17T14:57:47.965Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:48.320Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:48.673Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-03-17T14:57:48.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T14:57:48.673Z] e1e3d07045f2: Preparing [2022-03-17T14:57:48.673Z] 2cb973f1faa1: Preparing [2022-03-17T14:57:48.673Z] 9c092ba0ddd6: Preparing [2022-03-17T14:57:48.673Z] 7c7a18bb4299: Preparing [2022-03-17T14:57:48.673Z] 62170e181a92: Preparing [2022-03-17T14:57:48.673Z] 2cb973f1faa1: Layer already exists [2022-03-17T14:57:48.673Z] 7c7a18bb4299: Layer already exists [2022-03-17T14:57:48.673Z] 9c092ba0ddd6: Layer already exists [2022-03-17T14:57:48.673Z] e1e3d07045f2: Layer already exists [2022-03-17T14:57:48.673Z] 62170e181a92: Layer already exists [2022-03-17T14:57:48.947Z] latest: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:49.305Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:49.659Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [2022-03-17T14:57:49.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T14:57:49.659Z] e1e3d07045f2: Preparing [2022-03-17T14:57:49.659Z] 2cb973f1faa1: Preparing [2022-03-17T14:57:49.659Z] 9c092ba0ddd6: Preparing [2022-03-17T14:57:49.659Z] 7c7a18bb4299: Preparing [2022-03-17T14:57:49.659Z] 62170e181a92: Preparing [2022-03-17T14:57:49.659Z] e1e3d07045f2: Layer already exists [2022-03-17T14:57:49.659Z] 9c092ba0ddd6: Layer already exists [2022-03-17T14:57:49.659Z] 2cb973f1faa1: Layer already exists [2022-03-17T14:57:49.659Z] 62170e181a92: Layer already exists [2022-03-17T14:57:49.659Z] 7c7a18bb4299: Layer already exists [2022-03-17T14:57:49.941Z] 2.2.0-dev.6: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:50.303Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:50.658Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:57:50.658Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T14:57:50.658Z] e1e3d07045f2: Preparing [2022-03-17T14:57:50.658Z] 2cb973f1faa1: Preparing [2022-03-17T14:57:50.658Z] 9c092ba0ddd6: Preparing [2022-03-17T14:57:50.658Z] 7c7a18bb4299: Preparing [2022-03-17T14:57:50.658Z] 62170e181a92: Preparing [2022-03-17T14:57:50.933Z] 7c7a18bb4299: Layer already exists [2022-03-17T14:57:50.933Z] 62170e181a92: Layer already exists [2022-03-17T14:57:50.933Z] 9c092ba0ddd6: Layer already exists [2022-03-17T14:57:50.933Z] e1e3d07045f2: Layer already exists [2022-03-17T14:57:50.933Z] 2cb973f1faa1: Layer already exists [2022-03-17T14:57:50.933Z] ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:51.294Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:51.642Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-03-17T14:57:51.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-03-17T14:57:51.642Z] e1e3d07045f2: Preparing [2022-03-17T14:57:51.642Z] 2cb973f1faa1: Preparing [2022-03-17T14:57:51.642Z] 9c092ba0ddd6: Preparing [2022-03-17T14:57:51.642Z] 7c7a18bb4299: Preparing [2022-03-17T14:57:51.642Z] 62170e181a92: Preparing [2022-03-17T14:57:51.642Z] 9c092ba0ddd6: Layer already exists [2022-03-17T14:57:51.642Z] e1e3d07045f2: Layer already exists [2022-03-17T14:57:51.642Z] 62170e181a92: Layer already exists [2022-03-17T14:57:51.642Z] 2cb973f1faa1: Layer already exists [2022-03-17T14:57:51.642Z] 7c7a18bb4299: Layer already exists [2022-03-17T14:57:51.916Z] main: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T14:57:51.963Z] ===================================================== [Pipeline] echo [2022-03-17T14:57:51.972Z] taggedImages: [2022-03-17T14:57:51.972Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [2022-03-17T14:57:51.972Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-03-17T14:57:51.972Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [2022-03-17T14:57:51.972Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [2022-03-17T14:57:51.972Z] - 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-17T14:57:52.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T14:57:52.348Z] [2022-03-17T14:57:52.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:57:52.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T14:57:52.989Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T14:57:52.989Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T14:57:52.989Z] 04944245beec: Pulling fs layer [2022-03-17T14:57:52.989Z] 699f458cf7ca: Pulling fs layer [2022-03-17T14:57:52.989Z] 765212b225bb: Pulling fs layer [2022-03-17T14:57:52.989Z] f23df028b6ca: Pulling fs layer [2022-03-17T14:57:52.989Z] 765212b225bb: Waiting [2022-03-17T14:57:52.989Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T14:57:52.989Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T14:57:52.989Z] f23df028b6ca: Waiting [2022-03-17T14:57:52.989Z] 2437ff75d9bd: Waiting [2022-03-17T14:57:52.989Z] d65c8cfc05b1: Waiting [2022-03-17T14:57:52.989Z] 04944245beec: Verifying Checksum [2022-03-17T14:57:52.989Z] 04944245beec: Download complete [2022-03-17T14:57:52.989Z] 765212b225bb: Verifying Checksum [2022-03-17T14:57:52.989Z] 765212b225bb: Download complete [2022-03-17T14:57:52.989Z] f23df028b6ca: Verifying Checksum [2022-03-17T14:57:52.989Z] f23df028b6ca: Download complete [2022-03-17T14:57:53.266Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T14:57:53.266Z] d65c8cfc05b1: Download complete [2022-03-17T14:57:53.266Z] 699f458cf7ca: Verifying Checksum [2022-03-17T14:57:53.266Z] 699f458cf7ca: Download complete [2022-03-17T14:57:53.546Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T14:57:53.546Z] 8998bd30e6a1: Download complete [2022-03-17T14:57:56.186Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T14:57:56.186Z] 2437ff75d9bd: Download complete [2022-03-17T14:57:58.171Z] 8998bd30e6a1: Pull complete [2022-03-17T14:57:58.769Z] 04944245beec: Pull complete [2022-03-17T14:58:00.205Z] 699f458cf7ca: Pull complete [2022-03-17T14:58:00.482Z] 765212b225bb: Pull complete [2022-03-17T14:58:01.465Z] f23df028b6ca: Pull complete [2022-03-17T14:58:01.465Z] d65c8cfc05b1: Pull complete [2022-03-17T14:58:16.568Z] 2437ff75d9bd: Pull complete [2022-03-17T14:58:16.568Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T14:58:16.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T14:58:16.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T14:58:17.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container [2022-03-17T14:58:17.215Z] $ 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/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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-17T14:58:20.113Z] $ docker top c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:58:21.070Z] ---> job-cost.sh [2022-03-17T14:58:21.070Z] lf-activate-venv: SKIPPING [2022-03-17T14:58:21.070Z] INFO: No Stack... [2022-03-17T14:58:21.346Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T14:58:22.333Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T14:58:23.026Z] + cut -d, -f6 [2022-03-17T14:58:23.026Z] + cat /w/workspace/device-rest-go/26/archives/cost.csv [Pipeline] lock [2022-03-17T14:58:23.101Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [2022-03-17T14:58:23.109Z] Resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] did not exist. Created. [2022-03-17T14:58:23.109Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T14:58:23.810Z] /w/workspace/device-rest-go/26@tmp/durable-ae873ae9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T14:58:24.504Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T14:58:24.528Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T14:58:24.580Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T14:58:24.587Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T14:58:24.614Z] $ docker stop --time=1 c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b [2022-03-17T14:58:26.176Z] $ docker rm -f c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b [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-17T14:58:26.666Z] provisioning config files... [2022-03-17T14:58:26.674Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3027027081768760439tmp [Pipeline] { [Pipeline] sh [2022-03-17T14:58:26.967Z] + set +x [2022-03-17T14:58:26.967Z] + curl -s https://codecov.io/bash [2022-03-17T14:58:26.967Z] + bash -s -- [2022-03-17T14:58:26.967Z] [2022-03-17T14:58:26.967Z] _____ _ [2022-03-17T14:58:26.967Z] / ____| | | [2022-03-17T14:58:26.967Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T14:58:26.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T14:58:26.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T14:58:26.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T14:58:26.967Z] Bash-1.0.6 [2022-03-17T14:58:26.967Z] [2022-03-17T14:58:26.967Z] [2022-03-17T14:58:26.967Z] ==> git version 2.25.1 found [2022-03-17T14:58:26.967Z] ==> 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-17T14:58:26.967Z] Release-Date: 2020-01-08 [2022-03-17T14:58:26.967Z] 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-17T14:58:26.967Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T14:58:26.967Z] ==> Jenkins CI detected. [2022-03-17T14:58:26.967Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:58:26.967Z] project root: . [2022-03-17T14:58:26.967Z] --> token set from env [2022-03-17T14:58:26.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T14:58:26.967Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T14:58:26.967Z] ==> Python coveragepy not found [2022-03-17T14:58:26.967Z] ==> Searching for coverage reports in: [2022-03-17T14:58:26.967Z] + . [2022-03-17T14:58:26.967Z] -> Found 1 reports [2022-03-17T14:58:26.967Z] ==> Detecting git/mercurial file structure [2022-03-17T14:58:26.967Z] ==> Reading reports [2022-03-17T14:58:26.967Z] + ./coverage.out bytes=9215 [2022-03-17T14:58:26.967Z] ==> Appending adjustments [2022-03-17T14:58:26.967Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T14:58:27.228Z] + Found adjustments [2022-03-17T14:58:27.228Z] ==> Gzipping contents [2022-03-17T14:58:27.228Z] 4.0K /tmp/codecov.nhLITQ.gz [2022-03-17T14:58:27.228Z] ==> Uploading reports [2022-03-17T14:58:27.228Z] url: https://codecov.io [2022-03-17T14:58:27.228Z] query: branch=main&commit=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T14:58:27.228Z] -> Pinging Codecov [2022-03-17T14:58:27.228Z] 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=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T14:58:27.488Z] -> Uploading to [2022-03-17T14:58:27.488Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/4E5D53B4F1F92C436F7061BF334D961C/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2/cf573227-8ffd-4605-9125-c6e442611e90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T145827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c3e23e838b5b4f04f7707ae7e4fe3e153fb28074b193e8ee38e5563910f6056 [2022-03-17T14:58:27.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T14:58:27.488Z] Dload Upload Total Spent Left Speed [2022-03-17T14:58:27.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 8857 --:--:-- --:--:-- --:--:-- 8813 100 1798 0 0 100 1798 0 5241 --:--:-- --:--:-- --:--:-- 5226 [2022-03-17T14:58:27.749Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] } [2022-03-17T14:58:27.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T14:58:27.998Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T14:58:28.010Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:58:28.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T14:58:28.299Z] [2022-03-17T14:58:28.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:58:28.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T14:58:28.600Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T14:58:28.600Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T14:58:28.600Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T14:58:28.600Z] de9db76c5a1d: Pulling fs layer [2022-03-17T14:58:28.600Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T14:58:28.600Z] 0d57e429df01: Pulling fs layer [2022-03-17T14:58:28.600Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T14:58:28.600Z] e1f770b5df2f: Pulling fs layer [2022-03-17T14:58:28.600Z] 85a0685a4137: Pulling fs layer [2022-03-17T14:58:28.600Z] e1f770b5df2f: Waiting [2022-03-17T14:58:28.600Z] 0eba1c9be4d2: Waiting [2022-03-17T14:58:28.600Z] 0d57e429df01: Waiting [2022-03-17T14:58:28.600Z] 85a0685a4137: Waiting [2022-03-17T14:58:28.600Z] 4e4be7b47b0d: Waiting [2022-03-17T14:58:28.600Z] de9db76c5a1d: Verifying Checksum [2022-03-17T14:58:28.600Z] de9db76c5a1d: Download complete [2022-03-17T14:58:28.600Z] 0ef7d3d256c8: Download complete [2022-03-17T14:58:28.600Z] 0d57e429df01: Verifying Checksum [2022-03-17T14:58:28.600Z] 0d57e429df01: Download complete [2022-03-17T14:58:28.600Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T14:58:28.600Z] 4e4be7b47b0d: Download complete [2022-03-17T14:58:28.600Z] 188c0c94c7c5: Download complete [2022-03-17T14:58:28.860Z] 188c0c94c7c5: Pull complete [2022-03-17T14:58:28.860Z] e1f770b5df2f: Verifying Checksum [2022-03-17T14:58:28.860Z] e1f770b5df2f: Download complete [2022-03-17T14:58:28.860Z] 0ef7d3d256c8: Pull complete [2022-03-17T14:58:29.119Z] de9db76c5a1d: Pull complete [2022-03-17T14:58:29.379Z] 0eba1c9be4d2: Download complete [2022-03-17T14:58:29.638Z] 85a0685a4137: Verifying Checksum [2022-03-17T14:58:29.638Z] 85a0685a4137: Download complete [2022-03-17T14:58:32.925Z] 0eba1c9be4d2: Pull complete [2022-03-17T14:58:32.925Z] 0d57e429df01: Pull complete [2022-03-17T14:58:32.925Z] 4e4be7b47b0d: Pull complete [2022-03-17T14:58:32.925Z] e1f770b5df2f: Pull complete [2022-03-17T14:58:36.211Z] 85a0685a4137: Pull complete [2022-03-17T14:58:36.211Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T14:58:36.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T14:58:36.211Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T14:58:36.278Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:58:36.318Z] $ 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-17T14:58:38.736Z] $ docker top faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T14:58:38.803Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T14:58:39.145Z] + set -o pipefail [2022-03-17T14:58:39.145Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T14:58:43.348Z] [2022-03-17T14:58:43.348Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-03-17T14:58:43.348Z] [2022-03-17T14:58:43.348Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/0a2b6a16-9f15-4667-bf44-72ef3e9e6435 [2022-03-17T14:58:43.348Z] [2022-03-17T14:58:43.348Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-03-17T14:58:43.348Z] [2022-03-17T14:58:43.348Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T14:58:43.348Z] [2022-03-17T14:58:44.290Z] [Pipeline] } [2022-03-17T14:58:44.308Z] $ docker stop --time=1 faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 [2022-03-17T14:58:46.049Z] $ docker rm -f faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 [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-17T14:58:46.738Z] + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] sh [2022-03-17T14:58:47.040Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T14:58:47.040Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:58:47.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:58:47.338Z] . [Pipeline] withDockerContainer [2022-03-17T14:58:47.408Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:58:47.445Z] $ 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-17T14:58:47.864Z] $ docker top af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T14:58:47.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T14:58:47.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T14:58:48.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T14:58:48.096Z] $ docker exec af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 ssh-agent [2022-03-17T14:58:48.210Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcLfaGf/agent.14 [2022-03-17T14:58:48.210Z] SSH_AGENT_PID=20 [2022-03-17T14:58:48.215Z] Running ssh-add (command line suppressed) [2022-03-17T14:58:48.331Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1628269228904023623.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1628269228904023623.key) [2022-03-17T14:58:48.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T14:58:48.633Z] + git semver tag [2022-03-17T14:58:48.633Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T14:58:48.633Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T14:58:48.633Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:58:48.633Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T14:58:48.633Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T14:58:48.633Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T14:58:48.633Z] # $SEMVER_BRANCH = main [2022-03-17T14:58:48.633Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-03-17T14:58:48.633Z] # ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 HEAD [2022-03-17T14:58:48.633Z] # -> Force: false [2022-03-17T14:58:48.633Z] # fa02af45d10004cd8f1fa12aeacc2583078e8642 refs/tags/v2.2.0-dev.6 [Pipeline] } [2022-03-17T14:58:48.648Z] $ docker exec --env ******** --env ******** af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 ssh-agent -k [2022-03-17T14:58:48.758Z] unset SSH_AUTH_SOCK; [2022-03-17T14:58:48.758Z] unset SSH_AGENT_PID; [2022-03-17T14:58:48.758Z] echo Agent pid 20 killed; [2022-03-17T14:58:48.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T14:58:49.105Z] + git semver [Pipeline] } [2022-03-17T14:58:49.123Z] $ docker stop --time=1 af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 [2022-03-17T14:58:50.415Z] $ docker rm -f af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:58:50.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T14:58:50.806Z] [2022-03-17T14:58:50.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:58:51.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T14:58:51.108Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T14:58:51.108Z] ab5ef0e58194: Pulling fs layer [2022-03-17T14:58:51.108Z] 9712f1f96733: Pulling fs layer [2022-03-17T14:58:51.108Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T14:58:51.108Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T14:58:51.108Z] e9a5061849ea: Pulling fs layer [2022-03-17T14:58:51.108Z] d747dcd14b5f: Pulling fs layer [2022-03-17T14:58:51.108Z] 2de7ff778b66: Pulling fs layer [2022-03-17T14:58:51.108Z] e9a5061849ea: Waiting [2022-03-17T14:58:51.108Z] d747dcd14b5f: Waiting [2022-03-17T14:58:51.108Z] 2de7ff778b66: Waiting [2022-03-17T14:58:51.108Z] 0d9ebad4ef96: Waiting [2022-03-17T14:58:51.108Z] 9712f1f96733: Verifying Checksum [2022-03-17T14:58:51.108Z] 9712f1f96733: Download complete [2022-03-17T14:58:51.368Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T14:58:51.368Z] 63f879dbbcfc: Download complete [2022-03-17T14:58:51.629Z] e9a5061849ea: Verifying Checksum [2022-03-17T14:58:51.629Z] e9a5061849ea: Download complete [2022-03-17T14:58:51.629Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T14:58:51.629Z] 0d9ebad4ef96: Download complete [2022-03-17T14:58:51.629Z] d747dcd14b5f: Download complete [2022-03-17T14:58:51.629Z] ab5ef0e58194: Verifying Checksum [2022-03-17T14:58:51.629Z] ab5ef0e58194: Download complete [2022-03-17T14:58:51.629Z] 2de7ff778b66: Verifying Checksum [2022-03-17T14:58:51.629Z] 2de7ff778b66: Download complete [2022-03-17T14:58:54.927Z] ab5ef0e58194: Pull complete [2022-03-17T14:58:54.927Z] 9712f1f96733: Pull complete [2022-03-17T14:58:55.186Z] 63f879dbbcfc: Pull complete [2022-03-17T14:58:59.380Z] 0d9ebad4ef96: Pull complete [2022-03-17T14:58:59.380Z] e9a5061849ea: Pull complete [2022-03-17T14:58:59.380Z] d747dcd14b5f: Pull complete [2022-03-17T14:59:00.766Z] 2de7ff778b66: Pull complete [2022-03-17T14:59:00.766Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T14:59:00.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T14:59:00.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T14:59:00.838Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:59:00.879Z] $ 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-17T14:59:03.339Z] $ docker top 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T14:59:03.442Z] provisioning config files... [2022-03-17T14:59:03.453Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config633605455401292516tmp [2022-03-17T14:59:03.466Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2729154340903422052tmp [2022-03-17T14:59:03.478Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4543942773193769301tmp [Pipeline] { [Pipeline] echo [2022-03-17T14:59:03.495Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:03.781Z] ---> sigul-configuration.sh [2022-03-17T14:59:03.781Z] gpg: directory `/root/.gnupg' created [2022-03-17T14:59:03.781Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T14:59:03.781Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T14:59:03.781Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T14:59:03.781Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T14:59:03.781Z] gpg: CAST5 encrypted data [2022-03-17T14:59:03.781Z] gpg: encrypted with 1 passphrase [2022-03-17T14:59:03.781Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T14:59:04.071Z] + mkdir /home/jenkins [2022-03-17T14:59:04.071Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T14:59:04.360Z] + 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-17T14:59:04.371Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:04.656Z] ---> sigul-install.sh [2022-03-17T14:59:04.656Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T14:59:04.946Z] + git tag --list [2022-03-17T14:59:04.946Z] v1.0.0 [2022-03-17T14:59:04.946Z] v1.1.0 [2022-03-17T14:59:04.946Z] v1.1.1 [2022-03-17T14:59:04.946Z] v1.1.2 [2022-03-17T14:59:04.946Z] v1.2.0 [2022-03-17T14:59:04.946Z] v1.2.1 [2022-03-17T14:59:04.946Z] v2.0.0 [2022-03-17T14:59:04.947Z] v2.0.1-dev.1 [2022-03-17T14:59:04.947Z] v2.0.1-dev.10 [2022-03-17T14:59:04.947Z] v2.0.1-dev.11 [2022-03-17T14:59:04.947Z] v2.0.1-dev.12 [2022-03-17T14:59:04.947Z] v2.0.1-dev.13 [2022-03-17T14:59:04.947Z] v2.0.1-dev.14 [2022-03-17T14:59:04.947Z] v2.0.1-dev.2 [2022-03-17T14:59:04.947Z] v2.0.1-dev.3 [2022-03-17T14:59:04.947Z] v2.0.1-dev.4 [2022-03-17T14:59:04.947Z] v2.0.1-dev.5 [2022-03-17T14:59:04.947Z] v2.0.1-dev.6 [2022-03-17T14:59:04.947Z] v2.0.1-dev.7 [2022-03-17T14:59:04.947Z] v2.0.1-dev.8 [2022-03-17T14:59:04.947Z] v2.0.1-dev.9 [2022-03-17T14:59:04.947Z] v2.1.0 [2022-03-17T14:59:04.947Z] v2.2.0-dev.1 [2022-03-17T14:59:04.947Z] v2.2.0-dev.2 [2022-03-17T14:59:04.947Z] v2.2.0-dev.3 [2022-03-17T14:59:04.947Z] v2.2.0-dev.4 [2022-03-17T14:59:04.947Z] v2.2.0-dev.5 [2022-03-17T14:59:04.947Z] v2.2.0-dev.6 [Pipeline] sh [2022-03-17T14:59:05.233Z] + lftools sign git-tag v2.2.0-dev.6 [2022-03-17T14:59:05.804Z] Signing Git tag with Sigul... [2022-03-17T14:59:05.804Z] Signing v2.2.0-dev.6 [Pipeline] echo [2022-03-17T14:59:06.077Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:06.368Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T14:59:06.377Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T14:59:06.405Z] $ docker stop --time=1 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 [2022-03-17T14:59:07.730Z] $ docker rm -f 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T14:59:08.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T14:59:08.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:59:08.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:59:08.450Z] . [Pipeline] withDockerContainer [2022-03-17T14:59:08.522Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:59:08.566Z] $ 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-17T14:59:08.980Z] $ docker top 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T14:59:09.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T14:59:09.067Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T14:59:09.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T14:59:09.202Z] $ docker exec 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd ssh-agent [2022-03-17T14:59:09.340Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFOOACo/agent.13 [2022-03-17T14:59:09.340Z] SSH_AGENT_PID=19 [2022-03-17T14:59:09.347Z] Running ssh-add (command line suppressed) [2022-03-17T14:59:09.468Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4280986273963663228.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4280986273963663228.key) [2022-03-17T14:59:09.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T14:59:09.778Z] + git semver bump pre [2022-03-17T14:59:09.778Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T14:59:09.778Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T14:59:09.778Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:59:09.778Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T14:59:09.778Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T14:59:09.778Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T14:59:09.778Z] # $SEMVER_BRANCH = main [2022-03-17T14:59:09.778Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-03-17T14:59:09.778Z] 2.2.0-dev.7 [Pipeline] } [2022-03-17T14:59:09.794Z] $ docker exec --env ******** --env ******** 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd ssh-agent -k [2022-03-17T14:59:09.906Z] unset SSH_AUTH_SOCK; [2022-03-17T14:59:09.907Z] unset SSH_AGENT_PID; [2022-03-17T14:59:09.907Z] echo Agent pid 19 killed; [2022-03-17T14:59:09.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T14:59:10.229Z] + git semver [Pipeline] } [2022-03-17T14:59:10.250Z] $ docker stop --time=1 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd [2022-03-17T14:59:11.569Z] $ docker rm -f 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T14:59:11.922Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T14:59:11.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:59:12.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T14:59:12.217Z] . [Pipeline] withDockerContainer [2022-03-17T14:59:12.291Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:59:12.333Z] $ 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-17T14:59:12.742Z] $ docker top de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T14:59:12.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T14:59:12.839Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T14:59:12.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T14:59:12.989Z] $ docker exec de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 ssh-agent [2022-03-17T14:59:13.112Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhobLNe/agent.13 [2022-03-17T14:59:13.112Z] SSH_AGENT_PID=19 [2022-03-17T14:59:13.119Z] Running ssh-add (command line suppressed) [2022-03-17T14:59:13.249Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3034230056836885912.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3034230056836885912.key) [2022-03-17T14:59:13.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T14:59:13.553Z] + git semver push [2022-03-17T14:59:13.554Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T14:59:13.554Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-03-17T14:59:13.554Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:59:13.554Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T14:59:13.554Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T14:59:13.554Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T14:59:13.554Z] # $SEMVER_BRANCH = main [2022-03-17T14:59:13.554Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-03-17T14:59:18.846Z] git-semver-push: command error on refs/heads/semver: Internal Server Error [Pipeline] } [2022-03-17T14:59:18.864Z] $ docker exec --env ******** --env ******** de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 ssh-agent -k [2022-03-17T14:59:18.962Z] unset SSH_AUTH_SOCK; [2022-03-17T14:59:18.962Z] unset SSH_AGENT_PID; [2022-03-17T14:59:18.962Z] echo Agent pid 19 killed; [2022-03-17T14:59:18.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-03-17T14:59:19.016Z] $ docker stop --time=1 de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 [2022-03-17T14:59:20.300Z] $ docker rm -f de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [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-17T14:59:20.964Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-03-17T14:59:20.964Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T14:59:20.964Z] total 16 [2022-03-17T14:59:20.964Z] drwxr-xr-x 3 root root 4096 Mar 17 14:52 . [2022-03-17T14:59:20.964Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:59 .. [2022-03-17T14:59:20.964Z] drwxr-xr-x 2 root root 4096 Mar 17 14:52 cost [2022-03-17T14:59:20.964Z] -rw-r--r-- 1 root root 84 Mar 17 14:52 cost.csv [2022-03-17T14:59:20.964Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T14:59:20.964Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-03-17T14:59:20.964Z] total 16 [2022-03-17T14:59:20.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 14:52 . [2022-03-17T14:59:20.964Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:59 .. [2022-03-17T14:59:20.964Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 14:52 cost [2022-03-17T14:59:20.964Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 17 14:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:21.250Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:22.116Z] ---> package-listing.sh [2022-03-17T14:59:22.116Z] ++ facter osfamily [2022-03-17T14:59:22.116Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T14:59:22.377Z] + OS_FAMILY=debian [2022-03-17T14:59:22.377Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-03-17T14:59:22.377Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T14:59:22.377Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T14:59:22.377Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T14:59:22.377Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T14:59:22.377Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-03-17T14:59:22.377Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T14:59:22.377Z] + case "${OS_FAMILY}" in [2022-03-17T14:59:22.377Z] + dpkg -l [2022-03-17T14:59:22.377Z] + grep '^ii' [2022-03-17T14:59:22.377Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T14:59:22.377Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T14:59:22.377Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T14:59:22.377Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-03-17T14:59:22.377Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-03-17T14:59:22.377Z] + 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-17T14:59:22.388Z] 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-17T14:59:22.669Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T14:59:23.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T14:59:23.228Z] . [Pipeline] withDockerContainer [2022-03-17T14:59:23.298Z] prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container [2022-03-17T14:59:23.337Z] $ 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-17T14:59:23.616Z] $ docker top 14207dea7681ed6767bf825ec45e2b4c5b7834b32808f45e9fcd21f7b194c4e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T14:59:23.988Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T14:59:24.281Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T14:59:24.572Z] + ls /var/log/sa-host [2022-03-17T14:59:24.572Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T14:59:24.780Z] provisioning config files... [2022-03-17T14:59:24.790Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9213111667424109025tmp [Pipeline] { [Pipeline] echo [2022-03-17T14:59:24.811Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:25.097Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T14:59:25.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:25.436Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T14:59:25.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:25.730Z] ---> sudo-logs.sh [2022-03-17T14:59:25.730Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T14:59:25.755Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:26.039Z] ---> job-cost.sh [2022-03-17T14:59:26.039Z] lf-activate-venv: SKIPPING [2022-03-17T14:59:26.039Z] DEBUG: total: 0.2199999988079071 [2022-03-17T14:59:26.039Z] INFO: Retrieving Stack Cost... [2022-03-17T14:59:26.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T14:59:26.873Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T14:59:26.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T14:59:27.179Z] ---> logs-deploy.sh [2022-03-17T14:59:27.179Z] lf-activate-venv: SKIPPING [2022-03-17T14:59:27.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/26 [2022-03-17T14:59:27.179Z] INFO: archiving workspace using pattern(s): [2022-03-17T14:59:28.120Z] Archives upload complete. [2022-03-17T14:59:28.120Z] INFO: archiving logs to Nexus