Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 674470f415deb016340950c491e0ea2a8bbe0e0c 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-ssh17736045593394628561.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-ssh6145051071269937276.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh12987436384416385339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh6154795110699562448.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-ssh7681805417027836323.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh4917231663631646096.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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-596 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 674470f415deb016340950c491e0ea2a8bbe0e0c (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 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 Commit message: "Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch" > git rev-list --no-walk e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:50:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:50:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:50:42 ========================================================= 22:50:42 EdgeX Global Pipelines Version Info 22:50:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:50:43 ------------------- 22:50:43 stable info: 22:50:43 ------------------- 22:50:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:50:43 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:50:43 Message: update stable to v1.0.230 22:50:43 ------------------- 22:50:43 experimental info: 22:50:43 ------------------- 22:50:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:50:43 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 22:50:43 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 674470f [Pipeline] echo 22:50:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:44 provisioning config files... 22:50:44 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config6808962501499521630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:44 ---> docker-login.sh 22:50:44 nexus3.edgexfoundry.org:10001 22:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:45 Configure a credential helper to remove this warning. See 22:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:45 22:50:45 Login Succeeded 22:50:45 nexus3.edgexfoundry.org:10002 22:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:45 Configure a credential helper to remove this warning. See 22:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:45 22:50:45 Login Succeeded 22:50:45 nexus3.edgexfoundry.org:10003 22:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:45 Configure a credential helper to remove this warning. See 22:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:45 22:50:45 Login Succeeded 22:50:45 nexus3.edgexfoundry.org:10004 22:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:45 Configure a credential helper to remove this warning. See 22:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:45 22:50:45 Login Succeeded 22:50:45 docker.io 22:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:46 Configure a credential helper to remove this warning. See 22:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:46 22:50:46 Login Succeeded 22:50:46 ---> docker-login.sh ends [Pipeline] } 22:50:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:50:46 + git rev-list -1 --merges 674470f415deb016340950c491e0ea2a8bbe0e0c~1..674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo 22:50:46 -----------> git rev-list -1 --merges 674470f415deb016340950c491e0ea2a8bbe0e0c~1..674470f415deb016340950c491e0ea2a8bbe0e0c 674470f415deb016340950c491e0ea2a8bbe0e0c 22:50:46 674470f415deb016340950c491e0ea2a8bbe0e0c [false] [Pipeline] sh 22:50:47 + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo 22:50:47 ========================================================= 22:50:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:50:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:47 + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] echo 22:50:47 [semverPrep] GIT_COMMIT: 674470f415deb016340950c491e0ea2a8bbe0e0c, Commit Message: Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch [Pipeline] echo 22:50:47 [semverPrep] This is not a build commit. [Pipeline] sh 22:50:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:50:47 + grep -v github /etc/ssh/ssh_known_hosts 22:50:47 + [ -e /tmp/ssh_known_hosts ] 22:50:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:50:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:50:47 + sudo tee -a /etc/ssh/ssh_known_hosts 22:50:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:50:48 22:50:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:50:48 latest: Pulling from edgex-devops/py-git-semver 22:50:48 1fe172e4850f: Pulling fs layer 22:50:48 caf521ccaac6: Pulling fs layer 22:50:48 3ead6fa29328: Pulling fs layer 22:50:48 5c2a1cbceb83: Pulling fs layer 22:50:48 a8d5f1318db7: Pulling fs layer 22:50:48 c427282e49a2: Pulling fs layer 22:50:48 1827001aaf11: Pulling fs layer 22:50:48 0714d37db230: Pulling fs layer 22:50:48 ac28cf19c067: Pulling fs layer 22:50:48 ca983d60f3e2: Pulling fs layer 22:50:48 9f894cec8388: Pulling fs layer 22:50:48 1827001aaf11: Waiting 22:50:48 0714d37db230: Waiting 22:50:48 a8d5f1318db7: Waiting 22:50:48 ac28cf19c067: Waiting 22:50:48 ca983d60f3e2: Waiting 22:50:48 9f894cec8388: Waiting 22:50:48 c427282e49a2: Waiting 22:50:48 5c2a1cbceb83: Waiting 22:50:48 caf521ccaac6: Download complete 22:50:48 5c2a1cbceb83: Verifying Checksum 22:50:48 5c2a1cbceb83: Download complete 22:50:48 a8d5f1318db7: Verifying Checksum 22:50:48 a8d5f1318db7: Download complete 22:50:48 c427282e49a2: Download complete 22:50:48 3ead6fa29328: Verifying Checksum 22:50:48 3ead6fa29328: Download complete 22:50:48 0714d37db230: Verifying Checksum 22:50:48 0714d37db230: Download complete 22:50:48 ac28cf19c067: Download complete 22:50:48 ca983d60f3e2: Verifying Checksum 22:50:48 ca983d60f3e2: Download complete 22:50:48 9f894cec8388: Verifying Checksum 22:50:48 9f894cec8388: Download complete 22:50:48 1fe172e4850f: Verifying Checksum 22:50:48 1fe172e4850f: Download complete 22:50:49 1827001aaf11: Verifying Checksum 22:50:49 1827001aaf11: Download complete 22:50:50 1fe172e4850f: Pull complete 22:50:50 caf521ccaac6: Pull complete 22:50:50 3ead6fa29328: Pull complete 22:50:50 5c2a1cbceb83: Pull complete 22:50:51 a8d5f1318db7: Pull complete 22:50:51 c427282e49a2: Pull complete 22:50:53 1827001aaf11: Pull complete 22:50:53 0714d37db230: Pull complete 22:50:53 ac28cf19c067: Pull complete 22:50:53 ca983d60f3e2: Pull complete 22:50:53 9f894cec8388: Pull complete 22:50:53 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:50:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:50:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:53 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:50:55 $ docker top 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 -eo pid,comm 22:50:55 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). 22:50:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:55 [ssh-agent] Looking for ssh-agent implementation... 22:50:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:55 $ docker exec 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent 22:50:56 SSH_AUTH_SOCK=/tmp/ssh-a9hySTqgCZ0Z/agent.34 22:50:56 SSH_AGENT_PID=40 22:50:56 Running ssh-add (command line suppressed) 22:50:56 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7518328065492445759.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7518328065492445759.key) 22:50:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:56 + git tag --points-at HEAD [Pipeline] } 22:50:56 $ docker exec --env ******** --env ******** 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent -k 22:50:56 unset SSH_AUTH_SOCK; 22:50:56 unset SSH_AGENT_PID; 22:50:56 echo Agent pid 40 killed; 22:50:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:50:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:56 [ssh-agent] Looking for ssh-agent implementation... 22:50:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:56 $ docker exec 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent 22:50:56 SSH_AUTH_SOCK=/tmp/ssh-ADztpmiU7wlt/agent.73 22:50:56 SSH_AGENT_PID=79 22:50:56 Running ssh-add (command line suppressed) 22:50:57 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2178475113183761203.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2178475113183761203.key) 22:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:57 + git semver init 22:50:57 2022-06-01 22:50:57,562 [run_init] DEBUG init version:0.0.0 force:False 22:50:57 2022-06-01 22:50:57,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver 22:50:57 2022-06-01 22:50:57,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver 22:50:57 2022-06-01 22:50:57,565 [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) 22:50:58 2022-06-01 22:50:58,563 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude 22:50:58 2022-06-01 22:50:58,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False 22:50:58 2022-06-01 22:50:58,563 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:50:58 2022-06-01 22:50:58,563 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:50:58 2.1.1-dev.1 [Pipeline] } 22:50:58 $ docker exec --env ******** --env ******** 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 ssh-agent -k 22:50:59 unset SSH_AUTH_SOCK; 22:50:59 unset SSH_AGENT_PID; 22:50:59 echo Agent pid 79 killed; 22:50:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:59 + git semver [Pipeline] } 22:50:59 $ docker stop --time=1 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 22:51:01 $ docker rm -f 928834f47fbd1e10fca78c430fee0ecf570066c0cb1d264b9eab435a61efb174 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:51:01 Stashed 1 file(s) [Pipeline] echo 22:51:01 [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [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 22:51:01 provisioning config files... 22:51:01 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config7452731149312321224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:02 ---> docker-login.sh 22:51:02 nexus3.edgexfoundry.org:10001 22:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:02 Configure a credential helper to remove this warning. See 22:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:02 22:51:02 Login Succeeded 22:51:02 nexus3.edgexfoundry.org:10002 22:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:02 Configure a credential helper to remove this warning. See 22:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:02 22:51:02 Login Succeeded 22:51:02 nexus3.edgexfoundry.org:10003 22:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:02 Configure a credential helper to remove this warning. See 22:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:02 22:51:02 Login Succeeded 22:51:02 nexus3.edgexfoundry.org:10004 22:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:02 Configure a credential helper to remove this warning. See 22:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:02 22:51:02 Login Succeeded 22:51:02 docker.io 22:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:02 Configure a credential helper to remove this warning. See 22:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:02 22:51:02 Login Succeeded 22:51:02 ---> docker-login.sh ends [Pipeline] } 22:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:51:02 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:51:02 ========================================================= 22:51:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 22:51:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:03 + 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 . 22:51:03 Sending build context to Docker daemon 21.63MB 22:51:03 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:51:03 Step 2/11 : FROM ${BASE} AS builder 22:51:03 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:51:03 59bf1c3509f3: Pulling fs layer 22:51:03 666ba61612fd: Pulling fs layer 22:51:03 8ed8ca486205: Pulling fs layer 22:51:03 4fe6c5a15a65: Pulling fs layer 22:51:03 22a0e8bec74d: Pulling fs layer 22:51:03 812f408151ee: Pulling fs layer 22:51:03 bab7bd504b26: Pulling fs layer 22:51:03 070449caade9: Pulling fs layer 22:51:03 8f1a5288e3a6: Pulling fs layer 22:51:03 4fe6c5a15a65: Waiting 22:51:03 22a0e8bec74d: Waiting 22:51:03 812f408151ee: Waiting 22:51:03 8f1a5288e3a6: Waiting 22:51:03 bab7bd504b26: Waiting 22:51:03 070449caade9: Waiting 22:51:03 8ed8ca486205: Verifying Checksum 22:51:03 8ed8ca486205: Download complete 22:51:03 666ba61612fd: Verifying Checksum 22:51:03 666ba61612fd: Download complete 22:51:03 22a0e8bec74d: Verifying Checksum 22:51:03 22a0e8bec74d: Download complete 22:51:03 812f408151ee: Verifying Checksum 22:51:03 812f408151ee: Download complete 22:51:03 bab7bd504b26: Verifying Checksum 22:51:03 bab7bd504b26: Download complete 22:51:03 59bf1c3509f3: Verifying Checksum 22:51:03 59bf1c3509f3: Download complete 22:51:03 070449caade9: Verifying Checksum 22:51:03 070449caade9: Download complete 22:51:03 59bf1c3509f3: Pull complete 22:51:03 666ba61612fd: Pull complete 22:51:04 8ed8ca486205: Pull complete 22:51:04 8f1a5288e3a6: Verifying Checksum 22:51:04 8f1a5288e3a6: Download complete 22:51:04 4fe6c5a15a65: Verifying Checksum 22:51:04 4fe6c5a15a65: Download complete 22:51:07 4fe6c5a15a65: Pull complete 22:51:07 22a0e8bec74d: Pull complete 22:51:07 812f408151ee: Pull complete 22:51:07 bab7bd504b26: Pull complete 22:51:07 070449caade9: Pull complete 22:51:10 8f1a5288e3a6: Pull complete 22:51:10 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 22:51:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 22:51:10 ---> c47586b81864 22:51:10 Step 3/11 : ARG MAKE='make build' 22:51:12 ---> Running in 46359fcff1f2 22:51:12 Removing intermediate container 46359fcff1f2 22:51:12 ---> cb2c2d9d794c 22:51:12 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:51:12 ---> Running in 518f38d06b3b 22:51:12 Removing intermediate container 518f38d06b3b 22:51:12 ---> e4c2dec3e371 22:51:12 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:51:12 ---> Running in 10bb7125cea6 22:51:13 Removing intermediate container 10bb7125cea6 22:51:13 ---> 7e0a973d50df 22:51:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:13 ---> Running in de336455872c 22:51:13 Removing intermediate container de336455872c 22:51:13 ---> 228c58f50ad7 22:51:13 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:13 ---> Running in 34c800d48233 22:51:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:51:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:51:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:51:15 (2/4) Installing libedit (20210910.3.1-r0) 22:51:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:51:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:51:15 Executing busybox-1.34.1-r3.trigger 22:51:15 OK: 224 MiB in 56 packages 22:51:16 Removing intermediate container 34c800d48233 22:51:16 ---> edddb1ebaef7 22:51:16 Step 8/11 : WORKDIR /device-rest-go 22:51:16 ---> Running in e37b447455eb 22:51:16 Removing intermediate container e37b447455eb 22:51:16 ---> 02088e72def7 22:51:16 Step 9/11 : COPY . . 22:51:16 Still waiting to schedule task 22:51:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:51:17 ---> 9eb600ab3e82 22:51:17 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:17 ---> Running in 15bd9e7bec5d 22:51:17 skipping... 22:51:18 Removing intermediate container 15bd9e7bec5d 22:51:18 ---> 8a4bfbcac20c 22:51:18 Step 11/11 : RUN $MAKE 22:51:18 ---> Running in 1a14c68a5acf 22:51:18 noop 22:51:18 Removing intermediate container 1a14c68a5acf 22:51:18 ---> 7b3615d71376 22:51:18 Successfully built 7b3615d71376 22:51:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:18 + docker inspect -f . ci-base-image-x86_64 22:51:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:18 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:51:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:51:19 $ docker top 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:19 + go version 22:51:19 go version go1.17.6 linux/amd64 [Pipeline] } 22:51:19 $ docker stop --time=1 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 22:51:21 $ docker rm -f 4b6736eb432ef072416b329690a8ff0778abf9786a3ee4cf8447e5666c299ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:21 + docker inspect -f . ci-base-image-x86_64 22:51:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:21 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:51:22 $ docker top bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:51:22 + make test 22:51:22 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:51:22 ? github.com/edgexfoundry/device-rest-go [no test files] 22:51:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:51:29 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements 22:51:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:51:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:32 ./bin/test-attribution-txt.sh 22:51:32 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 22:51:32 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 22:51:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 22:51:33 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:51:33 go: downloading github.com/google/uuid v1.3.0 22:51:33 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 22:51:33 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 22:51:33 go: downloading github.com/gorilla/mux v1.8.0 22:51:33 go: downloading github.com/pelletier/go-toml v1.9.4 22:51:33 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 22:51:33 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:51:33 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 22:51:33 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 22:51:33 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:51:33 go: downloading github.com/spf13/cast v1.4.1 22:51:33 go: downloading github.com/stretchr/testify v1.7.0 22:51:33 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:51:33 go: downloading github.com/go-kit/kit v0.11.0 22:51:33 go: downloading github.com/hashicorp/consul/api v1.9.1 22:51:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:51:33 go: downloading github.com/go-playground/validator/v10 v10.9.0 22:51:33 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:51:33 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:51:33 go: downloading github.com/pebbe/zmq4 v1.2.7 22:51:33 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:51:33 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:51:33 go: downloading github.com/mitchellh/copystructure v1.0.0 22:51:33 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:51:33 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:51:33 go: downloading github.com/go-logfmt/logfmt v0.5.0 22:51:33 go: downloading github.com/davecgh/go-spew v1.1.1 22:51:33 go: downloading github.com/pmezard/go-difflib v1.0.0 22:51:33 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 22:51:33 go: downloading golang.org/x/text v0.3.6 22:51:33 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 22:51:33 go: downloading github.com/hashicorp/errwrap v1.0.0 22:51:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:51:33 go: downloading github.com/x448/float16 v0.8.4 22:51:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:51:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:51:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:51:33 go: downloading github.com/hashicorp/serf v0.9.5 22:51:33 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:51:33 go: downloading github.com/gorilla/websocket v1.4.2 22:51:33 go: downloading github.com/go-playground/universal-translator v0.18.0 22:51:33 go: downloading github.com/leodido/go-urn v1.2.1 22:51:33 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 22:51:33 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:51:33 go: downloading github.com/fatih/color v1.9.0 22:51:33 go: downloading github.com/mattn/go-colorable v0.1.6 22:51:33 go: downloading github.com/mattn/go-isatty v0.0.12 22:51:33 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 22:51:34 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:51:34 + go mod tidy 22:51:34 go: downloading github.com/go-stack/stack v1.8.0 22:51:34 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:51:34 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 22:51:34 go: downloading github.com/stretchr/objx v0.1.1 22:51:34 go: downloading github.com/hashicorp/consul/sdk v0.8.0 22:51:34 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:51:34 go: downloading github.com/onsi/ginkgo v1.10.1 22:51:34 go: downloading github.com/onsi/gomega v1.7.0 22:51:34 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:51:34 go: downloading github.com/hashicorp/memberlist v0.2.2 22:51:34 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:51:34 go: downloading github.com/pkg/errors v0.9.1 22:51:34 go: downloading github.com/kr/pretty v0.3.0 22:51:34 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:51:34 go: downloading github.com/rogpeppe/go-internal v1.8.0 22:51:34 go: downloading github.com/kr/text v0.2.0 22:51:34 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:51:34 go: downloading github.com/miekg/dns v1.1.26 22:51:34 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:51:34 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:51:34 go: downloading gopkg.in/yaml.v2 v2.3.0 22:51:34 go: downloading github.com/hpcloud/tail v1.0.0 22:51:34 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:51:34 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 22:51:34 $ docker stop --time=1 bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 22:51:37 $ docker rm -f bc380c24e31f5cb2831400356055ed2f7f2acdde9d20b447d9e7c61de41fe031 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:51:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:38 + ls -al . 22:51:38 total 184 22:51:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 22:51 . 22:51:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:50 .. 22:51:38 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:50 .dockerignore 22:51:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:50 .git 22:51:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 .github 22:51:38 -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:50 .gitignore 22:51:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:50 .semver 22:51:38 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:50 Attribution.txt 22:51:38 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:50 CHANGELOG.md 22:51:38 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:50 Dockerfile 22:51:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:50 GOVERNANCE.md 22:51:38 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:50 Jenkinsfile 22:51:38 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:50 LICENSE 22:51:38 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:50 Makefile 22:51:38 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:50 OWNERS.md 22:51:38 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:50 README.md 22:51:38 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 22:51 VERSION 22:51:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 bin 22:51:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:50 cmd 22:51:38 -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:51 coverage.out 22:51:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:50 driver 22:51:38 -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:51 go.mod 22:51:38 -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:50 go.sum 22:51:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:50 snap 22:51:38 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:50 vendor 22:51:38 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:39 + 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=674470f415deb016340950c491e0ea2a8bbe0e0c --label arch=amd64 --label version=2.1.1-dev.1 . 22:51:39 Sending build context to Docker daemon 21.64MB 22:51:39 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:51:39 Step 2/24 : FROM ${BASE} AS builder 22:51:39 ---> 7b3615d71376 22:51:39 Step 3/24 : ARG MAKE='make build' 22:51:39 ---> Running in 0b65bdeddf28 22:51:39 Removing intermediate container 0b65bdeddf28 22:51:39 ---> 70a87084a3fc 22:51:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:51:39 ---> Running in 7c8c6ad91fb3 22:51:39 Removing intermediate container 7c8c6ad91fb3 22:51:39 ---> 92e5fb35b644 22:51:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:51:39 ---> Running in 81819ee8da7c 22:51:39 Removing intermediate container 81819ee8da7c 22:51:39 ---> c441a2afe246 22:51:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:40 ---> Running in 95eefedfda0d 22:51:40 Removing intermediate container 95eefedfda0d 22:51:40 ---> b2589dc36cbf 22:51:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:40 ---> Running in 67c346fac493 22:51:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:51:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:51:42 OK: 224 MiB in 56 packages 22:51:42 Removing intermediate container 67c346fac493 22:51:42 ---> 76d28f941454 22:51:42 Step 8/24 : WORKDIR /device-rest-go 22:51:42 ---> Running in 6d0305cbaeef 22:51:42 Removing intermediate container 6d0305cbaeef 22:51:42 ---> d07d28f818c4 22:51:42 Step 9/24 : COPY . . 22:51:43 ---> 82419a86f7f8 22:51:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:43 ---> Running in f3137167ae4b 22:51:44 skipping... 22:51:44 Removing intermediate container f3137167ae4b 22:51:44 ---> b2af9efa4c30 22:51:44 Step 11/24 : RUN $MAKE 22:51:44 ---> Running in 976ade76d0e4 22:51:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.1" -o cmd/device-rest ./cmd 22:51:52 Removing intermediate container 976ade76d0e4 22:51:52 ---> 6c5006f445c7 22:51:52 Step 12/24 : FROM alpine:3.14 22:51:52 3.14: Pulling from library/alpine 22:51:52 8663204ce13b: Pulling fs layer 22:51:52 8663204ce13b: Download complete 22:51:53 8663204ce13b: Pull complete 22:51:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:51:53 Status: Downloaded newer image for alpine:3.14 22:51:53 ---> e04c818066af 22:51:53 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:51:53 ---> Running in 016963ee2028 22:51:53 Removing intermediate container 016963ee2028 22:51:53 ---> d7f59f9c818d 22:51:53 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:51:53 ---> Running in 224c58fba245 22:51:53 Removing intermediate container 224c58fba245 22:51:53 ---> 9754cdd4813e 22:51:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:51:53 ---> Running in c2df3f96198d 22:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:51:54 (1/6) Installing dumb-init (1.2.5-r1) 22:51:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:51:54 (3/6) Installing libsodium (1.0.18-r0) 22:51:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:51:54 (5/6) Installing libzmq (4.3.4-r0) 22:51:54 (6/6) Installing zeromq (4.3.4-r0) 22:51:54 Executing busybox-1.33.1-r7.trigger 22:51:54 OK: 8 MiB in 20 packages 22:51:55 Removing intermediate container c2df3f96198d 22:51:55 ---> 59af084a2c20 22:51:55 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:51:55 ---> 8af8bc12de0a 22:51:55 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:51:55 ---> 4006f28f4951 22:51:55 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:51:55 ---> 1ce6fe7fd75d 22:51:55 Step 19/24 : EXPOSE 59986 22:51:55 ---> Running in 65af5adeb655 22:51:55 Removing intermediate container 65af5adeb655 22:51:55 ---> d6f0df1f421d 22:51:55 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:51:56 ---> Running in 17e93490715d 22:51:56 Removing intermediate container 17e93490715d 22:51:56 ---> 61150b8619c9 22:51:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:51:56 ---> Running in adf580d5cb0a 22:51:56 Removing intermediate container adf580d5cb0a 22:51:56 ---> 9ac92cf23b00 22:51:56 Step 22/24 : LABEL arch=amd64 22:51:56 ---> Running in 25449886b1a8 22:51:56 Removing intermediate container 25449886b1a8 22:51:56 ---> ebf45b752713 22:51:56 Step 23/24 : LABEL git_sha=674470f415deb016340950c491e0ea2a8bbe0e0c 22:51:56 ---> Running in fe87e99303d8 22:51:56 Removing intermediate container fe87e99303d8 22:51:56 ---> 62c2d28b575b 22:51:56 Step 24/24 : LABEL version=2.1.1-dev.1 22:51:56 ---> Running in 1f35fcc737d2 22:51:56 Removing intermediate container 1f35fcc737d2 22:51:56 ---> 34bffaa0c8ae 22:51:56 [Warning] One or more build-args [ARCH] were not consumed 22:51:56 Successfully built 34bffaa0c8ae 22:51:56 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:56 provisioning config files... 22:51:56 copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config3750596296462563030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:57 ---> docker-login.sh 22:51:57 nexus3.edgexfoundry.org:10001 22:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:57 Configure a credential helper to remove this warning. See 22:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:57 22:51:57 Login Succeeded 22:51:57 nexus3.edgexfoundry.org:10002 22:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:57 Configure a credential helper to remove this warning. See 22:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:57 22:51:57 Login Succeeded 22:51:57 nexus3.edgexfoundry.org:10003 22:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:57 Configure a credential helper to remove this warning. See 22:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:57 22:51:57 Login Succeeded 22:51:57 nexus3.edgexfoundry.org:10004 22:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:57 Configure a credential helper to remove this warning. See 22:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:57 22:51:57 Login Succeeded 22:51:57 docker.io 22:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:57 Configure a credential helper to remove this warning. See 22:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:57 22:51:57 Login Succeeded 22:51:57 ---> docker-login.sh ends [Pipeline] } 22:51:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:51:58 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:51:58 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:51:58 674470f415deb016340950c491e0ea2a8bbe0e0c 22:51:58 2.1.1-dev.1 22:51:58 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:51:58 jakarta 22:51:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c 22:51:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:58 c4834198e6bb: Preparing 22:51:58 b58e9cbbdadb: Preparing 22:51:58 e22206cdc5ee: Preparing 22:51:58 d682cb01acbd: Preparing 22:51:58 b541d28bf3b4: Preparing 22:51:58 b541d28bf3b4: Layer already exists 22:51:58 b58e9cbbdadb: Pushed 22:51:58 c4834198e6bb: Pushed 22:51:58 d682cb01acbd: Pushed 22:52:00 e22206cdc5ee: Pushed 22:52:00 674470f415deb016340950c491e0ea2a8bbe0e0c: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 22:52:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:52:00 c4834198e6bb: Preparing 22:52:00 b58e9cbbdadb: Preparing 22:52:00 e22206cdc5ee: Preparing 22:52:00 d682cb01acbd: Preparing 22:52:00 b541d28bf3b4: Preparing 22:52:00 b541d28bf3b4: Layer already exists 22:52:00 b58e9cbbdadb: Layer already exists 22:52:00 c4834198e6bb: Layer already exists 22:52:00 d682cb01acbd: Layer already exists 22:52:00 e22206cdc5ee: Layer already exists 22:52:00 2.1.1-dev.1: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:52:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:52:01 c4834198e6bb: Preparing 22:52:01 b58e9cbbdadb: Preparing 22:52:01 e22206cdc5ee: Preparing 22:52:01 d682cb01acbd: Preparing 22:52:01 b541d28bf3b4: Preparing 22:52:01 b58e9cbbdadb: Layer already exists 22:52:01 e22206cdc5ee: Layer already exists 22:52:01 c4834198e6bb: Layer already exists 22:52:01 d682cb01acbd: Layer already exists 22:52:01 b541d28bf3b4: Layer already exists 22:52:01 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta 22:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:52:02 c4834198e6bb: Preparing 22:52:02 b58e9cbbdadb: Preparing 22:52:02 e22206cdc5ee: Preparing 22:52:02 d682cb01acbd: Preparing 22:52:02 b541d28bf3b4: Preparing 22:52:02 e22206cdc5ee: Layer already exists 22:52:02 b541d28bf3b4: Layer already exists 22:52:02 d682cb01acbd: Layer already exists 22:52:02 b58e9cbbdadb: Layer already exists 22:52:02 c4834198e6bb: Layer already exists 22:52:02 jakarta: digest: sha256:686ad746bb140e1a83d4673e2fe5a10c6690f80b351c80bcad5b1f9a0d9b4d24 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:52:02 ===================================================== [Pipeline] echo 22:52:02 taggedImages: 22:52:02 - nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c 22:52:02 - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.1 22:52:02 - nexus3.edgexfoundry.org:10004/device-rest:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:52:02 - 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 22:52:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:02 22:52:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:02 latest: Pulling from edgex-lftools-log-publisher 22:52:02 5eb5b503b376: Pulling fs layer 22:52:02 5c69ac0246d0: Pulling fs layer 22:52:02 ec43610c2a17: Pulling fs layer 22:52:02 3a2ae6a8a46f: Pulling fs layer 22:52:02 33b1e0a273af: Pulling fs layer 22:52:02 5d3b04190fa2: Pulling fs layer 22:52:02 2f39f015ded8: Pulling fs layer 22:52:02 33b1e0a273af: Waiting 22:52:02 5d3b04190fa2: Waiting 22:52:02 2f39f015ded8: Waiting 22:52:02 3a2ae6a8a46f: Waiting 22:52:02 5c69ac0246d0: Verifying Checksum 22:52:02 5c69ac0246d0: Download complete 22:52:02 3a2ae6a8a46f: Verifying Checksum 22:52:02 3a2ae6a8a46f: Download complete 22:52:03 33b1e0a273af: Verifying Checksum 22:52:03 33b1e0a273af: Download complete 22:52:03 5d3b04190fa2: Verifying Checksum 22:52:03 5d3b04190fa2: Download complete 22:52:03 ec43610c2a17: Verifying Checksum 22:52:03 ec43610c2a17: Download complete 22:52:03 5eb5b503b376: Verifying Checksum 22:52:03 5eb5b503b376: Download complete 22:52:03 2f39f015ded8: Download complete 22:52:04 5eb5b503b376: Pull complete 22:52:04 5c69ac0246d0: Pull complete 22:52:05 ec43610c2a17: Pull complete 22:52:05 3a2ae6a8a46f: Pull complete 22:52:05 33b1e0a273af: Pull complete 22:52:05 5d3b04190fa2: Pull complete 22:52:09 2f39f015ded8: Pull complete 22:52:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:09 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:52:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:52:13 $ docker top 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:14 ---> job-cost.sh 22:52:14 lf-activate-venv: SKIPPING 22:52:14 INFO: No Stack... 22:52:14 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:15 INFO: Archiving Costs [Pipeline] sh 22:52:15 + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv 22:52:15 + cut -d, -f6 [Pipeline] lock 22:52:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] 22:52:15 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] did not exist. Created. 22:52:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:15 + echo total: 0.2199999988079071 [Pipeline] stash 22:52:15 Stashed 1 file(s) [Pipeline] } 22:52:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:15 $ docker stop --time=1 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b 22:52:16 $ docker rm -f 81cd7bc8e8de57ba48fcd64627fa169137de312044db9cf569df06df957ecb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:52:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-598 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws 22:52:57 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 22:52:57 The recommended git tool is: git 22:53:04 using credential edgex-jenkins-ssh 22:53:04 Cloning the remote Git repository 22:53:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:53:04 > git init /w/workspace/device-rest-go/5 # timeout=10 22:53:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:53:04 > git --version # timeout=10 22:53:04 > git --version # 'git version 2.25.1' 22:53:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:53:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:53:06 Avoid second fetch 22:53:06 Checking out Revision 674470f415deb016340950c491e0ea2a8bbe0e0c (jakarta) 22:53:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:53:06 > git config core.sparsecheckout # timeout=10 22:53:06 > git checkout -f 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 22:53:11 Commit message: "Merge pull request #193 from lenny-intel/update-sdk-for-2.1.1-patch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:53:12 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:12 Dload Upload Total Spent Left Speed 22:53:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh 22:53:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:53:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 22:53:13 sudo tee /etc/docker/daemon.new 22:53:13 { 22:53:13 "registry-mirrors": [ 22:53:13 "https://nexus3.edgexfoundry.org:10001" 22:53:13 ], 22:53:13 "bip": "10.250.0.254/24", 22:53:13 "hosts": [ 22:53:13 "tcp://0.0.0.0:5555", 22:53:13 "unix:///var/run/docker.sock" 22:53:13 ], 22:53:13 "mtu": 1458, 22:53:13 "selinux-enabled": true, 22:53:13 "seccomp-profile": "/etc/docker/seccomp.json" 22:53:13 } [Pipeline] sh 22:53:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:53:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:32 provisioning config files... 22:53:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7684264464730108114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:32 ---> docker-login.sh 22:53:32 nexus3.edgexfoundry.org:10001 22:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:33 Configure a credential helper to remove this warning. See 22:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:33 22:53:33 Login Succeeded 22:53:33 nexus3.edgexfoundry.org:10002 22:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:33 Configure a credential helper to remove this warning. See 22:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:33 22:53:33 Login Succeeded 22:53:33 nexus3.edgexfoundry.org:10003 22:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:34 Configure a credential helper to remove this warning. See 22:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:34 22:53:34 Login Succeeded 22:53:34 nexus3.edgexfoundry.org:10004 22:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:35 Configure a credential helper to remove this warning. See 22:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:35 22:53:35 Login Succeeded 22:53:35 docker.io 22:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:35 Configure a credential helper to remove this warning. See 22:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:35 22:53:35 Login Succeeded 22:53:35 ---> docker-login.sh ends [Pipeline] } 22:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:53:36 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:53:36 ========================================================= 22:53:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 22:53:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:36 + 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 . 22:53:37 Sending build context to Docker daemon 11.13MB 22:53:37 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:53:37 Step 2/11 : FROM ${BASE} AS builder 22:53:37 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:53:37 9b3977197b4f: Pulling fs layer 22:53:37 1a89e8eeedd5: Pulling fs layer 22:53:37 94645a83ff95: Pulling fs layer 22:53:37 3f3a8bcf1eab: Pulling fs layer 22:53:37 0c92f367c5e7: Pulling fs layer 22:53:37 63b1bc5785f6: Pulling fs layer 22:53:37 626d30ff41c6: Pulling fs layer 22:53:37 de1d54c125be: Pulling fs layer 22:53:37 3f3a8bcf1eab: Waiting 22:53:37 63b1bc5785f6: Waiting 22:53:37 0c92f367c5e7: Waiting 22:53:37 de1d54c125be: Waiting 22:53:37 626d30ff41c6: Waiting 22:53:37 94645a83ff95: Verifying Checksum 22:53:37 94645a83ff95: Download complete 22:53:38 1a89e8eeedd5: Verifying Checksum 22:53:38 1a89e8eeedd5: Download complete 22:53:38 0c92f367c5e7: Verifying Checksum 22:53:38 0c92f367c5e7: Download complete 22:53:38 63b1bc5785f6: Download complete 22:53:38 9b3977197b4f: Download complete 22:53:38 626d30ff41c6: Verifying Checksum 22:53:38 626d30ff41c6: Download complete 22:53:38 9b3977197b4f: Pull complete 22:53:39 1a89e8eeedd5: Pull complete 22:53:39 94645a83ff95: Pull complete 22:53:40 de1d54c125be: Verifying Checksum 22:53:40 de1d54c125be: Download complete 22:53:40 3f3a8bcf1eab: Verifying Checksum 22:53:40 3f3a8bcf1eab: Download complete 22:53:53 3f3a8bcf1eab: Pull complete 22:53:53 0c92f367c5e7: Pull complete 22:53:53 63b1bc5785f6: Pull complete 22:53:53 626d30ff41c6: Pull complete 22:54:00 de1d54c125be: Pull complete 22:54:00 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 22:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 22:54:00 ---> 5f011755c4a2 22:54:00 Step 3/11 : ARG MAKE='make build' 22:54:01 ---> Running in 68d18535487c 22:54:01 Removing intermediate container 68d18535487c 22:54:01 ---> 0945f65a0100 22:54:01 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:54:01 ---> Running in 82ce94ead20e 22:54:02 Removing intermediate container 82ce94ead20e 22:54:02 ---> c6c8e93be544 22:54:02 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:54:02 ---> Running in c9fa2f427e92 22:54:02 Removing intermediate container c9fa2f427e92 22:54:02 ---> b232bc23c352 22:54:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:02 ---> Running in fc7d78e9f45e 22:54:04 Removing intermediate container fc7d78e9f45e 22:54:04 ---> a908c7464a7b 22:54:04 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:04 ---> Running in 6f7d8e3e97c5 22:54:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:54:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:54:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:54:07 (2/4) Installing libedit (20210910.3.1-r0) 22:54:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:54:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:54:07 Executing busybox-1.34.1-r3.trigger 22:54:07 OK: 224 MiB in 56 packages 22:54:08 Removing intermediate container 6f7d8e3e97c5 22:54:08 ---> 5f517976f40d 22:54:08 Step 8/11 : WORKDIR /device-rest-go 22:54:08 ---> Running in 36c71a447be6 22:54:09 Removing intermediate container 36c71a447be6 22:54:09 ---> b3524f6e4483 22:54:09 Step 9/11 : COPY . . 22:54:12 ---> 8e5dc12c7296 22:54:12 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:12 ---> Running in a41dace1fafd 22:54:13 skipping... 22:54:14 Removing intermediate container a41dace1fafd 22:54:14 ---> 942c4fa5514b 22:54:14 Step 11/11 : RUN $MAKE 22:54:14 ---> Running in 3dcfa2b7108e 22:54:15 noop 22:54:15 Removing intermediate container 3dcfa2b7108e 22:54:15 ---> 15091416802b 22:54:15 Successfully built 15091416802b 22:54:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:15 + docker inspect -f . ci-base-image-arm64 22:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:16 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 22:54:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 22:54:17 $ docker top 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:18 + go version 22:54:18 go version go1.17.6 linux/arm64 [Pipeline] } 22:54:18 $ docker stop --time=1 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc 22:54:20 $ docker rm -f 3e3c2ef4e9f6a8053a9a7766c3e2f7cc808868decf42850bc261ee6a5881b1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:20 + docker inspect -f . ci-base-image-arm64 22:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 22:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 22:54:22 $ docker top 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:54:23 + make test 22:54:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:54:24 ? github.com/edgexfoundry/device-rest-go [no test files] 22:55:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:55:14 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 56.0% of statements 22:55:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:55:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:55:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:55:36 ./bin/test-attribution-txt.sh 22:55:36 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 22:55:36 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 22:55:36 go: downloading github.com/gorilla/mux v1.8.0 22:55:36 go: downloading github.com/spf13/cast v1.4.1 22:55:36 go: downloading github.com/stretchr/testify v1.7.0 22:55:36 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:55:36 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:55:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 22:55:36 go: downloading github.com/google/uuid v1.3.0 22:55:36 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 22:55:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 22:55:36 go: downloading github.com/pelletier/go-toml v1.9.4 22:55:36 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 22:55:36 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:55:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 22:55:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 22:55:36 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:55:36 go: downloading github.com/hashicorp/consul/api v1.9.1 22:55:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:55:36 go: downloading github.com/go-kit/kit v0.11.0 22:55:36 go: downloading github.com/go-playground/validator/v10 v10.9.0 22:55:36 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:55:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:55:36 go: downloading github.com/pebbe/zmq4 v1.2.7 22:55:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:55:36 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:55:36 go: downloading github.com/mitchellh/copystructure v1.0.0 22:55:36 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:55:36 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:55:36 go: downloading github.com/go-logfmt/logfmt v0.5.0 22:55:36 go: downloading github.com/davecgh/go-spew v1.1.1 22:55:36 go: downloading github.com/pmezard/go-difflib v1.0.0 22:55:36 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 22:55:37 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 22:55:37 go: downloading golang.org/x/text v0.3.6 22:55:38 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:55:38 go: downloading github.com/hashicorp/errwrap v1.0.0 22:55:38 go: downloading github.com/x448/float16 v0.8.4 22:55:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:55:38 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:55:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:55:38 go: downloading github.com/hashicorp/serf v0.9.5 22:55:38 go: downloading github.com/go-playground/universal-translator v0.18.0 22:55:38 go: downloading github.com/leodido/go-urn v1.2.1 22:55:38 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 22:55:40 go: downloading github.com/gorilla/websocket v1.4.2 22:55:40 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:55:40 go: downloading github.com/fatih/color v1.9.0 22:55:40 go: downloading github.com/mattn/go-colorable v0.1.6 22:55:40 go: downloading github.com/mattn/go-isatty v0.0.12 22:55:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:55:40 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 22:55:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:55:46 + go mod tidy 22:55:46 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:55:46 go: downloading github.com/go-stack/stack v1.8.0 22:55:46 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 22:55:46 go: downloading github.com/stretchr/objx v0.1.1 22:55:46 go: downloading github.com/kr/pretty v0.3.0 22:55:46 go: downloading github.com/hashicorp/consul/sdk v0.8.0 22:55:46 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:55:46 go: downloading github.com/onsi/ginkgo v1.10.1 22:55:46 go: downloading github.com/onsi/gomega v1.7.0 22:55:46 go: downloading github.com/kr/text v0.2.0 22:55:46 go: downloading github.com/rogpeppe/go-internal v1.8.0 22:55:46 go: downloading github.com/pkg/errors v0.9.1 22:55:46 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:55:47 go: downloading github.com/hashicorp/memberlist v0.2.2 22:55:47 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:55:47 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:55:47 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:55:47 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:55:47 go: downloading github.com/miekg/dns v1.1.26 22:55:47 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:55:47 go: downloading gopkg.in/yaml.v2 v2.3.0 22:55:47 go: downloading github.com/hpcloud/tail v1.0.0 22:55:47 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:55:47 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 22:55:47 $ docker stop --time=1 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 22:55:49 $ docker rm -f 6e94bbb0e9c9961b8cde5b51b70daeff1a7ad6cc2f805de474a63a8f8d278ab2 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:55:52 Warning: overwriting stash ‘coverage-report’ 22:55:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:55:53 + ls -al . 22:55:53 total 180 22:55:53 drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 22:55 . 22:55:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:53 .. 22:55:53 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:53 .dockerignore 22:55:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:53 .git 22:55:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 .github 22:55:53 -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:53 .gitignore 22:55:53 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:53 Attribution.txt 22:55:53 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:53 CHANGELOG.md 22:55:53 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:53 Dockerfile 22:55:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:53 GOVERNANCE.md 22:55:53 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:53 Jenkinsfile 22:55:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:53 LICENSE 22:55:53 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:53 Makefile 22:55:53 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:53 OWNERS.md 22:55:53 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:53 README.md 22:55:53 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 22:51 VERSION 22:55:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 bin 22:55:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:53 cmd 22:55:53 -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:55 coverage.out 22:55:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:53 driver 22:55:53 -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:55 go.mod 22:55:53 -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:53 go.sum 22:55:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:53 snap 22:55:53 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:53 vendor 22:55:53 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:54 + 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=674470f415deb016340950c491e0ea2a8bbe0e0c --label arch=arm64 --label version=2.1.1-dev.1 . 22:55:55 Sending build context to Docker daemon 11.14MB 22:55:55 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:55:55 Step 2/24 : FROM ${BASE} AS builder 22:55:55 ---> 15091416802b 22:55:55 Step 3/24 : ARG MAKE='make build' 22:55:55 ---> Running in f96cc6196978 22:55:55 Removing intermediate container f96cc6196978 22:55:55 ---> 982ef6c57adc 22:55:55 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:55:55 ---> Running in 7d61553162a2 22:55:56 Removing intermediate container 7d61553162a2 22:55:56 ---> 62c127974ce8 22:55:56 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:55:56 ---> Running in e2b693293e5f 22:55:56 Removing intermediate container e2b693293e5f 22:55:56 ---> 9d024bc549ef 22:55:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:55:56 ---> Running in dd74f3107174 22:55:58 Removing intermediate container dd74f3107174 22:55:58 ---> 3ef1259f836a 22:55:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:55:58 ---> Running in 6678991d893a 22:55:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:56:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:56:01 OK: 224 MiB in 56 packages 22:56:02 Removing intermediate container 6678991d893a 22:56:02 ---> 779e1d3fe823 22:56:02 Step 8/24 : WORKDIR /device-rest-go 22:56:02 ---> Running in 79dec97f91bf 22:56:02 Removing intermediate container 79dec97f91bf 22:56:02 ---> 29d7e4ff72d7 22:56:02 Step 9/24 : COPY . . 22:56:06 ---> 52d3759adf09 22:56:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:06 ---> Running in 4cdb28eb5bd8 22:56:07 skipping... 22:56:08 Removing intermediate container 4cdb28eb5bd8 22:56:08 ---> 53294951de25 22:56:08 Step 11/24 : RUN $MAKE 22:56:08 ---> Running in 62867f8fb617 22:56:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.1" -o cmd/device-rest ./cmd 22:56:56 Removing intermediate container 62867f8fb617 22:56:56 ---> 1d2b9310880c 22:56:56 Step 12/24 : FROM alpine:3.14 22:56:56 3.14: Pulling from library/alpine 22:56:56 455c02918c45: Pulling fs layer 22:56:56 455c02918c45: Download complete 22:56:56 455c02918c45: Pull complete 22:56:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:56:56 Status: Downloaded newer image for alpine:3.14 22:56:56 ---> ac73e934f311 22:56:56 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:56:56 ---> Running in 750d5a57fe71 22:56:56 Removing intermediate container 750d5a57fe71 22:56:56 ---> d5720670cada 22:56:56 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:56:56 ---> Running in fe3031e6731a 22:56:56 Removing intermediate container fe3031e6731a 22:56:56 ---> f8af8edc9611 22:56:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:56:56 ---> Running in c6309ba32809 22:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:56:56 (1/6) Installing dumb-init (1.2.5-r1) 22:56:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:56:56 (3/6) Installing libsodium (1.0.18-r0) 22:56:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:56:56 (5/6) Installing libzmq (4.3.4-r0) 22:56:56 (6/6) Installing zeromq (4.3.4-r0) 22:56:56 Executing busybox-1.33.1-r7.trigger 22:56:56 OK: 8 MiB in 20 packages 22:56:57 Removing intermediate container c6309ba32809 22:56:57 ---> cb33322bf421 22:56:57 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:56:58 ---> dbbd523599a1 22:56:58 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:56:58 ---> 1dd47ba18595 22:56:58 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:56:59 ---> ffb0f83f3f7c 22:56:59 Step 19/24 : EXPOSE 59986 22:56:59 ---> Running in 0ed3dc23116c 22:56:59 Removing intermediate container 0ed3dc23116c 22:56:59 ---> 3445cbbc609b 22:56:59 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:56:59 ---> Running in 4fcd325ef274 22:57:00 Removing intermediate container 4fcd325ef274 22:57:00 ---> 5a64cb1a2971 22:57:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:57:00 ---> Running in e6669fcda3c5 22:57:00 Removing intermediate container e6669fcda3c5 22:57:00 ---> 64eedc8134f8 22:57:00 Step 22/24 : LABEL arch=arm64 22:57:00 ---> Running in a601c4b4cd64 22:57:00 Removing intermediate container a601c4b4cd64 22:57:00 ---> a7a877cdee1a 22:57:00 Step 23/24 : LABEL git_sha=674470f415deb016340950c491e0ea2a8bbe0e0c 22:57:01 ---> Running in 2e4127e02c15 22:57:01 Removing intermediate container 2e4127e02c15 22:57:01 ---> 62ea53203f5a 22:57:01 Step 24/24 : LABEL version=2.1.1-dev.1 22:57:01 ---> Running in 82a73faa47e8 22:57:01 Removing intermediate container 82a73faa47e8 22:57:01 ---> 94b8fee75a24 22:57:01 [Warning] One or more build-args [ARCH] were not consumed 22:57:02 Successfully built 94b8fee75a24 22:57: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 22:57:02 provisioning config files... 22:57:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config7769794803047205710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:02 ---> docker-login.sh 22:57:02 nexus3.edgexfoundry.org:10001 22:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:02 Configure a credential helper to remove this warning. See 22:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:02 22:57:02 Login Succeeded 22:57:02 nexus3.edgexfoundry.org:10002 22:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:03 Configure a credential helper to remove this warning. See 22:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:03 22:57:03 Login Succeeded 22:57:03 nexus3.edgexfoundry.org:10003 22:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:03 Configure a credential helper to remove this warning. See 22:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:03 22:57:03 Login Succeeded 22:57:03 nexus3.edgexfoundry.org:10004 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 docker.io 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:05 Configure a credential helper to remove this warning. See 22:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:05 22:57:05 Login Succeeded 22:57:05 ---> docker-login.sh ends [Pipeline] } 22:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:05 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:05 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:57:05 674470f415deb016340950c491e0ea2a8bbe0e0c 22:57:05 2.1.1-dev.1 22:57:05 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:57:05 jakarta 22:57:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c 22:57:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:57:05 88a43e0760e9: Preparing 22:57:05 563e02bd1706: Preparing 22:57:05 9937028aafcf: Preparing 22:57:05 ccd962080790: Preparing 22:57:05 f73e7dbfee58: Preparing 22:57:06 f73e7dbfee58: Layer already exists 22:57:06 563e02bd1706: Pushed 22:57:06 88a43e0760e9: Pushed 22:57:06 ccd962080790: Pushed 22:57:08 9937028aafcf: Pushed 22:57:09 674470f415deb016340950c491e0ea2a8bbe0e0c: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 22:57:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:57:09 88a43e0760e9: Preparing 22:57:09 563e02bd1706: Preparing 22:57:09 9937028aafcf: Preparing 22:57:09 ccd962080790: Preparing 22:57:09 f73e7dbfee58: Preparing 22:57:09 9937028aafcf: Layer already exists 22:57:09 f73e7dbfee58: Layer already exists 22:57:09 88a43e0760e9: Layer already exists 22:57:09 563e02bd1706: Layer already exists 22:57:09 ccd962080790: Layer already exists 22:57:10 2.1.1-dev.1: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:57:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:57:10 88a43e0760e9: Preparing 22:57:10 563e02bd1706: Preparing 22:57:10 9937028aafcf: Preparing 22:57:10 ccd962080790: Preparing 22:57:10 f73e7dbfee58: Preparing 22:57:10 9937028aafcf: Layer already exists 22:57:10 88a43e0760e9: Layer already exists 22:57:10 f73e7dbfee58: Layer already exists 22:57:10 563e02bd1706: Layer already exists 22:57:10 ccd962080790: Layer already exists 22:57:11 674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta 22:57:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:57:11 88a43e0760e9: Preparing 22:57:11 563e02bd1706: Preparing 22:57:11 9937028aafcf: Preparing 22:57:11 ccd962080790: Preparing 22:57:11 f73e7dbfee58: Preparing 22:57:11 f73e7dbfee58: Layer already exists 22:57:11 ccd962080790: Layer already exists 22:57:11 88a43e0760e9: Layer already exists 22:57:11 9937028aafcf: Layer already exists 22:57:11 563e02bd1706: Layer already exists 22:57:12 jakarta: digest: sha256:5d0c499342ad41d76b18f257ae4709deb5c54ce0a3a974dc2f2142672d5cc831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:12 ===================================================== [Pipeline] echo 22:57:12 taggedImages: 22:57:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c 22:57:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.1 22:57:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:674470f415deb016340950c491e0ea2a8bbe0e0c-2.1.1-dev.1 22:57:12 - 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 22:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:12 22:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:13 arm64: Pulling from edgex-lftools-log-publisher 22:57:13 8998bd30e6a1: Pulling fs layer 22:57:13 04944245beec: Pulling fs layer 22:57:13 699f458cf7ca: Pulling fs layer 22:57:13 765212b225bb: Pulling fs layer 22:57:13 f23df028b6ca: Pulling fs layer 22:57:13 d65c8cfc05b1: Pulling fs layer 22:57:13 2437ff75d9bd: Pulling fs layer 22:57:13 765212b225bb: Waiting 22:57:13 f23df028b6ca: Waiting 22:57:13 d65c8cfc05b1: Waiting 22:57:13 2437ff75d9bd: Waiting 22:57:13 04944245beec: Verifying Checksum 22:57:13 04944245beec: Download complete 22:57:13 765212b225bb: Verifying Checksum 22:57:13 765212b225bb: Download complete 22:57:13 f23df028b6ca: Verifying Checksum 22:57:13 f23df028b6ca: Download complete 22:57:13 d65c8cfc05b1: Verifying Checksum 22:57:13 d65c8cfc05b1: Download complete 22:57:13 699f458cf7ca: Verifying Checksum 22:57:13 699f458cf7ca: Download complete 22:57:13 8998bd30e6a1: Download complete 22:57:16 2437ff75d9bd: Verifying Checksum 22:57:16 2437ff75d9bd: Download complete 22:57:18 8998bd30e6a1: Pull complete 22:57:18 04944245beec: Pull complete 22:57:20 699f458cf7ca: Pull complete 22:57:20 765212b225bb: Pull complete 22:57:21 f23df028b6ca: Pull complete 22:57:21 d65c8cfc05b1: Pull complete 22:57:36 2437ff75d9bd: Pull complete 22:57:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:36 prd-ubuntu20.04-docker-arm64-4c-16g-598 does not seem to be running inside a container 22:57: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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 22:57:39 $ docker top c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:40 ---> job-cost.sh 22:57:40 lf-activate-venv: SKIPPING 22:57:40 INFO: No Stack... 22:57:41 INFO: Retrieving Pricing Info for: v3-standard-4 22:57:41 INFO: Archiving Costs [Pipeline] sh 22:57:42 + + cut -d, -f6 22:57:42 cat /w/workspace/device-rest-go/5/archives/cost.csv [Pipeline] lock 22:57:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] 22:57:42 Resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] did not exist. Created. 22:57:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:43 /w/workspace/device-rest-go/5@tmp/durable-e507aebb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:57:44 + echo total: 0.10999999940395355 [Pipeline] stash 22:57:44 Warning: overwriting stash ‘stack-cost’ 22:57:44 Stashed 1 file(s) [Pipeline] } 22:57:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:57:44 $ docker stop --time=1 c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 22:57:45 $ docker rm -f c249d5f0b59a08c78c403f523ee4a75a078179f622f6f3454a0166572b4d67e7 [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 22:57:46 provisioning config files... 22:57:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8300820118634732758tmp [Pipeline] { [Pipeline] sh 22:57:46 + set +x 22:57:46 + curl -s https://codecov.io/bash 22:57:46 + bash -s -- 22:57:46 22:57:46 _____ _ 22:57:46 / ____| | | 22:57:46 | | ___ __| | ___ ___ _____ __ 22:57:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:57:46 | |___| (_) | (_| | __/ (_| (_) \ V / 22:57:46 \_____\___/ \__,_|\___|\___\___/ \_/ 22:57:46 Bash-1.0.6 22:57:46 22:57:46 22:57:46 ==> git version 2.25.1 found 22:57:46 ==> 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 22:57:46 Release-Date: 2020-01-08 22:57:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:57:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:57:46 ==> Jenkins CI detected. 22:57:46 current dir:  /w/workspace/exfoundry_device-rest-go_jakarta 22:57:46 project root: . 22:57:46 --> token set from env 22:57:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:57:46 ==> Running gcov in . (disable via -X gcov) 22:57:46 ==> Python coveragepy not found 22:57:46 ==> Searching for coverage reports in: 22:57:46 + . 22:57:46 -> Found 1 reports 22:57:46 ==> Detecting git/mercurial file structure 22:57:46 ==> Reading reports 22:57:46 + ./coverage.out bytes=9215 22:57:46 ==> Appending adjustments 22:57:46 https://docs.codecov.io/docs/fixing-reports 22:57:47 + Found adjustments 22:57:47 ==> Gzipping contents 22:57:47 12K /tmp/codecov.J0vgvO.gz 22:57:47 ==> Uploading reports 22:57:47 url: https://codecov.io 22:57:47 query: branch=jakarta&commit=674470f415deb016340950c491e0ea2a8bbe0e0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:57:47 -> Pinging Codecov 22:57: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=674470f415deb016340950c491e0ea2a8bbe0e0c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:57:47 -> Uploading to 22:57:47 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/674470f415deb016340950c491e0ea2a8bbe0e0c/2a0bb593-1014-4c61-abef-cda5ae1410d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T225747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39d68444ef8eb8ec4834ba69fc7356d12e02762f2367ab1835fe8f057a251898 22:57:47 % Total % Received % Xferd Average Speed Time Time Time Current 22:57:47 Dload Upload Total Spent Left Speed 22:57:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 36340 --:--:-- --:--:-- --:--:-- 36340 22:57:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] } 22:57:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:57:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:57:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:57:48 22:57:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:57:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:57:48 df9b9388f04a: Pulling fs layer 22:57:48 52dc419b0ee2: Pulling fs layer 22:57:48 25bc292e5bac: Pulling fs layer 22:57:48 114826534d7a: Pulling fs layer 22:57:48 4657fd5d0bcf: Pulling fs layer 22:57:48 6ad1cebc031e: Pulling fs layer 22:57:48 8a3aa393b2d8: Pulling fs layer 22:57:48 6ad1cebc031e: Waiting 22:57:48 4657fd5d0bcf: Waiting 22:57:48 8a3aa393b2d8: Waiting 22:57:48 114826534d7a: Waiting 22:57:48 25bc292e5bac: Download complete 22:57:48 52dc419b0ee2: Download complete 22:57:48 4657fd5d0bcf: Verifying Checksum 22:57:48 4657fd5d0bcf: Download complete 22:57:48 df9b9388f04a: Verifying Checksum 22:57:48 df9b9388f04a: Download complete 22:57:48 6ad1cebc031e: Verifying Checksum 22:57:48 6ad1cebc031e: Download complete 22:57:48 df9b9388f04a: Pull complete 22:57:48 52dc419b0ee2: Pull complete 22:57:48 25bc292e5bac: Pull complete 22:57:49 114826534d7a: Verifying Checksum 22:57:49 114826534d7a: Download complete 22:57:49 8a3aa393b2d8: Verifying Checksum 22:57:49 8a3aa393b2d8: Download complete 22:57:53 114826534d7a: Pull complete 22:57:53 4657fd5d0bcf: Pull complete 22:57:53 6ad1cebc031e: Pull complete 22:57:55 8a3aa393b2d8: Pull complete 22:57:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:57:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:55 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:57:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:57:57 $ docker top 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 -eo pid,comm [Pipeline] { [Pipeline] echo 22:57:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:57:58 + set -o pipefail 22:57:58 + snyk monitor '--org=edgex-jenkins' 22:58:01 22:58:01 Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... 22:58:01 22:58:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/392382e9-ad4c-495b-b71c-a2813bdbe74f 22:58:01 22:58:01 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:58:01 22:58:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:58:01 22:58:01 [Pipeline] } 22:58:01 $ docker stop --time=1 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 22:58:02 $ docker rm -f 80810cb004de19e3debe16bdda9ae5909dba68de816ca6add5bab748982320f6 [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 22:58:03 + git log --format=format:%s -1 674470f415deb016340950c491e0ea2a8bbe0e0c [Pipeline] sh 22:58:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:58:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:58:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:03 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:58:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:58:04 $ docker top a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:58:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:04 [ssh-agent] Looking for ssh-agent implementation... 22:58:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:04 $ docker exec a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a ssh-agent 22:58:04 SSH_AUTH_SOCK=/tmp/ssh-YdjmMZMGMnL7/agent.33 22:58:04 SSH_AGENT_PID=39 22:58:04 Running ssh-add (command line suppressed) 22:58:04 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_4306554161603650133.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_4306554161603650133.key) 22:58:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:05 + git semver tag 22:58:05 2022-06-01 22:58:05,355 [run_tag] DEBUG tag force:False 22:58:05 2022-06-01 22:58:05,355 [check_head_tag] DEBUG check head tag 22:58:05 2022-06-01 22:58:05,356 [execute] INFO git cat-file --batch-check 22:58:05 2022-06-01 22:58:05,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 22:58:05 2022-06-01 22:58:05,360 [execute] INFO git cat-file --batch 22:58:05 2022-06-01 22:58:05,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) 22:58:05 2022-06-01 22:58:05,367 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:05 2022-06-01 22:58:05,367 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 22:58:05 2022-06-01 22:58:05,368 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) 22:58:05 2022-06-01 22:58:05,372 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:05 2.1.1-dev.1 [Pipeline] } 22:58:05 $ docker exec --env ******** --env ******** a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a ssh-agent -k 22:58:05 unset SSH_AUTH_SOCK; 22:58:05 unset SSH_AGENT_PID; 22:58:05 echo Agent pid 39 killed; 22:58:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:58:05 + git semver [Pipeline] } 22:58:06 $ docker stop --time=1 a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a 22:58:07 $ docker rm -f a57ffd17d96b289a6596fdf50b8e4d6cd37eb48613a30961606dfbdc2bf0db0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:58:07 22:58:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:58:08 0.23.1-centos7: Pulling from edgex-lftools 22:58:08 ab5ef0e58194: Pulling fs layer 22:58:08 9712f1f96733: Pulling fs layer 22:58:08 63f879dbbcfc: Pulling fs layer 22:58:08 0d9ebad4ef96: Pulling fs layer 22:58:08 e9a5061849ea: Pulling fs layer 22:58:08 d747dcd14b5f: Pulling fs layer 22:58:08 2de7ff778b66: Pulling fs layer 22:58:08 0d9ebad4ef96: Waiting 22:58:08 e9a5061849ea: Waiting 22:58:08 d747dcd14b5f: Waiting 22:58:08 2de7ff778b66: Waiting 22:58:08 9712f1f96733: Download complete 22:58:08 63f879dbbcfc: Verifying Checksum 22:58:08 63f879dbbcfc: Download complete 22:58:08 e9a5061849ea: Verifying Checksum 22:58:08 e9a5061849ea: Download complete 22:58:08 d747dcd14b5f: Verifying Checksum 22:58:08 d747dcd14b5f: Download complete 22:58:08 ab5ef0e58194: Verifying Checksum 22:58:08 ab5ef0e58194: Download complete 22:58:08 0d9ebad4ef96: Verifying Checksum 22:58:08 0d9ebad4ef96: Download complete 22:58:08 2de7ff778b66: Verifying Checksum 22:58:08 2de7ff778b66: Download complete 22:58:11 ab5ef0e58194: Pull complete 22:58:11 9712f1f96733: Pull complete 22:58:12 63f879dbbcfc: Pull complete 22:58:16 0d9ebad4ef96: Pull complete 22:58:16 e9a5061849ea: Pull complete 22:58:16 d747dcd14b5f: Pull complete 22:58:17 2de7ff778b66: Pull complete 22:58:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:58:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:17 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:58: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:58:20 $ docker top 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:58:20 provisioning config files... 22:58:20 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2048259118303600214tmp 22:58:20 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config1752589427981612875tmp 22:58:20 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8515108668492978047tmp [Pipeline] { [Pipeline] echo 22:58:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:58:20 ---> sigul-configuration.sh 22:58:20 gpg: directory `/root/.gnupg' created 22:58:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:58:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:58:20 gpg: keyring `/root/.gnupg/secring.gpg' created 22:58:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:58:20 gpg: CAST5 encrypted data 22:58:20 gpg: encrypted with 1 passphrase 22:58:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:58:20 + mkdir /home/jenkins 22:58:20 + mkdir /home/jenkins/sigul [Pipeline] sh 22:58:21 + 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 22:58:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:58:21 ---> sigul-install.sh 22:58:21 Sigul already installed; skipping installation. [Pipeline] sh 22:58:21 + git tag --list 22:58:21 v1.0.0 22:58:21 v1.1.0 22:58:21 v1.1.1 22:58:21 v1.1.2 22:58:21 v1.2.0 22:58:21 v1.2.1 22:58:21 v2.0.0 22:58:21 v2.1.0 22:58:21 v2.1.1-dev.1 22:58:21 v2.2.0 22:58:21 v2.2.1-dev.1 22:58:21 v2.2.1-dev.2 [Pipeline] sh 22:58:21 + lftools sign git-tag v2.1.1-dev.1 22:58:22 Signing Git tag with Sigul... 22:58:22 Signing v2.1.1-dev.1 [Pipeline] echo 22:58:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:58:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:58:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:58:23 $ docker stop --time=1 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 22:58:24 $ docker rm -f 8955a316e5f20f8f18ab13d96464e51329fc6614d0c0ee7064c7b7ee82944d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:58:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:58:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:58:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:25 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:58:25 $ docker top 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:58:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:26 [ssh-agent] Looking for ssh-agent implementation... 22:58:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:26 $ docker exec 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a ssh-agent 22:58:26 SSH_AUTH_SOCK=/tmp/ssh-z1q3qaVRjSRP/agent.32 22:58:26 SSH_AGENT_PID=38 22:58:26 Running ssh-add (command line suppressed) 22:58:26 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7496972318167337326.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_7496972318167337326.key) 22:58:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:26 + git semver bump pre 22:58:27 2022-06-01 22:58:27,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:27 2022-06-01 22:58:27,010 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev 22:58:27 2022-06-01 22:58:27,010 [bump_version] DEBUG bumped version:2.1.1-dev.2 22:58:27 2022-06-01 22:58:27,010 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True 22:58:27 2022-06-01 22:58:27,010 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:27 2022-06-01 22:58:27,010 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:27 2022-06-01 22:58:27,012 [execute] INFO git cat-file --batch-check 22:58:27 2022-06-01 22:58:27,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 22:58:27 2022-06-01 22:58:27,019 [execute] INFO git cat-file --batch 22:58:27 2022-06-01 22:58:27,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 22:58:27 2022-06-01 22:58:27,025 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:27 2.1.1-dev.2 [Pipeline] } 22:58:27 $ docker exec --env ******** --env ******** 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a ssh-agent -k 22:58:27 unset SSH_AUTH_SOCK; 22:58:27 unset SSH_AGENT_PID; 22:58:27 echo Agent pid 38 killed; 22:58:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:58:27 + git semver [Pipeline] } 22:58:27 $ docker stop --time=1 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a 22:58:29 $ docker rm -f 842796a32140dab8afd0ae711436867577ae68052456d96a884e2afcea521f7a [Pipeline] // withDockerContainer [Pipeline] sh 22:58:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:58:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:30 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:58:30 $ docker top 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 -eo pid,comm 22:58:30 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). 22:58:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:58:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:30 [ssh-agent] Looking for ssh-agent implementation... 22:58:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:30 $ docker exec 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 ssh-agent 22:58:30 SSH_AUTH_SOCK=/tmp/ssh-GeQlGZpEWx3g/agent.33 22:58:30 SSH_AGENT_PID=40 22:58:30 Running ssh-add (command line suppressed) 22:58:31 Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8133537403735664277.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_8133537403735664277.key) 22:58:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:31 + git semver push 22:58:31 2022-06-01 22:58:31,502 [run_push] DEBUG push 22:58:31 2022-06-01 22:58:31,502 [execute] INFO git push origin semver 22:58:31 2022-06-01 22:58:31,503 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 22:58:32 2022-06-01 22:58:32,141 [run_push] DEBUG push all version tags 22:58:32 2022-06-01 22:58:32,142 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:58:32 2022-06-01 22:58:32,142 [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) 22:58:33 2022-06-01 22:58:32,802 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta 22:58:33 2.1.1-dev.2 [Pipeline] } 22:58:33 $ docker exec --env ******** --env ******** 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 ssh-agent -k 22:58:33 unset SSH_AUTH_SOCK; 22:58:33 unset SSH_AGENT_PID; 22:58:33 echo Agent pid 40 killed; 22:58:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:58:33 + git semver [Pipeline] } 22:58:33 $ docker stop --time=1 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 22:58:35 $ docker rm -f 51fdb3b28dc4c403c04646efc3a294a7de06d628e548e7d25849fee3bcd7af55 [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 22:58:36 + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] 22:58:36 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 22:58:36 total 16 22:58:36 drwxr-xr-x 3 root root 4096 Jun 1 22:52 . 22:58:36 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:58 .. 22:58:36 drwxr-xr-x 2 root root 4096 Jun 1 22:52 cost 22:58:36 -rw-r--r-- 1 root root 86 Jun 1 22:52 cost.csv 22:58:36 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives 22:58:36 + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives 22:58:36 total 16 22:58:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:52 . 22:58:36 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:58 .. 22:58:36 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 22:52 cost 22:58:36 -rw-r--r-- 1 jenkins jenkins 86 Jun 1 22:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:58:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:58:37 ---> package-listing.sh 22:58:37 ++ facter osfamily 22:58:37 ++ tr '[:upper:]' '[:lower:]' 22:58:37 + OS_FAMILY=debian 22:58:37 + workspace=/w/workspace/exfoundry_device-rest-go_jakarta 22:58:37 + START_PACKAGES=/tmp/packages_start.txt 22:58:37 + END_PACKAGES=/tmp/packages_end.txt 22:58:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:58:37 + PACKAGES=/tmp/packages_start.txt 22:58:37 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 22:58:37 + PACKAGES=/tmp/packages_end.txt 22:58:37 + case "${OS_FAMILY}" in 22:58:37 + dpkg -l 22:58:37 + grep '^ii' 22:58:37 + '[' -f /tmp/packages_start.txt ']' 22:58:37 + '[' -f /tmp/packages_end.txt ']' 22:58:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:58:37 + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' 22:58:37 + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ 22:58:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo 22:58:37 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 22:58:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:38 prd-ubuntu20.04-docker-8c-8g-596 does not seem to be running inside a container 22:58:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:58:38 $ docker top 1e4be7a79e9d4d5ef175cb55d1914fd440a3a14946396063c832dcc0de7aeeaf -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:39 + touch /tmp/pre-build-complete [Pipeline] sh 22:58:39 + mkdir -p /var/log/sysstat [Pipeline] sh 22:58:39 + ls /var/log/sa-host 22:58:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:39 provisioning config files... 22:58:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8522943094399227230tmp [Pipeline] { [Pipeline] echo 22:58:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:58:40 ---> create-netrc.sh [Pipeline] } 22:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:58:40 ---> python-tools-install.sh [Pipeline] echo 22:58:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:58:40 ---> sudo-logs.sh 22:58:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:58:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:58:40 ---> job-cost.sh 22:58:40 lf-activate-venv: SKIPPING 22:58:40 DEBUG: total: 0.2199999988079071 22:58:40 INFO: Retrieving Stack Cost... 22:58:41 INFO: Retrieving Pricing Info for: v3-standard-8 22:58:41 INFO: Archiving Costs [Pipeline] echo 22:58:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:58:42 ---> logs-deploy.sh 22:58:42 lf-activate-venv: SKIPPING 22:58:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/5 22:58:42 INFO: archiving workspace using pattern(s): 22:58:43 Archives upload complete. 22:58:43 INFO: archiving logs to Nexus