Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 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-ssh660623021105989875.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4790739986226102197.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/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-ssh12177246335346542736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh6919776819622910108.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-ssh1411541706721035503.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 [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-758 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 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 (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 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 Commit message: "Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" > git rev-list --no-walk 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:36:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:36:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:36:03 ========================================================= 00:36:03 EdgeX Global Pipelines Version Info 00:36:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:36:04 ------------------- 00:36:04 stable info: 00:36:04 ------------------- 00:36:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:36:04 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:36:04 Message: update stable to v1.0.230 00:36:05 ------------------- 00:36:05 experimental info: 00:36:05 ------------------- 00:36:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:36:05 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 00:36:05 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ebceb6 [Pipeline] echo 00:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:05 provisioning config files... 00:36:05 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7596114905387286896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:06 ---> docker-login.sh 00:36:06 nexus3.edgexfoundry.org:10001 00:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:06 Configure a credential helper to remove this warning. See 00:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:06 00:36:06 Login Succeeded 00:36:06 nexus3.edgexfoundry.org:10002 00:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:06 Configure a credential helper to remove this warning. See 00:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:06 00:36:06 Login Succeeded 00:36:06 nexus3.edgexfoundry.org:10003 00:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:06 Configure a credential helper to remove this warning. See 00:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:06 00:36:06 Login Succeeded 00:36:06 nexus3.edgexfoundry.org:10004 00:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:07 Configure a credential helper to remove this warning. See 00:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:07 00:36:07 Login Succeeded 00:36:07 docker.io 00:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:07 Configure a credential helper to remove this warning. See 00:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:07 00:36:07 Login Succeeded 00:36:07 ---> docker-login.sh ends [Pipeline] } 00:36:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:36:07 + git rev-list -1 --merges 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32~1..6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo 00:36:07 -----------> git rev-list -1 --merges 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32~1..6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:36:07 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [false] [Pipeline] sh 00:36:08 + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo 00:36:08 ========================================================= 00:36:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:36:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:08 + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] echo 00:36:08 [semverPrep] GIT_COMMIT: 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32, Commit Message: Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log [Pipeline] echo 00:36:08 [semverPrep] This is not a build commit. [Pipeline] sh 00:36:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:36:08 + grep -v github /etc/ssh/ssh_known_hosts 00:36:08 + [ -e /tmp/ssh_known_hosts ] 00:36:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:36:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:36:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:36:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:36:09 00:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:36:09 latest: Pulling from edgex-devops/py-git-semver 00:36:09 42c077c10790: Pulling fs layer 00:36:09 f63e77b7563a: Pulling fs layer 00:36:09 bd5fdadae976: Pulling fs layer 00:36:09 205491f53016: Pulling fs layer 00:36:09 df18705c85c3: Pulling fs layer 00:36:09 bdb3f477010e: Pulling fs layer 00:36:09 c8a8fc8e1c8f: Pulling fs layer 00:36:09 2c6e9b1d212d: Pulling fs layer 00:36:09 bdb8f0575790: Pulling fs layer 00:36:09 386e3cb2ff24: Pulling fs layer 00:36:09 2343380bae48: Pulling fs layer 00:36:09 2c6e9b1d212d: Waiting 00:36:09 386e3cb2ff24: Waiting 00:36:09 2343380bae48: Waiting 00:36:09 bdb8f0575790: Waiting 00:36:09 205491f53016: Waiting 00:36:09 bdb3f477010e: Waiting 00:36:09 df18705c85c3: Waiting 00:36:09 f63e77b7563a: Verifying Checksum 00:36:09 f63e77b7563a: Download complete 00:36:09 205491f53016: Download complete 00:36:09 df18705c85c3: Verifying Checksum 00:36:09 df18705c85c3: Download complete 00:36:09 bdb3f477010e: Verifying Checksum 00:36:09 bdb3f477010e: Download complete 00:36:09 bd5fdadae976: Verifying Checksum 00:36:09 bd5fdadae976: Download complete 00:36:09 2c6e9b1d212d: Verifying Checksum 00:36:09 2c6e9b1d212d: Download complete 00:36:09 bdb8f0575790: Download complete 00:36:09 386e3cb2ff24: Verifying Checksum 00:36:09 386e3cb2ff24: Download complete 00:36:09 2343380bae48: Verifying Checksum 00:36:09 2343380bae48: Download complete 00:36:10 42c077c10790: Verifying Checksum 00:36:10 42c077c10790: Download complete 00:36:10 c8a8fc8e1c8f: Download complete 00:36:11 42c077c10790: Pull complete 00:36:11 f63e77b7563a: Pull complete 00:36:11 bd5fdadae976: Pull complete 00:36:12 205491f53016: Pull complete 00:36:12 df18705c85c3: Pull complete 00:36:12 bdb3f477010e: Pull complete 00:36:15 c8a8fc8e1c8f: Pull complete 00:36:15 2c6e9b1d212d: Pull complete 00:36:15 bdb8f0575790: Pull complete 00:36:15 386e3cb2ff24: Pull complete 00:36:15 2343380bae48: Pull complete 00:36:15 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:36:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:15 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:36:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:36:17 $ docker top 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 -eo pid,comm 00:36:17 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). 00:36:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:17 [ssh-agent] Looking for ssh-agent implementation... 00:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:17 $ docker exec 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent 00:36:17 SSH_AUTH_SOCK=/tmp/ssh-yexoaAU7UGDJ/agent.32 00:36:17 SSH_AGENT_PID=38 00:36:17 Running ssh-add (command line suppressed) 00:36:17 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6403230403338720848.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6403230403338720848.key) 00:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:18 + git tag --points-at HEAD [Pipeline] } 00:36:18 $ docker exec --env ******** --env ******** 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent -k 00:36:18 unset SSH_AUTH_SOCK; 00:36:18 unset SSH_AGENT_PID; 00:36:18 echo Agent pid 38 killed; 00:36:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:36:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:18 [ssh-agent] Looking for ssh-agent implementation... 00:36:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:18 $ docker exec 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent 00:36:18 SSH_AUTH_SOCK=/tmp/ssh-TRZoDc8vNCXa/agent.72 00:36:18 SSH_AGENT_PID=78 00:36:18 Running ssh-add (command line suppressed) 00:36:18 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2939349642726411038.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2939349642726411038.key) 00:36:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:19 + git semver init 00:36:19 2022-06-03 00:36:19,377 [run_init] DEBUG init version:0.0.0 force:False 00:36:19 2022-06-03 00:36:19,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver 00:36:19 2022-06-03 00:36:19,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver 00:36:19 2022-06-03 00:36:19,379 [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) 00:36:20 2022-06-03 00:36:20,323 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude 00:36:20 2022-06-03 00:36:20,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False 00:36:20 2022-06-03 00:36:20,324 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:36:20 2022-06-03 00:36:20,324 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:36:20 2.1.1-dev.2 [Pipeline] } 00:36:20 $ docker exec --env ******** --env ******** 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 ssh-agent -k 00:36:20 unset SSH_AUTH_SOCK; 00:36:20 unset SSH_AGENT_PID; 00:36:20 echo Agent pid 78 killed; 00:36:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:36:20 + git semver [Pipeline] } 00:36:21 $ docker stop --time=1 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 00:36:23 $ docker rm -f 517cdb772d6713a49779a599528b80d3002dd0556c4efd18d12a5f81c88bf5a1 [Pipeline] // withDockerContainer [Pipeline] sh 00:36:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:36:23 Stashed 1 file(s) [Pipeline] echo 00:36:23 [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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 00:36:24 provisioning config files... 00:36:24 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7343783892523882412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:24 ---> docker-login.sh 00:36:24 nexus3.edgexfoundry.org:10001 00:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:24 Configure a credential helper to remove this warning. See 00:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:24 00:36:24 Login Succeeded 00:36:24 nexus3.edgexfoundry.org:10002 00:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:24 Configure a credential helper to remove this warning. See 00:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:24 00:36:24 Login Succeeded 00:36:24 nexus3.edgexfoundry.org:10003 00:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:24 Configure a credential helper to remove this warning. See 00:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:24 00:36:24 Login Succeeded 00:36:24 nexus3.edgexfoundry.org:10004 00:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:24 Configure a credential helper to remove this warning. See 00:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:24 00:36:24 Login Succeeded 00:36:24 docker.io 00:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:25 Configure a credential helper to remove this warning. See 00:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:25 00:36:25 Login Succeeded 00:36:25 ---> docker-login.sh ends [Pipeline] } 00:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:36:25 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:25 ========================================================= 00:36:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 00:36:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:36:25 Sending build context to Docker daemon 21.66MB 00:36:25 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:36:25 Step 2/11 : FROM ${BASE} AS builder 00:36:26 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 00:36:26 59bf1c3509f3: Pulling fs layer 00:36:26 666ba61612fd: Pulling fs layer 00:36:26 8ed8ca486205: Pulling fs layer 00:36:26 4fe6c5a15a65: Pulling fs layer 00:36:26 22a0e8bec74d: Pulling fs layer 00:36:26 812f408151ee: Pulling fs layer 00:36:26 bab7bd504b26: Pulling fs layer 00:36:26 070449caade9: Pulling fs layer 00:36:26 8f1a5288e3a6: Pulling fs layer 00:36:26 4fe6c5a15a65: Waiting 00:36:26 22a0e8bec74d: Waiting 00:36:26 812f408151ee: Waiting 00:36:26 bab7bd504b26: Waiting 00:36:26 070449caade9: Waiting 00:36:26 8f1a5288e3a6: Waiting 00:36:26 8ed8ca486205: Verifying Checksum 00:36:26 8ed8ca486205: Download complete 00:36:26 666ba61612fd: Verifying Checksum 00:36:26 666ba61612fd: Download complete 00:36:26 22a0e8bec74d: Verifying Checksum 00:36:26 22a0e8bec74d: Download complete 00:36:26 812f408151ee: Download complete 00:36:26 bab7bd504b26: Verifying Checksum 00:36:26 bab7bd504b26: Download complete 00:36:26 59bf1c3509f3: Verifying Checksum 00:36:26 070449caade9: Verifying Checksum 00:36:26 070449caade9: Download complete 00:36:26 59bf1c3509f3: Pull complete 00:36:26 666ba61612fd: Pull complete 00:36:26 8ed8ca486205: Pull complete 00:36:26 8f1a5288e3a6: Verifying Checksum 00:36:26 8f1a5288e3a6: Download complete 00:36:26 4fe6c5a15a65: Verifying Checksum 00:36:26 4fe6c5a15a65: Download complete 00:36:31 4fe6c5a15a65: Pull complete 00:36:31 22a0e8bec74d: Pull complete 00:36:31 812f408151ee: Pull complete 00:36:31 bab7bd504b26: Pull complete 00:36:31 070449caade9: Pull complete 00:36:34 8f1a5288e3a6: Pull complete 00:36:34 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 00:36:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 00:36:34 ---> c47586b81864 00:36:34 Step 3/11 : ARG MAKE='make build' 00:36:36 ---> Running in faa326992ac9 00:36:36 Removing intermediate container faa326992ac9 00:36:36 ---> a8f04adfae3e 00:36:36 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:36:36 ---> Running in 56132d4556fd 00:36:37 Removing intermediate container 56132d4556fd 00:36:37 ---> 3f8942879cf9 00:36:37 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:36:37 ---> Running in 560f70a6f59a 00:36:37 Removing intermediate container 560f70a6f59a 00:36:37 ---> 3a4d4625894e 00:36:37 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:37 ---> Running in ca854edc7d15 00:36:38 Removing intermediate container ca854edc7d15 00:36:38 ---> f9c2427a2079 00:36:38 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:38 ---> Running in 3c51764f299f 00:36:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:36:39 Still waiting to schedule task 00:36:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:36:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:36:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:36:39 (2/4) Installing libedit (20210910.3.1-r0) 00:36:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:36:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:36:39 Executing busybox-1.34.1-r3.trigger 00:36:39 OK: 224 MiB in 56 packages 00:36:40 Removing intermediate container 3c51764f299f 00:36:40 ---> dcab7127af78 00:36:40 Step 8/11 : WORKDIR /device-rest-go 00:36:40 ---> Running in e5f6995cb72c 00:36:40 Removing intermediate container e5f6995cb72c 00:36:40 ---> d5b573ac5257 00:36:40 Step 9/11 : COPY . . 00:36:41 ---> 7bf4e59033a2 00:36:41 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:41 ---> Running in 43c372df9e25 00:36:41 skipping... 00:36:41 Removing intermediate container 43c372df9e25 00:36:41 ---> a8138f792109 00:36:41 Step 11/11 : RUN $MAKE 00:36:42 ---> Running in 12c1001d3cbf 00:36:42 noop 00:36:42 Removing intermediate container 12c1001d3cbf 00:36:42 ---> 6166cb826a2c 00:36:42 Successfully built 6166cb826a2c 00:36:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:43 + docker inspect -f . ci-base-image-x86_64 00:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:43 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:36:43 $ 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 ******** ci-base-image-x86_64 cat 00:36:43 $ docker top a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:43 + go version 00:36:43 go version go1.17.6 linux/amd64 [Pipeline] } 00:36:43 $ docker stop --time=1 a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 00:36:45 $ docker rm -f a1b029fd93393978ae157ab3221e29976fa434b828e96c9956d5c4dd11677212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:46 + docker inspect -f . ci-base-image-x86_64 00:36:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:46 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:36:46 $ 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 ******** ci-base-image-x86_64 cat 00:36:46 $ docker top 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:36:47 + make test 00:36:47 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:36:47 ? github.com/edgexfoundry/device-rest-go [no test files] 00:36:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:36:54 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 56.0% of statements 00:36:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:36:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:36:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:36:57 ./bin/test-attribution-txt.sh 00:36:58 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:36:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:36:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:36:58 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:36:58 go: downloading github.com/google/uuid v1.3.0 00:36:58 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:36:58 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:36:58 go: downloading github.com/gorilla/mux v1.8.0 00:36:58 go: downloading github.com/spf13/cast v1.4.1 00:36:58 go: downloading github.com/stretchr/testify v1.7.0 00:36:58 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:36:58 go: downloading github.com/pelletier/go-toml v1.9.4 00:36:58 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:36:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:36:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:36:58 go: downloading github.com/go-kit/kit v0.11.0 00:36:58 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:36:58 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:36:58 go: downloading github.com/hashicorp/consul/api v1.9.1 00:36:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:36:58 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:36:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:36:58 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:36:58 go: downloading github.com/pebbe/zmq4 v1.2.7 00:36:58 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:36:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:36:58 go: downloading github.com/mitchellh/copystructure v1.0.0 00:36:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:36:58 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:36:58 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:36:58 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:36:58 go: downloading github.com/davecgh/go-spew v1.1.1 00:36:58 go: downloading github.com/pmezard/go-difflib v1.0.0 00:36:58 go: downloading golang.org/x/text v0.3.6 00:36:58 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:36:58 go: downloading github.com/hashicorp/errwrap v1.0.0 00:36:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:36:58 go: downloading github.com/x448/float16 v0.8.4 00:36:58 go: downloading github.com/gorilla/websocket v1.4.2 00:36:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:36:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:36:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:36:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:36:58 go: downloading github.com/hashicorp/serf v0.9.5 00:36:58 go: downloading github.com/go-playground/universal-translator v0.18.0 00:36:58 go: downloading github.com/leodido/go-urn v1.2.1 00:36:58 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:36:58 go: downloading github.com/fatih/color v1.9.0 00:36:58 go: downloading github.com/mattn/go-colorable v0.1.6 00:36:59 go: downloading github.com/mattn/go-isatty v0.0.12 00:36:59 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:36:59 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:36:59 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:37:00 + go mod tidy 00:37:00 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:37:00 go: downloading github.com/go-stack/stack v1.8.0 00:37:00 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:37:00 go: downloading github.com/stretchr/objx v0.1.1 00:37:00 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:37:00 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:37:00 go: downloading github.com/onsi/ginkgo v1.10.1 00:37:00 go: downloading github.com/onsi/gomega v1.7.0 00:37:00 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:37:00 go: downloading github.com/hashicorp/memberlist v0.2.2 00:37:00 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:37:00 go: downloading github.com/kr/pretty v0.3.0 00:37:00 go: downloading github.com/pkg/errors v0.9.1 00:37:00 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:37:00 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:37:00 go: downloading github.com/kr/text v0.2.0 00:37:00 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:37:00 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:37:00 go: downloading github.com/miekg/dns v1.1.26 00:37:00 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:37:00 go: downloading gopkg.in/yaml.v2 v2.3.0 00:37:00 go: downloading github.com/hpcloud/tail v1.0.0 00:37:00 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:37:00 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:37:00 $ docker stop --time=1 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a 00:37:02 $ docker rm -f 1c1de851734d41ae737650f2bb448164aff57547ca8d2f802bdeddcd6bc7360a [Pipeline] // withDockerContainer [Pipeline] sh 00:37:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:37:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:37:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:37:03 + ls -al . 00:37:03 total 184 00:37:03 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 00:36 . 00:37:03 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:35 .. 00:37:03 -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:35 .dockerignore 00:37:03 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:36 .git 00:37:03 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 .github 00:37:03 -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:35 .gitignore 00:37:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:36 .semver 00:37:03 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:35 Attribution.txt 00:37:03 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:35 CHANGELOG.md 00:37:03 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:35 Dockerfile 00:37:03 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:35 GOVERNANCE.md 00:37:03 -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:35 Jenkinsfile 00:37:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:35 LICENSE 00:37:03 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:35 Makefile 00:37:03 -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:35 OWNERS.md 00:37:03 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:35 README.md 00:37:03 -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:36 VERSION 00:37:03 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 bin 00:37:03 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 cmd 00:37:03 -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:36 coverage.out 00:37:03 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 driver 00:37:03 -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:37 go.mod 00:37:03 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:35 go.sum 00:37:03 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 snap 00:37:03 drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:35 vendor 00:37:03 -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:04 + 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 --label arch=amd64 --label version=2.1.1-dev.2 . 00:37:04 Sending build context to Docker daemon 21.67MB 00:37:04 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 00:37:04 Step 2/24 : FROM ${BASE} AS builder 00:37:04 ---> 6166cb826a2c 00:37:04 Step 3/24 : ARG MAKE='make build' 00:37:04 ---> Running in 821b73d221bb 00:37:04 Removing intermediate container 821b73d221bb 00:37:04 ---> 41f2c4e4a033 00:37:04 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:37:04 ---> Running in ac59655de55f 00:37:04 Removing intermediate container ac59655de55f 00:37:04 ---> aba1073e7428 00:37:04 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:37:04 ---> Running in 26848a85bd69 00:37:04 Removing intermediate container 26848a85bd69 00:37:04 ---> 8f9100bd8a8b 00:37:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:37:04 ---> Running in 6b3e0b067c5b 00:37:05 Removing intermediate container 6b3e0b067c5b 00:37:05 ---> 4de00e6c42d6 00:37:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:37:05 ---> Running in faf16791950f 00:37:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:37:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:37:07 OK: 224 MiB in 56 packages 00:37:07 Removing intermediate container faf16791950f 00:37:07 ---> 709861582b28 00:37:07 Step 8/24 : WORKDIR /device-rest-go 00:37:07 ---> Running in 51fedb2263f6 00:37:07 Removing intermediate container 51fedb2263f6 00:37:07 ---> 0eaf16b7363e 00:37:07 Step 9/24 : COPY . . 00:37:08 ---> 29894f6ccd33 00:37:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:37:08 ---> Running in d0eeec6e15d0 00:37:09 skipping... 00:37:09 Removing intermediate container d0eeec6e15d0 00:37:09 ---> 9cf01ce8b7b4 00:37:09 Step 11/24 : RUN $MAKE 00:37:09 ---> Running in 88b796955f92 00:37:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.2" -o cmd/device-rest ./cmd 00:37:17 Removing intermediate container 88b796955f92 00:37:17 ---> 2fc60ed458d8 00:37:17 Step 12/24 : FROM alpine:3.14 00:37:17 3.14: Pulling from library/alpine 00:37:17 8663204ce13b: Pulling fs layer 00:37:17 8663204ce13b: Verifying Checksum 00:37:17 8663204ce13b: Download complete 00:37:17 8663204ce13b: Pull complete 00:37:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:37:17 Status: Downloaded newer image for alpine:3.14 00:37:17 ---> e04c818066af 00:37:17 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:37:18 ---> Running in f8dda1b3a368 00:37:18 Removing intermediate container f8dda1b3a368 00:37:18 ---> 82aa9495082d 00:37:18 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 00:37:18 ---> Running in 402c966c5996 00:37:18 Removing intermediate container 402c966c5996 00:37:18 ---> 13a9dc4ba2f6 00:37:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:37:18 ---> Running in 1880429f081e 00:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:37:18 (1/6) Installing dumb-init (1.2.5-r1) 00:37:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:37:18 (3/6) Installing libsodium (1.0.18-r0) 00:37:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:37:18 (5/6) Installing libzmq (4.3.4-r0) 00:37:19 (6/6) Installing zeromq (4.3.4-r0) 00:37:19 Executing busybox-1.33.1-r7.trigger 00:37:19 OK: 8 MiB in 20 packages 00:37:19 Removing intermediate container 1880429f081e 00:37:19 ---> 5ddad93eeca9 00:37:19 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 00:37:20 ---> 63a0580331d5 00:37:20 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 00:37:20 ---> 7c502b91b2f5 00:37:20 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 00:37:20 ---> 46819809e2a1 00:37:20 Step 19/24 : EXPOSE 59986 00:37:20 ---> Running in 8db9481177d4 00:37:20 Removing intermediate container 8db9481177d4 00:37:20 ---> 80f32db06296 00:37:20 Step 20/24 : ENTRYPOINT ["/device-rest"] 00:37:20 ---> Running in 58ae96952fba 00:37:20 Removing intermediate container 58ae96952fba 00:37:20 ---> f409a7d10062 00:37:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:37:20 ---> Running in ca651314f596 00:37:20 Removing intermediate container ca651314f596 00:37:20 ---> cc9d9d955291 00:37:20 Step 22/24 : LABEL arch=amd64 00:37:20 ---> Running in d7f0c0a4ca47 00:37:20 Removing intermediate container d7f0c0a4ca47 00:37:20 ---> 7d65b290fc4c 00:37:20 Step 23/24 : LABEL git_sha=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:37:20 ---> Running in ef51e526b9af 00:37:20 Removing intermediate container ef51e526b9af 00:37:20 ---> d4d9bc061895 00:37:20 Step 24/24 : LABEL version=2.1.1-dev.2 00:37:21 ---> Running in 8c2e3ba68b51 00:37:21 Removing intermediate container 8c2e3ba68b51 00:37:21 ---> da8599d07595 00:37:21 [Warning] One or more build-args [ARCH] were not consumed 00:37:21 Successfully built da8599d07595 00:37:21 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:21 provisioning config files... 00:37:21 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5962153602036982736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:21 ---> docker-login.sh 00:37:21 nexus3.edgexfoundry.org:10001 00:37:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:21 Configure a credential helper to remove this warning. See 00:37:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:21 00:37:21 Login Succeeded 00:37:21 nexus3.edgexfoundry.org:10002 00:37:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:21 Configure a credential helper to remove this warning. See 00:37:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:21 00:37:21 Login Succeeded 00:37:21 nexus3.edgexfoundry.org:10003 00:37:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:21 Configure a credential helper to remove this warning. See 00:37:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:21 00:37:21 Login Succeeded 00:37:21 nexus3.edgexfoundry.org:10004 00:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:22 Configure a credential helper to remove this warning. See 00:37:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:22 00:37:22 Login Succeeded 00:37:22 docker.io 00:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:22 Configure a credential helper to remove this warning. See 00:37:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:22 00:37:22 Login Succeeded 00:37:22 ---> docker-login.sh ends [Pipeline] } 00:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:37:22 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:37:22 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 00:37:22 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:37:22 2.1.1-dev.2 00:37:22 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:37:22 jakarta 00:37:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:37:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:37:23 7059cf75dc1a: Preparing 00:37:23 d4f43720d4f4: Preparing 00:37:23 fdf072450bbc: Preparing 00:37:23 2d357b5e9cb9: Preparing 00:37:23 b541d28bf3b4: Preparing 00:37:23 b541d28bf3b4: Layer already exists 00:37:23 d4f43720d4f4: Pushed 00:37:23 7059cf75dc1a: Pushed 00:37:23 2d357b5e9cb9: Pushed 00:37:24 fdf072450bbc: Pushed 00:37:24 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 00:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:37:25 7059cf75dc1a: Preparing 00:37:25 d4f43720d4f4: Preparing 00:37:25 fdf072450bbc: Preparing 00:37:25 2d357b5e9cb9: Preparing 00:37:25 b541d28bf3b4: Preparing 00:37:25 fdf072450bbc: Layer already exists 00:37:25 d4f43720d4f4: Layer already exists 00:37:25 7059cf75dc1a: Layer already exists 00:37:25 2d357b5e9cb9: Layer already exists 00:37:25 b541d28bf3b4: Layer already exists 00:37:25 2.1.1-dev.2: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:37:25 7059cf75dc1a: Preparing 00:37:25 d4f43720d4f4: Preparing 00:37:25 fdf072450bbc: Preparing 00:37:25 2d357b5e9cb9: Preparing 00:37:25 b541d28bf3b4: Preparing 00:37:25 b541d28bf3b4: Layer already exists 00:37:25 d4f43720d4f4: Layer already exists 00:37:25 2d357b5e9cb9: Layer already exists 00:37:25 fdf072450bbc: Layer already exists 00:37:25 7059cf75dc1a: Layer already exists 00:37:25 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta 00:37:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 00:37:26 7059cf75dc1a: Preparing 00:37:26 d4f43720d4f4: Preparing 00:37:26 fdf072450bbc: Preparing 00:37:26 2d357b5e9cb9: Preparing 00:37:26 b541d28bf3b4: Preparing 00:37:26 b541d28bf3b4: Layer already exists 00:37:26 fdf072450bbc: Layer already exists 00:37:26 7059cf75dc1a: Layer already exists 00:37:26 2d357b5e9cb9: Layer already exists 00:37:26 d4f43720d4f4: Layer already exists 00:37:26 jakarta: digest: sha256:14f5854b9c7b7da827b02e2bf310131c5c7645d275a3f35cfc879044e1372c96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:37:26 ===================================================== [Pipeline] echo 00:37:26 taggedImages: 00:37:26 - nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:37:26 - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.2 00:37:26 - nexus3.edgexfoundry.org:10004/device-rest:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:37:26 - 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 00:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:27 00:37:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:27 latest: Pulling from edgex-lftools-log-publisher 00:37:27 5eb5b503b376: Pulling fs layer 00:37:27 5c69ac0246d0: Pulling fs layer 00:37:27 ec43610c2a17: Pulling fs layer 00:37:27 3a2ae6a8a46f: Pulling fs layer 00:37:27 33b1e0a273af: Pulling fs layer 00:37:27 5d3b04190fa2: Pulling fs layer 00:37:27 2f39f015ded8: Pulling fs layer 00:37:27 3a2ae6a8a46f: Waiting 00:37:27 33b1e0a273af: Waiting 00:37:27 5d3b04190fa2: Waiting 00:37:27 2f39f015ded8: Waiting 00:37:27 5c69ac0246d0: Download complete 00:37:27 3a2ae6a8a46f: Verifying Checksum 00:37:27 3a2ae6a8a46f: Download complete 00:37:27 33b1e0a273af: Verifying Checksum 00:37:27 33b1e0a273af: Download complete 00:37:27 ec43610c2a17: Verifying Checksum 00:37:27 ec43610c2a17: Download complete 00:37:27 5d3b04190fa2: Download complete 00:37:27 5eb5b503b376: Verifying Checksum 00:37:27 5eb5b503b376: Download complete 00:37:28 2f39f015ded8: Download complete 00:37:28 5eb5b503b376: Pull complete 00:37:29 5c69ac0246d0: Pull complete 00:37:29 ec43610c2a17: Pull complete 00:37:29 3a2ae6a8a46f: Pull complete 00:37:29 33b1e0a273af: Pull complete 00:37:29 5d3b04190fa2: Pull complete 00:37:34 2f39f015ded8: Pull complete 00:37:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:34 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:37:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:37:36 $ docker top f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:36 ---> job-cost.sh 00:37:36 lf-activate-venv: SKIPPING 00:37:36 INFO: No Stack... 00:37:37 INFO: Retrieving Pricing Info for: v3-standard-8 00:37:37 INFO: Archiving Costs [Pipeline] sh 00:37:37 + + cut -d, -f6 00:37:37 cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv [Pipeline] lock 00:37:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] 00:37:37 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] did not exist. Created. 00:37:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:38 + echo total: 0.2199999988079071 [Pipeline] stash 00:37:38 Stashed 1 file(s) [Pipeline] } 00:37:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:37:38 $ docker stop --time=1 f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 00:37:39 $ docker rm -f f296be34462af18de5624b1d81442504c8bc20f305042550438a0dfcf2804505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-875 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 00:44:32 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 00:44:32 The recommended git tool is: git 00:44:40 using credential edgex-jenkins-ssh 00:44:41 Cloning the remote Git repository 00:44:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:44:41 > git init /w/workspace/device-rest-go/6 # timeout=10 00:44:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:44:41 > git --version # timeout=10 00:44:41 > git --version # 'git version 2.25.1' 00:44:41 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:43 Avoid second fetch 00:44:43 Checking out Revision 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 (jakarta) 00:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:44:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:43 > git config core.sparsecheckout # timeout=10 00:44:43 > git checkout -f 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 00:44:48 Commit message: "Merge pull request #194 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:44:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:44:49 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:49 Dload Upload Total Spent Left Speed 00:44:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 00:44:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:44:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:44:50 + sudo tee /etc/docker/daemon.new 00:44:50 { 00:44:50 "registry-mirrors": [ 00:44:50 "https://nexus3.edgexfoundry.org:10001" 00:44:50 ], 00:44:50 "bip": "10.250.0.254/24", 00:44:50 "hosts": [ 00:44:50 "tcp://0.0.0.0:5555", 00:44:50 "unix:///var/run/docker.sock" 00:44:50 ], 00:44:50 "mtu": 1458, 00:44:50 "selinux-enabled": true, 00:44:50 "seccomp-profile": "/etc/docker/seccomp.json" 00:44:50 } [Pipeline] sh 00:44:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:44:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:09 provisioning config files... 00:45:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config3256538606367225240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:10 ---> docker-login.sh 00:45:10 nexus3.edgexfoundry.org:10001 00:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:10 Configure a credential helper to remove this warning. See 00:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:10 00:45:10 Login Succeeded 00:45:10 nexus3.edgexfoundry.org:10002 00:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:11 Configure a credential helper to remove this warning. See 00:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:11 00:45:11 Login Succeeded 00:45:11 nexus3.edgexfoundry.org:10003 00:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:12 Configure a credential helper to remove this warning. See 00:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:12 00:45:12 Login Succeeded 00:45:12 nexus3.edgexfoundry.org:10004 00:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:12 Configure a credential helper to remove this warning. See 00:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:12 00:45:12 Login Succeeded 00:45:12 docker.io 00:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:13 Configure a credential helper to remove this warning. See 00:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:13 00:45:13 Login Succeeded 00:45:13 ---> docker-login.sh ends [Pipeline] } 00:45:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:13 ========================================================= 00:45:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:45:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:45:15 Sending build context to Docker daemon 11.13MB 00:45:15 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:45:15 Step 2/11 : FROM ${BASE} AS builder 00:45:15 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:15 9b3977197b4f: Pulling fs layer 00:45:15 1a89e8eeedd5: Pulling fs layer 00:45:15 94645a83ff95: Pulling fs layer 00:45:15 3f3a8bcf1eab: Pulling fs layer 00:45:15 0c92f367c5e7: Pulling fs layer 00:45:15 63b1bc5785f6: Pulling fs layer 00:45:15 626d30ff41c6: Pulling fs layer 00:45:15 de1d54c125be: Pulling fs layer 00:45:15 0c92f367c5e7: Waiting 00:45:15 63b1bc5785f6: Waiting 00:45:15 626d30ff41c6: Waiting 00:45:15 de1d54c125be: Waiting 00:45:15 3f3a8bcf1eab: Waiting 00:45:15 94645a83ff95: Verifying Checksum 00:45:15 94645a83ff95: Download complete 00:45:15 1a89e8eeedd5: Verifying Checksum 00:45:15 1a89e8eeedd5: Download complete 00:45:15 0c92f367c5e7: Verifying Checksum 00:45:15 0c92f367c5e7: Download complete 00:45:16 63b1bc5785f6: Verifying Checksum 00:45:16 63b1bc5785f6: Download complete 00:45:16 9b3977197b4f: Download complete 00:45:16 626d30ff41c6: Verifying Checksum 00:45:16 626d30ff41c6: Download complete 00:45:16 9b3977197b4f: Pull complete 00:45:17 1a89e8eeedd5: Pull complete 00:45:17 94645a83ff95: Pull complete 00:45:18 de1d54c125be: Download complete 00:45:18 3f3a8bcf1eab: Verifying Checksum 00:45:18 3f3a8bcf1eab: Download complete 00:45:31 3f3a8bcf1eab: Pull complete 00:45:31 0c92f367c5e7: Pull complete 00:45:31 63b1bc5785f6: Pull complete 00:45:32 626d30ff41c6: Pull complete 00:45:39 de1d54c125be: Pull complete 00:45:39 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 00:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:45:39 ---> 5f011755c4a2 00:45:39 Step 3/11 : ARG MAKE='make build' 00:45:41 ---> Running in 49acb3ba5d2b 00:45:41 Removing intermediate container 49acb3ba5d2b 00:45:41 ---> cf6cff70beb9 00:45:41 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:45:41 ---> Running in b21d22f672bd 00:45:41 Removing intermediate container b21d22f672bd 00:45:41 ---> 1b90cfd017dc 00:45:41 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:45:42 ---> Running in 671f163943cc 00:45:42 Removing intermediate container 671f163943cc 00:45:42 ---> df35299466c6 00:45:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:45:42 ---> Running in 56b02bb8bcbd 00:45:44 Removing intermediate container 56b02bb8bcbd 00:45:44 ---> cfca5ba4bc60 00:45:44 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:44 ---> Running in 5c0cc8f5979e 00:45:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:45:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:45:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:45:47 (2/4) Installing libedit (20210910.3.1-r0) 00:45:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:45:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:45:47 Executing busybox-1.34.1-r3.trigger 00:45:47 OK: 224 MiB in 56 packages 00:45:48 Removing intermediate container 5c0cc8f5979e 00:45:48 ---> f5fec27c3b16 00:45:48 Step 8/11 : WORKDIR /device-rest-go 00:45:48 ---> Running in 754b9c648aca 00:45:49 Removing intermediate container 754b9c648aca 00:45:49 ---> 5c7cb7881adf 00:45:49 Step 9/11 : COPY . . 00:45:53 ---> 02bba85ac7db 00:45:53 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:53 ---> Running in 79956d26ea36 00:45:53 skipping... 00:45:54 Removing intermediate container 79956d26ea36 00:45:54 ---> 538169a6daa4 00:45:54 Step 11/11 : RUN $MAKE 00:45:54 ---> Running in 68ffcb2527f3 00:45:55 noop 00:45:56 Removing intermediate container 68ffcb2527f3 00:45:56 ---> 54e0a14bd908 00:45:56 Successfully built 54e0a14bd908 00:45:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:57 + docker inspect -f . ci-base-image-arm64 00:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container 00:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:45:58 $ docker top 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:59 + go version 00:45:59 go version go1.17.6 linux/arm64 [Pipeline] } 00:45:59 $ docker stop --time=1 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa 00:46:01 $ docker rm -f 4bb2509127b6a7ed8d1d737621a7c55da3f9649cfbcf86c4b872fab5edc6a3fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:02 + docker inspect -f . ci-base-image-arm64 00:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container 00:46:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:46:03 $ docker top 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:46:04 + make test 00:46:04 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:46:06 ? github.com/edgexfoundry/device-rest-go [no test files] 00:47:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:47:07 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 56.0% of statements 00:47:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:47:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:47:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:47:29 ./bin/test-attribution-txt.sh 00:47:30 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:47:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:47:30 go: downloading github.com/gorilla/mux v1.8.0 00:47:30 go: downloading github.com/spf13/cast v1.4.1 00:47:30 go: downloading github.com/stretchr/testify v1.7.0 00:47:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:47:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:47:31 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:47:31 go: downloading github.com/google/uuid v1.3.0 00:47:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:47:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:47:31 go: downloading github.com/pelletier/go-toml v1.9.4 00:47:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:47:31 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:47:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:47:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:47:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:47:31 go: downloading github.com/go-kit/kit v0.11.0 00:47:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:47:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:47:31 go: downloading github.com/hashicorp/consul/api v1.9.1 00:47:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:47:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:47:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:47:31 go: downloading github.com/pebbe/zmq4 v1.2.7 00:47:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:47:31 go: downloading github.com/mitchellh/copystructure v1.0.0 00:47:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:47:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:47:31 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:47:31 go: downloading github.com/davecgh/go-spew v1.1.1 00:47:31 go: downloading github.com/pmezard/go-difflib v1.0.0 00:47:31 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:47:31 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:47:31 go: downloading golang.org/x/text v0.3.6 00:47:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:47:33 go: downloading github.com/hashicorp/errwrap v1.0.0 00:47:33 go: downloading github.com/x448/float16 v0.8.4 00:47:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:47:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:47:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:47:33 go: downloading github.com/hashicorp/serf v0.9.5 00:47:33 go: downloading github.com/go-playground/universal-translator v0.18.0 00:47:33 go: downloading github.com/leodido/go-urn v1.2.1 00:47:33 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:47:35 go: downloading github.com/gorilla/websocket v1.4.2 00:47:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:47:35 go: downloading github.com/fatih/color v1.9.0 00:47:35 go: downloading github.com/mattn/go-colorable v0.1.6 00:47:35 go: downloading github.com/mattn/go-isatty v0.0.12 00:47:35 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:47:35 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:47:40 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:47:41 + go mod tidy 00:47:41 go: downloading github.com/go-stack/stack v1.8.0 00:47:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:47:41 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:47:41 go: downloading github.com/stretchr/objx v0.1.1 00:47:41 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:47:41 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:47:41 go: downloading github.com/onsi/ginkgo v1.10.1 00:47:41 go: downloading github.com/onsi/gomega v1.7.0 00:47:41 go: downloading github.com/kr/pretty v0.3.0 00:47:41 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:47:41 go: downloading github.com/hashicorp/memberlist v0.2.2 00:47:42 go: downloading github.com/pkg/errors v0.9.1 00:47:42 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:47:42 go: downloading github.com/kr/text v0.2.0 00:47:42 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:47:42 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:47:42 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:47:42 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:47:42 go: downloading github.com/miekg/dns v1.1.26 00:47:42 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:47:42 go: downloading gopkg.in/yaml.v2 v2.3.0 00:47:42 go: downloading github.com/hpcloud/tail v1.0.0 00:47:42 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:47:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:47:42 $ docker stop --time=1 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 00:47:45 $ docker rm -f 6dd2618e66567f7237b41b95e487abbd21a08e3bc83e52c786725cc50ff9fcf0 [Pipeline] // withDockerContainer [Pipeline] sh 00:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:47:48 Warning: overwriting stash ‘coverage-report’ 00:47:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:47:49 + ls -al . 00:47:49 total 180 00:47:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 00:47 . 00:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:44 .. 00:47:49 -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:44 .dockerignore 00:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:44 .git 00:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 .github 00:47:49 -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:44 .gitignore 00:47:49 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:44 Attribution.txt 00:47:49 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:44 CHANGELOG.md 00:47:49 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:44 Dockerfile 00:47:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:44 GOVERNANCE.md 00:47:49 -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:44 Jenkinsfile 00:47:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:44 LICENSE 00:47:49 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:44 Makefile 00:47:49 -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:44 OWNERS.md 00:47:49 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:44 README.md 00:47:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:36 VERSION 00:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 bin 00:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 cmd 00:47:49 -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:47 coverage.out 00:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 driver 00:47:49 -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:47 go.mod 00:47:49 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:44 go.sum 00:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 snap 00:47:49 drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:44 vendor 00:47:49 -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:50 + 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 --label arch=arm64 --label version=2.1.1-dev.2 . 00:47:51 Sending build context to Docker daemon 11.14MB 00:47:51 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 00:47:51 Step 2/24 : FROM ${BASE} AS builder 00:47:51 ---> 54e0a14bd908 00:47:51 Step 3/24 : ARG MAKE='make build' 00:47:51 ---> Running in 4996fe31d876 00:47:51 Removing intermediate container 4996fe31d876 00:47:51 ---> ab3de129a3fa 00:47:51 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:47:52 ---> Running in 944a40906faf 00:47:52 Removing intermediate container 944a40906faf 00:47:52 ---> 1cfcb9c30fdc 00:47:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:47:52 ---> Running in 21ce2c774d03 00:47:52 Removing intermediate container 21ce2c774d03 00:47:52 ---> 38f38c484925 00:47:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:47:52 ---> Running in 9a25cbcf465a 00:47:54 Removing intermediate container 9a25cbcf465a 00:47:54 ---> 232174c472d9 00:47:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:54 ---> Running in 6c185428bbb1 00:47:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:47:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:47:57 OK: 224 MiB in 56 packages 00:47:58 Removing intermediate container 6c185428bbb1 00:47:58 ---> dc663aa659c5 00:47:58 Step 8/24 : WORKDIR /device-rest-go 00:47:58 ---> Running in 03ea976f989f 00:47:58 Removing intermediate container 03ea976f989f 00:47:58 ---> 644e3e765f9a 00:47:58 Step 9/24 : COPY . . 00:48:03 ---> cb6b67f78c89 00:48:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:03 ---> Running in c8a6e73283ea 00:48:04 skipping... 00:48:04 Removing intermediate container c8a6e73283ea 00:48:04 ---> df1afeae3537 00:48:04 Step 11/24 : RUN $MAKE 00:48:04 ---> Running in 85a5a520081e 00:48:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.2" -o cmd/device-rest ./cmd 00:48:52 Removing intermediate container 85a5a520081e 00:48:52 ---> d9276ef49af5 00:48:52 Step 12/24 : FROM alpine:3.14 00:48:52 3.14: Pulling from library/alpine 00:48:52 455c02918c45: Pulling fs layer 00:48:52 455c02918c45: Download complete 00:48:53 455c02918c45: Pull complete 00:48:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:48:53 Status: Downloaded newer image for alpine:3.14 00:48:53 ---> ac73e934f311 00:48:53 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:48:53 ---> Running in ba12f1c54efc 00:48:53 Removing intermediate container ba12f1c54efc 00:48:53 ---> 76ec09b8fe2f 00:48:53 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 00:48:53 ---> Running in 02f04676e2d5 00:48:53 Removing intermediate container 02f04676e2d5 00:48:53 ---> 6149449038a0 00:48:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:48:53 ---> Running in 2688cfdfb0e8 00:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:48:56 (1/6) Installing dumb-init (1.2.5-r1) 00:48:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:48:56 (3/6) Installing libsodium (1.0.18-r0) 00:48:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:48:56 (5/6) Installing libzmq (4.3.4-r0) 00:48:56 (6/6) Installing zeromq (4.3.4-r0) 00:48:56 Executing busybox-1.33.1-r7.trigger 00:48:56 OK: 8 MiB in 20 packages 00:48:57 Removing intermediate container 2688cfdfb0e8 00:48:57 ---> 66c9d9ed6d21 00:48:57 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 00:48:59 ---> 073416ca2fe4 00:48:59 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 00:48:59 ---> e865efa13538 00:48:59 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 00:49:00 ---> 12b4a7efa130 00:49:00 Step 19/24 : EXPOSE 59986 00:49:00 ---> Running in 8435a77353dd 00:49:00 Removing intermediate container 8435a77353dd 00:49:00 ---> 6a6e23f5118c 00:49:00 Step 20/24 : ENTRYPOINT ["/device-rest"] 00:49:00 ---> Running in b7d116a3663f 00:49:01 Removing intermediate container b7d116a3663f 00:49:01 ---> e0f9bdbb316d 00:49:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:49:01 ---> Running in ce1a878988dc 00:49:01 Removing intermediate container ce1a878988dc 00:49:01 ---> da32c356065e 00:49:01 Step 22/24 : LABEL arch=arm64 00:49:01 ---> Running in 0102c72668c2 00:49:01 Removing intermediate container 0102c72668c2 00:49:01 ---> eb96ebee7613 00:49:01 Step 23/24 : LABEL git_sha=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:49:01 ---> Running in 3b61334e3d47 00:49:02 Removing intermediate container 3b61334e3d47 00:49:02 ---> b27ec0021e61 00:49:02 Step 24/24 : LABEL version=2.1.1-dev.2 00:49:02 ---> Running in a39902e750ff 00:49:02 Removing intermediate container a39902e750ff 00:49:02 ---> 2180102784f4 00:49:02 [Warning] One or more build-args [ARCH] were not consumed 00:49:02 Successfully built 2180102784f4 00:49:02 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 00:49:02 provisioning config files... 00:49:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config2663123646166680547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:03 ---> docker-login.sh 00:49:03 nexus3.edgexfoundry.org:10001 00:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:03 Configure a credential helper to remove this warning. See 00:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:03 00:49:03 Login Succeeded 00:49:03 nexus3.edgexfoundry.org:10002 00:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:04 Configure a credential helper to remove this warning. See 00:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:04 00:49:04 Login Succeeded 00:49:04 nexus3.edgexfoundry.org:10003 00:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:04 Configure a credential helper to remove this warning. See 00:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:04 00:49:04 Login Succeeded 00:49:04 nexus3.edgexfoundry.org:10004 00:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:05 Configure a credential helper to remove this warning. See 00:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:05 00:49:05 Login Succeeded 00:49:05 docker.io 00:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:06 Configure a credential helper to remove this warning. See 00:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:06 00:49:06 Login Succeeded 00:49:06 ---> docker-login.sh ends [Pipeline] } 00:49:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:49:06 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:06 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:49:06 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:49:06 2.1.1-dev.2 00:49:06 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:49:06 jakarta 00:49:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:49:06 eda38f02a5f9: Preparing 00:49:06 6ccbd0b859b5: Preparing 00:49:06 579f0ad625cf: Preparing 00:49:06 261b6554ff5e: Preparing 00:49:06 f73e7dbfee58: Preparing 00:49:07 f73e7dbfee58: Layer already exists 00:49:07 6ccbd0b859b5: Pushed 00:49:07 eda38f02a5f9: Pushed 00:49:07 261b6554ff5e: Pushed 00:49:09 579f0ad625cf: Pushed 00:49:09 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 00:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:49:10 eda38f02a5f9: Preparing 00:49:10 6ccbd0b859b5: Preparing 00:49:10 579f0ad625cf: Preparing 00:49:10 261b6554ff5e: Preparing 00:49:10 f73e7dbfee58: Preparing 00:49:10 f73e7dbfee58: Layer already exists 00:49:10 579f0ad625cf: Layer already exists 00:49:10 eda38f02a5f9: Layer already exists 00:49:10 6ccbd0b859b5: Layer already exists 00:49:10 261b6554ff5e: Layer already exists 00:49:11 2.1.1-dev.2: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:49:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:49:11 eda38f02a5f9: Preparing 00:49:11 6ccbd0b859b5: Preparing 00:49:11 579f0ad625cf: Preparing 00:49:11 261b6554ff5e: Preparing 00:49:11 f73e7dbfee58: Preparing 00:49:11 f73e7dbfee58: Layer already exists 00:49:11 6ccbd0b859b5: Layer already exists 00:49:11 579f0ad625cf: Layer already exists 00:49:11 261b6554ff5e: Layer already exists 00:49:11 eda38f02a5f9: Layer already exists 00:49:12 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta 00:49:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:49:12 eda38f02a5f9: Preparing 00:49:12 6ccbd0b859b5: Preparing 00:49:12 579f0ad625cf: Preparing 00:49:12 261b6554ff5e: Preparing 00:49:12 f73e7dbfee58: Preparing 00:49:12 eda38f02a5f9: Layer already exists 00:49:12 6ccbd0b859b5: Layer already exists 00:49:12 579f0ad625cf: Layer already exists 00:49:12 261b6554ff5e: Layer already exists 00:49:12 f73e7dbfee58: Layer already exists 00:49:13 jakarta: digest: sha256:88b1b4e69d649c2cb8b3fae24b5fc515988f96c9b51e66804f90fa579a86d684 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:49:13 ===================================================== [Pipeline] echo 00:49:13 taggedImages: 00:49:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 00:49:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.2 00:49:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:6ebceb65a7426d72f493083b4c0a3b77c8bc8a32-2.1.1-dev.2 00:49:13 - 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 00:49:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:13 00:49:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:14 arm64: Pulling from edgex-lftools-log-publisher 00:49:14 8998bd30e6a1: Pulling fs layer 00:49:14 04944245beec: Pulling fs layer 00:49:14 699f458cf7ca: Pulling fs layer 00:49:14 765212b225bb: Pulling fs layer 00:49:14 f23df028b6ca: Pulling fs layer 00:49:14 d65c8cfc05b1: Pulling fs layer 00:49:14 2437ff75d9bd: Pulling fs layer 00:49:14 765212b225bb: Waiting 00:49:14 f23df028b6ca: Waiting 00:49:14 d65c8cfc05b1: Waiting 00:49:14 2437ff75d9bd: Waiting 00:49:14 04944245beec: Verifying Checksum 00:49:14 04944245beec: Download complete 00:49:14 765212b225bb: Verifying Checksum 00:49:14 765212b225bb: Download complete 00:49:14 f23df028b6ca: Verifying Checksum 00:49:14 f23df028b6ca: Download complete 00:49:14 d65c8cfc05b1: Verifying Checksum 00:49:14 d65c8cfc05b1: Download complete 00:49:14 699f458cf7ca: Verifying Checksum 00:49:14 699f458cf7ca: Download complete 00:49:14 8998bd30e6a1: Verifying Checksum 00:49:14 8998bd30e6a1: Download complete 00:49:17 2437ff75d9bd: Verifying Checksum 00:49:17 2437ff75d9bd: Download complete 00:49:19 8998bd30e6a1: Pull complete 00:49:19 04944245beec: Pull complete 00:49:20 699f458cf7ca: Pull complete 00:49:21 765212b225bb: Pull complete 00:49:21 f23df028b6ca: Pull complete 00:49:22 d65c8cfc05b1: Pull complete 00:49:37 2437ff75d9bd: Pull complete 00:49:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:37 prd-ubuntu20.04-docker-arm64-4c-16g-875 does not seem to be running inside a container 00:49:37 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:49:40 $ docker top 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:41 ---> job-cost.sh 00:49:41 lf-activate-venv: SKIPPING 00:49:41 INFO: No Stack... 00:49:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:42 INFO: Archiving Costs [Pipeline] sh 00:49:43 + cat /w/workspace/device-rest-go/6/archives/cost.csv 00:49:43 + cut -d, -f6 [Pipeline] lock 00:49:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] 00:49:43 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] did not exist. Created. 00:49:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:43 /w/workspace/device-rest-go/6@tmp/durable-d78f5933/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:44 Warning: overwriting stash ‘stack-cost’ 00:49:44 Stashed 1 file(s) [Pipeline] } 00:49:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:44 $ docker stop --time=1 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed 00:49:46 $ docker rm -f 00b98f5743fdf366e0102017355fbb6c315dcf522edc2f816dc897ecc1f2a1ed [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 00:49:47 provisioning config files... 00:49:47 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3356611678445982306tmp [Pipeline] { [Pipeline] sh 00:49:47 + set +x 00:49:47 + curl -s https://codecov.io/bash 00:49:47 + bash -s -- 00:49:47 00:49:47 _____ _ 00:49:47 / ____| | | 00:49:47 | | ___ __| | ___ ___ _____ __ 00:49:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:49:47 | |___| (_) | (_| | __/ (_| (_) \ V / 00:49:47 \_____\___/ \__,_|\___|\___\___/ \_/ 00:49:47 Bash-1.0.6 00:49:47 00:49:47 00:49:47 ==> git version 2.25.1 found 00:49:47 ==> 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 00:49:47 Release-Date: 2020-01-08 00:49:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:49:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:49:47 ==> Jenkins CI detected. 00:49:47 current dir:  /w/workspace/exfoundry_device-rest-go_jakarta 00:49:47 project root: . 00:49:47 --> token set from env 00:49:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:49:47 ==> Running gcov in . (disable via -X gcov) 00:49:47 ==> Python coveragepy not found 00:49:47 ==> Searching for coverage reports in: 00:49:47 + . 00:49:47 -> Found 1 reports 00:49:47 ==> Detecting git/mercurial file structure 00:49:47 ==> Reading reports 00:49:47 + ./coverage.out bytes=9215 00:49:47 ==> Appending adjustments 00:49:47 https://docs.codecov.io/docs/fixing-reports 00:49:47 + Found adjustments 00:49:47 ==> Gzipping contents 00:49:47 12K /tmp/codecov.22GKpx.gz 00:49:47 ==> Uploading reports 00:49:47 url: https://codecov.io 00:49:47 query: branch=jakarta&commit=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:49:47 -> Pinging Codecov 00:49:47 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=6ebceb65a7426d72f493083b4c0a3b77c8bc8a32&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:49:47 -> Uploading to 00:49:47 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/4E5D53B4F1F92C436F7061BF334D961C/6ebceb65a7426d72f493083b4c0a3b77c8bc8a32/2f83139a-cc67-47ab-8fe1-fa695cc5f592.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T004947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=018ca7f02eccc79e1e860497c3e698af1a7983b61b1dd7d1463af58b8bdfffab 00:49:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:49:47 Dload Upload Total Spent Left Speed 00:49:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 38706 --:--:-- --:--:-- --:--:-- 38706 00:49:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] } 00:49:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:49:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:49:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:49:48 00:49:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:49:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:49:48 df9b9388f04a: Pulling fs layer 00:49:48 52dc419b0ee2: Pulling fs layer 00:49:48 25bc292e5bac: Pulling fs layer 00:49:48 114826534d7a: Pulling fs layer 00:49:48 4657fd5d0bcf: Pulling fs layer 00:49:48 6ad1cebc031e: Pulling fs layer 00:49:48 8a3aa393b2d8: Pulling fs layer 00:49:48 114826534d7a: Waiting 00:49:48 4657fd5d0bcf: Waiting 00:49:48 6ad1cebc031e: Waiting 00:49:48 8a3aa393b2d8: Waiting 00:49:48 25bc292e5bac: Verifying Checksum 00:49:48 25bc292e5bac: Download complete 00:49:48 52dc419b0ee2: Verifying Checksum 00:49:48 52dc419b0ee2: Download complete 00:49:48 4657fd5d0bcf: Verifying Checksum 00:49:48 4657fd5d0bcf: Download complete 00:49:48 df9b9388f04a: Verifying Checksum 00:49:48 df9b9388f04a: Download complete 00:49:49 df9b9388f04a: Pull complete 00:49:49 6ad1cebc031e: Verifying Checksum 00:49:49 6ad1cebc031e: Download complete 00:49:49 52dc419b0ee2: Pull complete 00:49:49 25bc292e5bac: Pull complete 00:49:49 114826534d7a: Verifying Checksum 00:49:49 114826534d7a: Download complete 00:49:49 8a3aa393b2d8: Verifying Checksum 00:49:49 8a3aa393b2d8: Download complete 00:49:52 114826534d7a: Pull complete 00:49:52 4657fd5d0bcf: Pull complete 00:49:53 6ad1cebc031e: Pull complete 00:49:56 8a3aa393b2d8: Pull complete 00:49:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:49:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:56 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:49:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:49:58 $ docker top 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f -eo pid,comm [Pipeline] { [Pipeline] echo 00:49:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:49:59 + set -o pipefail 00:49:59 + snyk monitor '--org=edgex-jenkins' 00:50:00 00:50:00 Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... 00:50:00 00:50:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/29ecf877-d5bd-47c2-9ab1-2dca45172682 00:50:00 00:50:00 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:50:00 00:50:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:50:00 00:50:01 [Pipeline] } 00:50:01 $ docker stop --time=1 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f 00:50:02 $ docker rm -f 23b074b3f102a8b5e400a13680745adb1872ab4d606d6b55e93653590433633f [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 00:50:03 + git log --format=format:%s -1 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 [Pipeline] sh 00:50:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:50:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:03 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:50: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:50:04 $ docker top 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:04 [ssh-agent] Looking for ssh-agent implementation... 00:50:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:04 $ docker exec 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 ssh-agent 00:50:04 SSH_AUTH_SOCK=/tmp/ssh-UCojyZ1r5AhN/agent.33 00:50:04 SSH_AGENT_PID=40 00:50:04 Running ssh-add (command line suppressed) 00:50:04 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_5111517018090926937.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_5111517018090926937.key) 00:50:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:04 + git semver tag 00:50:05 2022-06-03 00:50:05,169 [run_tag] DEBUG tag force:False 00:50:05 2022-06-03 00:50:05,169 [check_head_tag] DEBUG check head tag 00:50:05 2022-06-03 00:50:05,170 [execute] INFO git cat-file --batch-check 00:50:05 2022-06-03 00:50:05,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 00:50:05 2022-06-03 00:50:05,173 [execute] INFO git cat-file --batch 00:50:05 2022-06-03 00:50:05,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 00:50:05 2022-06-03 00:50:05,180 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:05 2022-06-03 00:50:05,180 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 00:50:05 2022-06-03 00:50:05,181 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) 00:50:05 2022-06-03 00:50:05,185 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:05 2.1.1-dev.2 [Pipeline] } 00:50:05 $ docker exec --env ******** --env ******** 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 ssh-agent -k 00:50:05 unset SSH_AUTH_SOCK; 00:50:05 unset SSH_AGENT_PID; 00:50:05 echo Agent pid 40 killed; 00:50:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:05 + git semver [Pipeline] } 00:50:06 $ docker stop --time=1 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 00:50:07 $ docker rm -f 40950d47e60e0314e9bb443d467d868518aa79d81710e1ef86994e4f2a00a764 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:50:07 00:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:50:08 0.23.1-centos7: Pulling from edgex-lftools 00:50:08 ab5ef0e58194: Pulling fs layer 00:50:08 9712f1f96733: Pulling fs layer 00:50:08 63f879dbbcfc: Pulling fs layer 00:50:08 0d9ebad4ef96: Pulling fs layer 00:50:08 e9a5061849ea: Pulling fs layer 00:50:08 d747dcd14b5f: Pulling fs layer 00:50:08 2de7ff778b66: Pulling fs layer 00:50:08 0d9ebad4ef96: Waiting 00:50:08 e9a5061849ea: Waiting 00:50:08 d747dcd14b5f: Waiting 00:50:08 2de7ff778b66: Waiting 00:50:08 9712f1f96733: Verifying Checksum 00:50:08 9712f1f96733: Download complete 00:50:08 63f879dbbcfc: Verifying Checksum 00:50:08 63f879dbbcfc: Download complete 00:50:08 e9a5061849ea: Verifying Checksum 00:50:08 d747dcd14b5f: Verifying Checksum 00:50:08 d747dcd14b5f: Download complete 00:50:08 0d9ebad4ef96: Verifying Checksum 00:50:08 0d9ebad4ef96: Download complete 00:50:08 ab5ef0e58194: Verifying Checksum 00:50:08 ab5ef0e58194: Download complete 00:50:08 2de7ff778b66: Verifying Checksum 00:50:08 2de7ff778b66: Download complete 00:50:11 ab5ef0e58194: Pull complete 00:50:11 9712f1f96733: Pull complete 00:50:11 63f879dbbcfc: Pull complete 00:50:16 0d9ebad4ef96: Pull complete 00:50:16 e9a5061849ea: Pull complete 00:50:16 d747dcd14b5f: Pull complete 00:50:17 2de7ff778b66: Pull complete 00:50:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:50:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:50:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:17 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:50:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:50:19 $ docker top 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:50:19 provisioning config files... 00:50:19 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4920234674212413240tmp 00:50:19 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8472213109039699205tmp 00:50:19 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8404083883384613064tmp [Pipeline] { [Pipeline] echo 00:50:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:50:20 ---> sigul-configuration.sh 00:50:20 gpg: directory `/root/.gnupg' created 00:50:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:50:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:50:20 gpg: keyring `/root/.gnupg/secring.gpg' created 00:50:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:50:20 gpg: CAST5 encrypted data 00:50:20 gpg: encrypted with 1 passphrase 00:50:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:50:20 + mkdir /home/jenkins 00:50:20 + mkdir /home/jenkins/sigul [Pipeline] sh 00:50:20 + 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 00:50:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:50:20 ---> sigul-install.sh 00:50:20 Sigul already installed; skipping installation. [Pipeline] sh 00:50:21 + git tag --list 00:50:21 v1.0.0 00:50:21 v1.1.0 00:50:21 v1.1.1 00:50:21 v1.1.2 00:50:21 v1.2.0 00:50:21 v1.2.1 00:50:21 v2.0.0 00:50:21 v2.1.0 00:50:21 v2.1.1-dev.1 00:50:21 v2.1.1-dev.2 00:50:21 v2.2.0 00:50:21 v2.2.1-dev.1 00:50:21 v2.2.1-dev.2 [Pipeline] sh 00:50:21 + lftools sign git-tag v2.1.1-dev.2 00:50:22 Signing Git tag with Sigul... 00:50:22 Signing v2.1.1-dev.2 [Pipeline] echo 00:50:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:50:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:50:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:50:22 $ docker stop --time=1 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee 00:50:23 $ docker rm -f 1ac86a6d30008313870e9b85d4986c130c2e4703911beacd8bb544baaadcbdee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:50:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:50:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:24 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:50:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:50:25 $ docker top 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:25 [ssh-agent] Looking for ssh-agent implementation... 00:50:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:25 $ docker exec 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 ssh-agent 00:50:25 SSH_AUTH_SOCK=/tmp/ssh-d9uia7rjjlbm/agent.32 00:50:25 SSH_AGENT_PID=39 00:50:25 Running ssh-add (command line suppressed) 00:50:25 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1008178389951818109.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1008178389951818109.key) 00:50:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:26 + git semver bump pre 00:50:26 2022-06-03 00:50:26,197 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:26 2022-06-03 00:50:26,197 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev 00:50:26 2022-06-03 00:50:26,197 [bump_version] DEBUG bumped version:2.1.1-dev.3 00:50:26 2022-06-03 00:50:26,197 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True 00:50:26 2022-06-03 00:50:26,197 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:26 2022-06-03 00:50:26,197 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:26 2022-06-03 00:50:26,200 [execute] INFO git cat-file --batch-check 00:50:26 2022-06-03 00:50:26,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:50:26 2022-06-03 00:50:26,205 [execute] INFO git cat-file --batch 00:50:26 2022-06-03 00:50:26,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:50:26 2022-06-03 00:50:26,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:26 2.1.1-dev.3 [Pipeline] } 00:50:26 $ docker exec --env ******** --env ******** 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 ssh-agent -k 00:50:26 unset SSH_AUTH_SOCK; 00:50:26 unset SSH_AGENT_PID; 00:50:26 echo Agent pid 39 killed; 00:50:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:26 + git semver [Pipeline] } 00:50:27 $ docker stop --time=1 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 00:50:28 $ docker rm -f 697362eedfd5a93ebc17c18b17251a008e7a88c7f7d1b67b230bb1401faff7c3 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:29 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:50:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:50:29 $ docker top 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:29 [ssh-agent] Looking for ssh-agent implementation... 00:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:29 $ docker exec 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 ssh-agent 00:50:29 SSH_AUTH_SOCK=/tmp/ssh-TLgm9t5ytZ7C/agent.33 00:50:29 SSH_AGENT_PID=39 00:50:29 Running ssh-add (command line suppressed) 00:50:29 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6694072118728089507.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6694072118728089507.key) 00:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:30 + git semver push 00:50:30 2022-06-03 00:50:30,442 [run_push] DEBUG push 00:50:30 2022-06-03 00:50:30,442 [execute] INFO git cat-file --batch-check 00:50:30 2022-06-03 00:50:30,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:50:30 2022-06-03 00:50:30,446 [execute] INFO git rev-list 8f81ed58377c233876ad3b52d1d8c0edb5f5a0a8 -- 00:50:30 2022-06-03 00:50:30,446 [execute] DEBUG Popen(['git', 'rev-list', '8f81ed58377c233876ad3b52d1d8c0edb5f5a0a8', '--'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 00:50:30 2022-06-03 00:50:30,453 [execute] INFO git fetch -v origin 00:50:30 2022-06-03 00:50:30,453 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 00:50:31 2022-06-03 00:50:30,916 [run_push] DEBUG no remote changes detected 00:50:31 2022-06-03 00:50:30,916 [execute] INFO git push origin semver 00:50:31 2022-06-03 00:50:30,916 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 00:50:31 2022-06-03 00:50:31,612 [run_push] DEBUG push all version tags 00:50:31 2022-06-03 00:50:31,613 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:50:31 2022-06-03 00:50:31,613 [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) 00:50:32 2022-06-03 00:50:32,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 00:50:32 2.1.1-dev.3 [Pipeline] } 00:50:32 $ docker exec --env ******** --env ******** 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 ssh-agent -k 00:50:32 unset SSH_AUTH_SOCK; 00:50:32 unset SSH_AGENT_PID; 00:50:32 echo Agent pid 39 killed; 00:50:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:33 + git semver [Pipeline] } 00:50:33 $ docker stop --time=1 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 00:50:34 $ docker rm -f 7e5d5a79c829eeb346dab645b030d0f6958be039c0a19ec2a774bcf265992591 [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 00:50:35 + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] 00:50:35 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 00:50:35 total 16 00:50:35 drwxr-xr-x 3 root root 4096 Jun 3 00:37 . 00:50:35 drwxrwxr-x 11 jenkins jenkins 4096 Jun 3 00:50 .. 00:50:35 drwxr-xr-x 2 root root 4096 Jun 3 00:37 cost 00:50:35 -rw-r--r-- 1 root root 86 Jun 3 00:37 cost.csv 00:50:35 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives 00:50:35 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 00:50:35 total 16 00:50:35 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:37 . 00:50:35 drwxrwxr-x 11 jenkins jenkins 4096 Jun 3 00:50 .. 00:50:35 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 00:37 cost 00:50:35 -rw-r--r-- 1 jenkins jenkins 86 Jun 3 00:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:50:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:50:36 ---> package-listing.sh 00:50:36 ++ facter osfamily 00:50:36 ++ tr '[:upper:]' '[:lower:]' 00:50:36 + OS_FAMILY=debian 00:50:36 + workspace=/w/workspace/exfoundry_device-rest-go_jakarta 00:50:36 + START_PACKAGES=/tmp/packages_start.txt 00:50:36 + END_PACKAGES=/tmp/packages_end.txt 00:50:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:50:36 + PACKAGES=/tmp/packages_start.txt 00:50:36 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 00:50:36 + PACKAGES=/tmp/packages_end.txt 00:50:36 + case "${OS_FAMILY}" in 00:50:36 + dpkg -l 00:50:36 + grep '^ii' 00:50:36 + '[' -f /tmp/packages_start.txt ']' 00:50:36 + '[' -f /tmp/packages_end.txt ']' 00:50:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:50:36 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 00:50:36 + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ 00:50:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo 00:50:36 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 00:50:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:37 prd-ubuntu20.04-docker-8c-8g-758 does not seem to be running inside a container 00:50:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:37 $ docker top b814072c651073190707846fc255b90c783fb060d6b27db6a8bc52432abefa07 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:38 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:38 + mkdir -p /var/log/sysstat [Pipeline] sh 00:50:38 + ls /var/log/sa-host 00:50:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:38 provisioning config files... 00:50:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config9079654342756227013tmp [Pipeline] { [Pipeline] echo 00:50:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:39 ---> create-netrc.sh [Pipeline] } 00:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:50:39 ---> python-tools-install.sh [Pipeline] echo 00:50:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:39 ---> sudo-logs.sh 00:50:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:50:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:39 ---> job-cost.sh 00:50:39 lf-activate-venv: SKIPPING 00:50:39 DEBUG: total: 0.2199999988079071 00:50:39 INFO: Retrieving Stack Cost... 00:50:40 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:41 INFO: Archiving Costs [Pipeline] echo 00:50:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:41 ---> logs-deploy.sh 00:50:41 lf-activate-venv: SKIPPING 00:50:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/6 00:50:41 INFO: archiving workspace using pattern(s): 00:50:42 Archives upload complete. 00:50:42 INFO: archiving logs to Nexus