Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 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-ssh10991276869872564315.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-ssh16164626943913084751.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2452065108114887968.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3488387200803745538.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-ssh13789814894932238411.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9130179538627577342.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 Running on prd-ubuntu20.04-docker-8c-8g-491 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 Commit message: "Merge pull request #191 from vli11/SPIFFE_dependency" > git rev-list --no-walk 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:44 ========================================================= 17:29:44 EdgeX Global Pipelines Version Info 17:29:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:45 ------------------- 17:29:45 stable info: 17:29:45 ------------------- 17:29:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:45 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 17:29:45 Message: update stable to v1.0.230 17:29:46 ------------------- 17:29:46 experimental info: 17:29:46 ------------------- 17:29:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:46 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 17:29:46 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92c0cb4 [Pipeline] echo 17:29:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:46 provisioning config files... 17:29:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3675452830994061724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:46 ---> docker-login.sh 17:29:46 nexus3.edgexfoundry.org:10001 17:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:47 Configure a credential helper to remove this warning. See 17:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:47 17:29:47 Login Succeeded 17:29:47 nexus3.edgexfoundry.org:10002 17:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:47 Configure a credential helper to remove this warning. See 17:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:47 17:29:47 Login Succeeded 17:29:47 nexus3.edgexfoundry.org:10003 17:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:47 Configure a credential helper to remove this warning. See 17:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:47 17:29:47 Login Succeeded 17:29:47 nexus3.edgexfoundry.org:10004 17:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:47 Configure a credential helper to remove this warning. See 17:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:47 17:29:47 Login Succeeded 17:29:47 docker.io 17:29:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:48 Configure a credential helper to remove this warning. See 17:29:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:48 17:29:48 Login Succeeded 17:29:48 ---> docker-login.sh ends [Pipeline] } 17:29:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:48 + git rev-list -1 --merges 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f~1..92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] echo 17:29:48 -----------> git rev-list -1 --merges 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f~1..92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:29:48 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [false] [Pipeline] sh 17:29:49 + git log --format=format:%s -1 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] echo 17:29:49 ========================================================= 17:29:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:49 + git log --format=format:%s -1 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] echo 17:29:49 [semverPrep] GIT_COMMIT: 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f, Commit Message: Merge pull request #191 from vli11/SPIFFE_dependency [Pipeline] echo 17:29:49 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:49 + grep -v github /etc/ssh/ssh_known_hosts 17:29:49 + [ -e /tmp/ssh_known_hosts ] 17:29:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:49 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:50 17:29:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:50 latest: Pulling from edgex-devops/py-git-semver 17:29:50 1fe172e4850f: Pulling fs layer 17:29:50 caf521ccaac6: Pulling fs layer 17:29:50 3ead6fa29328: Pulling fs layer 17:29:50 5c2a1cbceb83: Pulling fs layer 17:29:50 a8d5f1318db7: Pulling fs layer 17:29:50 c427282e49a2: Pulling fs layer 17:29:50 1827001aaf11: Pulling fs layer 17:29:50 0714d37db230: Pulling fs layer 17:29:50 ac28cf19c067: Pulling fs layer 17:29:50 ca983d60f3e2: Pulling fs layer 17:29:50 9f894cec8388: Pulling fs layer 17:29:50 1827001aaf11: Waiting 17:29:50 0714d37db230: Waiting 17:29:50 ac28cf19c067: Waiting 17:29:50 ca983d60f3e2: Waiting 17:29:50 9f894cec8388: Waiting 17:29:50 5c2a1cbceb83: Waiting 17:29:50 c427282e49a2: Waiting 17:29:50 caf521ccaac6: Download complete 17:29:50 5c2a1cbceb83: Verifying Checksum 17:29:50 5c2a1cbceb83: Download complete 17:29:50 a8d5f1318db7: Verifying Checksum 17:29:50 a8d5f1318db7: Download complete 17:29:50 3ead6fa29328: Verifying Checksum 17:29:50 3ead6fa29328: Download complete 17:29:50 c427282e49a2: Verifying Checksum 17:29:50 c427282e49a2: Download complete 17:29:50 0714d37db230: Verifying Checksum 17:29:50 0714d37db230: Download complete 17:29:50 ac28cf19c067: Download complete 17:29:50 ca983d60f3e2: Download complete 17:29:50 9f894cec8388: Download complete 17:29:50 1fe172e4850f: Download complete 17:29:50 1827001aaf11: Verifying Checksum 17:29:50 1827001aaf11: Download complete 17:29:52 1fe172e4850f: Pull complete 17:29:52 caf521ccaac6: Pull complete 17:29:53 3ead6fa29328: Pull complete 17:29:53 5c2a1cbceb83: Pull complete 17:29:53 a8d5f1318db7: Pull complete 17:29:53 c427282e49a2: Pull complete 17:29:56 1827001aaf11: Pull complete 17:29:56 0714d37db230: Pull complete 17:29:56 ac28cf19c067: Pull complete 17:29:56 ca983d60f3e2: Pull complete 17:29:56 9f894cec8388: Pull complete 17:29:56 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:56 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:29:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:29:58 $ docker top 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 -eo pid,comm 17:29:58 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). 17:29:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:58 [ssh-agent] Looking for ssh-agent implementation... 17:29:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:58 $ docker exec 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 ssh-agent 17:29:58 SSH_AUTH_SOCK=/tmp/ssh-tDO2jWP4QRqB/agent.33 17:29:58 SSH_AGENT_PID=39 17:29:58 Running ssh-add (command line suppressed) 17:29:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9156420387464964360.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9156420387464964360.key) 17:29:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:58 + git tag --points-at HEAD [Pipeline] } 17:29:58 $ docker exec --env ******** --env ******** 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 ssh-agent -k 17:29:59 unset SSH_AUTH_SOCK; 17:29:59 unset SSH_AGENT_PID; 17:29:59 echo Agent pid 39 killed; 17:29:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:59 [ssh-agent] Looking for ssh-agent implementation... 17:29:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:59 $ docker exec 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 ssh-agent 17:29:59 SSH_AUTH_SOCK=/tmp/ssh-qpIdqaHH8C6s/agent.74 17:29:59 SSH_AGENT_PID=80 17:29:59 Running ssh-add (command line suppressed) 17:29:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2504766819034681427.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2504766819034681427.key) 17:29:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:59 + git semver init 17:30:00 2022-05-31 17:30:00,033 [run_init] DEBUG init version:0.0.0 force:False 17:30:00 2022-05-31 17:30:00,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 17:30:00 2022-05-31 17:30:00,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 17:30:00 2022-05-31 17:30:00,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:30:01 2022-05-31 17:30:00,887 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 17:30:01 2022-05-31 17:30:00,888 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 17:30:01 2022-05-31 17:30:00,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:30:01 2022-05-31 17:30:00,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:30:01 2.2.1-dev.1 [Pipeline] } 17:30:01 $ docker exec --env ******** --env ******** 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 ssh-agent -k 17:30:01 unset SSH_AUTH_SOCK; 17:30:01 unset SSH_AGENT_PID; 17:30:01 echo Agent pid 80 killed; 17:30:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:30:01 + git semver [Pipeline] } 17:30:01 $ docker stop --time=1 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 17:30:03 $ docker rm -f 69d2bc1d26a983bf8b08c1ab225d125704fcb2b6674f5b0f9cefe487c5e7b0c0 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:30:03 Stashed 1 file(s) [Pipeline] echo 17:30:03 [edgeXSemver]: initialized semver on version 2.2.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 17:30:03 provisioning config files... 17:30:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7610738535991040435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:04 ---> docker-login.sh 17:30:04 nexus3.edgexfoundry.org:10001 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 nexus3.edgexfoundry.org:10002 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 nexus3.edgexfoundry.org:10003 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 nexus3.edgexfoundry.org:10004 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 docker.io 17:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:04 Configure a credential helper to remove this warning. See 17:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:04 17:30:04 Login Succeeded 17:30:04 ---> docker-login.sh ends [Pipeline] } 17:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:30:05 ========================================================= 17:30:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:30:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:30:05 Sending build context to Docker daemon 10.61MB 17:30:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:30:05 Step 2/12 : FROM ${BASE} AS builder 17:30:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:30:05 59bf1c3509f3: Pulling fs layer 17:30:05 666ba61612fd: Pulling fs layer 17:30:05 8ed8ca486205: Pulling fs layer 17:30:05 4fe6c5a15a65: Pulling fs layer 17:30:05 22a0e8bec74d: Pulling fs layer 17:30:05 ca2b28591e48: Pulling fs layer 17:30:05 a51346096db8: Pulling fs layer 17:30:05 daebc70d1ce1: Pulling fs layer 17:30:05 0e18a0eac166: Pulling fs layer 17:30:05 22a0e8bec74d: Waiting 17:30:05 ca2b28591e48: Waiting 17:30:05 4fe6c5a15a65: Waiting 17:30:05 a51346096db8: Waiting 17:30:05 0e18a0eac166: Waiting 17:30:05 daebc70d1ce1: Waiting 17:30:05 8ed8ca486205: Download complete 17:30:05 666ba61612fd: Download complete 17:30:05 22a0e8bec74d: Verifying Checksum 17:30:05 22a0e8bec74d: Download complete 17:30:05 ca2b28591e48: Verifying Checksum 17:30:05 ca2b28591e48: Download complete 17:30:05 a51346096db8: Verifying Checksum 17:30:05 a51346096db8: Download complete 17:30:05 59bf1c3509f3: Verifying Checksum 17:30:05 59bf1c3509f3: Download complete 17:30:05 daebc70d1ce1: Verifying Checksum 17:30:05 59bf1c3509f3: Pull complete 17:30:05 666ba61612fd: Pull complete 17:30:05 8ed8ca486205: Pull complete 17:30:06 0e18a0eac166: Verifying Checksum 17:30:06 0e18a0eac166: Download complete 17:30:06 4fe6c5a15a65: Download complete 17:30:10 4fe6c5a15a65: Pull complete 17:30:10 22a0e8bec74d: Pull complete 17:30:10 ca2b28591e48: Pull complete 17:30:10 a51346096db8: Pull complete 17:30:10 daebc70d1ce1: Pull complete 17:30:12 0e18a0eac166: Pull complete 17:30:12 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:30:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:30:12 ---> f018257e8ee9 17:30:12 Step 3/12 : ARG MAKE='make build' 17:30:15 ---> Running in 0ff9e4431610 17:30:15 Removing intermediate container 0ff9e4431610 17:30:15 ---> ad5f4160be7c 17:30:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:30:15 ---> Running in 0fcc5cbb4927 17:30:15 Removing intermediate container 0fcc5cbb4927 17:30:15 ---> 8012e93adf9f 17:30:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:30:15 ---> Running in 009815fb736e 17:30:15 Removing intermediate container 009815fb736e 17:30:15 ---> 015402341205 17:30:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:15 ---> Running in 4d8a55c309bb 17:30:15 Removing intermediate container 4d8a55c309bb 17:30:15 ---> 4733303b7d4b 17:30:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:15 ---> Running in a11deb784a86 17:30:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:30:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:30:17 (2/4) Installing libedit (20210910.3.1-r0) 17:30:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:30:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:30:17 Executing busybox-1.34.1-r3.trigger 17:30:17 OK: 224 MiB in 56 packages 17:30:18 Removing intermediate container a11deb784a86 17:30:18 ---> f88cd8ec9749 17:30:18 Step 8/12 : WORKDIR /device-rest-go 17:30:18 ---> Running in aab768014f7c 17:30:18 Removing intermediate container aab768014f7c 17:30:18 ---> bc7b088ff707 17:30:18 Step 9/12 : COPY go.mod vendor* ./ 17:30:18 ---> 4542e71fd372 17:30:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:18 ---> Running in 714eb1a1a6da 17:30:18 Still waiting to schedule task 17:30:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:30:33 Removing intermediate container 714eb1a1a6da 17:30:33 ---> f63119fbc9b0 17:30:33 Step 11/12 : COPY . . 17:30:33 ---> baf97d1e3da2 17:30:33 Step 12/12 : RUN $MAKE 17:30:33 ---> Running in 8136f2cc5e4c 17:30:33 noop 17:30:33 Removing intermediate container 8136f2cc5e4c 17:30:33 ---> 1f73b6c45239 17:30:33 Successfully built 1f73b6c45239 17:30:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:34 + docker inspect -f . ci-base-image-x86_64 17:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:34 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:30:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:34 $ docker top f8954d7563d079b442574bcd5aa9f8515e5271ca6842259f51ae0475cd6dd632 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:35 + go version 17:30:35 go version go1.17.6 linux/amd64 [Pipeline] } 17:30:35 $ docker stop --time=1 f8954d7563d079b442574bcd5aa9f8515e5271ca6842259f51ae0475cd6dd632 17:30:36 $ docker rm -f f8954d7563d079b442574bcd5aa9f8515e5271ca6842259f51ae0475cd6dd632 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:37 + docker inspect -f . ci-base-image-x86_64 17:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:37 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:37 $ docker top cdba2c96bb83bfe8047777b5c34fb203294734ebc21419af0296322fbca5e61d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:30:38 + make test 17:30:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:30:38 ? github.com/edgexfoundry/device-rest-go [no test files] 17:30:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:30:48 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements 17:30:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:59 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:59 $ docker stop --time=1 cdba2c96bb83bfe8047777b5c34fb203294734ebc21419af0296322fbca5e61d 17:31:01 $ docker rm -f cdba2c96bb83bfe8047777b5c34fb203294734ebc21419af0296322fbca5e61d [Pipeline] // withDockerContainer [Pipeline] sh 17:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:02 + ls -al . 17:31:02 total 172 17:31:02 drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:30 . 17:31:02 drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:29 .. 17:31:02 -rw-rw-r-- 1 jenkins jenkins 151 May 31 17:29 .dockerignore 17:31:02 drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:30 .git 17:31:02 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:29 .github 17:31:02 -rw-rw-r-- 1 jenkins jenkins 329 May 31 17:29 .gitignore 17:31:02 -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:29 .golangci.yml 17:31:02 drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:30 .semver 17:31:02 -rw-rw-r-- 1 jenkins jenkins 8596 May 31 17:29 Attribution.txt 17:31:02 -rw-rw-r-- 1 jenkins jenkins 11736 May 31 17:29 CHANGELOG.md 17:31:02 -rw-rw-r-- 1 jenkins jenkins 1672 May 31 17:29 Dockerfile 17:31:02 -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:29 GOVERNANCE.md 17:31:02 -rw-rw-r-- 1 jenkins jenkins 680 May 31 17:29 Jenkinsfile 17:31:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:29 LICENSE 17:31:02 -rw-rw-r-- 1 jenkins jenkins 1977 May 31 17:29 Makefile 17:31:02 -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:29 OWNERS.md 17:31:02 -rw-rw-r-- 1 jenkins jenkins 8003 May 31 17:29 README.md 17:31:02 -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:30 VERSION 17:31:02 drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:29 bin 17:31:02 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:29 cmd 17:31:02 -rw-r--r-- 1 jenkins jenkins 9355 May 31 17:30 coverage.out 17:31:02 drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:29 driver 17:31:02 -rw-rw-r-- 1 jenkins jenkins 3287 May 31 17:29 go.mod 17:31:02 -rw-rw-r-- 1 jenkins jenkins 34802 May 31 17:29 go.sum 17:31:02 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:29 snap 17:31:02 -rw-rw-r-- 1 jenkins jenkins 713 May 31 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:03 + 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=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f --label arch=amd64 --label version=2.2.1-dev.1 . 17:31:03 Sending build context to Docker daemon 10.62MB 17:31:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:31:03 Step 2/25 : FROM ${BASE} AS builder 17:31:03 ---> 1f73b6c45239 17:31:03 Step 3/25 : ARG MAKE='make build' 17:31:03 ---> Running in ffdd0ecedb27 17:31:03 Removing intermediate container ffdd0ecedb27 17:31:03 ---> 3b91fffe4996 17:31:03 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:31:03 ---> Running in 4d48ad4e8646 17:31:03 Removing intermediate container 4d48ad4e8646 17:31:03 ---> f01be4c2e1e4 17:31:03 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:31:03 ---> Running in 78b65daa180c 17:31:03 Removing intermediate container 78b65daa180c 17:31:03 ---> 569f4991c8e5 17:31:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:03 ---> Running in 56a9ed7140b1 17:31:04 Removing intermediate container 56a9ed7140b1 17:31:04 ---> 3f89b550d70d 17:31:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:04 ---> Running in ba9a6ed1f356 17:31:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:31:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:31:06 OK: 224 MiB in 56 packages 17:31:06 Removing intermediate container ba9a6ed1f356 17:31:06 ---> fa9c369cb18d 17:31:06 Step 8/25 : WORKDIR /device-rest-go 17:31:06 ---> Running in 35cbb547ac85 17:31:06 Removing intermediate container 35cbb547ac85 17:31:06 ---> 05f72039b618 17:31:06 Step 9/25 : COPY go.mod vendor* ./ 17:31:06 ---> f3b3404a4dc4 17:31:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:06 ---> Running in db43981d9237 17:31:07 Removing intermediate container db43981d9237 17:31:07 ---> 76256c58012b 17:31:07 Step 11/25 : COPY . . 17:31:07 ---> c92455f2d7d3 17:31:07 Step 12/25 : RUN $MAKE 17:31:07 ---> Running in 31fa99bf2128 17:31:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 17:31:29 Removing intermediate container 31fa99bf2128 17:31:29 ---> 724ad9f885e4 17:31:29 Step 13/25 : FROM alpine:3.14 17:31:29 3.14: Pulling from library/alpine 17:31:29 8663204ce13b: Pulling fs layer 17:31:29 8663204ce13b: Download complete 17:31:29 8663204ce13b: Pull complete 17:31:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:31:29 Status: Downloaded newer image for alpine:3.14 17:31:29 ---> e04c818066af 17:31:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:31:29 ---> Running in fd0651814dd1 17:31:29 Removing intermediate container fd0651814dd1 17:31:29 ---> 6d4dc66b5e76 17:31:29 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:31:29 ---> Running in 28ebe43c7cc0 17:31:29 Removing intermediate container 28ebe43c7cc0 17:31:29 ---> 6b49ba76b01f 17:31:29 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:31:29 ---> Running in 3fa41cbd810c 17:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:31:29 (1/6) Installing dumb-init (1.2.5-r1) 17:31:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:31:29 (3/6) Installing libsodium (1.0.18-r0) 17:31:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:31:29 (5/6) Installing libzmq (4.3.4-r0) 17:31:29 (6/6) Installing zeromq (4.3.4-r0) 17:31:29 Executing busybox-1.33.1-r7.trigger 17:31:29 OK: 8 MiB in 20 packages 17:31:29 Removing intermediate container 3fa41cbd810c 17:31:29 ---> fff54cd86c50 17:31:29 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:31:29 ---> 22a2ed552015 17:31:29 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:31:29 ---> 29f5deed170b 17:31:29 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:31:30 ---> e6dddc78df27 17:31:30 Step 20/25 : EXPOSE 59986 17:31:30 ---> Running in 902c1690efc2 17:31:30 Removing intermediate container 902c1690efc2 17:31:30 ---> 26b815c393f9 17:31:30 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:31:30 ---> Running in 0cebb5350742 17:31:30 Removing intermediate container 0cebb5350742 17:31:30 ---> d5b943758795 17:31:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:31:30 ---> Running in 359507d128ea 17:31:30 Removing intermediate container 359507d128ea 17:31:30 ---> ff3ff0ffe706 17:31:30 Step 23/25 : LABEL arch=amd64 17:31:30 ---> Running in 1ecfd97225f2 17:31:30 Removing intermediate container 1ecfd97225f2 17:31:30 ---> 0acaa20026fa 17:31:30 Step 24/25 : LABEL git_sha=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:31:30 ---> Running in 4118dd581d18 17:31:30 Removing intermediate container 4118dd581d18 17:31:30 ---> a5a5cdcae3ea 17:31:30 Step 25/25 : LABEL version=2.2.1-dev.1 17:31:30 ---> Running in ffcfdd87883b 17:31:30 Removing intermediate container ffcfdd87883b 17:31:30 ---> b10940e7beae 17:31:30 [Warning] One or more build-args [ARCH] were not consumed 17:31:30 Successfully built b10940e7beae 17:31:30 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:31 provisioning config files... 17:31:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4618866837803064046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:31 ---> docker-login.sh 17:31:31 nexus3.edgexfoundry.org:10001 17:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:31 Configure a credential helper to remove this warning. See 17:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:31 17:31:31 Login Succeeded 17:31:31 nexus3.edgexfoundry.org:10002 17:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:31 Configure a credential helper to remove this warning. See 17:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:31 17:31:31 Login Succeeded 17:31:31 nexus3.edgexfoundry.org:10003 17:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:31 Configure a credential helper to remove this warning. See 17:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:31 17:31:31 Login Succeeded 17:31:31 nexus3.edgexfoundry.org:10004 17:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:31 Configure a credential helper to remove this warning. See 17:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:31 17:31:31 Login Succeeded 17:31:31 docker.io 17:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:32 Configure a credential helper to remove this warning. See 17:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:32 17:31:32 Login Succeeded 17:31:32 ---> docker-login.sh ends [Pipeline] } 17:31:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:32 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 17:31:32 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:31:32 latest 17:31:32 2.2.1-dev.1 17:31:32 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:31:32 main 17:31:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:31:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:31:32 9d2786fcf86d: Preparing 17:31:32 6f144579a145: Preparing 17:31:32 bcbf02618b72: Preparing 17:31:32 c474c751b209: Preparing 17:31:32 b541d28bf3b4: Preparing 17:31:32 b541d28bf3b4: Layer already exists 17:31:32 9d2786fcf86d: Pushed 17:31:32 6f144579a145: Pushed 17:31:33 c474c751b209: Pushed 17:31:35 bcbf02618b72: Pushed 17:31:35 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f: digest: sha256:91882d59af4dafd2cad62c2f45ce1e25bc9a75dab99c4bd12af7c30557a2d519 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 17:31:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:31:36 9d2786fcf86d: Preparing 17:31:36 6f144579a145: Preparing 17:31:36 bcbf02618b72: Preparing 17:31:36 c474c751b209: Preparing 17:31:36 b541d28bf3b4: Preparing 17:31:36 c474c751b209: Layer already exists 17:31:36 9d2786fcf86d: Layer already exists 17:31:36 6f144579a145: Layer already exists 17:31:36 bcbf02618b72: Layer already exists 17:31:36 b541d28bf3b4: Layer already exists 17:31:36 latest: digest: sha256:91882d59af4dafd2cad62c2f45ce1e25bc9a75dab99c4bd12af7c30557a2d519 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.1 17:31:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:31:36 9d2786fcf86d: Preparing 17:31:36 6f144579a145: Preparing 17:31:36 bcbf02618b72: Preparing 17:31:36 c474c751b209: Preparing 17:31:36 b541d28bf3b4: Preparing 17:31:36 9d2786fcf86d: Layer already exists 17:31:36 c474c751b209: Layer already exists 17:31:36 6f144579a145: Layer already exists 17:31:36 bcbf02618b72: Layer already exists 17:31:36 b541d28bf3b4: Layer already exists 17:31:36 2.2.1-dev.1: digest: sha256:91882d59af4dafd2cad62c2f45ce1e25bc9a75dab99c4bd12af7c30557a2d519 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:31:37 9d2786fcf86d: Preparing 17:31:37 6f144579a145: Preparing 17:31:37 bcbf02618b72: Preparing 17:31:37 c474c751b209: Preparing 17:31:37 b541d28bf3b4: Preparing 17:31:37 9d2786fcf86d: Layer already exists 17:31:37 c474c751b209: Layer already exists 17:31:37 bcbf02618b72: Layer already exists 17:31:37 b541d28bf3b4: Layer already exists 17:31:37 6f144579a145: Layer already exists 17:31:37 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1: digest: sha256:91882d59af4dafd2cad62c2f45ce1e25bc9a75dab99c4bd12af7c30557a2d519 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 17:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:31:38 9d2786fcf86d: Preparing 17:31:38 6f144579a145: Preparing 17:31:38 bcbf02618b72: Preparing 17:31:38 c474c751b209: Preparing 17:31:38 b541d28bf3b4: Preparing 17:31:38 6f144579a145: Layer already exists 17:31:38 bcbf02618b72: Layer already exists 17:31:38 b541d28bf3b4: Layer already exists 17:31:38 9d2786fcf86d: Layer already exists 17:31:38 c474c751b209: Layer already exists 17:31:38 main: digest: sha256:91882d59af4dafd2cad62c2f45ce1e25bc9a75dab99c4bd12af7c30557a2d519 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:38 ===================================================== [Pipeline] echo 17:31:38 taggedImages: 17:31:38 - nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:31:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 17:31:38 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.1 17:31:38 - nexus3.edgexfoundry.org:10004/device-rest:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:31:38 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:38 17:31:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:38 latest: Pulling from edgex-lftools-log-publisher 17:31:38 5eb5b503b376: Pulling fs layer 17:31:38 5c69ac0246d0: Pulling fs layer 17:31:38 ec43610c2a17: Pulling fs layer 17:31:38 3a2ae6a8a46f: Pulling fs layer 17:31:38 33b1e0a273af: Pulling fs layer 17:31:38 5d3b04190fa2: Pulling fs layer 17:31:38 2f39f015ded8: Pulling fs layer 17:31:38 3a2ae6a8a46f: Waiting 17:31:38 33b1e0a273af: Waiting 17:31:38 5d3b04190fa2: Waiting 17:31:38 2f39f015ded8: Waiting 17:31:38 5c69ac0246d0: Download complete 17:31:38 3a2ae6a8a46f: Download complete 17:31:39 33b1e0a273af: Verifying Checksum 17:31:39 33b1e0a273af: Download complete 17:31:39 5d3b04190fa2: Download complete 17:31:39 ec43610c2a17: Verifying Checksum 17:31:39 ec43610c2a17: Download complete 17:31:39 5eb5b503b376: Verifying Checksum 17:31:39 5eb5b503b376: Download complete 17:31:39 2f39f015ded8: Download complete 17:31:40 5eb5b503b376: Pull complete 17:31:40 5c69ac0246d0: Pull complete 17:31:40 ec43610c2a17: Pull complete 17:31:41 3a2ae6a8a46f: Pull complete 17:31:41 33b1e0a273af: Pull complete 17:31:41 5d3b04190fa2: Pull complete 17:31:45 2f39f015ded8: Pull complete 17:31:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:45 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:31:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:47 $ docker top 46871ba3239816c17107d53dc7d85b1c1c29a2f160750e47517f26ecb3257283 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:47 ---> job-cost.sh 17:31:47 lf-activate-venv: SKIPPING 17:31:47 INFO: No Stack... 17:31:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:48 INFO: Archiving Costs [Pipeline] sh 17:31:48 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 17:31:48 cut -d, -f6 [Pipeline] lock 17:31:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] 17:31:48 Resource [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] did not exist. Created. 17:31:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:49 + echo total: 0.2199999988079071 [Pipeline] stash 17:31:49 Stashed 1 file(s) [Pipeline] } 17:31:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:49 $ docker stop --time=1 46871ba3239816c17107d53dc7d85b1c1c29a2f160750e47517f26ecb3257283 17:31:50 $ docker rm -f 46871ba3239816c17107d53dc7d85b1c1c29a2f160750e47517f26ecb3257283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:31:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-492 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 17:31:54 Running in /w/workspace/device-rest-go/42 [Pipeline] { [Pipeline] checkout 17:31:54 The recommended git tool is: git 17:31:59 using credential edgex-jenkins-ssh 17:31:59 Cloning the remote Git repository 17:31:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:31:59 > git init /w/workspace/device-rest-go/42 # timeout=10 17:31:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:31:59 > git --version # timeout=10 17:32:00 > git --version # 'git version 2.25.1' 17:32:00 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:01 Avoid second fetch 17:32:01 Checking out Revision 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f (main) 17:32:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:32:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:01 > git config core.sparsecheckout # timeout=10 17:32:01 > git checkout -f 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 17:32:06 Commit message: "Merge pull request #191 from vli11/SPIFFE_dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:06 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:06 Dload Upload Total Spent Left Speed 17:32:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48623 0 --:--:-- --:--:-- --:--:-- 48623 [Pipeline] sh 17:32:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:07 + sudo tee /etc/docker/daemon.new 17:32:07 { 17:32:07 "registry-mirrors": [ 17:32:07 "https://nexus3.edgexfoundry.org:10001" 17:32:07 ], 17:32:07 "bip": "10.250.0.254/24", 17:32:07 "hosts": [ 17:32:07 "tcp://0.0.0.0:5555", 17:32:07 "unix:///var/run/docker.sock" 17:32:07 ], 17:32:07 "mtu": 1458, 17:32:07 "selinux-enabled": true, 17:32:07 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:07 } [Pipeline] sh 17:32:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:27 provisioning config files... 17:32:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/42@tmp/config5069245656612063527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:27 ---> docker-login.sh 17:32:27 nexus3.edgexfoundry.org:10001 17:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:28 Configure a credential helper to remove this warning. See 17:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:28 17:32:28 Login Succeeded 17:32:28 nexus3.edgexfoundry.org:10002 17:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:28 Configure a credential helper to remove this warning. See 17:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:28 17:32:28 Login Succeeded 17:32:28 nexus3.edgexfoundry.org:10003 17:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:29 Configure a credential helper to remove this warning. See 17:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:29 17:32:29 Login Succeeded 17:32:29 nexus3.edgexfoundry.org:10004 17:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:29 Configure a credential helper to remove this warning. See 17:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:29 17:32:29 Login Succeeded 17:32:29 docker.io 17:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:30 Configure a credential helper to remove this warning. See 17:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:30 17:32:30 Login Succeeded 17:32:30 ---> docker-login.sh ends [Pipeline] } 17:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:31 ========================================================= 17:32:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:32:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:32:31 Sending build context to Docker daemon 128.5kB 17:32:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:32:31 Step 2/12 : FROM ${BASE} AS builder 17:32:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:32 9b3977197b4f: Pulling fs layer 17:32:32 1a89e8eeedd5: Pulling fs layer 17:32:32 94645a83ff95: Pulling fs layer 17:32:32 3f3a8bcf1eab: Pulling fs layer 17:32:32 0c92f367c5e7: Pulling fs layer 17:32:32 3096ccb668a1: Pulling fs layer 17:32:32 e8cf19c19ddd: Pulling fs layer 17:32:32 a4caa8a26152: Pulling fs layer 17:32:32 3f3a8bcf1eab: Waiting 17:32:32 0c92f367c5e7: Waiting 17:32:32 3096ccb668a1: Waiting 17:32:32 e8cf19c19ddd: Waiting 17:32:32 a4caa8a26152: Waiting 17:32:32 94645a83ff95: Verifying Checksum 17:32:32 94645a83ff95: Download complete 17:32:32 1a89e8eeedd5: Verifying Checksum 17:32:32 1a89e8eeedd5: Download complete 17:32:32 0c92f367c5e7: Verifying Checksum 17:32:32 0c92f367c5e7: Download complete 17:32:32 9b3977197b4f: Verifying Checksum 17:32:32 9b3977197b4f: Download complete 17:32:32 3096ccb668a1: Verifying Checksum 17:32:32 3096ccb668a1: Download complete 17:32:32 e8cf19c19ddd: Verifying Checksum 17:32:32 e8cf19c19ddd: Download complete 17:32:33 9b3977197b4f: Pull complete 17:32:33 1a89e8eeedd5: Pull complete 17:32:33 94645a83ff95: Pull complete 17:32:34 a4caa8a26152: Verifying Checksum 17:32:34 a4caa8a26152: Download complete 17:32:35 3f3a8bcf1eab: Verifying Checksum 17:32:35 3f3a8bcf1eab: Download complete 17:32:47 3f3a8bcf1eab: Pull complete 17:32:47 0c92f367c5e7: Pull complete 17:32:47 3096ccb668a1: Pull complete 17:32:47 e8cf19c19ddd: Pull complete 17:32:54 a4caa8a26152: Pull complete 17:32:54 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:32:54 ---> 725f1c02e7f9 17:32:54 Step 3/12 : ARG MAKE='make build' 17:32:56 ---> Running in f12777ba73f6 17:32:56 Removing intermediate container f12777ba73f6 17:32:56 ---> fc805fb3107e 17:32:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:32:56 ---> Running in eb155d35c3e3 17:32:56 Removing intermediate container eb155d35c3e3 17:32:56 ---> a37cb3531eb4 17:32:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:32:56 ---> Running in d6f9800abc23 17:32:57 Removing intermediate container d6f9800abc23 17:32:57 ---> b6101eea2131 17:32:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:57 ---> Running in d30f862d199c 17:32:59 Removing intermediate container d30f862d199c 17:32:59 ---> 9be4c18fa69e 17:32:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:59 ---> Running in 0d556612c1eb 17:32:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:33:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:33:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:33:01 (2/4) Installing libedit (20210910.3.1-r0) 17:33:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:33:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:33:02 Executing busybox-1.34.1-r3.trigger 17:33:02 OK: 224 MiB in 56 packages 17:33:03 Removing intermediate container 0d556612c1eb 17:33:03 ---> a5eb68e12716 17:33:03 Step 8/12 : WORKDIR /device-rest-go 17:33:03 ---> Running in 4d4f33e21451 17:33:03 Removing intermediate container 4d4f33e21451 17:33:03 ---> e6e1b423671d 17:33:03 Step 9/12 : COPY go.mod vendor* ./ 17:33:03 ---> 41dd1e90cb24 17:33:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:04 ---> Running in 84cd6b642132 17:33:51 Removing intermediate container 84cd6b642132 17:33:51 ---> fab9604f5b6a 17:33:51 Step 11/12 : COPY . . 17:33:51 ---> 281983b7ac15 17:33:51 Step 12/12 : RUN $MAKE 17:33:51 ---> Running in eb373b8123e4 17:33:51 noop 17:33:51 Removing intermediate container eb373b8123e4 17:33:51 ---> 86bb958b2420 17:33:51 Successfully built 86bb958b2420 17:33:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:51 + docker inspect -f . ci-base-image-arm64 17:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:51 prd-ubuntu20.04-docker-arm64-4c-16g-492 does not seem to be running inside a container 17:33:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/42 -v /w/workspace/device-rest-go/42:/w/workspace/device-rest-go/42:rw,z -v /w/workspace/device-rest-go/42@tmp:/w/workspace/device-rest-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:53 $ docker top 053108ac5578af4e326a7493c11bc0bd490ac4b4a3dbedfdfd869bbec0664bf3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:54 + go version 17:33:54 go version go1.17.6 linux/arm64 [Pipeline] } 17:33:54 $ docker stop --time=1 053108ac5578af4e326a7493c11bc0bd490ac4b4a3dbedfdfd869bbec0664bf3 17:33:55 $ docker rm -f 053108ac5578af4e326a7493c11bc0bd490ac4b4a3dbedfdfd869bbec0664bf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:56 + docker inspect -f . ci-base-image-arm64 17:33:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:56 prd-ubuntu20.04-docker-arm64-4c-16g-492 does not seem to be running inside a container 17:33:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/42 -v /w/workspace/device-rest-go/42:/w/workspace/device-rest-go/42:rw,z -v /w/workspace/device-rest-go/42@tmp:/w/workspace/device-rest-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:58 $ docker top 65579a4e4aed70a28e259f697b9c63db183718c5f24a5d973f127acd81cf024a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:33:59 + make test 17:33:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:34:01 ? github.com/edgexfoundry/device-rest-go [no test files] 17:35:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:35:38 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 17:35:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:35:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:35:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:56 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:59 $ docker stop --time=1 65579a4e4aed70a28e259f697b9c63db183718c5f24a5d973f127acd81cf024a 17:36:00 $ docker rm -f 65579a4e4aed70a28e259f697b9c63db183718c5f24a5d973f127acd81cf024a [Pipeline] // withDockerContainer [Pipeline] sh 17:36:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:36:01 Warning: overwriting stash ‘coverage-report’ 17:36:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:03 + ls -al . 17:36:03 total 168 17:36:03 drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:35 . 17:36:03 drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:32 .. 17:36:03 -rw-rw-r-- 1 jenkins jenkins 151 May 31 17:32 .dockerignore 17:36:03 drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:32 .git 17:36:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:32 .github 17:36:03 -rw-rw-r-- 1 jenkins jenkins 329 May 31 17:32 .gitignore 17:36:03 -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:32 .golangci.yml 17:36:03 -rw-rw-r-- 1 jenkins jenkins 8596 May 31 17:32 Attribution.txt 17:36:03 -rw-rw-r-- 1 jenkins jenkins 11736 May 31 17:32 CHANGELOG.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 1672 May 31 17:32 Dockerfile 17:36:03 -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:32 GOVERNANCE.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 680 May 31 17:32 Jenkinsfile 17:36:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:32 LICENSE 17:36:03 -rw-rw-r-- 1 jenkins jenkins 1977 May 31 17:32 Makefile 17:36:03 -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:32 OWNERS.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 8003 May 31 17:32 README.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:30 VERSION 17:36:03 drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:32 bin 17:36:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:32 cmd 17:36:03 -rw-r--r-- 1 jenkins jenkins 9355 May 31 17:35 coverage.out 17:36:03 drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:32 driver 17:36:03 -rw-rw-r-- 1 jenkins jenkins 3287 May 31 17:32 go.mod 17:36:03 -rw-rw-r-- 1 jenkins jenkins 34802 May 31 17:32 go.sum 17:36:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:32 snap 17:36:03 -rw-rw-r-- 1 jenkins jenkins 713 May 31 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:03 + 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=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f --label arch=arm64 --label version=2.2.1-dev.1 . 17:36:03 Sending build context to Docker daemon 138.8kB 17:36:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:36:03 Step 2/25 : FROM ${BASE} AS builder 17:36:03 ---> 86bb958b2420 17:36:03 Step 3/25 : ARG MAKE='make build' 17:36:03 ---> Running in d0c2d820cbaf 17:36:04 Removing intermediate container d0c2d820cbaf 17:36:04 ---> 1c0714e60258 17:36:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:36:04 ---> Running in adcf0648d469 17:36:04 Removing intermediate container adcf0648d469 17:36:04 ---> 82c06bc509ba 17:36:04 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:36:04 ---> Running in ab45f818082c 17:36:05 Removing intermediate container ab45f818082c 17:36:05 ---> e61744131b04 17:36:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:05 ---> Running in c7909d74f734 17:36:07 Removing intermediate container c7909d74f734 17:36:07 ---> e4e03f9c96b3 17:36:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:07 ---> Running in 8fdbb00ba30a 17:36:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:36:09 OK: 224 MiB in 56 packages 17:36:10 Removing intermediate container 8fdbb00ba30a 17:36:10 ---> 323fe9247894 17:36:10 Step 8/25 : WORKDIR /device-rest-go 17:36:10 ---> Running in 6d939196049e 17:36:11 Removing intermediate container 6d939196049e 17:36:11 ---> b1c6ed7ee6ab 17:36:11 Step 9/25 : COPY go.mod vendor* ./ 17:36:11 ---> 453e1f0565d0 17:36:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:11 ---> Running in d568679b1b56 17:36:13 Removing intermediate container d568679b1b56 17:36:13 ---> 8b34c0de5c28 17:36:13 Step 11/25 : COPY . . 17:36:14 ---> 3f1292f5cbab 17:36:14 Step 12/25 : RUN $MAKE 17:36:14 ---> Running in 85f6439180de 17:36:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 17:38:37 Removing intermediate container 85f6439180de 17:38:37 ---> 8c038b06d856 17:38:37 Step 13/25 : FROM alpine:3.14 17:38:37 3.14: Pulling from library/alpine 17:38:37 455c02918c45: Pulling fs layer 17:38:37 455c02918c45: Verifying Checksum 17:38:37 455c02918c45: Download complete 17:38:37 455c02918c45: Pull complete 17:38:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:38:37 Status: Downloaded newer image for alpine:3.14 17:38:37 ---> ac73e934f311 17:38:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:38:37 ---> Running in 0733166257c9 17:38:37 Removing intermediate container 0733166257c9 17:38:37 ---> 056ed8da1bd7 17:38:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:38:37 ---> Running in 109371aa2242 17:38:37 Removing intermediate container 109371aa2242 17:38:37 ---> 14c4ef439a51 17:38:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:38:37 ---> Running in 075ffcf40d92 17:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:38:37 (1/6) Installing dumb-init (1.2.5-r1) 17:38:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:38:37 (3/6) Installing libsodium (1.0.18-r0) 17:38:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:38:37 (5/6) Installing libzmq (4.3.4-r0) 17:38:37 (6/6) Installing zeromq (4.3.4-r0) 17:38:37 Executing busybox-1.33.1-r7.trigger 17:38:37 OK: 8 MiB in 20 packages 17:38:37 Removing intermediate container 075ffcf40d92 17:38:37 ---> 4e91f6e63a3d 17:38:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:38:37 ---> b0092407ebf5 17:38:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:38:37 ---> 011a7aaa8b74 17:38:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:38:37 ---> 2ed70c589036 17:38:37 Step 20/25 : EXPOSE 59986 17:38:37 ---> Running in 3248d51cba81 17:38:37 Removing intermediate container 3248d51cba81 17:38:37 ---> f861aeb991de 17:38:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:38:37 ---> Running in b768283356dc 17:38:37 Removing intermediate container b768283356dc 17:38:37 ---> eb3396b295bf 17:38:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:38:37 ---> Running in d43058c4dafb 17:38:37 Removing intermediate container d43058c4dafb 17:38:37 ---> 4c7730effa97 17:38:37 Step 23/25 : LABEL arch=arm64 17:38:37 ---> Running in e0a6d7c57b91 17:38:37 Removing intermediate container e0a6d7c57b91 17:38:37 ---> 33da0f8dfbb4 17:38:37 Step 24/25 : LABEL git_sha=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:38:37 ---> Running in 659637f8ab3c 17:38:37 Removing intermediate container 659637f8ab3c 17:38:37 ---> b3c487ff851e 17:38:37 Step 25/25 : LABEL version=2.2.1-dev.1 17:38:37 ---> Running in 9ef94d0812bb 17:38:38 Removing intermediate container 9ef94d0812bb 17:38:38 ---> 9c7b08aaf8fd 17:38:38 [Warning] One or more build-args [ARCH] were not consumed 17:38:38 Successfully built 9c7b08aaf8fd 17:38:38 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:38 provisioning config files... 17:38:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/42@tmp/config313000239083493906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:38 ---> docker-login.sh 17:38:38 nexus3.edgexfoundry.org:10001 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 nexus3.edgexfoundry.org:10002 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 nexus3.edgexfoundry.org:10003 17:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:40 Configure a credential helper to remove this warning. See 17:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:40 17:38:40 Login Succeeded 17:38:40 nexus3.edgexfoundry.org:10004 17:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:40 Configure a credential helper to remove this warning. See 17:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:40 17:38:40 Login Succeeded 17:38:40 docker.io 17:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:41 Configure a credential helper to remove this warning. See 17:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:41 17:38:41 Login Succeeded 17:38:41 ---> docker-login.sh ends [Pipeline] } 17:38:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 17:38:41 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:38:41 latest 17:38:41 2.2.1-dev.1 17:38:41 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:38:41 main 17:38:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:38:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:38:42 00a71de42a05: Preparing 17:38:42 0d6cdb174b93: Preparing 17:38:42 37b91bdc4321: Preparing 17:38:42 40bf8a5ba14c: Preparing 17:38:42 f73e7dbfee58: Preparing 17:38:42 f73e7dbfee58: Layer already exists 17:38:42 00a71de42a05: Pushed 17:38:42 0d6cdb174b93: Pushed 17:38:43 40bf8a5ba14c: Pushed 17:38:48 37b91bdc4321: Pushed 17:38:48 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f: digest: sha256:f93bf6eca88f1bacea76a4ccf833eb70485777414fb2fb4b29ad629c9538792c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:38:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:38:49 00a71de42a05: Preparing 17:38:49 0d6cdb174b93: Preparing 17:38:49 37b91bdc4321: Preparing 17:38:49 40bf8a5ba14c: Preparing 17:38:49 f73e7dbfee58: Preparing 17:38:49 37b91bdc4321: Layer already exists 17:38:49 f73e7dbfee58: Layer already exists 17:38:49 00a71de42a05: Layer already exists 17:38:49 40bf8a5ba14c: Layer already exists 17:38:49 0d6cdb174b93: Layer already exists 17:38:49 latest: digest: sha256:f93bf6eca88f1bacea76a4ccf833eb70485777414fb2fb4b29ad629c9538792c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.1 17:38:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:38:50 00a71de42a05: Preparing 17:38:50 0d6cdb174b93: Preparing 17:38:50 37b91bdc4321: Preparing 17:38:50 40bf8a5ba14c: Preparing 17:38:50 f73e7dbfee58: Preparing 17:38:50 40bf8a5ba14c: Layer already exists 17:38:50 37b91bdc4321: Layer already exists 17:38:50 0d6cdb174b93: Layer already exists 17:38:50 f73e7dbfee58: Layer already exists 17:38:50 00a71de42a05: Layer already exists 17:38:50 2.2.1-dev.1: digest: sha256:f93bf6eca88f1bacea76a4ccf833eb70485777414fb2fb4b29ad629c9538792c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:38:51 00a71de42a05: Preparing 17:38:51 0d6cdb174b93: Preparing 17:38:51 37b91bdc4321: Preparing 17:38:51 40bf8a5ba14c: Preparing 17:38:51 f73e7dbfee58: Preparing 17:38:51 37b91bdc4321: Layer already exists 17:38:51 0d6cdb174b93: Layer already exists 17:38:51 f73e7dbfee58: Layer already exists 17:38:51 40bf8a5ba14c: Layer already exists 17:38:51 00a71de42a05: Layer already exists 17:38:51 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1: digest: sha256:f93bf6eca88f1bacea76a4ccf833eb70485777414fb2fb4b29ad629c9538792c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 17:38:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:38:52 00a71de42a05: Preparing 17:38:52 0d6cdb174b93: Preparing 17:38:52 37b91bdc4321: Preparing 17:38:52 40bf8a5ba14c: Preparing 17:38:52 f73e7dbfee58: Preparing 17:38:52 f73e7dbfee58: Layer already exists 17:38:52 40bf8a5ba14c: Layer already exists 17:38:52 37b91bdc4321: Layer already exists 17:38:53 0d6cdb174b93: Layer already exists 17:38:53 00a71de42a05: Layer already exists 17:38:53 main: digest: sha256:f93bf6eca88f1bacea76a4ccf833eb70485777414fb2fb4b29ad629c9538792c size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:53 ===================================================== [Pipeline] echo 17:38:53 taggedImages: 17:38:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f 17:38:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:38:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.1 17:38:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:92c0cb48aec9e6367c7fc89cd27c50580ba6d44f-2.2.1-dev.1 17:38:53 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:53 17:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:54 arm64: Pulling from edgex-lftools-log-publisher 17:38:54 8998bd30e6a1: Pulling fs layer 17:38:54 04944245beec: Pulling fs layer 17:38:54 699f458cf7ca: Pulling fs layer 17:38:54 765212b225bb: Pulling fs layer 17:38:54 f23df028b6ca: Pulling fs layer 17:38:54 d65c8cfc05b1: Pulling fs layer 17:38:54 2437ff75d9bd: Pulling fs layer 17:38:54 765212b225bb: Waiting 17:38:54 f23df028b6ca: Waiting 17:38:54 d65c8cfc05b1: Waiting 17:38:54 2437ff75d9bd: Waiting 17:38:54 04944245beec: Verifying Checksum 17:38:54 04944245beec: Download complete 17:38:54 765212b225bb: Verifying Checksum 17:38:54 765212b225bb: Download complete 17:38:54 f23df028b6ca: Download complete 17:38:54 d65c8cfc05b1: Verifying Checksum 17:38:54 d65c8cfc05b1: Download complete 17:38:54 699f458cf7ca: Verifying Checksum 17:38:54 699f458cf7ca: Download complete 17:38:54 8998bd30e6a1: Verifying Checksum 17:38:54 8998bd30e6a1: Download complete 17:38:57 2437ff75d9bd: Verifying Checksum 17:38:57 2437ff75d9bd: Download complete 17:38:59 8998bd30e6a1: Pull complete 17:38:59 04944245beec: Pull complete 17:39:01 699f458cf7ca: Pull complete 17:39:01 765212b225bb: Pull complete 17:39:02 f23df028b6ca: Pull complete 17:39:02 d65c8cfc05b1: Pull complete 17:39:17 2437ff75d9bd: Pull complete 17:39:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:39:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:17 prd-ubuntu20.04-docker-arm64-4c-16g-492 does not seem to be running inside a container 17:39:18 $ 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/42 -v /w/workspace/device-rest-go/42:/w/workspace/device-rest-go/42:rw,z -v /w/workspace/device-rest-go/42@tmp:/w/workspace/device-rest-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:20 $ docker top 7b779e66d70735f1e1d54a293c545bae9ceb1153c0c254ffbc8259eed3955167 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:21 ---> job-cost.sh 17:39:21 lf-activate-venv: SKIPPING 17:39:21 INFO: No Stack... 17:39:22 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:23 INFO: Archiving Costs [Pipeline] sh 17:39:24 + cat /w/workspace/device-rest-go/42/archives/cost.csv 17:39:24 + cut -d, -f6 [Pipeline] lock 17:39:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] 17:39:24 Resource [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] did not exist. Created. 17:39:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:24 /w/workspace/device-rest-go/42@tmp/durable-ead377c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:25 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:25 Warning: overwriting stash ‘stack-cost’ 17:39:25 Stashed 1 file(s) [Pipeline] } 17:39:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:25 $ docker stop --time=1 7b779e66d70735f1e1d54a293c545bae9ceb1153c0c254ffbc8259eed3955167 17:39:27 $ docker rm -f 7b779e66d70735f1e1d54a293c545bae9ceb1153c0c254ffbc8259eed3955167 [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 17:39:27 provisioning config files... 17:39:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3701519025954188611tmp [Pipeline] { [Pipeline] sh 17:39:27 + set +x 17:39:27 + curl -s https://codecov.io/bash 17:39:27 + bash -s -- 17:39:27 17:39:27 _____ _ 17:39:27 / ____| | | 17:39:27 | | ___ __| | ___ ___ _____ __ 17:39:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:27 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:27 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:27 Bash-1.0.6 17:39:27 17:39:27 17:39:27 ==> git version 2.25.1 found 17:39:27 ==> 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 17:39:27 Release-Date: 2020-01-08 17:39:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:39:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:27 ==> Jenkins CI detected. 17:39:27 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 17:39:27 project root: . 17:39:27 --> token set from env 17:39:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:27 ==> Running gcov in . (disable via -X gcov) 17:39:27 ==> Python coveragepy not found 17:39:27 ==> Searching for coverage reports in: 17:39:27 + . 17:39:27 -> Found 1 reports 17:39:27 ==> Detecting git/mercurial file structure 17:39:27 ==> Reading reports 17:39:27 + ./coverage.out bytes=9355 17:39:27 ==> Appending adjustments 17:39:27 https://docs.codecov.io/docs/fixing-reports 17:39:28 + Found adjustments 17:39:28 ==> Gzipping contents 17:39:28 4.0K /tmp/codecov.ymVaWs.gz 17:39:28 ==> Uploading reports 17:39:28 url: https://codecov.io 17:39:28 query: branch=main&commit=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:28 -> Pinging Codecov 17:39:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=92c0cb48aec9e6367c7fc89cd27c50580ba6d44f&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:28 -> Uploading to 17:39:28 https://storage.googleapis.com/codecov/v4/raw/2022-05-31/4E5D53B4F1F92C436F7061BF334D961C/92c0cb48aec9e6367c7fc89cd27c50580ba6d44f/45ec2d60-8393-4061-bde3-9dd52c0106f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T173928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2177a0d0372ac276b5f36764af2361c74489f77ba42f4df7df16112c102e128 17:39:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:28 Dload Upload Total Spent Left Speed 17:39:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8641 --:--:-- --:--:-- --:--:-- 8641 17:39:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] } 17:39:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:39:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:39:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:29 17:39:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:39:29 df9b9388f04a: Pulling fs layer 17:39:29 52dc419b0ee2: Pulling fs layer 17:39:29 25bc292e5bac: Pulling fs layer 17:39:29 114826534d7a: Pulling fs layer 17:39:29 4657fd5d0bcf: Pulling fs layer 17:39:29 6ad1cebc031e: Pulling fs layer 17:39:29 8a3aa393b2d8: Pulling fs layer 17:39:29 114826534d7a: Waiting 17:39:29 4657fd5d0bcf: Waiting 17:39:29 6ad1cebc031e: Waiting 17:39:29 8a3aa393b2d8: Waiting 17:39:29 25bc292e5bac: Verifying Checksum 17:39:29 25bc292e5bac: Download complete 17:39:29 52dc419b0ee2: Verifying Checksum 17:39:29 52dc419b0ee2: Download complete 17:39:29 4657fd5d0bcf: Download complete 17:39:29 df9b9388f04a: Verifying Checksum 17:39:29 df9b9388f04a: Download complete 17:39:29 df9b9388f04a: Pull complete 17:39:29 6ad1cebc031e: Verifying Checksum 17:39:29 52dc419b0ee2: Pull complete 17:39:29 25bc292e5bac: Pull complete 17:39:30 114826534d7a: Verifying Checksum 17:39:30 8a3aa393b2d8: Verifying Checksum 17:39:33 114826534d7a: Pull complete 17:39:33 4657fd5d0bcf: Pull complete 17:39:34 6ad1cebc031e: Pull complete 17:39:36 8a3aa393b2d8: Pull complete 17:39:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:39:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:37 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:39:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:39:39 $ docker top 67712bc40884ad6e83e963f8daf8c3ca93fbd3605497e3bf1fa49e3bd6aee0d4 -eo pid,comm [Pipeline] { [Pipeline] echo 17:39:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:39:40 + set -o pipefail 17:39:40 + snyk monitor '--org=edgex-jenkins' 17:39:45 17:39:45 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 17:39:45 17:39:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/b6814e9e-d8ad-423d-80be-bc1063c7346a 17:39:45 17:39:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:39:45 17:39:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:39:45 17:39:45 [Pipeline] } 17:39:45 $ docker stop --time=1 67712bc40884ad6e83e963f8daf8c3ca93fbd3605497e3bf1fa49e3bd6aee0d4 17:39:47 $ docker rm -f 67712bc40884ad6e83e963f8daf8c3ca93fbd3605497e3bf1fa49e3bd6aee0d4 [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 17:39:48 + git log --format=format:%s -1 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f [Pipeline] sh 17:39:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:39:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:49 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:39:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:39:49 $ docker top 6bfccbc8da6819a7927ad0538dec1d7a12ed3e2aaefb37287a337e399f302a6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:49 [ssh-agent] Looking for ssh-agent implementation... 17:39:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:49 $ docker exec 6bfccbc8da6819a7927ad0538dec1d7a12ed3e2aaefb37287a337e399f302a6e ssh-agent 17:39:50 SSH_AUTH_SOCK=/tmp/ssh-aFuGQcCT0pHN/agent.33 17:39:50 SSH_AGENT_PID=40 17:39:50 Running ssh-add (command line suppressed) 17:39:50 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8368456405732874681.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8368456405732874681.key) 17:39:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:50 + git semver tag 17:39:50 2022-05-31 17:39:50,770 [run_tag] DEBUG tag force:False 17:39:50 2022-05-31 17:39:50,770 [check_head_tag] DEBUG check head tag 17:39:50 2022-05-31 17:39:50,771 [execute] INFO git cat-file --batch-check 17:39:50 2022-05-31 17:39:50,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:39:50 2022-05-31 17:39:50,775 [execute] INFO git cat-file --batch 17:39:50 2022-05-31 17:39:50,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:39:50 2022-05-31 17:39:50,781 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:39:50 2022-05-31 17:39:50,782 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 17:39:50 2022-05-31 17:39:50,782 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:39:50 2022-05-31 17:39:50,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:39:50 2.2.1-dev.1 [Pipeline] } 17:39:50 $ docker exec --env ******** --env ******** 6bfccbc8da6819a7927ad0538dec1d7a12ed3e2aaefb37287a337e399f302a6e ssh-agent -k 17:39:50 unset SSH_AUTH_SOCK; 17:39:50 unset SSH_AGENT_PID; 17:39:50 echo Agent pid 40 killed; 17:39:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:51 + git semver [Pipeline] } 17:39:51 $ docker stop --time=1 6bfccbc8da6819a7927ad0538dec1d7a12ed3e2aaefb37287a337e399f302a6e 17:39:52 $ docker rm -f 6bfccbc8da6819a7927ad0538dec1d7a12ed3e2aaefb37287a337e399f302a6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:53 17:39:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:53 0.23.1-centos7: Pulling from edgex-lftools 17:39:53 ab5ef0e58194: Pulling fs layer 17:39:53 9712f1f96733: Pulling fs layer 17:39:53 63f879dbbcfc: Pulling fs layer 17:39:53 0d9ebad4ef96: Pulling fs layer 17:39:53 e9a5061849ea: Pulling fs layer 17:39:53 d747dcd14b5f: Pulling fs layer 17:39:53 2de7ff778b66: Pulling fs layer 17:39:53 0d9ebad4ef96: Waiting 17:39:53 e9a5061849ea: Waiting 17:39:53 9712f1f96733: Verifying Checksum 17:39:53 9712f1f96733: Download complete 17:39:53 63f879dbbcfc: Verifying Checksum 17:39:53 63f879dbbcfc: Download complete 17:39:54 0d9ebad4ef96: Verifying Checksum 17:39:54 0d9ebad4ef96: Download complete 17:39:54 d747dcd14b5f: Verifying Checksum 17:39:54 d747dcd14b5f: Download complete 17:39:55 e9a5061849ea: Verifying Checksum 17:39:55 e9a5061849ea: Download complete 17:39:55 2de7ff778b66: Verifying Checksum 17:39:55 2de7ff778b66: Download complete 17:39:55 ab5ef0e58194: Verifying Checksum 17:39:55 ab5ef0e58194: Download complete 17:39:58 ab5ef0e58194: Pull complete 17:39:58 9712f1f96733: Pull complete 17:39:58 63f879dbbcfc: Pull complete 17:40:03 0d9ebad4ef96: Pull complete 17:40:03 e9a5061849ea: Pull complete 17:40:03 d747dcd14b5f: Pull complete 17:40:03 2de7ff778b66: Pull complete 17:40:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:04 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:40:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:40:06 $ docker top ade57cee338b33d671e600aa9cc0ad29488266caeb608d1e375fa1ac4b165986 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:40:06 provisioning config files... 17:40:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1404118536394790663tmp 17:40:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6213145471015237410tmp 17:40:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3194834863969848656tmp [Pipeline] { [Pipeline] echo 17:40:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:40:06 ---> sigul-configuration.sh 17:40:06 gpg: directory `/root/.gnupg' created 17:40:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:40:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:40:06 gpg: keyring `/root/.gnupg/secring.gpg' created 17:40:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:40:06 gpg: CAST5 encrypted data 17:40:06 gpg: encrypted with 1 passphrase 17:40:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:40:07 + mkdir /home/jenkins 17:40:07 + mkdir /home/jenkins/sigul [Pipeline] sh 17:40:07 + 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 17:40:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:40:07 ---> sigul-install.sh 17:40:07 Sigul already installed; skipping installation. [Pipeline] sh 17:40:07 + git tag --list 17:40:07 v1.0.0 17:40:07 v1.1.0 17:40:07 v1.1.1 17:40:07 v1.1.2 17:40:07 v1.2.0 17:40:07 v1.2.1 17:40:07 v2.0.0 17:40:07 v2.1.0 17:40:07 v2.2.0 17:40:07 v2.2.1-dev.1 [Pipeline] sh 17:40:08 + lftools sign git-tag v2.2.1-dev.1 17:40:08 Signing Git tag with Sigul... 17:40:08 Signing v2.2.1-dev.1 [Pipeline] echo 17:40:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:40:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:40:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:40:09 $ docker stop --time=1 ade57cee338b33d671e600aa9cc0ad29488266caeb608d1e375fa1ac4b165986 17:40:11 $ docker rm -f ade57cee338b33d671e600aa9cc0ad29488266caeb608d1e375fa1ac4b165986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:40:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:40:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:11 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:40:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:40:12 $ docker top 271f49a2bde85811e5102b7371922933e34d2094be8d255abef28ca05277deea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:12 [ssh-agent] Looking for ssh-agent implementation... 17:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:12 $ docker exec 271f49a2bde85811e5102b7371922933e34d2094be8d255abef28ca05277deea ssh-agent 17:40:12 SSH_AUTH_SOCK=/tmp/ssh-IG24VAnhVd6M/agent.33 17:40:12 SSH_AGENT_PID=39 17:40:12 Running ssh-add (command line suppressed) 17:40:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7099169642658745529.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7099169642658745529.key) 17:40:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:13 + git semver bump pre 17:40:13 2022-05-31 17:40:13,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:40:13 2022-05-31 17:40:13,255 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev 17:40:13 2022-05-31 17:40:13,255 [bump_version] DEBUG bumped version:2.2.1-dev.2 17:40:13 2022-05-31 17:40:13,255 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 17:40:13 2022-05-31 17:40:13,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:40:13 2022-05-31 17:40:13,255 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:40:13 2022-05-31 17:40:13,257 [execute] INFO git cat-file --batch-check 17:40:13 2022-05-31 17:40:13,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:13 2022-05-31 17:40:13,263 [execute] INFO git cat-file --batch 17:40:13 2022-05-31 17:40:13,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:13 2022-05-31 17:40:13,269 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:40:13 2.2.1-dev.2 [Pipeline] } 17:40:13 $ docker exec --env ******** --env ******** 271f49a2bde85811e5102b7371922933e34d2094be8d255abef28ca05277deea ssh-agent -k 17:40:13 unset SSH_AUTH_SOCK; 17:40:13 unset SSH_AGENT_PID; 17:40:13 echo Agent pid 39 killed; 17:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:13 + git semver [Pipeline] } 17:40:14 $ docker stop --time=1 271f49a2bde85811e5102b7371922933e34d2094be8d255abef28ca05277deea 17:40:15 $ docker rm -f 271f49a2bde85811e5102b7371922933e34d2094be8d255abef28ca05277deea [Pipeline] // withDockerContainer [Pipeline] sh 17:40:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:40:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:16 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:40:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:40:16 $ docker top c6a941c476efed62c44c675dc0e680dcef97b38b05c8728df40411d5239b4701 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:16 [ssh-agent] Looking for ssh-agent implementation... 17:40:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:16 $ docker exec c6a941c476efed62c44c675dc0e680dcef97b38b05c8728df40411d5239b4701 ssh-agent 17:40:16 SSH_AUTH_SOCK=/tmp/ssh-5NkMCXVCczsl/agent.33 17:40:16 SSH_AGENT_PID=40 17:40:16 Running ssh-add (command line suppressed) 17:40:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4139964116114032126.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4139964116114032126.key) 17:40:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:17 + git semver push 17:40:17 2022-05-31 17:40:17,588 [run_push] DEBUG push 17:40:17 2022-05-31 17:40:17,589 [execute] INFO git push origin semver 17:40:17 2022-05-31 17:40:17,589 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:18 2022-05-31 17:40:18,359 [run_push] DEBUG push all version tags 17:40:18 2022-05-31 17:40:18,360 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:40:18 2022-05-31 17:40:18,360 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:40:19 2022-05-31 17:40:18,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:40:19 2.2.1-dev.2 [Pipeline] } 17:40:19 $ docker exec --env ******** --env ******** c6a941c476efed62c44c675dc0e680dcef97b38b05c8728df40411d5239b4701 ssh-agent -k 17:40:19 unset SSH_AUTH_SOCK; 17:40:19 unset SSH_AGENT_PID; 17:40:19 echo Agent pid 40 killed; 17:40:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:19 + git semver [Pipeline] } 17:40:19 $ docker stop --time=1 c6a941c476efed62c44c675dc0e680dcef97b38b05c8728df40411d5239b4701 17:40:21 $ docker rm -f c6a941c476efed62c44c675dc0e680dcef97b38b05c8728df40411d5239b4701 [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 17:40:21 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 17:40:21 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:40:21 total 16 17:40:21 drwxr-xr-x 3 root root 4096 May 31 17:31 . 17:40:21 drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:40 .. 17:40:21 drwxr-xr-x 2 root root 4096 May 31 17:31 cost 17:40:21 -rw-r--r-- 1 root root 84 May 31 17:31 cost.csv 17:40:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 17:40:21 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:40:21 total 16 17:40:21 drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:31 . 17:40:21 drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:40 .. 17:40:21 drwxr-xr-x 2 jenkins jenkins 4096 May 31 17:31 cost 17:40:21 -rw-r--r-- 1 jenkins jenkins 84 May 31 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:40:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:40:22 ---> package-listing.sh 17:40:22 ++ facter osfamily 17:40:22 ++ tr '[:upper:]' '[:lower:]' 17:40:23 + OS_FAMILY=debian 17:40:23 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 17:40:23 + START_PACKAGES=/tmp/packages_start.txt 17:40:23 + END_PACKAGES=/tmp/packages_end.txt 17:40:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:40:23 + PACKAGES=/tmp/packages_start.txt 17:40:23 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:40:23 + PACKAGES=/tmp/packages_end.txt 17:40:23 + case "${OS_FAMILY}" in 17:40:23 + dpkg -l 17:40:23 + grep '^ii' 17:40:23 + '[' -f /tmp/packages_start.txt ']' 17:40:23 + '[' -f /tmp/packages_end.txt ']' 17:40:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:40:23 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:40:23 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 17:40:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 17:40:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:40:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:24 prd-ubuntu20.04-docker-8c-8g-491 does not seem to be running inside a container 17:40:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:40:24 $ docker top a3ef140c4159381fe3d01ba2a49d88c8e5e761bc3feb5e50f7e8a83b5010e267 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:24 + touch /tmp/pre-build-complete [Pipeline] sh 17:40:25 + mkdir -p /var/log/sysstat [Pipeline] sh 17:40:25 + ls /var/log/sa-host 17:40:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:25 provisioning config files... 17:40:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8849744721175117671tmp [Pipeline] { [Pipeline] echo 17:40:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:40:25 ---> create-netrc.sh [Pipeline] } 17:40:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:40:26 ---> python-tools-install.sh [Pipeline] echo 17:40:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:40:26 ---> sudo-logs.sh 17:40:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:40:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:40:26 ---> job-cost.sh 17:40:26 lf-activate-venv: SKIPPING 17:40:26 DEBUG: total: 0.2199999988079071 17:40:26 INFO: Retrieving Stack Cost... 17:40:27 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:27 INFO: Archiving Costs [Pipeline] echo 17:40:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:40:27 ---> logs-deploy.sh 17:40:27 lf-activate-venv: SKIPPING 17:40:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/42 17:40:27 INFO: archiving workspace using pattern(s): 17:40:28 Archives upload complete. 17:40:29 INFO: archiving logs to Nexus 17:40:29 ---> uname -a: 17:40:29 Linux prd-ubuntu20-04-docker-8c-8g-491 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:40:29 17:40:29 17:40:29 ---> lscpu: 17:40:29 Architecture: x86_64 17:40:29 CPU op-mode(s): 32-bit, 64-bit 17:40:29 Byte Order: Little Endian 17:40:29 Address sizes: 40 bits physical, 48 bits virtual 17:40:29 CPU(s): 8 17:40:29 On-line CPU(s) list: 0-7 17:40:29 Thread(s) per core: 1 17:40:29 Core(s) per socket: 1 17:40:29 Socket(s): 8 17:40:29 NUMA node(s): 1 17:40:29 Vendor ID: AuthenticAMD 17:40:29 CPU family: 23 17:40:29 Model: 49 17:40:29 Model name: AMD EPYC-Rome Processor 17:40:29 Stepping: 0 17:40:29 CPU MHz: 2799.998 17:40:29 BogoMIPS: 5599.99 17:40:29 Virtualization: AMD-V 17:40:29 Hypervisor vendor: KVM 17:40:29 Virtualization type: full 17:40:29 L1d cache: 256 KiB 17:40:29 L1i cache: 256 KiB 17:40:29 L2 cache: 4 MiB 17:40:29 L3 cache: 128 MiB 17:40:29 NUMA node0 CPU(s): 0-7 17:40:29 Vulnerability Itlb multihit: Not affected 17:40:29 Vulnerability L1tf: Not affected 17:40:29 Vulnerability Mds: Not affected 17:40:29 Vulnerability Meltdown: Not affected 17:40:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:40:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:40:29 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:40:29 Vulnerability Srbds: Not affected 17:40:29 Vulnerability Tsx async abort: Not affected 17:40:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:40:29 17:40:29 17:40:29 ---> nproc: 17:40:29 8 17:40:29 17:40:29 17:40:29 ---> df -h: 17:40:29 Filesystem Size Used Avail Use% Mounted on 17:40:29 overlay 155G 12G 143G 8% / 17:40:29 tmpfs 64M 0 64M 0% /dev 17:40:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:40:29 shm 64M 0 64M 0% /dev/shm 17:40:29 /dev/vda1 155G 12G 143G 8% /facter-os 17:40:29 17:40:29 17:40:29 ---> sar -b -r -n DEV: 17:40:29 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-491) 05/31/22 _x86_64_ (8 CPU) 17:40:29 17:40:29 17:29:03 LINUX RESTART (8 CPU) 17:40:29 17:40:29 17:30:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:40:29 17:31:01 196.29 3.75 192.54 0.00 2319.47 60770.99 0.00 17:40:29 17:32:01 193.93 0.32 193.62 0.00 16.66 39160.56 0.00 17:40:29 17:33:01 3.42 0.08 3.33 0.00 0.80 86.25 0.00 17:40:29 17:34:01 1.98 0.00 1.98 0.00 0.00 22.93 0.00 17:40:29 17:35:01 0.97 0.02 0.95 0.00 0.13 11.60 0.00 17:40:29 17:36:01 1.68 0.00 1.68 0.00 0.00 20.40 0.00 17:40:29 17:37:01 0.88 0.00 0.88 0.00 0.00 10.26 0.00 17:40:29 17:38:01 1.73 0.00 1.73 0.00 0.00 20.93 0.00 17:40:29 17:39:01 1.10 0.00 1.10 0.00 0.00 13.86 0.00 17:40:29 17:40:01 69.64 0.28 69.36 0.00 11.73 37597.20 0.00 17:40:29 Average: 46.91 0.44 46.47 0.00 231.40 13693.05 0.00 17:40:29 17:40:29 17:30:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:40:29 17:31:01 28392452 31746308 531684 1.62 166164 3397476 2034796 6.00 1282680 2745504 80152 17:40:29 17:32:01 27725752 31769644 521016 1.58 192460 4003528 1842500 5.43 1379280 3267404 152 17:40:29 17:33:01 27793420 31769132 521448 1.59 177984 3951320 1860308 5.48 1346008 3233036 20 17:40:29 17:34:01 27802496 31778412 511828 1.56 178016 3951340 1860308 5.48 1337648 3233048 28 17:40:29 17:35:01 27802740 31778696 511396 1.56 178032 3951352 1860308 5.48 1337840 3233056 20 17:40:29 17:36:01 27810244 31786256 503828 1.53 178056 3951356 1860308 5.48 1330068 3233060 24 17:40:29 17:37:01 27810520 31786740 503520 1.53 178072 3951360 1860308 5.48 1330032 3233248 20 17:40:29 17:38:01 27811004 31787236 503160 1.53 178116 3951360 1860308 5.48 1329752 3233252 24 17:40:29 17:39:01 27810940 31787248 503100 1.53 178140 3951352 1860308 5.48 1330156 3233256 16 17:40:29 17:40:01 26335364 31714644 573244 1.74 212392 5213096 2285884 6.74 1474104 4453072 579624 17:40:29 Average: 27709493 31770432 518422 1.58 181743 4027354 1918534 5.65 1347757 3309794 66008 17:40:29 17:40:29 17:30:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:40:29 17:31:01 ens3 720.06 456.58 5316.60 97.18 0.00 0.00 0.00 0.00 17:40:29 17:31:01 lo 2.85 2.85 0.28 0.28 0.00 0.00 0.00 0.00 17:40:29 17:31:01 docker0 110.74 133.91 8.79 1059.26 0.00 0.00 0.00 0.00 17:40:29 17:32:01 ens3 207.92 158.64 2701.80 280.18 0.00 0.00 0.00 0.00 17:40:29 17:32:01 lo 7.80 7.80 0.77 0.77 0.00 0.00 0.00 0.00 17:40:29 17:32:01 docker0 10.66 15.35 0.63 89.66 0.00 0.00 0.00 0.00 17:40:29 17:33:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:34:01 ens3 14.73 6.22 14.84 0.69 0.00 0.00 0.00 0.00 17:40:29 17:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:29 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:35:01 ens3 0.62 0.33 0.34 0.26 0.00 0.00 0.00 0.00 17:40:29 17:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:36:01 ens3 1.70 0.53 0.51 0.28 0.00 0.00 0.00 0.00 17:40:29 17:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:29 17:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:37:01 ens3 1.23 0.40 0.40 0.27 0.00 0.00 0.00 0.00 17:40:29 17:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:38:01 ens3 1.00 0.23 0.17 0.08 0.00 0.00 0.00 0.00 17:40:29 17:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:29 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:39:01 ens3 0.72 0.75 0.51 0.42 0.00 0.00 0.00 0.00 17:40:29 17:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:29 17:40:01 ens3 347.91 242.53 7854.37 67.12 0.00 0.00 0.00 0.00 17:40:29 17:40:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 17:40:29 17:40:01 docker0 35.23 42.16 3.18 683.20 0.00 0.00 0.00 0.00 17:40:29 Average: ens3 128.60 86.00 1582.73 44.56 0.00 0.00 0.00 0.00 17:40:29 Average: lo 1.34 1.34 0.13 0.13 0.00 0.00 0.00 0.00 17:40:29 Average: docker0 15.50 18.95 1.25 181.75 0.00 0.00 0.00 0.00 17:40:29 17:40:29 17:40:29 ---> sar -P ALL: 17:40:29 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-491) 05/31/22 _x86_64_ (8 CPU) 17:40:29 17:40:29 17:29:03 LINUX RESTART (8 CPU) 17:40:29 17:40:29 17:30:02 CPU %user %nice %system %iowait %steal %idle 17:40:29 17:31:01 all 29.33 0.00 7.15 2.59 0.16 60.77 17:40:29 17:31:01 0 29.79 0.00 7.71 8.54 0.15 53.80 17:40:29 17:31:01 1 29.56 0.00 7.04 0.64 0.16 62.60 17:40:29 17:31:01 2 30.95 0.00 6.54 1.73 0.15 60.63 17:40:29 17:31:01 3 30.13 0.00 7.48 1.38 0.17 60.84 17:40:29 17:31:01 4 30.09 0.00 6.76 0.65 0.14 62.36 17:40:29 17:31:01 5 25.98 0.00 6.74 6.53 0.16 60.59 17:40:29 17:31:01 6 29.52 0.00 6.89 0.46 0.14 62.98 17:40:29 17:31:01 7 28.59 0.00 8.07 0.76 0.19 62.38 17:40:29 17:32:01 all 18.11 0.00 4.51 1.09 0.09 76.20 17:40:29 17:32:01 0 18.21 0.00 4.67 0.86 0.10 76.16 17:40:29 17:32:01 1 18.55 0.00 4.09 0.54 0.08 76.73 17:40:29 17:32:01 2 19.55 0.00 4.50 1.02 0.07 74.86 17:40:29 17:32:01 3 18.46 0.00 4.74 3.77 0.08 72.95 17:40:29 17:32:01 4 18.08 0.00 4.98 2.05 0.12 74.76 17:40:29 17:32:01 5 14.49 0.00 5.13 0.08 0.07 80.23 17:40:29 17:32:01 6 18.65 0.00 3.35 0.15 0.10 77.75 17:40:29 17:32:01 7 18.92 0.00 4.58 0.22 0.10 76.18 17:40:29 17:33:01 all 0.09 0.00 0.06 0.02 0.01 99.82 17:40:29 17:33:01 0 0.05 0.00 0.05 0.00 0.00 99.90 17:40:29 17:33:01 1 0.03 0.00 0.03 0.00 0.00 99.93 17:40:29 17:33:01 2 0.03 0.00 0.05 0.08 0.02 99.82 17:40:29 17:33:01 3 0.08 0.00 0.07 0.05 0.02 99.78 17:40:29 17:33:01 4 0.18 0.00 0.08 0.02 0.02 99.70 17:40:29 17:33:01 5 0.00 0.00 0.05 0.00 0.00 99.95 17:40:29 17:33:01 6 0.05 0.00 0.05 0.00 0.00 99.90 17:40:29 17:33:01 7 0.30 0.00 0.12 0.02 0.00 99.57 17:40:29 17:34:01 all 0.05 0.00 0.03 0.01 0.01 99.91 17:40:29 17:34:01 0 0.03 0.00 0.03 0.00 0.00 99.93 17:40:29 17:34:01 1 0.07 0.00 0.03 0.00 0.02 99.88 17:40:29 17:34:01 2 0.02 0.00 0.00 0.02 0.00 99.97 17:40:29 17:34:01 3 0.05 0.00 0.02 0.03 0.00 99.90 17:40:29 17:34:01 4 0.10 0.00 0.02 0.00 0.02 99.87 17:40:29 17:34:01 5 0.05 0.00 0.05 0.00 0.02 99.88 17:40:29 17:34:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:40:29 17:34:01 7 0.08 0.00 0.05 0.00 0.00 99.87 17:40:29 17:35:01 all 0.03 0.00 0.01 0.00 0.00 99.95 17:40:29 17:35:01 0 0.02 0.00 0.00 0.00 0.02 99.97 17:40:29 17:35:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:35:01 2 0.05 0.00 0.02 0.02 0.00 99.92 17:40:29 17:35:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:40:29 17:35:01 4 0.10 0.00 0.03 0.00 0.02 99.85 17:40:29 17:35:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:35:01 6 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:35:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:40:29 17:36:01 all 0.03 0.00 0.02 0.02 0.00 99.93 17:40:29 17:36:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:36:01 1 0.02 0.00 0.02 0.00 0.00 99.97 17:40:29 17:36:01 2 0.00 0.00 0.00 0.03 0.00 99.97 17:40:29 17:36:01 3 0.07 0.00 0.03 0.13 0.00 99.77 17:40:29 17:36:01 4 0.07 0.00 0.02 0.00 0.02 99.90 17:40:29 17:36:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:40:29 17:36:01 6 0.05 0.00 0.03 0.00 0.02 99.90 17:40:29 17:36:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:40:29 17:37:01 all 0.01 0.00 0.01 0.00 0.00 99.97 17:40:29 17:37:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:37:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:37:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:37:01 3 0.02 0.00 0.02 0.02 0.00 99.95 17:40:29 17:37:01 4 0.07 0.00 0.03 0.00 0.02 99.88 17:40:29 17:37:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:40:29 17:37:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:37:01 7 0.02 0.00 0.00 0.00 0.02 99.97 17:40:29 17:38:01 all 0.05 0.00 0.01 0.01 0.01 99.92 17:40:29 17:38:01 0 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:38:01 1 0.00 0.00 0.02 0.00 0.00 99.98 17:40:29 17:38:01 2 0.02 0.00 0.00 0.05 0.02 99.92 17:40:29 17:38:01 3 0.13 0.00 0.02 0.03 0.02 99.80 17:40:29 17:38:01 4 0.08 0.00 0.05 0.00 0.02 99.85 17:40:29 17:38:01 5 0.02 0.00 0.00 0.00 0.02 99.97 17:40:29 17:38:01 6 0.10 0.00 0.02 0.00 0.00 99.88 17:40:29 17:38:01 7 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:39:01 all 0.02 0.00 0.01 0.01 0.00 99.96 17:40:29 17:39:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:40:29 17:39:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:40:29 17:39:01 2 0.02 0.00 0.02 0.03 0.00 99.93 17:40:29 17:39:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:39:01 4 0.08 0.00 0.03 0.00 0.02 99.87 17:40:29 17:39:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:40:29 17:39:01 6 0.05 0.00 0.00 0.02 0.00 99.93 17:40:29 17:39:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:40:29 17:40:01 all 7.89 0.00 3.13 0.84 0.07 88.07 17:40:29 17:40:01 0 8.32 0.00 3.01 0.02 0.08 88.57 17:40:29 17:40:01 1 7.89 0.00 2.82 0.12 0.07 89.10 17:40:29 17:40:01 2 7.67 0.00 2.80 0.95 0.07 88.51 17:40:29 17:40:01 3 7.15 0.00 3.07 0.07 0.08 89.64 17:40:29 17:40:01 4 8.53 0.00 2.47 0.05 0.07 88.88 17:40:29 17:40:01 5 7.79 0.00 3.73 1.25 0.07 87.16 17:40:29 17:40:01 6 8.35 0.00 3.78 4.22 0.07 83.59 17:40:29 17:40:01 7 7.43 0.00 3.38 0.05 0.07 89.07 17:40:29 Average: all 5.47 0.00 1.47 0.45 0.04 92.57 17:40:29 Average: 0 5.55 0.00 1.53 0.92 0.04 91.97 17:40:29 Average: 1 5.52 0.00 1.38 0.13 0.03 92.94 17:40:29 Average: 2 5.76 0.00 1.38 0.39 0.03 92.44 17:40:29 Average: 3 5.51 0.00 1.52 0.54 0.04 92.40 17:40:29 Average: 4 5.67 0.00 1.43 0.28 0.04 92.58 17:40:29 Average: 5 4.74 0.00 1.55 0.77 0.03 92.91 17:40:29 Average: 6 5.60 0.00 1.39 0.48 0.03 92.50 17:40:29 Average: 7 5.43 0.00 1.59 0.10 0.04 92.84 17:40:29 17:40:29 17:40:29