Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c825c9e02f55f2d37ee60cfba734680a35820bea 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-ssh12315395288604644919.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4605267178883544155.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1268660432807437088.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17460865338432023229.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5171759985856416581.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1763 in /w/workspace/exfoundry_device-rest-go_jakarta [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/exfoundry_device-rest-go_jakarta # 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 c825c9e02f55f2d37ee60cfba734680a35820bea (jakarta) > 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 c825c9e02f55f2d37ee60cfba734680a35820bea # timeout=10 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#196)" > git rev-list --no-walk 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:58:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:26 ========================================================= 15:58:26 EdgeX Global Pipelines Version Info 15:58:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:27 ------------------- 15:58:27 stable info: 15:58:27 ------------------- 15:58:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:27 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:58:27 Message: update stable to v1.0.234 15:58:28 ------------------- 15:58:28 experimental info: 15:58:28 ------------------- 15:58:28 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:28 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:58:28 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c825c9e [Pipeline] echo 15:58:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:29 provisioning config files... 15:58:29 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2620106904165033564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:29 ---> docker-login.sh 15:58:29 nexus3.edgexfoundry.org:10001 15:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:29 Configure a credential helper to remove this warning. See 15:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:29 15:58:29 Login Succeeded 15:58:29 nexus3.edgexfoundry.org:10002 15:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:29 Configure a credential helper to remove this warning. See 15:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:29 15:58:29 Login Succeeded 15:58:29 nexus3.edgexfoundry.org:10003 15:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:29 Configure a credential helper to remove this warning. See 15:58:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:29 15:58:29 Login Succeeded 15:58:29 nexus3.edgexfoundry.org:10004 15:58:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:30 Configure a credential helper to remove this warning. See 15:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:30 15:58:30 Login Succeeded 15:58:30 docker.io 15:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:30 Configure a credential helper to remove this warning. See 15:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:30 15:58:30 Login Succeeded 15:58:30 ---> docker-login.sh ends [Pipeline] } 15:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:58:30 + git rev-list -1 --merges c825c9e02f55f2d37ee60cfba734680a35820bea~1..c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo 15:58:30 -----------> git rev-list -1 --merges c825c9e02f55f2d37ee60cfba734680a35820bea~1..c825c9e02f55f2d37ee60cfba734680a35820bea c825c9e02f55f2d37ee60cfba734680a35820bea [false] [Pipeline] sh 15:58:31 + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo 15:58:31 ========================================================= 15:58:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:58:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:31 + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo 15:58:31 [semverPrep] GIT_COMMIT: c825c9e02f55f2d37ee60cfba734680a35820bea, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#196) [Pipeline] echo 15:58:31 [semverPrep] This is not a build commit. [Pipeline] sh 15:58:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:31 + grep -v github /etc/ssh/ssh_known_hosts 15:58:31 + [ -e /tmp/ssh_known_hosts ] 15:58:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:58:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:58:31 + sudo tee -a /etc/ssh/ssh_known_hosts 15:58:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:32 15:58:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:32 0.1.4: Pulling from edgex-devops/py-git-semver 15:58:32 42c077c10790: Pulling fs layer 15:58:32 f63e77b7563a: Pulling fs layer 15:58:32 bd5fdadae976: Pulling fs layer 15:58:32 205491f53016: Pulling fs layer 15:58:32 df18705c85c3: Pulling fs layer 15:58:32 bdb3f477010e: Pulling fs layer 15:58:32 c8a8fc8e1c8f: Pulling fs layer 15:58:32 2c6e9b1d212d: Pulling fs layer 15:58:32 bdb8f0575790: Pulling fs layer 15:58:32 386e3cb2ff24: Pulling fs layer 15:58:32 2343380bae48: Pulling fs layer 15:58:32 df18705c85c3: Waiting 15:58:32 bdb3f477010e: Waiting 15:58:32 205491f53016: Waiting 15:58:32 c8a8fc8e1c8f: Waiting 15:58:32 386e3cb2ff24: Waiting 15:58:32 bdb8f0575790: Waiting 15:58:32 2343380bae48: Waiting 15:58:32 f63e77b7563a: Download complete 15:58:32 205491f53016: Download complete 15:58:32 df18705c85c3: Verifying Checksum 15:58:32 df18705c85c3: Download complete 15:58:32 bdb3f477010e: Verifying Checksum 15:58:32 bdb3f477010e: Download complete 15:58:32 bd5fdadae976: Verifying Checksum 15:58:32 bd5fdadae976: Download complete 15:58:32 2c6e9b1d212d: Download complete 15:58:32 bdb8f0575790: Download complete 15:58:32 386e3cb2ff24: Download complete 15:58:32 2343380bae48: Download complete 15:58:32 42c077c10790: Verifying Checksum 15:58:32 42c077c10790: Download complete 15:58:33 c8a8fc8e1c8f: Download complete 15:58:33 42c077c10790: Pull complete 15:58:34 f63e77b7563a: Pull complete 15:58:34 bd5fdadae976: Pull complete 15:58:34 205491f53016: Pull complete 15:58:34 df18705c85c3: Pull complete 15:58:34 bdb3f477010e: Pull complete 15:58:36 c8a8fc8e1c8f: Pull complete 15:58:36 2c6e9b1d212d: Pull complete 15:58:36 bdb8f0575790: Pull complete 15:58:36 386e3cb2ff24: Pull complete 15:58:36 2343380bae48: Pull complete 15:58:36 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:36 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 15:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:58:38 $ docker top fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c -eo pid,comm 15:58:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:58:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:38 [ssh-agent] Looking for ssh-agent implementation... 15:58:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:38 $ docker exec fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent 15:58:38 SSH_AUTH_SOCK=/tmp/ssh-FbsQkXAf50QG/agent.33 15:58:38 SSH_AGENT_PID=39 15:58:38 Running ssh-add (command line suppressed) 15:58:38 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6679419047774277614.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6679419047774277614.key) 15:58:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:39 + git tag --points-at HEAD [Pipeline] } 15:58:39 $ docker exec --env ******** --env ******** fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent -k 15:58:39 unset SSH_AUTH_SOCK; 15:58:39 unset SSH_AGENT_PID; 15:58:39 echo Agent pid 39 killed; 15:58:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:39 [ssh-agent] Looking for ssh-agent implementation... 15:58:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:39 $ docker exec fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent 15:58:39 SSH_AUTH_SOCK=/tmp/ssh-bDYhWzmmVdcC/agent.72 15:58:39 SSH_AGENT_PID=78 15:58:39 Running ssh-add (command line suppressed) 15:58:39 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1005173972955600098.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1005173972955600098.key) 15:58:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:39 + git semver init 15:58:40 2022-06-08 15:58:40,050 [run_init] DEBUG init version:0.0.0 force:False 15:58:40 2022-06-08 15:58:40,051 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver 15:58:40 2022-06-08 15:58:40,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver 15:58:40 2022-06-08 15:58:40,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/exfoundry_device-rest-go_jakarta/.semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) 15:58:41 2022-06-08 15:58:40,898 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude 15:58:41 2022-06-08 15:58:40,899 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False 15:58:41 2022-06-08 15:58:40,899 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 15:58:41 2022-06-08 15:58:40,899 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 15:58:41 2.1.1-dev.3 [Pipeline] } 15:58:41 $ docker exec --env ******** --env ******** fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent -k 15:58:41 unset SSH_AUTH_SOCK; 15:58:41 unset SSH_AGENT_PID; 15:58:41 echo Agent pid 78 killed; 15:58:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:41 + git semver [Pipeline] } 15:58:41 $ docker stop --time=1 fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c 15:58:43 $ docker rm -f fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c [Pipeline] // withDockerContainer [Pipeline] sh 15:58:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:43 Stashed 1 file(s) [Pipeline] echo 15:58:43 [edgeXSemver]: initialized semver on version 2.1.1-dev.3 [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 15:58:43 provisioning config files... 15:58:43 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8422967344762195042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:44 ---> docker-login.sh 15:58:44 nexus3.edgexfoundry.org:10001 15:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:44 Configure a credential helper to remove this warning. See 15:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:44 15:58:44 Login Succeeded 15:58:44 nexus3.edgexfoundry.org:10002 15:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:44 Configure a credential helper to remove this warning. See 15:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:44 15:58:44 Login Succeeded 15:58:44 nexus3.edgexfoundry.org:10003 15:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:44 Configure a credential helper to remove this warning. See 15:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:44 15:58:44 Login Succeeded 15:58:44 nexus3.edgexfoundry.org:10004 15:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:44 Configure a credential helper to remove this warning. See 15:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:44 15:58:44 Login Succeeded 15:58:44 docker.io 15:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:44 Configure a credential helper to remove this warning. See 15:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:44 15:58:44 Login Succeeded 15:58:44 ---> docker-login.sh ends [Pipeline] } 15:58:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:44 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 15:58:45 + grep ^go [0-9].[0-9]* go.mod 15:58:45 + cut -d -f 2 [Pipeline] echo 15:58:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:45 ========================================================= 15:58:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 15:58:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:58:45 Sending build context to Docker daemon 21.64MB 15:58:45 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:58:45 Step 2/11 : FROM ${BASE} AS builder 15:58:45 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 15:58:45 a0d0a0d46f8b: Pulling fs layer 15:58:45 31adcdaf11c8: Pulling fs layer 15:58:45 b8b176561691: Pulling fs layer 15:58:45 4527c011a84f: Pulling fs layer 15:58:45 5d74067f8e1e: Pulling fs layer 15:58:45 fd57009d33ed: Pulling fs layer 15:58:45 6b058263d067: Pulling fs layer 15:58:45 16d7c86c65f4: Pulling fs layer 15:58:45 1290d154cb4b: Pulling fs layer 15:58:45 4527c011a84f: Waiting 15:58:45 5d74067f8e1e: Waiting 15:58:45 6b058263d067: Waiting 15:58:45 fd57009d33ed: Waiting 15:58:45 1290d154cb4b: Waiting 15:58:45 16d7c86c65f4: Waiting 15:58:45 b8b176561691: Verifying Checksum 15:58:45 b8b176561691: Download complete 15:58:45 31adcdaf11c8: Verifying Checksum 15:58:45 31adcdaf11c8: Download complete 15:58:45 5d74067f8e1e: Verifying Checksum 15:58:45 5d74067f8e1e: Download complete 15:58:45 fd57009d33ed: Verifying Checksum 15:58:45 fd57009d33ed: Download complete 15:58:45 6b058263d067: Verifying Checksum 15:58:45 6b058263d067: Download complete 15:58:45 a0d0a0d46f8b: Download complete 15:58:46 16d7c86c65f4: Verifying Checksum 15:58:46 16d7c86c65f4: Download complete 15:58:46 a0d0a0d46f8b: Pull complete 15:58:46 31adcdaf11c8: Pull complete 15:58:46 b8b176561691: Pull complete 15:58:46 1290d154cb4b: Verifying Checksum 15:58:46 1290d154cb4b: Download complete 15:58:46 4527c011a84f: Verifying Checksum 15:58:46 4527c011a84f: Download complete 15:58:49 4527c011a84f: Pull complete 15:58:49 5d74067f8e1e: Pull complete 15:58:49 fd57009d33ed: Pull complete 15:58:49 6b058263d067: Pull complete 15:58:49 16d7c86c65f4: Pull complete 15:58:51 1290d154cb4b: Pull complete 15:58:51 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 15:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 15:58:51 ---> de6a6ee31cbe 15:58:51 Step 3/11 : ARG MAKE='make build' 15:58:53 ---> Running in 4e7f82a3717f 15:58:53 Removing intermediate container 4e7f82a3717f 15:58:53 ---> 9456217c12a1 15:58:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:58:53 ---> Running in 27b0d82ff86c 15:58:53 Removing intermediate container 27b0d82ff86c 15:58:53 ---> 054a076d0149 15:58:53 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:58:53 ---> Running in 2ba2e2559d53 15:58:53 Removing intermediate container 2ba2e2559d53 15:58:53 ---> d71887eb426c 15:58:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:58:53 ---> Running in 1d004e217b2b 15:58:54 Removing intermediate container 1d004e217b2b 15:58:54 ---> 07e9fe3ea254 15:58:54 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:54 ---> Running in f3e2a92bd1dd 15:58:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:58:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:58:55 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:58:55 (2/4) Installing libedit (20210216.3.1-r0) 15:58:55 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:58:55 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:58:55 Executing busybox-1.33.1-r3.trigger 15:58:55 OK: 224 MiB in 56 packages 15:58:56 Removing intermediate container f3e2a92bd1dd 15:58:56 ---> 63cbce4e1050 15:58:56 Step 8/11 : WORKDIR /device-rest-go 15:58:56 ---> Running in 74247e1a6123 15:58:56 Removing intermediate container 74247e1a6123 15:58:56 ---> 571360d45ebb 15:58:56 Step 9/11 : COPY . . 15:58:57 ---> 1658ed06bafd 15:58:57 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:57 ---> Running in 8da0509ce92b 15:58:57 skipping... 15:58:57 Removing intermediate container 8da0509ce92b 15:58:57 ---> 86c1c20f1ddd 15:58:57 Step 11/11 : RUN $MAKE 15:58:57 ---> Running in 017a4795e6a6 15:58:58 noop 15:58:58 Removing intermediate container 017a4795e6a6 15:58:58 ---> 8e55aa473c39 15:58:58 Successfully built 8e55aa473c39 15:58:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:58 + docker inspect -f . ci-base-image-x86_64 15:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:58 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 15:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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-x86_64 cat 15:58:58 Still waiting to schedule task 15:58:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:58:59 $ docker top 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:59 + go version 15:58:59 go version go1.16.8 linux/amd64 [Pipeline] } 15:58:59 $ docker stop --time=1 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 15:59:00 $ docker rm -f 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:01 + docker inspect -f . ci-base-image-x86_64 15:59:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:01 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 15:59:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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-x86_64 cat 15:59:01 $ docker top 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:59:02 + make test 15:59:02 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:59:02 ? github.com/edgexfoundry/device-rest-go [no test files] 15:59:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:59:09 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 56.0% of statements 15:59:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:59:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:13 ./bin/test-attribution-txt.sh 15:59:14 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 15:59:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 15:59:14 go: downloading github.com/gorilla/mux v1.8.0 15:59:14 go: downloading github.com/spf13/cast v1.4.1 15:59:14 go: downloading github.com/stretchr/testify v1.7.0 15:59:14 go: downloading github.com/OneOfOne/xxhash v1.2.8 15:59:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 15:59:14 go: downloading github.com/google/uuid v1.3.0 15:59:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:59:14 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 15:59:14 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 15:59:14 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:59:14 go: downloading github.com/pelletier/go-toml v1.9.4 15:59:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:59:14 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 15:59:14 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 15:59:14 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:59:14 go: downloading github.com/hashicorp/consul/api v1.9.1 15:59:14 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:59:14 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:59:14 go: downloading github.com/go-kit/kit v0.11.0 15:59:14 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:59:14 go: downloading github.com/pebbe/zmq4 v1.2.7 15:59:14 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:59:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:59:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:59:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:59:14 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:59:14 go: downloading github.com/mitchellh/copystructure v1.0.0 15:59:14 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:59:14 go: downloading github.com/davecgh/go-spew v1.1.1 15:59:14 go: downloading github.com/pmezard/go-difflib v1.0.0 15:59:14 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 15:59:14 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 15:59:14 go: downloading golang.org/x/text v0.3.6 15:59:14 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:59:14 go: downloading github.com/hashicorp/errwrap v1.0.0 15:59:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:59:14 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:59:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:59:14 go: downloading github.com/hashicorp/serf v0.9.5 15:59:14 go: downloading github.com/x448/float16 v0.8.4 15:59:14 go: downloading github.com/gorilla/websocket v1.4.2 15:59:14 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:59:14 go: downloading github.com/go-playground/universal-translator v0.18.0 15:59:14 go: downloading github.com/leodido/go-urn v1.2.1 15:59:14 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 15:59:14 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:59:14 go: downloading github.com/fatih/color v1.9.0 15:59:14 go: downloading github.com/mattn/go-colorable v0.1.6 15:59:14 go: downloading github.com/mattn/go-isatty v0.0.12 15:59:14 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 15:59:16 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:59:16 + go mod tidy 15:59:16 go: downloading github.com/go-stack/stack v1.8.0 15:59:16 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:59:16 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:59:16 go: downloading github.com/stretchr/objx v0.1.1 15:59:16 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:59:16 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:59:16 go: downloading github.com/onsi/ginkgo v1.10.1 15:59:16 go: downloading github.com/onsi/gomega v1.7.0 15:59:16 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:59:16 go: downloading github.com/hashicorp/memberlist v0.2.2 15:59:16 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:59:16 go: downloading github.com/kr/pretty v0.3.0 15:59:16 go: downloading github.com/pkg/errors v0.9.1 15:59:16 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:59:16 go: downloading github.com/kr/text v0.2.0 15:59:16 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:59:16 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:59:16 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:59:16 go: downloading github.com/miekg/dns v1.1.26 15:59:16 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:59:16 go: downloading gopkg.in/yaml.v2 v2.3.0 15:59:16 go: downloading github.com/hpcloud/tail v1.0.0 15:59:16 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:59:16 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 15:59:16 $ docker stop --time=1 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab 15:59:18 $ docker rm -f 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab [Pipeline] // withDockerContainer [Pipeline] sh 15:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:20 + ls -al . 15:59:20 total 184 15:59:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 15:59 . 15:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:58 .. 15:59:20 -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 15:58 .dockerignore 15:59:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:58 .git 15:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 .github 15:59:20 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 15:58 .gitignore 15:59:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:58 .semver 15:59:20 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 15:58 Attribution.txt 15:59:20 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 15:58 CHANGELOG.md 15:59:20 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 15:58 Dockerfile 15:59:20 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:58 GOVERNANCE.md 15:59:20 -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 15:58 Jenkinsfile 15:59:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:58 LICENSE 15:59:20 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 15:58 Makefile 15:59:20 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:58 OWNERS.md 15:59:20 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 15:58 README.md 15:59:20 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION 15:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 bin 15:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:58 cmd 15:59:20 -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 15:59 coverage.out 15:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 driver 15:59:20 -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 15:59 go.mod 15:59:20 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 15:58 go.sum 15:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:58 snap 15:59:20 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:58 vendor 15:59:20 -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:20 + 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=c825c9e02f55f2d37ee60cfba734680a35820bea --label arch=amd64 --label version=2.1.1-dev.3 . 15:59:20 Sending build context to Docker daemon 21.65MB 15:59:20 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 15:59:20 Step 2/24 : FROM ${BASE} AS builder 15:59:20 ---> 8e55aa473c39 15:59:20 Step 3/24 : ARG MAKE='make build' 15:59:20 ---> Running in f7147fc691eb 15:59:20 Removing intermediate container f7147fc691eb 15:59:20 ---> 9a353ee82cce 15:59:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:59:20 ---> Running in dcc7456f6e7d 15:59:21 Removing intermediate container dcc7456f6e7d 15:59:21 ---> bfd0b2bf8124 15:59:21 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:59:21 ---> Running in 09946a6c88ce 15:59:21 Removing intermediate container 09946a6c88ce 15:59:21 ---> 3fc3f7b49ea0 15:59:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:59:21 ---> Running in 819b89a3d603 15:59:21 Removing intermediate container 819b89a3d603 15:59:21 ---> 57a5e798227b 15:59:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:21 ---> Running in 72e2ebbfe02e 15:59:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:59:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:59:23 OK: 224 MiB in 56 packages 15:59:23 Removing intermediate container 72e2ebbfe02e 15:59:23 ---> 4f79d0ab5375 15:59:23 Step 8/24 : WORKDIR /device-rest-go 15:59:23 ---> Running in 9e653af3f9bf 15:59:23 Removing intermediate container 9e653af3f9bf 15:59:23 ---> ec2e9e1b8b88 15:59:23 Step 9/24 : COPY . . 15:59:24 ---> ad7cf27dce87 15:59:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:24 ---> Running in b6fcc692a1c0 15:59:24 skipping... 15:59:25 Removing intermediate container b6fcc692a1c0 15:59:25 ---> 7ee0233bd689 15:59:25 Step 11/24 : RUN $MAKE 15:59:25 ---> Running in 01cbaa0ec31f 15:59:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.3" -o cmd/device-rest ./cmd 15:59:33 Removing intermediate container 01cbaa0ec31f 15:59:33 ---> 2137bf18e8a9 15:59:33 Step 12/24 : FROM alpine:3.14 15:59:33 3.14: Pulling from library/alpine 15:59:33 8663204ce13b: Pulling fs layer 15:59:33 8663204ce13b: Verifying Checksum 15:59:33 8663204ce13b: Download complete 15:59:33 8663204ce13b: Pull complete 15:59:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:59:33 Status: Downloaded newer image for alpine:3.14 15:59:33 ---> e04c818066af 15:59:33 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:59:33 ---> Running in 52b2bab69cbb 15:59:33 Removing intermediate container 52b2bab69cbb 15:59:33 ---> 5fad42d80357 15:59:33 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 15:59:33 ---> Running in be172ad5ab1c 15:59:33 Removing intermediate container be172ad5ab1c 15:59:33 ---> 255fb95fd667 15:59:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:59:33 ---> Running in 7d4455128ffa 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:59:34 (1/6) Installing dumb-init (1.2.5-r1) 15:59:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:59:34 (3/6) Installing libsodium (1.0.18-r0) 15:59:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:59:34 (5/6) Installing libzmq (4.3.4-r0) 15:59:34 (6/6) Installing zeromq (4.3.4-r0) 15:59:34 Executing busybox-1.33.1-r7.trigger 15:59:34 OK: 8 MiB in 20 packages 15:59:34 Removing intermediate container 7d4455128ffa 15:59:34 ---> 340ad480a5fc 15:59:34 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 15:59:34 ---> 474b32086372 15:59:34 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 15:59:34 ---> c15035a453a4 15:59:34 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 15:59:34 ---> 56964dc6d947 15:59:34 Step 19/24 : EXPOSE 59986 15:59:34 ---> Running in 46f658d956b4 15:59:35 Removing intermediate container 46f658d956b4 15:59:35 ---> ae5410a78500 15:59:35 Step 20/24 : ENTRYPOINT ["/device-rest"] 15:59:35 ---> Running in 3ae5d7c4f230 15:59:35 Removing intermediate container 3ae5d7c4f230 15:59:35 ---> 442d63423044 15:59:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:59:35 ---> Running in 1e510d7fe8e9 15:59:35 Removing intermediate container 1e510d7fe8e9 15:59:35 ---> 4e590147f238 15:59:35 Step 22/24 : LABEL arch=amd64 15:59:35 ---> Running in 19cd38d57be0 15:59:35 Removing intermediate container 19cd38d57be0 15:59:35 ---> 844e7880acda 15:59:35 Step 23/24 : LABEL git_sha=c825c9e02f55f2d37ee60cfba734680a35820bea 15:59:35 ---> Running in 83fee54e15e0 15:59:35 Removing intermediate container 83fee54e15e0 15:59:35 ---> 19d4839df610 15:59:35 Step 24/24 : LABEL version=2.1.1-dev.3 15:59:35 ---> Running in 0efbe2262e3a 15:59:35 Removing intermediate container 0efbe2262e3a 15:59:35 ---> c0f25f7413d2 15:59:35 [Warning] One or more build-args [ARCH] were not consumed 15:59:35 Successfully built c0f25f7413d2 15:59:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:35 provisioning config files... 15:59:35 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8288962004378436705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:36 ---> docker-login.sh 15:59:36 nexus3.edgexfoundry.org:10001 15:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:36 Configure a credential helper to remove this warning. See 15:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:36 15:59:36 Login Succeeded 15:59:36 nexus3.edgexfoundry.org:10002 15:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:36 Configure a credential helper to remove this warning. See 15:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:36 15:59:36 Login Succeeded 15:59:36 nexus3.edgexfoundry.org:10003 15:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:36 Configure a credential helper to remove this warning. See 15:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:36 15:59:36 Login Succeeded 15:59:36 nexus3.edgexfoundry.org:10004 15:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:36 Configure a credential helper to remove this warning. See 15:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:36 15:59:36 Login Succeeded 15:59:36 docker.io 15:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:36 Configure a credential helper to remove this warning. See 15:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:36 15:59:36 Login Succeeded 15:59:36 ---> docker-login.sh ends [Pipeline] } 15:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:36 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 15:59:36 c825c9e02f55f2d37ee60cfba734680a35820bea 15:59:36 2.1.1-dev.3 15:59:36 c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 15:59:36 jakarta 15:59:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea 15:59:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:59:37 49bb38945073: Preparing 15:59:37 250a5cdecded: Preparing 15:59:37 be99e0227b67: Preparing 15:59:37 4ea839604617: Preparing 15:59:37 b541d28bf3b4: Preparing 15:59:37 b541d28bf3b4: Layer already exists 15:59:37 49bb38945073: Pushed 15:59:37 250a5cdecded: Pushed 15:59:37 4ea839604617: Pushed 15:59:39 be99e0227b67: Pushed 15:59:39 c825c9e02f55f2d37ee60cfba734680a35820bea: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 15:59:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:59:39 49bb38945073: Preparing 15:59:39 250a5cdecded: Preparing 15:59:39 be99e0227b67: Preparing 15:59:39 4ea839604617: Preparing 15:59:39 b541d28bf3b4: Preparing 15:59:39 4ea839604617: Layer already exists 15:59:39 b541d28bf3b4: Layer already exists 15:59:39 250a5cdecded: Layer already exists 15:59:39 be99e0227b67: Layer already exists 15:59:39 49bb38945073: Layer already exists 15:59:39 2.1.1-dev.3: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 15:59:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:59:40 49bb38945073: Preparing 15:59:40 250a5cdecded: Preparing 15:59:40 be99e0227b67: Preparing 15:59:40 4ea839604617: Preparing 15:59:40 b541d28bf3b4: Preparing 15:59:40 250a5cdecded: Layer already exists 15:59:40 b541d28bf3b4: Layer already exists 15:59:40 4ea839604617: Layer already exists 15:59:40 be99e0227b67: Layer already exists 15:59:40 49bb38945073: Layer already exists 15:59:40 c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta 15:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 15:59:41 49bb38945073: Preparing 15:59:41 250a5cdecded: Preparing 15:59:41 be99e0227b67: Preparing 15:59:41 4ea839604617: Preparing 15:59:41 b541d28bf3b4: Preparing 15:59:41 49bb38945073: Layer already exists 15:59:41 4ea839604617: Layer already exists 15:59:41 250a5cdecded: Layer already exists 15:59:41 be99e0227b67: Layer already exists 15:59:41 b541d28bf3b4: Layer already exists 15:59:41 jakarta: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:41 ===================================================== [Pipeline] echo 15:59:41 taggedImages: 15:59:41 - nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea 15:59:41 - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 15:59:41 - nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 15:59:41 - nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:41 15:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:41 latest: Pulling from edgex-lftools-log-publisher 15:59:41 5eb5b503b376: Pulling fs layer 15:59:41 5c69ac0246d0: Pulling fs layer 15:59:41 ec43610c2a17: Pulling fs layer 15:59:41 3a2ae6a8a46f: Pulling fs layer 15:59:41 33b1e0a273af: Pulling fs layer 15:59:41 5d3b04190fa2: Pulling fs layer 15:59:41 2f39f015ded8: Pulling fs layer 15:59:41 3a2ae6a8a46f: Waiting 15:59:41 33b1e0a273af: Waiting 15:59:41 5d3b04190fa2: Waiting 15:59:41 2f39f015ded8: Waiting 15:59:41 5c69ac0246d0: Verifying Checksum 15:59:41 5c69ac0246d0: Download complete 15:59:41 3a2ae6a8a46f: Verifying Checksum 15:59:41 3a2ae6a8a46f: Download complete 15:59:41 33b1e0a273af: Verifying Checksum 15:59:41 33b1e0a273af: Download complete 15:59:42 5d3b04190fa2: Verifying Checksum 15:59:42 5d3b04190fa2: Download complete 15:59:42 ec43610c2a17: Verifying Checksum 15:59:42 ec43610c2a17: Download complete 15:59:42 5eb5b503b376: Verifying Checksum 15:59:42 5eb5b503b376: Download complete 15:59:42 2f39f015ded8: Download complete 15:59:43 5eb5b503b376: Pull complete 15:59:43 5c69ac0246d0: Pull complete 15:59:43 ec43610c2a17: Pull complete 15:59:43 3a2ae6a8a46f: Pull complete 15:59:43 33b1e0a273af: Pull complete 15:59:44 5d3b04190fa2: Pull complete 15:59:48 2f39f015ded8: Pull complete 15:59:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:48 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 15:59:48 $ 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/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 15:59:49 $ docker top f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:50 ---> job-cost.sh 15:59:50 lf-activate-venv: SKIPPING 15:59:50 INFO: No Stack... 15:59:50 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:51 INFO: Archiving Costs [Pipeline] sh 15:59:51 + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv 15:59:51 + cut -d, -f6 [Pipeline] lock 15:59:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] 15:59:51 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] did not exist. Created. 15:59:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:52 + echo total: 0.2199999988079071 [Pipeline] stash 15:59:52 Stashed 1 file(s) [Pipeline] } 15:59:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:52 $ docker stop --time=1 f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 15:59:53 $ docker rm -f f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:02:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1766 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 16:02:09 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 16:02:09 The recommended git tool is: git 16:02:15 using credential edgex-jenkins-ssh 16:02:15 Cloning the remote Git repository 16:02:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:02:15 > git init /w/workspace/device-rest-go/7 # timeout=10 16:02:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:02:15 > git --version # timeout=10 16:02:15 > git --version # 'git version 2.25.1' 16:02:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:02:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:17 Avoid second fetch 16:02:17 Checking out Revision c825c9e02f55f2d37ee60cfba734680a35820bea (jakarta) 16:02:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:02:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:17 > git config core.sparsecheckout # timeout=10 16:02:17 > git checkout -f c825c9e02f55f2d37ee60cfba734680a35820bea # timeout=10 16:02:22 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#196)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:02:23 % Total % Received % Xferd Average Speed Time Time Time Current 16:02:23 Dload Upload Total Spent Left Speed 16:02:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50217 0 --:--:-- --:--:-- --:--:-- 50217 [Pipeline] sh 16:02:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:02:24 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 16:02:24 16:02:24 { 16:02:24 "registry-mirrors": [ 16:02:24 "https://nexus3.edgexfoundry.org:10001" 16:02:24 ], 16:02:24 "bip": "10.250.0.254/24", 16:02:24 "hosts": [ 16:02:24 "tcp://0.0.0.0:5555", 16:02:24 "unix:///var/run/docker.sock" 16:02:24 ], 16:02:24 "mtu": 1458, 16:02:24 "selinux-enabled": true, 16:02:24 "seccomp-profile": "/etc/docker/seccomp.json" 16:02:24 } [Pipeline] sh 16:02:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:02:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:02:43 provisioning config files... 16:02:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config3752643958350046264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:44 ---> docker-login.sh 16:02:44 nexus3.edgexfoundry.org:10001 16:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:45 Configure a credential helper to remove this warning. See 16:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:45 16:02:45 Login Succeeded 16:02:45 nexus3.edgexfoundry.org:10002 16:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:45 Configure a credential helper to remove this warning. See 16:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:45 16:02:45 Login Succeeded 16:02:45 nexus3.edgexfoundry.org:10003 16:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:46 Configure a credential helper to remove this warning. See 16:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:46 16:02:46 Login Succeeded 16:02:46 nexus3.edgexfoundry.org:10004 16:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:46 Configure a credential helper to remove this warning. See 16:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:46 16:02:46 Login Succeeded 16:02:46 docker.io 16:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:47 Configure a credential helper to remove this warning. See 16:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:47 16:02:47 Login Succeeded 16:02:47 ---> docker-login.sh ends [Pipeline] } 16:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:02:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 16:02:48 + + grep ^go [0-9].[0-9]* go.modcut 16:02:48 -d -f 2 [Pipeline] echo 16:02:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:02:48 ========================================================= 16:02:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 16:02:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 16:02:50 Sending build context to Docker daemon 11.13MB 16:02:50 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:02:50 Step 2/11 : FROM ${BASE} AS builder 16:02:50 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 16:02:50 552d1f2373af: Pulling fs layer 16:02:50 ea3f2d53f512: Pulling fs layer 16:02:50 9e70ebbbe112: Pulling fs layer 16:02:50 7a9cfe048b4a: Pulling fs layer 16:02:50 72dc09318566: Pulling fs layer 16:02:50 f324388ff665: Pulling fs layer 16:02:50 53ef782089cf: Pulling fs layer 16:02:50 2af28fca035d: Pulling fs layer 16:02:50 7a9cfe048b4a: Waiting 16:02:50 72dc09318566: Waiting 16:02:50 f324388ff665: Waiting 16:02:50 53ef782089cf: Waiting 16:02:50 2af28fca035d: Waiting 16:02:50 9e70ebbbe112: Verifying Checksum 16:02:50 9e70ebbbe112: Download complete 16:02:50 ea3f2d53f512: Verifying Checksum 16:02:50 ea3f2d53f512: Download complete 16:02:50 72dc09318566: Verifying Checksum 16:02:50 72dc09318566: Download complete 16:02:50 f324388ff665: Verifying Checksum 16:02:50 f324388ff665: Download complete 16:02:50 552d1f2373af: Verifying Checksum 16:02:50 552d1f2373af: Download complete 16:02:50 53ef782089cf: Verifying Checksum 16:02:50 53ef782089cf: Download complete 16:02:51 552d1f2373af: Pull complete 16:02:52 ea3f2d53f512: Pull complete 16:02:52 9e70ebbbe112: Pull complete 16:02:52 2af28fca035d: Verifying Checksum 16:02:52 2af28fca035d: Download complete 16:02:53 7a9cfe048b4a: Verifying Checksum 16:02:53 7a9cfe048b4a: Download complete 16:03:05 7a9cfe048b4a: Pull complete 16:03:05 72dc09318566: Pull complete 16:03:05 f324388ff665: Pull complete 16:03:05 53ef782089cf: Pull complete 16:03:12 2af28fca035d: Pull complete 16:03:12 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 16:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 16:03:12 ---> d19f1962542a 16:03:12 Step 3/11 : ARG MAKE='make build' 16:03:13 ---> Running in ad22f1bde016 16:03:13 Removing intermediate container ad22f1bde016 16:03:13 ---> 6984a1622c35 16:03:13 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:03:13 ---> Running in 3213378f5c66 16:03:13 Removing intermediate container 3213378f5c66 16:03:13 ---> 5a4c2ed713cb 16:03:13 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:03:13 ---> Running in 01993cbc3454 16:03:14 Removing intermediate container 01993cbc3454 16:03:14 ---> e6da978d13ab 16:03:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:03:14 ---> Running in 24f7b483d523 16:03:16 Removing intermediate container 24f7b483d523 16:03:16 ---> 7b417b9a871c 16:03:16 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:03:16 ---> Running in 882535effdb8 16:03:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:03:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:03:19 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:03:19 (2/4) Installing libedit (20210216.3.1-r0) 16:03:19 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:03:19 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:03:19 Executing busybox-1.33.1-r3.trigger 16:03:20 OK: 223 MiB in 56 packages 16:03:21 Removing intermediate container 882535effdb8 16:03:21 ---> c8df5454e075 16:03:21 Step 8/11 : WORKDIR /device-rest-go 16:03:21 ---> Running in 374cffb46bfe 16:03:21 Removing intermediate container 374cffb46bfe 16:03:21 ---> c2149c80ee14 16:03:21 Step 9/11 : COPY . . 16:03:25 ---> a0942fcde9f4 16:03:25 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:03:25 ---> Running in b064706e8ff7 16:03:25 skipping... 16:03:26 Removing intermediate container b064706e8ff7 16:03:26 ---> 627568d94252 16:03:26 Step 11/11 : RUN $MAKE 16:03:26 ---> Running in e4242fb02b62 16:03:27 noop 16:03:28 Removing intermediate container e4242fb02b62 16:03:28 ---> abf4dbd67f86 16:03:28 Successfully built abf4dbd67f86 16:03:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:29 + docker inspect -f . ci-base-image-arm64 16:03:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:29 prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container 16:03:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:30 $ docker top a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:31 + go version 16:03:31 go version go1.16.8 linux/arm64 [Pipeline] } 16:03:31 $ docker stop --time=1 a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 16:03:33 $ docker rm -f a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:34 + docker inspect -f . ci-base-image-arm64 16:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:34 prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container 16:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:35 $ docker top 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:03:36 + make test 16:03:36 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:03:38 ? github.com/edgexfoundry/device-rest-go [no test files] 16:04:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:04:46 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 56.0% of statements 16:04:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:05:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:05:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:05:13 ./bin/test-attribution-txt.sh 16:05:13 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:05:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:05:13 go: downloading github.com/gorilla/mux v1.8.0 16:05:13 go: downloading github.com/spf13/cast v1.4.1 16:05:13 go: downloading github.com/stretchr/testify v1.7.0 16:05:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:05:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:05:13 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:05:13 go: downloading github.com/google/uuid v1.3.0 16:05:13 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:05:13 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:05:13 go: downloading github.com/pelletier/go-toml v1.9.4 16:05:13 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:05:13 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:05:13 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:05:13 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:05:13 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:05:13 go: downloading github.com/hashicorp/consul/api v1.9.1 16:05:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:05:13 go: downloading github.com/go-kit/kit v0.11.0 16:05:13 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:05:13 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:05:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:05:13 go: downloading github.com/pebbe/zmq4 v1.2.7 16:05:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:05:13 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:05:13 go: downloading github.com/mitchellh/copystructure v1.0.0 16:05:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:05:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:05:13 go: downloading github.com/davecgh/go-spew v1.1.1 16:05:13 go: downloading github.com/pmezard/go-difflib v1.0.0 16:05:13 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:05:13 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:05:13 go: downloading golang.org/x/text v0.3.6 16:05:14 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:05:15 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:05:15 go: downloading github.com/hashicorp/errwrap v1.0.0 16:05:15 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:05:15 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:05:15 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:05:15 go: downloading github.com/hashicorp/serf v0.9.5 16:05:15 go: downloading github.com/x448/float16 v0.8.4 16:05:15 go: downloading github.com/go-playground/universal-translator v0.18.0 16:05:15 go: downloading github.com/leodido/go-urn v1.2.1 16:05:16 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:05:17 go: downloading github.com/gorilla/websocket v1.4.2 16:05:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:05:17 go: downloading github.com/fatih/color v1.9.0 16:05:17 go: downloading github.com/mattn/go-colorable v0.1.6 16:05:17 go: downloading github.com/mattn/go-isatty v0.0.12 16:05:17 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:05:17 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:05:23 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:05:23 + go mod tidy 16:05:24 go: downloading github.com/go-stack/stack v1.8.0 16:05:24 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:05:24 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:05:24 go: downloading github.com/stretchr/objx v0.1.1 16:05:24 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:05:24 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:05:24 go: downloading github.com/onsi/ginkgo v1.10.1 16:05:24 go: downloading github.com/onsi/gomega v1.7.0 16:05:24 go: downloading github.com/kr/pretty v0.3.0 16:05:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:05:24 go: downloading github.com/hashicorp/memberlist v0.2.2 16:05:24 go: downloading github.com/pkg/errors v0.9.1 16:05:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:05:24 go: downloading github.com/kr/text v0.2.0 16:05:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:05:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:05:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:05:24 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:05:24 go: downloading github.com/miekg/dns v1.1.26 16:05:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:05:25 go: downloading gopkg.in/yaml.v2 v2.3.0 16:05:25 go: downloading github.com/hpcloud/tail v1.0.0 16:05:25 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:05:25 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:05:25 $ docker stop --time=1 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca 16:05:28 $ docker rm -f 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca [Pipeline] // withDockerContainer [Pipeline] sh 16:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:05:30 Warning: overwriting stash ‘coverage-report’ 16:05:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:05:32 + ls -al . 16:05:32 total 180 16:05:32 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 16:05 . 16:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:02 .. 16:05:32 -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 16:02 .dockerignore 16:05:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:02 .git 16:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 .github 16:05:32 -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 16:02 .gitignore 16:05:32 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 16:02 Attribution.txt 16:05:32 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 16:02 CHANGELOG.md 16:05:32 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 16:02 Dockerfile 16:05:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:02 GOVERNANCE.md 16:05:32 -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 16:02 Jenkinsfile 16:05:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:02 LICENSE 16:05:32 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 16:02 Makefile 16:05:32 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 16:02 OWNERS.md 16:05:32 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 16:02 README.md 16:05:32 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION 16:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 bin 16:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:02 cmd 16:05:32 -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 16:04 coverage.out 16:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 driver 16:05:32 -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 16:05 go.mod 16:05:32 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 16:02 go.sum 16:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:02 snap 16:05:32 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:02 vendor 16:05:32 -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 16:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:32 + 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=c825c9e02f55f2d37ee60cfba734680a35820bea --label arch=arm64 --label version=2.1.1-dev.3 . 16:05:34 Sending build context to Docker daemon 11.14MB 16:05:34 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 16:05:34 Step 2/24 : FROM ${BASE} AS builder 16:05:34 ---> abf4dbd67f86 16:05:34 Step 3/24 : ARG MAKE='make build' 16:05:34 ---> Running in 95dd6a2e8a02 16:05:34 Removing intermediate container 95dd6a2e8a02 16:05:34 ---> 8c6574f29133 16:05:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:05:34 ---> Running in 95431fefc6b7 16:05:34 Removing intermediate container 95431fefc6b7 16:05:34 ---> 56831e0acd6b 16:05:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:05:34 ---> Running in 8161c101850f 16:05:35 Removing intermediate container 8161c101850f 16:05:35 ---> f4532eb91548 16:05:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:05:35 ---> Running in 09d01c25385f 16:05:37 Removing intermediate container 09d01c25385f 16:05:37 ---> 40ead9edb061 16:05:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:37 ---> Running in 03f09d9f3e05 16:05:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:05:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:05:40 OK: 223 MiB in 56 packages 16:05:41 Removing intermediate container 03f09d9f3e05 16:05:41 ---> ae1f82c9aa03 16:05:41 Step 8/24 : WORKDIR /device-rest-go 16:05:41 ---> Running in 28da10804bda 16:05:41 Removing intermediate container 28da10804bda 16:05:41 ---> c79b460a60b0 16:05:41 Step 9/24 : COPY . . 16:05:45 ---> d89762715a67 16:05:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:45 ---> Running in 6d221795c513 16:05:46 skipping... 16:05:47 Removing intermediate container 6d221795c513 16:05:47 ---> 76820a5b171e 16:05:47 Step 11/24 : RUN $MAKE 16:05:47 ---> Running in a69014d25971 16:05:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.3" -o cmd/device-rest ./cmd 16:06:35 Removing intermediate container a69014d25971 16:06:35 ---> f8a6acc96cdf 16:06:35 Step 12/24 : FROM alpine:3.14 16:06:35 3.14: Pulling from library/alpine 16:06:35 455c02918c45: Pulling fs layer 16:06:35 455c02918c45: Verifying Checksum 16:06:35 455c02918c45: Download complete 16:06:35 455c02918c45: Pull complete 16:06:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:06:35 Status: Downloaded newer image for alpine:3.14 16:06:35 ---> ac73e934f311 16:06:35 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:06:35 ---> Running in ee0cc9a50b9a 16:06:35 Removing intermediate container ee0cc9a50b9a 16:06:35 ---> aa5ca89db234 16:06:35 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 16:06:35 ---> Running in 40cae3ca8547 16:06:35 Removing intermediate container 40cae3ca8547 16:06:35 ---> 9918fe01e46a 16:06:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:06:35 ---> Running in 826beebc7469 16:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:06:35 (1/6) Installing dumb-init (1.2.5-r1) 16:06:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:06:35 (3/6) Installing libsodium (1.0.18-r0) 16:06:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:06:35 (5/6) Installing libzmq (4.3.4-r0) 16:06:35 (6/6) Installing zeromq (4.3.4-r0) 16:06:35 Executing busybox-1.33.1-r7.trigger 16:06:35 OK: 8 MiB in 20 packages 16:06:35 Removing intermediate container 826beebc7469 16:06:35 ---> 066154a6ea9b 16:06:35 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 16:06:35 ---> 4c59d379a70b 16:06:35 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 16:06:35 ---> d8e7cd2e43f7 16:06:35 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 16:06:36 ---> 5ff5ee490d03 16:06:36 Step 19/24 : EXPOSE 59986 16:06:36 ---> Running in 1a5eb91cdfd1 16:06:36 Removing intermediate container 1a5eb91cdfd1 16:06:36 ---> 029c1091afc9 16:06:36 Step 20/24 : ENTRYPOINT ["/device-rest"] 16:06:36 ---> Running in 65d8e5928627 16:06:36 Removing intermediate container 65d8e5928627 16:06:36 ---> 75700e9a813e 16:06:36 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:06:36 ---> Running in 998048ae837b 16:06:37 Removing intermediate container 998048ae837b 16:06:37 ---> 8021a102be1e 16:06:37 Step 22/24 : LABEL arch=arm64 16:06:37 ---> Running in d3996bb6d0f5 16:06:37 Removing intermediate container d3996bb6d0f5 16:06:37 ---> 3b69a11004f0 16:06:37 Step 23/24 : LABEL git_sha=c825c9e02f55f2d37ee60cfba734680a35820bea 16:06:37 ---> Running in f488069979a1 16:06:38 Removing intermediate container f488069979a1 16:06:38 ---> 8a54009a4a16 16:06:38 Step 24/24 : LABEL version=2.1.1-dev.3 16:06:38 ---> Running in 85f50d9f0081 16:06:38 Removing intermediate container 85f50d9f0081 16:06:38 ---> 57d5d071c6dc 16:06:38 [Warning] One or more build-args [ARCH] were not consumed 16:06:38 Successfully built 57d5d071c6dc 16:06:38 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:06:38 provisioning config files... 16:06:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config7087464145816228651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:39 ---> docker-login.sh 16:06:39 nexus3.edgexfoundry.org:10001 16:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:39 Configure a credential helper to remove this warning. See 16:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:39 16:06:39 Login Succeeded 16:06:39 nexus3.edgexfoundry.org:10002 16:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:40 Configure a credential helper to remove this warning. See 16:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:40 16:06:40 Login Succeeded 16:06:40 nexus3.edgexfoundry.org:10003 16:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:40 Configure a credential helper to remove this warning. See 16:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:40 16:06:40 Login Succeeded 16:06:40 nexus3.edgexfoundry.org:10004 16:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:40 Configure a credential helper to remove this warning. See 16:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:40 16:06:40 Login Succeeded 16:06:40 docker.io 16:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:41 Configure a credential helper to remove this warning. See 16:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:41 16:06:41 Login Succeeded 16:06:41 ---> docker-login.sh ends [Pipeline] } 16:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:41 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:06:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:06:41 c825c9e02f55f2d37ee60cfba734680a35820bea 16:06:41 2.1.1-dev.3 16:06:41 c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 16:06:41 jakarta 16:06:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea 16:06:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:06:42 7ddf682a4a61: Preparing 16:06:42 e3fb1ede25e9: Preparing 16:06:42 49194d1a2830: Preparing 16:06:42 629c97ff2ac8: Preparing 16:06:42 f73e7dbfee58: Preparing 16:06:42 f73e7dbfee58: Layer already exists 16:06:42 e3fb1ede25e9: Pushed 16:06:42 7ddf682a4a61: Pushed 16:06:43 629c97ff2ac8: Pushed 16:06:46 49194d1a2830: Pushed 16:06:46 c825c9e02f55f2d37ee60cfba734680a35820bea: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 16:06:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:06:46 7ddf682a4a61: Preparing 16:06:46 e3fb1ede25e9: Preparing 16:06:46 49194d1a2830: Preparing 16:06:46 629c97ff2ac8: Preparing 16:06:46 f73e7dbfee58: Preparing 16:06:46 7ddf682a4a61: Layer already exists 16:06:46 49194d1a2830: Layer already exists 16:06:46 f73e7dbfee58: Layer already exists 16:06:46 629c97ff2ac8: Layer already exists 16:06:46 e3fb1ede25e9: Layer already exists 16:06:47 2.1.1-dev.3: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 16:06:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:06:47 7ddf682a4a61: Preparing 16:06:47 e3fb1ede25e9: Preparing 16:06:47 49194d1a2830: Preparing 16:06:47 629c97ff2ac8: Preparing 16:06:47 f73e7dbfee58: Preparing 16:06:47 7ddf682a4a61: Layer already exists 16:06:47 49194d1a2830: Layer already exists 16:06:47 629c97ff2ac8: Layer already exists 16:06:47 e3fb1ede25e9: Layer already exists 16:06:47 f73e7dbfee58: Layer already exists 16:06:48 c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta 16:06:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:06:48 7ddf682a4a61: Preparing 16:06:48 e3fb1ede25e9: Preparing 16:06:48 49194d1a2830: Preparing 16:06:48 629c97ff2ac8: Preparing 16:06:48 f73e7dbfee58: Preparing 16:06:48 49194d1a2830: Layer already exists 16:06:48 f73e7dbfee58: Layer already exists 16:06:48 e3fb1ede25e9: Layer already exists 16:06:48 629c97ff2ac8: Layer already exists 16:06:48 7ddf682a4a61: Layer already exists 16:06:49 jakarta: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:49 ===================================================== [Pipeline] echo 16:06:49 taggedImages: 16:06:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea 16:06:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 16:06:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 16:06:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:49 16:06:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:50 arm64: Pulling from edgex-lftools-log-publisher 16:06:50 8998bd30e6a1: Pulling fs layer 16:06:50 04944245beec: Pulling fs layer 16:06:50 699f458cf7ca: Pulling fs layer 16:06:50 765212b225bb: Pulling fs layer 16:06:50 f23df028b6ca: Pulling fs layer 16:06:50 d65c8cfc05b1: Pulling fs layer 16:06:50 2437ff75d9bd: Pulling fs layer 16:06:50 f23df028b6ca: Waiting 16:06:50 d65c8cfc05b1: Waiting 16:06:50 765212b225bb: Waiting 16:06:50 2437ff75d9bd: Waiting 16:06:50 04944245beec: Verifying Checksum 16:06:50 04944245beec: Download complete 16:06:50 765212b225bb: Verifying Checksum 16:06:50 765212b225bb: Download complete 16:06:50 f23df028b6ca: Verifying Checksum 16:06:50 f23df028b6ca: Download complete 16:06:50 d65c8cfc05b1: Verifying Checksum 16:06:50 d65c8cfc05b1: Download complete 16:06:50 699f458cf7ca: Verifying Checksum 16:06:50 699f458cf7ca: Download complete 16:06:50 8998bd30e6a1: Download complete 16:06:53 2437ff75d9bd: Verifying Checksum 16:06:53 2437ff75d9bd: Download complete 16:06:55 8998bd30e6a1: Pull complete 16:06:55 04944245beec: Pull complete 16:06:57 699f458cf7ca: Pull complete 16:06:57 765212b225bb: Pull complete 16:06:58 f23df028b6ca: Pull complete 16:06:58 d65c8cfc05b1: Pull complete 16:07:13 2437ff75d9bd: Pull complete 16:07:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:13 prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container 16:07:13 $ 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/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:07:16 $ docker top 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:17 ---> job-cost.sh 16:07:17 lf-activate-venv: SKIPPING 16:07:17 INFO: No Stack... 16:07:17 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:18 INFO: Archiving Costs [Pipeline] sh 16:07:19 + cat /w/workspace/device-rest-go/7/archives/cost.csv 16:07:19 + cut -d, -f6 [Pipeline] lock 16:07:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] 16:07:19 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] did not exist. Created. 16:07:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:19 /w/workspace/device-rest-go/7@tmp/durable-90acee4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:20 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:20 Warning: overwriting stash ‘stack-cost’ 16:07:20 Stashed 1 file(s) [Pipeline] } 16:07:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:20 $ docker stop --time=1 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 16:07:22 $ docker rm -f 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 [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 16:07:23 provisioning config files... 16:07:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2826208325752322202tmp [Pipeline] { [Pipeline] sh 16:07:23 + set +x 16:07:23 + bash -s -- 16:07:23 + curl -s https://codecov.io/bash 16:07:23 16:07:23 _____ _ 16:07:23 / ____| | | 16:07:23 | | ___ __| | ___ ___ _____ __ 16:07:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:23 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:23 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:23 Bash-1.0.6 16:07:23 16:07:23 16:07:23 ==> git version 2.25.1 found 16:07:23 ==> 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 16:07:23 Release-Date: 2020-01-08 16:07:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:23 ==> Jenkins CI detected. 16:07:23 current dir:  /w/workspace/exfoundry_device-rest-go_jakarta 16:07:23 project root: . 16:07:23 --> token set from env 16:07:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:23 ==> Running gcov in . (disable via -X gcov) 16:07:23 ==> Python coveragepy not found 16:07:23 ==> Searching for coverage reports in: 16:07:23 + . 16:07:23 -> Found 1 reports 16:07:23 ==> Detecting git/mercurial file structure 16:07:23 ==> Reading reports 16:07:23 + ./coverage.out bytes=9215 16:07:23 ==> Appending adjustments 16:07:23 https://docs.codecov.io/docs/fixing-reports 16:07:23 + Found adjustments 16:07:23 ==> Gzipping contents 16:07:23 12K /tmp/codecov.rVGIPT.gz 16:07:23 ==> Uploading reports 16:07:23 url: https://codecov.io 16:07:23 query: branch=jakarta&commit=c825c9e02f55f2d37ee60cfba734680a35820bea&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:23 -> Pinging Codecov 16:07:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=jakarta&commit=c825c9e02f55f2d37ee60cfba734680a35820bea&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:23 -> Uploading to 16:07:23 https://storage.googleapis.com/codecov/v4/raw/2022-06-08/4E5D53B4F1F92C436F7061BF334D961C/c825c9e02f55f2d37ee60cfba734680a35820bea/4300d76a-eed3-47f2-a500-1cb92161b71b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T160723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5386d6e145c6e51a257adf0bbdf8bc6a1a42167eefb247914460563b41371a96 16:07:23 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:23 Dload Upload Total Spent Left Speed 16:07:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 35412 --:--:-- --:--:-- --:--:-- 35564 16:07:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } 16:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:07:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:07:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:24 16:07:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:07:24 df9b9388f04a: Pulling fs layer 16:07:24 52dc419b0ee2: Pulling fs layer 16:07:24 25bc292e5bac: Pulling fs layer 16:07:24 114826534d7a: Pulling fs layer 16:07:24 4657fd5d0bcf: Pulling fs layer 16:07:24 6ad1cebc031e: Pulling fs layer 16:07:24 8a3aa393b2d8: Pulling fs layer 16:07:24 114826534d7a: Waiting 16:07:24 6ad1cebc031e: Waiting 16:07:24 8a3aa393b2d8: Waiting 16:07:24 4657fd5d0bcf: Waiting 16:07:24 25bc292e5bac: Verifying Checksum 16:07:24 25bc292e5bac: Download complete 16:07:24 52dc419b0ee2: Download complete 16:07:24 4657fd5d0bcf: Download complete 16:07:24 df9b9388f04a: Download complete 16:07:25 6ad1cebc031e: Verifying Checksum 16:07:25 6ad1cebc031e: Download complete 16:07:25 df9b9388f04a: Pull complete 16:07:25 52dc419b0ee2: Pull complete 16:07:25 25bc292e5bac: Pull complete 16:07:25 114826534d7a: Verifying Checksum 16:07:25 114826534d7a: Download complete 16:07:25 8a3aa393b2d8: Verifying Checksum 16:07:25 8a3aa393b2d8: Download complete 16:07:29 114826534d7a: Pull complete 16:07:29 4657fd5d0bcf: Pull complete 16:07:29 6ad1cebc031e: Pull complete 16:07:31 8a3aa393b2d8: Pull complete 16:07:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:32 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:07:33 $ docker top 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 -eo pid,comm [Pipeline] { [Pipeline] echo 16:07:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:jakarta' [Pipeline] sh 16:07:34 + set -o pipefail 16:07:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:jakarta' 16:07:36 16:07:36 Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... 16:07:36 16:07:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/23e015b0-e497-416f-a5ee-924b597a28fb/history/51217674-59a2-4a25-a5d4-617cd5204bd4 16:07:36 16:07:36 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:07:36 16:07:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:07:36 16:07:36 [Pipeline] } 16:07:36 $ docker stop --time=1 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 16:07:37 $ docker rm -f 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 [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 16:07:38 + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] sh 16:07:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:39 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:07:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:07:39 $ docker top 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:39 [ssh-agent] Looking for ssh-agent implementation... 16:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:39 $ docker exec 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 ssh-agent 16:07:39 SSH_AUTH_SOCK=/tmp/ssh-z82vvPWdK0WO/agent.32 16:07:39 SSH_AGENT_PID=38 16:07:39 Running ssh-add (command line suppressed) 16:07:40 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3730450004582732522.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3730450004582732522.key) 16:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:40 + git semver tag 16:07:40 2022-06-08 16:07:40,577 [run_tag] DEBUG tag force:False 16:07:40 2022-06-08 16:07:40,577 [check_head_tag] DEBUG check head tag 16:07:40 2022-06-08 16:07:40,578 [execute] INFO git cat-file --batch-check 16:07:40 2022-06-08 16:07:40,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 16:07:40 2022-06-08 16:07:40,581 [execute] INFO git cat-file --batch 16:07:40 2022-06-08 16:07:40,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 16:07:40 2022-06-08 16:07:40,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:07:40 2022-06-08 16:07:40,590 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 16:07:40 2022-06-08 16:07:40,590 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.3', '-m', 'v2.1.1-dev.3'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) 16:07:40 2022-06-08 16:07:40,595 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:07:40 2.1.1-dev.3 [Pipeline] } 16:07:40 $ docker exec --env ******** --env ******** 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 ssh-agent -k 16:07:40 unset SSH_AUTH_SOCK; 16:07:40 unset SSH_AGENT_PID; 16:07:40 echo Agent pid 38 killed; 16:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:41 + git semver [Pipeline] } 16:07:41 $ docker stop --time=1 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 16:07:42 $ docker rm -f 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:43 16:07:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:43 0.23.1-centos7: Pulling from edgex-lftools 16:07:43 ab5ef0e58194: Pulling fs layer 16:07:43 9712f1f96733: Pulling fs layer 16:07:43 63f879dbbcfc: Pulling fs layer 16:07:43 0d9ebad4ef96: Pulling fs layer 16:07:43 e9a5061849ea: Pulling fs layer 16:07:43 d747dcd14b5f: Pulling fs layer 16:07:43 2de7ff778b66: Pulling fs layer 16:07:43 e9a5061849ea: Waiting 16:07:43 d747dcd14b5f: Waiting 16:07:43 2de7ff778b66: Waiting 16:07:43 0d9ebad4ef96: Waiting 16:07:43 9712f1f96733: Download complete 16:07:43 63f879dbbcfc: Verifying Checksum 16:07:43 63f879dbbcfc: Download complete 16:07:43 e9a5061849ea: Verifying Checksum 16:07:43 e9a5061849ea: Download complete 16:07:43 d747dcd14b5f: Verifying Checksum 16:07:43 d747dcd14b5f: Download complete 16:07:43 ab5ef0e58194: Verifying Checksum 16:07:43 ab5ef0e58194: Download complete 16:07:43 0d9ebad4ef96: Verifying Checksum 16:07:43 0d9ebad4ef96: Download complete 16:07:44 2de7ff778b66: Verifying Checksum 16:07:44 2de7ff778b66: Download complete 16:07:46 ab5ef0e58194: Pull complete 16:07:46 9712f1f96733: Pull complete 16:07:47 63f879dbbcfc: Pull complete 16:07:51 0d9ebad4ef96: Pull complete 16:07:51 e9a5061849ea: Pull complete 16:07:51 d747dcd14b5f: Pull complete 16:07:51 2de7ff778b66: Pull complete 16:07:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:07:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:52 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:07:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:07:53 $ docker top 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:07:53 provisioning config files... 16:07:53 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5030811336272140906tmp 16:07:53 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2113900681868304432tmp 16:07:53 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8574872745289728781tmp [Pipeline] { [Pipeline] echo 16:07:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:07:54 ---> sigul-configuration.sh 16:07:54 gpg: directory `/root/.gnupg' created 16:07:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:07:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:07:54 gpg: keyring `/root/.gnupg/secring.gpg' created 16:07:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:07:54 gpg: CAST5 encrypted data 16:07:54 gpg: encrypted with 1 passphrase 16:07:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:07:54 + mkdir /home/jenkins 16:07:54 + mkdir /home/jenkins/sigul [Pipeline] sh 16:07:54 + 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 16:07:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:07:55 ---> sigul-install.sh 16:07:55 Sigul already installed; skipping installation. [Pipeline] sh 16:07:55 + git tag --list 16:07:55 v1.0.0 16:07:55 v1.1.0 16:07:55 v1.1.1 16:07:55 v1.1.2 16:07:55 v1.2.0 16:07:55 v1.2.1 16:07:55 v2.0.0 16:07:55 v2.1.0 16:07:55 v2.1.1-dev.1 16:07:55 v2.1.1-dev.2 16:07:55 v2.1.1-dev.3 16:07:55 v2.2.0 16:07:55 v2.2.1-dev.1 16:07:55 v2.2.1-dev.2 16:07:55 v2.2.1-dev.3 16:07:55 v2.2.1-dev.4 [Pipeline] sh 16:07:55 + lftools sign git-tag v2.1.1-dev.3 16:07:56 Signing Git tag with Sigul... 16:07:56 Signing v2.1.1-dev.3 [Pipeline] echo 16:07:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:07:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:07:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:07:56 $ docker stop --time=1 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 16:07:58 $ docker rm -f 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:07:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:58 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:07:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:07:59 $ docker top 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:59 [ssh-agent] Looking for ssh-agent implementation... 16:07:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:59 $ docker exec 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 ssh-agent 16:07:59 SSH_AUTH_SOCK=/tmp/ssh-xdhqjUwjp5uh/agent.33 16:07:59 SSH_AGENT_PID=39 16:07:59 Running ssh-add (command line suppressed) 16:07:59 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2737133588511865938.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2737133588511865938.key) 16:07:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:00 + git semver bump pre 16:08:00 2022-06-08 16:08:00,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:08:00 2022-06-08 16:08:00,284 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev 16:08:00 2022-06-08 16:08:00,284 [bump_version] DEBUG bumped version:2.1.1-dev.4 16:08:00 2022-06-08 16:08:00,284 [write_version] DEBUG write version:2.1.1-dev.4 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True 16:08:00 2022-06-08 16:08:00,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:08:00 2022-06-08 16:08:00,284 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:08:00 2022-06-08 16:08:00,286 [execute] INFO git cat-file --batch-check 16:08:00 2022-06-08 16:08:00,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:00 2022-06-08 16:08:00,291 [execute] INFO git cat-file --batch 16:08:00 2022-06-08 16:08:00,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:00 2022-06-08 16:08:00,296 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:08:00 2.1.1-dev.4 [Pipeline] } 16:08:00 $ docker exec --env ******** --env ******** 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 ssh-agent -k 16:08:00 unset SSH_AUTH_SOCK; 16:08:00 unset SSH_AGENT_PID; 16:08:00 echo Agent pid 39 killed; 16:08:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:00 + git semver [Pipeline] } 16:08:01 $ docker stop --time=1 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 16:08:02 $ docker rm -f 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:03 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:08:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:03 $ docker top d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:03 [ssh-agent] Looking for ssh-agent implementation... 16:08:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:03 $ docker exec d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 ssh-agent 16:08:03 SSH_AUTH_SOCK=/tmp/ssh-k2T3qLPm3Uty/agent.32 16:08:03 SSH_AGENT_PID=40 16:08:03 Running ssh-add (command line suppressed) 16:08:03 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6324956713759909376.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6324956713759909376.key) 16:08:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:04 + git semver push 16:08:04 2022-06-08 16:08:04,404 [run_push] DEBUG push 16:08:04 2022-06-08 16:08:04,405 [execute] INFO git cat-file --batch-check 16:08:04 2022-06-08 16:08:04,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:04 2022-06-08 16:08:04,408 [execute] INFO git rev-list e9e2e9a979124a445e6f6a81820455210aed0759 -- 16:08:04 2022-06-08 16:08:04,409 [execute] DEBUG Popen(['git', 'rev-list', 'e9e2e9a979124a445e6f6a81820455210aed0759', '--'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:08:04 2022-06-08 16:08:04,412 [execute] INFO git fetch -v origin 16:08:04 2022-06-08 16:08:04,412 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 16:08:05 2022-06-08 16:08:04,896 [run_push] DEBUG no remote changes detected 16:08:05 2022-06-08 16:08:04,896 [execute] INFO git push origin semver 16:08:05 2022-06-08 16:08:04,897 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:08:05 2022-06-08 16:08:05,598 [run_push] DEBUG push all version tags 16:08:05 2022-06-08 16:08:05,599 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:05 2022-06-08 16:08:05,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) 16:08:06 2022-06-08 16:08:06,277 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 16:08:06 2.1.1-dev.4 [Pipeline] } 16:08:06 $ docker exec --env ******** --env ******** d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 ssh-agent -k 16:08:06 unset SSH_AUTH_SOCK; 16:08:06 unset SSH_AGENT_PID; 16:08:06 echo Agent pid 40 killed; 16:08:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:07 + git semver [Pipeline] } 16:08:07 $ docker stop --time=1 d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 16:08:08 $ docker rm -f d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:08:09 + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] 16:08:09 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 16:08:09 total 16 16:08:09 drwxr-xr-x 3 root root 4096 Jun 8 15:59 . 16:08:09 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:07 .. 16:08:09 drwxr-xr-x 2 root root 4096 Jun 8 15:59 cost 16:08:09 -rw-r--r-- 1 root root 86 Jun 8 15:59 cost.csv 16:08:09 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives 16:08:09 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 16:08:09 total 16 16:08:09 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:59 . 16:08:09 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:07 .. 16:08:09 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 15:59 cost 16:08:09 -rw-r--r-- 1 jenkins jenkins 86 Jun 8 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:10 ---> package-listing.sh 16:08:10 ++ tr '[:upper:]' '[:lower:]' 16:08:10 ++ facter osfamily 16:08:10 + OS_FAMILY=debian 16:08:10 + workspace=/w/workspace/exfoundry_device-rest-go_jakarta 16:08:10 + START_PACKAGES=/tmp/packages_start.txt 16:08:10 + END_PACKAGES=/tmp/packages_end.txt 16:08:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:10 + PACKAGES=/tmp/packages_start.txt 16:08:10 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 16:08:10 + PACKAGES=/tmp/packages_end.txt 16:08:10 + case "${OS_FAMILY}" in 16:08:10 + grep '^ii' 16:08:10 + dpkg -l 16:08:10 + '[' -f /tmp/packages_start.txt ']' 16:08:10 + '[' -f /tmp/packages_end.txt ']' 16:08:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:10 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 16:08:10 + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ 16:08:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo 16:08:10 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:11 prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container 16:08:11 $ 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:11 $ docker top 6219ac100e66b50ba8880f5a1131ce92e75fe0fc743dbe0bbd0b145e14db1757 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:11 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:12 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:12 + ls /var/log/sa-host 16:08:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:12 provisioning config files... 16:08:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4211031447076401333tmp [Pipeline] { [Pipeline] echo 16:08:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:12 ---> create-netrc.sh [Pipeline] } 16:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:13 ---> python-tools-install.sh [Pipeline] echo 16:08:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:13 ---> sudo-logs.sh 16:08:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:13 ---> job-cost.sh 16:08:13 lf-activate-venv: SKIPPING 16:08:13 DEBUG: total: 0.2199999988079071 16:08:13 INFO: Retrieving Stack Cost... 16:08:14 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:14 INFO: Archiving Costs [Pipeline] echo 16:08:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:14 ---> logs-deploy.sh 16:08:14 lf-activate-venv: SKIPPING 16:08:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/7 16:08:14 INFO: archiving workspace using pattern(s): 16:08:15 Archives upload complete. 16:08:15 INFO: archiving logs to Nexus