Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b7989097685cbbb7d11325d5e96f20d406e46c7 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-ssh5853045220570539132.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh9284271621352461530.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18219382738925443873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1247114553132636281.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1382273921171519592.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40573’ Running on prd-ubuntu20.04-docker-8c-8g-40576 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 (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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#184)" > git rev-list --no-walk f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:10:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:10:43 ========================================================= 13:10:43 EdgeX Global Pipelines Version Info 13:10:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:10:44 ------------------- 13:10:44 stable info: 13:10:44 ------------------- 13:10:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:10:44 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:10:44 Message: update stable to v1.0.227 13:10:44 ------------------- 13:10:44 experimental info: 13:10:44 ------------------- 13:10:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:10:44 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 13:10:44 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b79890 [Pipeline] echo 13:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:45 provisioning config files... 13:10:45 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4007963212097062679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:45 ---> docker-login.sh 13:10:45 nexus3.edgexfoundry.org:10001 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 nexus3.edgexfoundry.org:10002 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 nexus3.edgexfoundry.org:10003 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 nexus3.edgexfoundry.org:10004 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 docker.io 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 ---> docker-login.sh ends [Pipeline] } 13:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:10:47 + git rev-list -1 --merges 1b7989097685cbbb7d11325d5e96f20d406e46c7~1..1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] echo 13:10:47 -----------> git rev-list -1 --merges 1b7989097685cbbb7d11325d5e96f20d406e46c7~1..1b7989097685cbbb7d11325d5e96f20d406e46c7 1b7989097685cbbb7d11325d5e96f20d406e46c7 [false] [Pipeline] sh 13:10:47 + git log --format=format:%s -1 1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] echo 13:10:47 ========================================================= 13:10:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:10:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:48 + git log --format=format:%s -1 1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] echo 13:10:48 [semverPrep] GIT_COMMIT: 1b7989097685cbbb7d11325d5e96f20d406e46c7, Commit Message: docs(snap): Move usage instructions to docs (#184) [Pipeline] echo 13:10:48 [semverPrep] This is not a build commit. [Pipeline] sh 13:10:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:10:48 + grep -v github /etc/ssh/ssh_known_hosts 13:10:48 + [ -e /tmp/ssh_known_hosts ] 13:10:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:10:48 + sudo tee -a /etc/ssh/ssh_known_hosts 13:10:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:10:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:10:48 13:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:10:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:10:49 latest: Pulling from edgex-devops/py-git-semver 13:10:49 1fe172e4850f: Pulling fs layer 13:10:49 caf521ccaac6: Pulling fs layer 13:10:49 3ead6fa29328: Pulling fs layer 13:10:49 5c2a1cbceb83: Pulling fs layer 13:10:49 a8d5f1318db7: Pulling fs layer 13:10:49 c427282e49a2: Pulling fs layer 13:10:49 1827001aaf11: Pulling fs layer 13:10:49 0714d37db230: Pulling fs layer 13:10:49 ac28cf19c067: Pulling fs layer 13:10:49 ca983d60f3e2: Pulling fs layer 13:10:49 9f894cec8388: Pulling fs layer 13:10:49 ac28cf19c067: Waiting 13:10:49 9f894cec8388: Waiting 13:10:49 5c2a1cbceb83: Waiting 13:10:49 0714d37db230: Waiting 13:10:49 c427282e49a2: Waiting 13:10:49 a8d5f1318db7: Waiting 13:10:49 caf521ccaac6: Verifying Checksum 13:10:49 caf521ccaac6: Download complete 13:10:49 5c2a1cbceb83: Download complete 13:10:49 3ead6fa29328: Verifying Checksum 13:10:49 3ead6fa29328: Download complete 13:10:49 c427282e49a2: Verifying Checksum 13:10:49 c427282e49a2: Download complete 13:10:49 a8d5f1318db7: Verifying Checksum 13:10:49 a8d5f1318db7: Download complete 13:10:49 0714d37db230: Verifying Checksum 13:10:49 0714d37db230: Download complete 13:10:49 ac28cf19c067: Verifying Checksum 13:10:49 ac28cf19c067: Download complete 13:10:49 ca983d60f3e2: Verifying Checksum 13:10:49 ca983d60f3e2: Download complete 13:10:49 9f894cec8388: Download complete 13:10:49 1fe172e4850f: Download complete 13:10:50 1827001aaf11: Verifying Checksum 13:10:50 1827001aaf11: Download complete 13:10:50 1fe172e4850f: Pull complete 13:10:51 caf521ccaac6: Pull complete 13:10:51 3ead6fa29328: Pull complete 13:10:51 5c2a1cbceb83: Pull complete 13:10:52 a8d5f1318db7: Pull complete 13:10:52 c427282e49a2: Pull complete 13:10:54 1827001aaf11: Pull complete 13:10:54 0714d37db230: Pull complete 13:10:54 ac28cf19c067: Pull complete 13:10:54 ca983d60f3e2: Pull complete 13:10:54 9f894cec8388: Pull complete 13:10:54 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:10:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:10:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:10:54 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:10:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:10:56 $ docker top 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 -eo pid,comm 13:10:56 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). 13:10:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:10:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:56 [ssh-agent] Looking for ssh-agent implementation... 13:10:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:56 $ docker exec 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 ssh-agent 13:10:57 SSH_AUTH_SOCK=/tmp/ssh-0CCxDXjZk8cM/agent.33 13:10:57 SSH_AGENT_PID=39 13:10:57 Running ssh-add (command line suppressed) 13:10:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5900017797566353585.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5900017797566353585.key) 13:10:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:57 + git tag --points-at HEAD [Pipeline] } 13:10:57 $ docker exec --env ******** --env ******** 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 ssh-agent -k 13:10:57 unset SSH_AUTH_SOCK; 13:10:57 unset SSH_AGENT_PID; 13:10:57 echo Agent pid 39 killed; 13:10:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:10:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:10:57 [ssh-agent] Looking for ssh-agent implementation... 13:10:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:10:57 $ docker exec 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 ssh-agent 13:10:57 SSH_AUTH_SOCK=/tmp/ssh-nlBQLv6e6MgI/agent.74 13:10:57 SSH_AGENT_PID=80 13:10:57 Running ssh-add (command line suppressed) 13:10:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2702824371334150326.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2702824371334150326.key) 13:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:10:58 + git semver init 13:10:58 2022-05-06 13:10:58,556 [run_init] DEBUG init version:0.0.0 force:False 13:10:58 2022-05-06 13:10:58,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 13:10:58 2022-05-06 13:10:58,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 13:10:58 2022-05-06 13:10:58,558 [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) 13:10:59 2022-05-06 13:10:59,553 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 13:10:59 2022-05-06 13:10:59,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 13:10:59 2022-05-06 13:10:59,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:10:59 2022-05-06 13:10:59,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:10:59 2.2.0-dev.14 [Pipeline] } 13:10:59 $ docker exec --env ******** --env ******** 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 ssh-agent -k 13:11:00 unset SSH_AUTH_SOCK; 13:11:00 unset SSH_AGENT_PID; 13:11:00 echo Agent pid 80 killed; 13:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:11:00 + git semver [Pipeline] } 13:11:00 $ docker stop --time=1 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 13:11:02 $ docker rm -f 3b2605fa3c68d3fe53548b8f38b153a3a3eabe8134c46f2e03ceb4b3263e6cb7 [Pipeline] // withDockerContainer [Pipeline] sh 13:11:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:11:02 Stashed 1 file(s) [Pipeline] echo 13:11:02 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [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 13:11:02 provisioning config files... 13:11:02 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6884469724218399979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:03 ---> docker-login.sh 13:11:03 nexus3.edgexfoundry.org:10001 13:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:03 Configure a credential helper to remove this warning. See 13:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:03 13:11:03 Login Succeeded 13:11:03 nexus3.edgexfoundry.org:10002 13:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:03 Configure a credential helper to remove this warning. See 13:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:03 13:11:03 Login Succeeded 13:11:03 nexus3.edgexfoundry.org:10003 13:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:03 Configure a credential helper to remove this warning. See 13:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:03 13:11:03 Login Succeeded 13:11:03 nexus3.edgexfoundry.org:10004 13:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:03 Configure a credential helper to remove this warning. See 13:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:03 13:11:03 Login Succeeded 13:11:03 docker.io 13:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:03 Configure a credential helper to remove this warning. See 13:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:03 13:11:04 Login Succeeded 13:11:04 ---> docker-login.sh ends [Pipeline] } 13:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:11:04 ========================================================= 13:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:11:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:11:04 + 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 . 13:11:04 Sending build context to Docker daemon 10.61MB 13:11:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:11:04 Step 2/12 : FROM ${BASE} AS builder 13:11:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:11:04 59bf1c3509f3: Pulling fs layer 13:11:04 666ba61612fd: Pulling fs layer 13:11:04 8ed8ca486205: Pulling fs layer 13:11:04 4fe6c5a15a65: Pulling fs layer 13:11:04 22a0e8bec74d: Pulling fs layer 13:11:04 ca2b28591e48: Pulling fs layer 13:11:04 a51346096db8: Pulling fs layer 13:11:04 22a0e8bec74d: Waiting 13:11:04 ca2b28591e48: Waiting 13:11:04 daebc70d1ce1: Pulling fs layer 13:11:04 0e18a0eac166: Pulling fs layer 13:11:04 a51346096db8: Waiting 13:11:04 daebc70d1ce1: Waiting 13:11:04 0e18a0eac166: Waiting 13:11:04 8ed8ca486205: Verifying Checksum 13:11:04 8ed8ca486205: Download complete 13:11:04 666ba61612fd: Verifying Checksum 13:11:04 666ba61612fd: Download complete 13:11:04 22a0e8bec74d: Verifying Checksum 13:11:04 22a0e8bec74d: Download complete 13:11:04 ca2b28591e48: Verifying Checksum 13:11:04 ca2b28591e48: Download complete 13:11:04 a51346096db8: Verifying Checksum 13:11:04 a51346096db8: Download complete 13:11:04 daebc70d1ce1: Verifying Checksum 13:11:04 daebc70d1ce1: Download complete 13:11:04 59bf1c3509f3: Pull complete 13:11:05 666ba61612fd: Pull complete 13:11:05 8ed8ca486205: Pull complete 13:11:05 0e18a0eac166: Verifying Checksum 13:11:05 0e18a0eac166: Download complete 13:11:05 4fe6c5a15a65: Verifying Checksum 13:11:05 4fe6c5a15a65: Download complete 13:11:09 4fe6c5a15a65: Pull complete 13:11:09 22a0e8bec74d: Pull complete 13:11:09 ca2b28591e48: Pull complete 13:11:09 a51346096db8: Pull complete 13:11:09 daebc70d1ce1: Pull complete 13:11:12 0e18a0eac166: Pull complete 13:11:12 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:11:12 ---> f018257e8ee9 13:11:12 Step 3/12 : ARG MAKE='make build' 13:11:14 ---> Running in f51e8032d6f2 13:11:14 Removing intermediate container f51e8032d6f2 13:11:14 ---> 29bd4cc3825c 13:11:14 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:11:14 ---> Running in e533cad47f69 13:11:14 Removing intermediate container e533cad47f69 13:11:14 ---> c13456b187c9 13:11:14 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:11:14 ---> Running in 1b94dd0cc3ac 13:11:14 Removing intermediate container 1b94dd0cc3ac 13:11:14 ---> 7b82713e08a5 13:11:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:11:14 ---> Running in 6c1bf74d5bee 13:11:15 Removing intermediate container 6c1bf74d5bee 13:11:15 ---> 0f000bfcb414 13:11:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:11:15 ---> Running in 4382f4d183da 13:11:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:11:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:11:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:11:17 (2/4) Installing libedit (20210910.3.1-r0) 13:11:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:11:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:11:17 Executing busybox-1.34.1-r3.trigger 13:11:17 OK: 224 MiB in 56 packages 13:11:17 Still waiting to schedule task 13:11:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-40574’ 13:11:18 Removing intermediate container 4382f4d183da 13:11:18 ---> c382ed7fb892 13:11:18 Step 8/12 : WORKDIR /device-rest-go 13:11:18 ---> Running in 06f3188744c4 13:11:18 Removing intermediate container 06f3188744c4 13:11:18 ---> b16e327e4420 13:11:18 Step 9/12 : COPY go.mod vendor* ./ 13:11:18 ---> 0efe09a7f7ce 13:11:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:18 ---> Running in 344e549a2c25 13:11:33 Removing intermediate container 344e549a2c25 13:11:33 ---> ecf23814105c 13:11:33 Step 11/12 : COPY . . 13:11:33 ---> 913fd4ab3775 13:11:33 Step 12/12 : RUN $MAKE 13:11:33 ---> Running in 242e91472e90 13:11:33 noop 13:11:33 Removing intermediate container 242e91472e90 13:11:33 ---> e19e4dec3770 13:11:33 Successfully built e19e4dec3770 13:11:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:11:33 + docker inspect -f . ci-base-image-x86_64 13:11:33 . [Pipeline] withDockerContainer 13:11:33 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:11:33 $ 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 ******** ci-base-image-x86_64 cat 13:11:34 $ docker top de722d8075466302fbced7b63e6b4f3432e9360433b650724686d0a5928d9f87 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:34 + go version 13:11:34 go version go1.17.6 linux/amd64 [Pipeline] } 13:11:34 $ docker stop --time=1 de722d8075466302fbced7b63e6b4f3432e9360433b650724686d0a5928d9f87 13:11:35 $ docker rm -f de722d8075466302fbced7b63e6b4f3432e9360433b650724686d0a5928d9f87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:11:36 + docker inspect -f . ci-base-image-x86_64 13:11:36 . [Pipeline] withDockerContainer 13:11:36 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:11:36 $ 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 ******** ci-base-image-x86_64 cat 13:11:36 $ docker top a0230cf99c3e971680e4d732190351ce4b8c783310be008252dd8d5f0111eb2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:11:37 + make test 13:11:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:11:37 ? github.com/edgexfoundry/device-rest-go [no test files] 13:11:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:11:47 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 13:11:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:11:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:11:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:11:56 ./bin/test-attribution-txt.sh [Pipeline] echo 13:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:11:57 $ docker stop --time=1 a0230cf99c3e971680e4d732190351ce4b8c783310be008252dd8d5f0111eb2f 13:11:58 $ docker rm -f a0230cf99c3e971680e4d732190351ce4b8c783310be008252dd8d5f0111eb2f [Pipeline] // withDockerContainer [Pipeline] sh 13:11:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:11:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:12:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:12:00 + ls -al . 13:12:00 total 168 13:12:00 drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:11 . 13:12:00 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:10 .. 13:12:00 -rw-rw-r-- 1 jenkins jenkins 151 May 6 13:10 .dockerignore 13:12:00 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:11 .git 13:12:00 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 .github 13:12:00 -rw-rw-r-- 1 jenkins jenkins 329 May 6 13:10 .gitignore 13:12:00 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:10 .golangci.yml 13:12:00 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:10 .semver 13:12:00 -rw-rw-r-- 1 jenkins jenkins 8463 May 6 13:10 Attribution.txt 13:12:00 -rw-rw-r-- 1 jenkins jenkins 7459 May 6 13:10 CHANGELOG.md 13:12:00 -rw-rw-r-- 1 jenkins jenkins 1672 May 6 13:10 Dockerfile 13:12:00 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:10 GOVERNANCE.md 13:12:00 -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:10 Jenkinsfile 13:12:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:10 LICENSE 13:12:00 -rw-rw-r-- 1 jenkins jenkins 1977 May 6 13:10 Makefile 13:12:00 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:10 OWNERS.md 13:12:00 -rw-rw-r-- 1 jenkins jenkins 8003 May 6 13:10 README.md 13:12:00 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:11 VERSION 13:12:00 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:10 bin 13:12:00 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 cmd 13:12:00 -rw-r--r-- 1 jenkins jenkins 9355 May 6 13:11 coverage.out 13:12:00 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:10 driver 13:12:00 -rw-rw-r-- 1 jenkins jenkins 3333 May 6 13:10 go.mod 13:12:00 -rw-rw-r-- 1 jenkins jenkins 35259 May 6 13:10 go.sum 13:12:00 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 snap 13:12:00 -rw-rw-r-- 1 jenkins jenkins 713 May 6 13:10 version.go [Pipeline] isUnix [Pipeline] sh 13:12:00 + 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=1b7989097685cbbb7d11325d5e96f20d406e46c7 --label arch=amd64 --label version=2.2.0-dev.14 . 13:12:00 Sending build context to Docker daemon 10.62MB 13:12:00 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:12:00 Step 2/25 : FROM ${BASE} AS builder 13:12:00 ---> e19e4dec3770 13:12:00 Step 3/25 : ARG MAKE='make build' 13:12:00 ---> Running in 28a4cfa5f4ff 13:12:00 Removing intermediate container 28a4cfa5f4ff 13:12:00 ---> 76e77d8cc374 13:12:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:12:00 ---> Running in dee2130ec304 13:12:00 Removing intermediate container dee2130ec304 13:12:00 ---> 25077cc9355b 13:12:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:12:01 ---> Running in d5fd14820c0f 13:12:01 Removing intermediate container d5fd14820c0f 13:12:01 ---> b1c465f35726 13:12:01 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:01 ---> Running in 41008907e573 13:12:01 Removing intermediate container 41008907e573 13:12:01 ---> a010f5e9d3f8 13:12:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:01 ---> Running in bf9f79cc98e0 13:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:12:03 OK: 224 MiB in 56 packages 13:12:03 Removing intermediate container bf9f79cc98e0 13:12:03 ---> 69a7681fa976 13:12:03 Step 8/25 : WORKDIR /device-rest-go 13:12:03 ---> Running in 4d188b6398c1 13:12:03 Removing intermediate container 4d188b6398c1 13:12:03 ---> 096efc461f6f 13:12:03 Step 9/25 : COPY go.mod vendor* ./ 13:12:04 ---> 8b6b482fb4e4 13:12:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:04 ---> Running in 2cfe6cdaee27 13:12:04 Removing intermediate container 2cfe6cdaee27 13:12:04 ---> 600ade780195 13:12:04 Step 11/25 : COPY . . 13:12:04 ---> e227f2668c7e 13:12:04 Step 12/25 : RUN $MAKE 13:12:04 ---> Running in 104f47867b6f 13:12:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 13:12:27 Removing intermediate container 104f47867b6f 13:12:27 ---> 3b677afaf4f5 13:12:27 Step 13/25 : FROM alpine:3.14 13:12:27 3.14: Pulling from library/alpine 13:12:27 8663204ce13b: Pulling fs layer 13:12:27 8663204ce13b: Verifying Checksum 13:12:27 8663204ce13b: Pull complete 13:12:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:12:27 Status: Downloaded newer image for alpine:3.14 13:12:27 ---> e04c818066af 13:12:27 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:12:27 ---> Running in cf146aecc57b 13:12:27 Removing intermediate container cf146aecc57b 13:12:27 ---> aa3fb90a513d 13:12:27 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 13:12:27 ---> Running in 1a227f010a6f 13:12:27 Removing intermediate container 1a227f010a6f 13:12:27 ---> 64771e109cb0 13:12:27 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 13:12:27 ---> Running in 6df2b07f78ee 13:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:12:27 (1/6) Installing dumb-init (1.2.5-r1) 13:12:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:12:27 (3/6) Installing libsodium (1.0.18-r0) 13:12:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:12:27 (5/6) Installing libzmq (4.3.4-r0) 13:12:27 (6/6) Installing zeromq (4.3.4-r0) 13:12:27 Executing busybox-1.33.1-r7.trigger 13:12:27 OK: 8 MiB in 20 packages 13:12:27 Removing intermediate container 6df2b07f78ee 13:12:27 ---> f90299bb762a 13:12:27 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 13:12:27 ---> e342c83645cd 13:12:27 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 13:12:27 ---> 6b3813ff2531 13:12:27 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 13:12:27 ---> 014da3988ed4 13:12:27 Step 20/25 : EXPOSE 59986 13:12:27 ---> Running in 283b33ac7ebc 13:12:27 Removing intermediate container 283b33ac7ebc 13:12:27 ---> cd7a7d3c3686 13:12:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 13:12:27 ---> Running in a3fabab30a35 13:12:27 Removing intermediate container a3fabab30a35 13:12:27 ---> 5e87758fd90c 13:12:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:12:27 ---> Running in 075c4af3b7ba 13:12:27 Removing intermediate container 075c4af3b7ba 13:12:27 ---> 05c27d4c2b08 13:12:27 Step 23/25 : LABEL arch=amd64 13:12:27 ---> Running in a30d3bc205cc 13:12:27 Removing intermediate container a30d3bc205cc 13:12:27 ---> a892448d690e 13:12:27 Step 24/25 : LABEL git_sha=1b7989097685cbbb7d11325d5e96f20d406e46c7 13:12:27 ---> Running in e6ee3dfd46c0 13:12:28 Removing intermediate container e6ee3dfd46c0 13:12:28 ---> 1125dbf75f23 13:12:28 Step 25/25 : LABEL version=2.2.0-dev.14 13:12:28 ---> Running in f50b62a097c3 13:12:28 Removing intermediate container f50b62a097c3 13:12:28 ---> e53eee7d532a 13:12:28 [Warning] One or more build-args [ARCH] were not consumed 13:12:28 Successfully built e53eee7d532a 13:12:28 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:28 provisioning config files... 13:12:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5152790783014534543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:28 ---> docker-login.sh 13:12:28 nexus3.edgexfoundry.org:10001 13:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:28 Configure a credential helper to remove this warning. See 13:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:28 13:12:28 Login Succeeded 13:12:28 nexus3.edgexfoundry.org:10002 13:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:28 Configure a credential helper to remove this warning. See 13:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:28 13:12:28 Login Succeeded 13:12:28 nexus3.edgexfoundry.org:10003 13:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:28 Configure a credential helper to remove this warning. See 13:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:28 13:12:28 Login Succeeded 13:12:28 nexus3.edgexfoundry.org:10004 13:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:29 Configure a credential helper to remove this warning. See 13:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:29 13:12:29 Login Succeeded 13:12:29 docker.io 13:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:29 Configure a credential helper to remove this warning. See 13:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:29 13:12:29 Login Succeeded 13:12:29 ---> docker-login.sh ends [Pipeline] } 13:12:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:12:29 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 13:12:29 1b7989097685cbbb7d11325d5e96f20d406e46c7 13:12:29 latest 13:12:29 2.2.0-dev.14 13:12:29 1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:12:29 main 13:12:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:12:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] isUnix [Pipeline] sh 13:12:30 + docker push nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7 13:12:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:12:30 d934cc95b3cd: Preparing 13:12:30 70bbcce3cc74: Preparing 13:12:30 8e98c5d61336: Preparing 13:12:30 8a7787b9a30c: Preparing 13:12:30 b541d28bf3b4: Preparing 13:12:30 b541d28bf3b4: Layer already exists 13:12:30 d934cc95b3cd: Pushed 13:12:30 70bbcce3cc74: Pushed 13:12:30 8a7787b9a30c: Pushed 13:12:32 8e98c5d61336: Pushed 13:12:32 1b7989097685cbbb7d11325d5e96f20d406e46c7: digest: sha256:3e70e1ce6072a2d2ecb8159409c967927aec0c693c579899f378bf00a533a57b size: 1367 [Pipeline] isUnix [Pipeline] sh 13:12:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 13:12:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 13:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:12:33 d934cc95b3cd: Preparing 13:12:33 70bbcce3cc74: Preparing 13:12:33 8e98c5d61336: Preparing 13:12:33 8a7787b9a30c: Preparing 13:12:33 b541d28bf3b4: Preparing 13:12:33 70bbcce3cc74: Layer already exists 13:12:33 d934cc95b3cd: Layer already exists 13:12:33 b541d28bf3b4: Layer already exists 13:12:33 8a7787b9a30c: Layer already exists 13:12:33 8e98c5d61336: Layer already exists 13:12:33 latest: digest: sha256:3e70e1ce6072a2d2ecb8159409c967927aec0c693c579899f378bf00a533a57b size: 1367 [Pipeline] isUnix [Pipeline] sh 13:12:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 13:12:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.14 13:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:12:34 d934cc95b3cd: Preparing 13:12:34 70bbcce3cc74: Preparing 13:12:34 8e98c5d61336: Preparing 13:12:34 8a7787b9a30c: Preparing 13:12:34 b541d28bf3b4: Preparing 13:12:34 b541d28bf3b4: Layer already exists 13:12:34 70bbcce3cc74: Layer already exists 13:12:34 8a7787b9a30c: Layer already exists 13:12:34 d934cc95b3cd: Layer already exists 13:12:34 8e98c5d61336: Layer already exists 13:12:34 2.2.0-dev.14: digest: sha256:3e70e1ce6072a2d2ecb8159409c967927aec0c693c579899f378bf00a533a57b size: 1367 [Pipeline] isUnix [Pipeline] sh 13:12:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 13:12:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:12:34 d934cc95b3cd: Preparing 13:12:34 70bbcce3cc74: Preparing 13:12:34 8e98c5d61336: Preparing 13:12:34 8a7787b9a30c: Preparing 13:12:34 b541d28bf3b4: Preparing 13:12:34 8a7787b9a30c: Layer already exists 13:12:34 d934cc95b3cd: Layer already exists 13:12:34 b541d28bf3b4: Layer already exists 13:12:34 8e98c5d61336: Layer already exists 13:12:34 70bbcce3cc74: Layer already exists 13:12:34 1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14: digest: sha256:3e70e1ce6072a2d2ecb8159409c967927aec0c693c579899f378bf00a533a57b size: 1367 [Pipeline] isUnix [Pipeline] sh 13:12:34 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 13:12:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 13:12:35 d934cc95b3cd: Preparing 13:12:35 70bbcce3cc74: Preparing 13:12:35 8e98c5d61336: Preparing 13:12:35 8a7787b9a30c: Preparing 13:12:35 b541d28bf3b4: Preparing 13:12:35 8e98c5d61336: Layer already exists 13:12:35 70bbcce3cc74: Layer already exists 13:12:35 8a7787b9a30c: Layer already exists 13:12:35 d934cc95b3cd: Layer already exists 13:12:35 b541d28bf3b4: Layer already exists 13:12:35 main: digest: sha256:3e70e1ce6072a2d2ecb8159409c967927aec0c693c579899f378bf00a533a57b size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:12:35 ===================================================== [Pipeline] echo 13:12:35 taggedImages: 13:12:35 - nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7 13:12:35 - nexus3.edgexfoundry.org:10004/device-rest:latest 13:12:35 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.14 13:12:35 - nexus3.edgexfoundry.org:10004/device-rest:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:12:35 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:35 13:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:35 latest: Pulling from edgex-lftools-log-publisher 13:12:35 5eb5b503b376: Pulling fs layer 13:12:35 5c69ac0246d0: Pulling fs layer 13:12:35 ec43610c2a17: Pulling fs layer 13:12:35 3a2ae6a8a46f: Pulling fs layer 13:12:35 33b1e0a273af: Pulling fs layer 13:12:35 5d3b04190fa2: Pulling fs layer 13:12:35 2f39f015ded8: Pulling fs layer 13:12:35 33b1e0a273af: Waiting 13:12:35 2f39f015ded8: Waiting 13:12:35 3a2ae6a8a46f: Waiting 13:12:35 5d3b04190fa2: Waiting 13:12:35 5c69ac0246d0: Download complete 13:12:35 3a2ae6a8a46f: Verifying Checksum 13:12:35 3a2ae6a8a46f: Download complete 13:12:35 33b1e0a273af: Verifying Checksum 13:12:35 33b1e0a273af: Download complete 13:12:35 ec43610c2a17: Verifying Checksum 13:12:35 ec43610c2a17: Download complete 13:12:35 5d3b04190fa2: Verifying Checksum 13:12:36 5eb5b503b376: Verifying Checksum 13:12:36 5eb5b503b376: Download complete 13:12:36 2f39f015ded8: Download complete 13:12:37 5eb5b503b376: Pull complete 13:12:37 5c69ac0246d0: Pull complete 13:12:38 ec43610c2a17: Pull complete 13:12:38 3a2ae6a8a46f: Pull complete 13:12:38 33b1e0a273af: Pull complete 13:12:38 5d3b04190fa2: Pull complete 13:12:42 2f39f015ded8: Pull complete 13:12:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:12:42 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:12:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:12:44 $ docker top 4c8e2d6956c8d5c6937bba76f1b8d537c264f7a7d9772d404cab456a1d04122d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:45 ---> job-cost.sh 13:12:45 lf-activate-venv: SKIPPING 13:12:45 INFO: No Stack... 13:12:45 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:46 INFO: Archiving Costs [Pipeline] sh 13:12:46 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 13:12:46 + cut -d, -f6 [Pipeline] lock 13:12:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] 13:12:46 Resource [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] did not exist. Created. 13:12:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:12:46 + echo total: 0.2199999988079071 [Pipeline] stash 13:12:46 Stashed 1 file(s) [Pipeline] } 13:12:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 13:12:46 $ docker stop --time=1 4c8e2d6956c8d5c6937bba76f1b8d537c264f7a7d9772d404cab456a1d04122d 13:12:48 $ docker rm -f 4c8e2d6956c8d5c6937bba76f1b8d537c264f7a7d9772d404cab456a1d04122d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:14:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40578 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 13:14:08 Running in /w/workspace/device-rest-go/36 [Pipeline] { [Pipeline] checkout 13:14:09 The recommended git tool is: git 13:14:16 using credential edgex-jenkins-ssh 13:14:16 Cloning the remote Git repository 13:14:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:14:16 > git init /w/workspace/device-rest-go/36 # timeout=10 13:14:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:14:16 > git --version # timeout=10 13:14:16 > git --version # 'git version 2.25.1' 13:14:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:18 Avoid second fetch 13:14:18 Checking out Revision 1b7989097685cbbb7d11325d5e96f20d406e46c7 (main) 13:14:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:14:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:18 > git config core.sparsecheckout # timeout=10 13:14:18 > git checkout -f 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 13:14:23 Commit message: "docs(snap): Move usage instructions to docs (#184)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:14:24 % Total % Received % Xferd Average Speed Time Time Time Current 13:14:24 Dload Upload Total Spent Left Speed 13:14:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 13:14:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:14:25 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 13:14:25 13:14:25 { 13:14:25 "registry-mirrors": [ 13:14:25 "https://nexus3.edgexfoundry.org:10001" 13:14:25 ], 13:14:25 "bip": "10.250.0.254/24", 13:14:25 "hosts": [ 13:14:25 "tcp://0.0.0.0:5555", 13:14:25 "unix:///var/run/docker.sock" 13:14:25 ], 13:14:25 "mtu": 1458, 13:14:25 "selinux-enabled": true, 13:14:25 "seccomp-profile": "/etc/docker/seccomp.json" 13:14:25 } [Pipeline] sh 13:14:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:14:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:14:44 provisioning config files... 13:14:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config9060857534893829445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:44 ---> docker-login.sh 13:14:44 nexus3.edgexfoundry.org:10001 13:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:45 Configure a credential helper to remove this warning. See 13:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:45 13:14:45 Login Succeeded 13:14:45 nexus3.edgexfoundry.org:10002 13:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:46 Configure a credential helper to remove this warning. See 13:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:46 13:14:46 Login Succeeded 13:14:46 nexus3.edgexfoundry.org:10003 13:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:46 Configure a credential helper to remove this warning. See 13:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:46 13:14:46 Login Succeeded 13:14:46 nexus3.edgexfoundry.org:10004 13:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:47 Configure a credential helper to remove this warning. See 13:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:47 13:14:47 Login Succeeded 13:14:47 docker.io 13:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:14:47 Configure a credential helper to remove this warning. See 13:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:14:47 13:14:47 Login Succeeded 13:14:48 ---> docker-login.sh ends [Pipeline] } 13:14:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:14:48 ========================================================= 13:14:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:14:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:14:48 + 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 . 13:14:48 Sending build context to Docker daemon 124.4kB 13:14:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:14:49 Step 2/12 : FROM ${BASE} AS builder 13:14:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:14:49 9b3977197b4f: Pulling fs layer 13:14:49 1a89e8eeedd5: Pulling fs layer 13:14:49 94645a83ff95: Pulling fs layer 13:14:49 3f3a8bcf1eab: Pulling fs layer 13:14:49 0c92f367c5e7: Pulling fs layer 13:14:49 3096ccb668a1: Pulling fs layer 13:14:49 e8cf19c19ddd: Pulling fs layer 13:14:49 a4caa8a26152: Pulling fs layer 13:14:49 0c92f367c5e7: Waiting 13:14:49 3f3a8bcf1eab: Waiting 13:14:49 3096ccb668a1: Waiting 13:14:49 e8cf19c19ddd: Waiting 13:14:49 a4caa8a26152: Waiting 13:14:49 94645a83ff95: Verifying Checksum 13:14:49 94645a83ff95: Download complete 13:14:49 1a89e8eeedd5: Verifying Checksum 13:14:49 1a89e8eeedd5: Download complete 13:14:49 0c92f367c5e7: Verifying Checksum 13:14:49 0c92f367c5e7: Download complete 13:14:49 3096ccb668a1: Verifying Checksum 13:14:49 3096ccb668a1: Download complete 13:14:49 9b3977197b4f: Verifying Checksum 13:14:49 9b3977197b4f: Download complete 13:14:49 e8cf19c19ddd: Verifying Checksum 13:14:49 e8cf19c19ddd: Download complete 13:14:50 9b3977197b4f: Pull complete 13:14:50 1a89e8eeedd5: Pull complete 13:14:51 94645a83ff95: Pull complete 13:14:51 a4caa8a26152: Verifying Checksum 13:14:51 a4caa8a26152: Download complete 13:14:52 3f3a8bcf1eab: Verifying Checksum 13:14:52 3f3a8bcf1eab: Download complete 13:15:04 3f3a8bcf1eab: Pull complete 13:15:04 0c92f367c5e7: Pull complete 13:15:04 3096ccb668a1: Pull complete 13:15:05 e8cf19c19ddd: Pull complete 13:15:11 a4caa8a26152: Pull complete 13:15:11 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:15:11 ---> 725f1c02e7f9 13:15:11 Step 3/12 : ARG MAKE='make build' 13:15:12 ---> Running in f3514d5e5d6d 13:15:13 Removing intermediate container f3514d5e5d6d 13:15:13 ---> 87b9379f3994 13:15:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:15:13 ---> Running in ca29ae4d8313 13:15:13 Removing intermediate container ca29ae4d8313 13:15:13 ---> 75fe243ead55 13:15:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:15:13 ---> Running in 9584afb40fe4 13:15:13 Removing intermediate container 9584afb40fe4 13:15:13 ---> 8e7f26ebfd6d 13:15:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:13 ---> Running in be352e46cfde 13:15:15 Removing intermediate container be352e46cfde 13:15:15 ---> 48396ced5fad 13:15:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:15 ---> Running in 7b15d6e4c860 13:15:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:15:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:15:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:15:19 (2/4) Installing libedit (20210910.3.1-r0) 13:15:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:15:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:15:19 Executing busybox-1.34.1-r3.trigger 13:15:19 OK: 224 MiB in 56 packages 13:15:20 Removing intermediate container 7b15d6e4c860 13:15:20 ---> 932e8634f473 13:15:20 Step 8/12 : WORKDIR /device-rest-go 13:15:21 ---> Running in a59be0220baa 13:15:21 Removing intermediate container a59be0220baa 13:15:21 ---> 7fbcde4aac73 13:15:21 Step 9/12 : COPY go.mod vendor* ./ 13:15:21 ---> 9fd1e792b8a2 13:15:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:21 ---> Running in ff6567c0c453 13:16:08 Removing intermediate container ff6567c0c453 13:16:08 ---> b3933bc89bdf 13:16:08 Step 11/12 : COPY . . 13:16:08 ---> 120f60381299 13:16:08 Step 12/12 : RUN $MAKE 13:16:08 ---> Running in 4e373c20157e 13:16:08 noop 13:16:08 Removing intermediate container 4e373c20157e 13:16:08 ---> a420a015b3e9 13:16:08 Successfully built a420a015b3e9 13:16:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:16:09 + docker inspect -f . ci-base-image-arm64 13:16:09 . [Pipeline] withDockerContainer 13:16:09 prd-ubuntu20.04-docker-arm64-4c-16g-40578 does not seem to be running inside a container 13:16:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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 13:16:11 $ docker top b4cfc84ff70c4c32177cc3776965ef3bf319e7805da7e09fbc316f7954b3cdce -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:12 + go version 13:16:12 go version go1.17.6 linux/arm64 [Pipeline] } 13:16:12 $ docker stop --time=1 b4cfc84ff70c4c32177cc3776965ef3bf319e7805da7e09fbc316f7954b3cdce 13:16:13 $ docker rm -f b4cfc84ff70c4c32177cc3776965ef3bf319e7805da7e09fbc316f7954b3cdce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:14 + docker inspect -f . ci-base-image-arm64 13:16:14 . [Pipeline] withDockerContainer 13:16:14 prd-ubuntu20.04-docker-arm64-4c-16g-40578 does not seem to be running inside a container 13:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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 13:16:16 $ docker top 60f7a584bf14b561fcff26a83d0975fb9bbc4ce0305385272839a9518e7833cd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:16:17 + make test 13:16:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:16:19 ? github.com/edgexfoundry/device-rest-go [no test files] 13:17:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:17:55 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements 13:17:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:17:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:18:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:18:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:18:22 ./bin/test-attribution-txt.sh [Pipeline] echo 13:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:18:22 $ docker stop --time=1 60f7a584bf14b561fcff26a83d0975fb9bbc4ce0305385272839a9518e7833cd 13:18:24 $ docker rm -f 60f7a584bf14b561fcff26a83d0975fb9bbc4ce0305385272839a9518e7833cd [Pipeline] // withDockerContainer [Pipeline] sh 13:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:18:25 Warning: overwriting stash ‘coverage-report’ 13:18:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:18:26 + ls -al . 13:18:26 total 164 13:18:26 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:18 . 13:18:26 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:14 .. 13:18:26 -rw-rw-r-- 1 jenkins jenkins 151 May 6 13:14 .dockerignore 13:18:26 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:14 .git 13:18:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:14 .github 13:18:26 -rw-rw-r-- 1 jenkins jenkins 329 May 6 13:14 .gitignore 13:18:26 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:14 .golangci.yml 13:18:26 -rw-rw-r-- 1 jenkins jenkins 8463 May 6 13:14 Attribution.txt 13:18:26 -rw-rw-r-- 1 jenkins jenkins 7459 May 6 13:14 CHANGELOG.md 13:18:26 -rw-rw-r-- 1 jenkins jenkins 1672 May 6 13:14 Dockerfile 13:18:26 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:14 GOVERNANCE.md 13:18:26 -rw-rw-r-- 1 jenkins jenkins 680 May 6 13:14 Jenkinsfile 13:18:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:14 LICENSE 13:18:26 -rw-rw-r-- 1 jenkins jenkins 1977 May 6 13:14 Makefile 13:18:26 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:14 OWNERS.md 13:18:26 -rw-rw-r-- 1 jenkins jenkins 8003 May 6 13:14 README.md 13:18:26 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:11 VERSION 13:18:26 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:14 bin 13:18:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:14 cmd 13:18:26 -rw-r--r-- 1 jenkins jenkins 9355 May 6 13:17 coverage.out 13:18:26 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:14 driver 13:18:26 -rw-rw-r-- 1 jenkins jenkins 3333 May 6 13:14 go.mod 13:18:26 -rw-rw-r-- 1 jenkins jenkins 35259 May 6 13:14 go.sum 13:18:26 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:14 snap 13:18:26 -rw-rw-r-- 1 jenkins jenkins 713 May 6 13:14 version.go [Pipeline] isUnix [Pipeline] sh 13:18:27 + 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=1b7989097685cbbb7d11325d5e96f20d406e46c7 --label arch=arm64 --label version=2.2.0-dev.14 . 13:18:27 Sending build context to Docker daemon 134.7kB 13:18:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:18:27 Step 2/25 : FROM ${BASE} AS builder 13:18:27 ---> a420a015b3e9 13:18:27 Step 3/25 : ARG MAKE='make build' 13:18:27 ---> Running in 6ffeb88e543b 13:18:27 Removing intermediate container 6ffeb88e543b 13:18:27 ---> b89a2e3bb3a4 13:18:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:18:28 ---> Running in 2be430323074 13:18:28 Removing intermediate container 2be430323074 13:18:28 ---> dfbb89db8383 13:18:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:18:28 ---> Running in f158d9e70be3 13:18:28 Removing intermediate container f158d9e70be3 13:18:28 ---> 5a28604b4f0f 13:18:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:18:28 ---> Running in b4fdd348f118 13:18:30 Removing intermediate container b4fdd348f118 13:18:30 ---> c51994d1e2a1 13:18:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:18:30 ---> Running in b72c01367e97 13:18:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:18:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:18:33 OK: 224 MiB in 56 packages 13:18:33 Removing intermediate container b72c01367e97 13:18:33 ---> 65233481b503 13:18:33 Step 8/25 : WORKDIR /device-rest-go 13:18:34 ---> Running in c1f9e882d7ef 13:18:34 Removing intermediate container c1f9e882d7ef 13:18:34 ---> c67ade891f4d 13:18:34 Step 9/25 : COPY go.mod vendor* ./ 13:18:34 ---> e8342da47c9a 13:18:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:18:34 ---> Running in 86cd74b116cb 13:18:36 Removing intermediate container 86cd74b116cb 13:18:36 ---> 9b82f589d43a 13:18:36 Step 11/25 : COPY . . 13:18:37 ---> 1d29ce59c72c 13:18:37 Step 12/25 : RUN $MAKE 13:18:37 ---> Running in 39ad172509ab 13:18:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 13:21:00 Removing intermediate container 39ad172509ab 13:21:00 ---> 7cf328c1e428 13:21:00 Step 13/25 : FROM alpine:3.14 13:21:00 3.14: Pulling from library/alpine 13:21:00 455c02918c45: Pulling fs layer 13:21:00 455c02918c45: Download complete 13:21:00 455c02918c45: Pull complete 13:21:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:21:00 Status: Downloaded newer image for alpine:3.14 13:21:00 ---> ac73e934f311 13:21:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:21:00 ---> Running in 04ddd83ef9e9 13:21:00 Removing intermediate container 04ddd83ef9e9 13:21:00 ---> 57cbe46f0301 13:21:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 13:21:00 ---> Running in 13ea83ad36ea 13:21:00 Removing intermediate container 13ea83ad36ea 13:21:00 ---> 63d0b2068bd6 13:21:00 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 13:21:00 ---> Running in ecf7e14f4312 13:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:21:00 (1/6) Installing dumb-init (1.2.5-r1) 13:21:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:21:00 (3/6) Installing libsodium (1.0.18-r0) 13:21:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:21:00 (5/6) Installing libzmq (4.3.4-r0) 13:21:00 (6/6) Installing zeromq (4.3.4-r0) 13:21:00 Executing busybox-1.33.1-r7.trigger 13:21:00 OK: 8 MiB in 20 packages 13:21:00 Removing intermediate container ecf7e14f4312 13:21:00 ---> d55d0e26d698 13:21:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 13:21:00 ---> 8f82171ca09a 13:21:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 13:21:00 ---> e401539807c2 13:21:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 13:21:01 ---> ddaa706907d6 13:21:01 Step 20/25 : EXPOSE 59986 13:21:01 ---> Running in 13fd8c26bf9b 13:21:01 Removing intermediate container 13fd8c26bf9b 13:21:01 ---> 4d094ee8cd31 13:21:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 13:21:01 ---> Running in 7ec337330da9 13:21:02 Removing intermediate container 7ec337330da9 13:21:02 ---> c3a48a578904 13:21:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:21:02 ---> Running in e369143964d3 13:21:02 Removing intermediate container e369143964d3 13:21:02 ---> 42fde5feadc0 13:21:02 Step 23/25 : LABEL arch=arm64 13:21:02 ---> Running in fd70bf18e996 13:21:02 Removing intermediate container fd70bf18e996 13:21:02 ---> c4ee4d202127 13:21:02 Step 24/25 : LABEL git_sha=1b7989097685cbbb7d11325d5e96f20d406e46c7 13:21:02 ---> Running in def6521a3cfe 13:21:03 Removing intermediate container def6521a3cfe 13:21:03 ---> ed4d9aceb3c2 13:21:03 Step 25/25 : LABEL version=2.2.0-dev.14 13:21:03 ---> Running in 28f55037f5e9 13:21:03 Removing intermediate container 28f55037f5e9 13:21:03 ---> eb003b3c4f2a 13:21:03 [Warning] One or more build-args [ARCH] were not consumed 13:21:03 Successfully built eb003b3c4f2a 13:21:03 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:03 provisioning config files... 13:21:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/36@tmp/config8072349463781256628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:04 ---> docker-login.sh 13:21:04 nexus3.edgexfoundry.org:10001 13:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:04 Configure a credential helper to remove this warning. See 13:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:04 13:21:04 Login Succeeded 13:21:04 nexus3.edgexfoundry.org:10002 13:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:04 Configure a credential helper to remove this warning. See 13:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:04 13:21:04 Login Succeeded 13:21:04 nexus3.edgexfoundry.org:10003 13:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:05 Configure a credential helper to remove this warning. See 13:21:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:05 13:21:05 Login Succeeded 13:21:05 nexus3.edgexfoundry.org:10004 13:21:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:06 Configure a credential helper to remove this warning. See 13:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:06 13:21:06 Login Succeeded 13:21:06 docker.io 13:21:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:21:06 Configure a credential helper to remove this warning. See 13:21:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:21:06 13:21:06 Login Succeeded 13:21:06 ---> docker-login.sh ends [Pipeline] } 13:21:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:21:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:21:07 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 13:21:07 1b7989097685cbbb7d11325d5e96f20d406e46c7 13:21:07 latest 13:21:07 2.2.0-dev.14 13:21:07 1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:21:07 main 13:21:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:21:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] isUnix [Pipeline] sh 13:21:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7 13:21:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:21:07 cbb0166bf3aa: Preparing 13:21:07 d056fd51a6ac: Preparing 13:21:07 5fb6ef741b98: Preparing 13:21:07 69924cbffeee: Preparing 13:21:07 f73e7dbfee58: Preparing 13:21:08 f73e7dbfee58: Layer already exists 13:21:08 d056fd51a6ac: Pushed 13:21:08 cbb0166bf3aa: Pushed 13:21:08 69924cbffeee: Pushed 13:21:14 5fb6ef741b98: Pushed 13:21:14 1b7989097685cbbb7d11325d5e96f20d406e46c7: digest: sha256:ea11f5218657d73f73758a481fab2904b94b73c16968cc9a3d32b6cbfa98cb71 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:21:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:21:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 13:21:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:21:15 cbb0166bf3aa: Preparing 13:21:15 d056fd51a6ac: Preparing 13:21:15 5fb6ef741b98: Preparing 13:21:15 69924cbffeee: Preparing 13:21:15 f73e7dbfee58: Preparing 13:21:15 d056fd51a6ac: Layer already exists 13:21:15 5fb6ef741b98: Layer already exists 13:21:15 f73e7dbfee58: Layer already exists 13:21:15 cbb0166bf3aa: Layer already exists 13:21:15 69924cbffeee: Layer already exists 13:21:15 latest: digest: sha256:ea11f5218657d73f73758a481fab2904b94b73c16968cc9a3d32b6cbfa98cb71 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:21:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 13:21:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.14 13:21:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:21:16 cbb0166bf3aa: Preparing 13:21:16 d056fd51a6ac: Preparing 13:21:16 5fb6ef741b98: Preparing 13:21:16 69924cbffeee: Preparing 13:21:16 f73e7dbfee58: Preparing 13:21:16 5fb6ef741b98: Layer already exists 13:21:16 f73e7dbfee58: Layer already exists 13:21:16 69924cbffeee: Layer already exists 13:21:16 d056fd51a6ac: Layer already exists 13:21:16 cbb0166bf3aa: Layer already exists 13:21:16 2.2.0-dev.14: digest: sha256:ea11f5218657d73f73758a481fab2904b94b73c16968cc9a3d32b6cbfa98cb71 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:21:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 13:21:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:21:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:21:17 cbb0166bf3aa: Preparing 13:21:17 d056fd51a6ac: Preparing 13:21:17 5fb6ef741b98: Preparing 13:21:17 69924cbffeee: Preparing 13:21:17 f73e7dbfee58: Preparing 13:21:17 69924cbffeee: Layer already exists 13:21:17 f73e7dbfee58: Layer already exists 13:21:17 d056fd51a6ac: Layer already exists 13:21:17 5fb6ef741b98: Layer already exists 13:21:17 cbb0166bf3aa: Layer already exists 13:21:17 1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14: digest: sha256:ea11f5218657d73f73758a481fab2904b94b73c16968cc9a3d32b6cbfa98cb71 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:21:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 13:21:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 13:21:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 13:21:17 cbb0166bf3aa: Preparing 13:21:17 d056fd51a6ac: Preparing 13:21:17 5fb6ef741b98: Preparing 13:21:17 69924cbffeee: Preparing 13:21:17 f73e7dbfee58: Preparing 13:21:17 cbb0166bf3aa: Layer already exists 13:21:17 d056fd51a6ac: Layer already exists 13:21:17 69924cbffeee: Layer already exists 13:21:17 f73e7dbfee58: Layer already exists 13:21:17 5fb6ef741b98: Layer already exists 13:21:18 main: digest: sha256:ea11f5218657d73f73758a481fab2904b94b73c16968cc9a3d32b6cbfa98cb71 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:21:18 ===================================================== [Pipeline] echo 13:21:18 taggedImages: 13:21:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7 13:21:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 13:21:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.14 13:21:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1b7989097685cbbb7d11325d5e96f20d406e46c7-2.2.0-dev.14 13:21:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:21:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:18 13:21:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:19 arm64: Pulling from edgex-lftools-log-publisher 13:21:19 8998bd30e6a1: Pulling fs layer 13:21:19 04944245beec: Pulling fs layer 13:21:19 699f458cf7ca: Pulling fs layer 13:21:19 765212b225bb: Pulling fs layer 13:21:19 f23df028b6ca: Pulling fs layer 13:21:19 d65c8cfc05b1: Pulling fs layer 13:21:19 2437ff75d9bd: Pulling fs layer 13:21:19 f23df028b6ca: Waiting 13:21:19 d65c8cfc05b1: Waiting 13:21:19 2437ff75d9bd: Waiting 13:21:19 765212b225bb: Waiting 13:21:19 04944245beec: Verifying Checksum 13:21:19 04944245beec: Download complete 13:21:19 765212b225bb: Verifying Checksum 13:21:19 765212b225bb: Download complete 13:21:19 f23df028b6ca: Verifying Checksum 13:21:19 f23df028b6ca: Download complete 13:21:19 d65c8cfc05b1: Verifying Checksum 13:21:19 d65c8cfc05b1: Download complete 13:21:19 699f458cf7ca: Verifying Checksum 13:21:19 699f458cf7ca: Download complete 13:21:19 8998bd30e6a1: Verifying Checksum 13:21:19 8998bd30e6a1: Download complete 13:21:22 2437ff75d9bd: Verifying Checksum 13:21:22 2437ff75d9bd: Download complete 13:21:24 8998bd30e6a1: Pull complete 13:21:24 04944245beec: Pull complete 13:21:26 699f458cf7ca: Pull complete 13:21:26 765212b225bb: Pull complete 13:21:27 f23df028b6ca: Pull complete 13:21:27 d65c8cfc05b1: Pull complete 13:21:42 2437ff75d9bd: Pull complete 13:21:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:21:42 prd-ubuntu20.04-docker-arm64-4c-16g-40578 does not seem to be running inside a container 13:21:42 $ 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/36 -v /w/workspace/device-rest-go/36:/w/workspace/device-rest-go/36:rw,z -v /w/workspace/device-rest-go/36@tmp:/w/workspace/device-rest-go/36@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 13:21:45 $ docker top ec3e66322a0409073e28084ff095c525f018602939d5c16cbc24c8c808a625cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:46 ---> job-cost.sh 13:21:46 lf-activate-venv: SKIPPING 13:21:46 INFO: No Stack... 13:21:47 INFO: Retrieving Pricing Info for: v3-standard-4 13:21:47 INFO: Archiving Costs [Pipeline] sh 13:21:48 + cat /w/workspace/device-rest-go/36/archives/cost.csv 13:21:48 + cut -d, -f6 [Pipeline] lock 13:21:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] 13:21:48 Resource [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] did not exist. Created. 13:21:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:49 /w/workspace/device-rest-go/36@tmp/durable-5412fcd9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:21:50 + echo total: 0.10999999940395355 [Pipeline] stash 13:21:50 Warning: overwriting stash ‘stack-cost’ 13:21:50 Stashed 1 file(s) [Pipeline] } 13:21:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:50 $ docker stop --time=1 ec3e66322a0409073e28084ff095c525f018602939d5c16cbc24c8c808a625cf 13:21:51 $ docker rm -f ec3e66322a0409073e28084ff095c525f018602939d5c16cbc24c8c808a625cf [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 13:21:52 provisioning config files... 13:21:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2928389425378018292tmp [Pipeline] { [Pipeline] sh 13:21:52 + set +x 13:21:52 + curl -s https://codecov.io/bash 13:21:52 + bash -s -- 13:21:52 13:21:52 _____ _ 13:21:52 / ____| | | 13:21:52 | | ___ __| | ___ ___ _____ __ 13:21:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:21:52 | |___| (_) | (_| | __/ (_| (_) \ V / 13:21:52 \_____\___/ \__,_|\___|\___\___/ \_/ 13:21:52 Bash-1.0.6 13:21:52 13:21:52 13:21:52 ==> git version 2.25.1 found 13:21:52 ==> 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 13:21:52 Release-Date: 2020-01-08 13:21:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:21:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:21:52 ==> Jenkins CI detected. 13:21:52 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 13:21:52 project root: . 13:21:52 --> token set from env 13:21:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:21:52 ==> Running gcov in . (disable via -X gcov) 13:21:52 ==> Python coveragepy not found 13:21:52 ==> Searching for coverage reports in: 13:21:52 + . 13:21:52 -> Found 1 reports 13:21:52 ==> Detecting git/mercurial file structure 13:21:52 ==> Reading reports 13:21:52 + ./coverage.out bytes=9355 13:21:52 ==> Appending adjustments 13:21:52 https://docs.codecov.io/docs/fixing-reports 13:21:53 + Found adjustments 13:21:53 ==> Gzipping contents 13:21:53 4.0K /tmp/codecov.MtVyBZ.gz 13:21:53 ==> Uploading reports 13:21:53 url: https://codecov.io 13:21:53 query: branch=main&commit=1b7989097685cbbb7d11325d5e96f20d406e46c7&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:21:53 -> Pinging Codecov 13:21:53 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=1b7989097685cbbb7d11325d5e96f20d406e46c7&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:21:53 -> Uploading to 13:21:53 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/4E5D53B4F1F92C436F7061BF334D961C/1b7989097685cbbb7d11325d5e96f20d406e46c7/24ce69ba-7cfe-4227-aee7-76e85447f0fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T132153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29ee57c8516769e15fc651bda3f3781bde99b9a14c6476adc9bd575aebadbdc5 13:21:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:21:53 Dload Upload Total Spent Left Speed 13:21:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8062 --:--:-- --:--:-- --:--:-- 8062 13:21:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] } 13:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:21:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:21:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:21:54 13:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:21:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:21:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:21:54 188c0c94c7c5: Pulling fs layer 13:21:54 0ef7d3d256c8: Pulling fs layer 13:21:54 de9db76c5a1d: Pulling fs layer 13:21:54 0eba1c9be4d2: Pulling fs layer 13:21:54 0d57e429df01: Pulling fs layer 13:21:54 4e4be7b47b0d: Pulling fs layer 13:21:54 0eba1c9be4d2: Waiting 13:21:54 e1f770b5df2f: Pulling fs layer 13:21:54 85a0685a4137: Pulling fs layer 13:21:54 0d57e429df01: Waiting 13:21:54 4e4be7b47b0d: Waiting 13:21:54 85a0685a4137: Waiting 13:21:54 e1f770b5df2f: Waiting 13:21:54 de9db76c5a1d: Download complete 13:21:54 0d57e429df01: Verifying Checksum 13:21:54 0d57e429df01: Download complete 13:21:54 188c0c94c7c5: Verifying Checksum 13:21:54 188c0c94c7c5: Download complete 13:21:54 4e4be7b47b0d: Verifying Checksum 13:21:54 4e4be7b47b0d: Download complete 13:21:54 188c0c94c7c5: Pull complete 13:21:54 e1f770b5df2f: Verifying Checksum 13:21:54 e1f770b5df2f: Download complete 13:21:54 0ef7d3d256c8: Pull complete 13:21:54 de9db76c5a1d: Pull complete 13:21:55 0eba1c9be4d2: Verifying Checksum 13:21:55 0eba1c9be4d2: Download complete 13:21:55 85a0685a4137: Verifying Checksum 13:21:55 85a0685a4137: Download complete 13:21:58 0eba1c9be4d2: Pull complete 13:21:58 0d57e429df01: Pull complete 13:21:58 4e4be7b47b0d: Pull complete 13:21:58 e1f770b5df2f: Pull complete 13:22:02 85a0685a4137: Pull complete 13:22:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:22:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:22:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:22:02 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:22:04 $ docker top 3f4c4bd0205bb7ff869fa7e8ccc7e2fc7ac1f127e81670915fd720efff959545 -eo pid,comm [Pipeline] { [Pipeline] echo 13:22:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:22:04 + set -o pipefail 13:22:04 + snyk monitor '--org=edgex-jenkins' 13:22:09 13:22:09 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 13:22:09 13:22:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c842a82e-5eb9-42c7-9998-1fc49d394149 13:22:09 13:22:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:22:09 13:22:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:22:09 13:22:09 [Pipeline] } 13:22:09 $ docker stop --time=1 3f4c4bd0205bb7ff869fa7e8ccc7e2fc7ac1f127e81670915fd720efff959545 13:22:11 $ docker rm -f 3f4c4bd0205bb7ff869fa7e8ccc7e2fc7ac1f127e81670915fd720efff959545 [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 13:22:12 + git log --format=format:%s -1 1b7989097685cbbb7d11325d5e96f20d406e46c7 [Pipeline] sh 13:22:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:22:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:22:12 . [Pipeline] withDockerContainer 13:22:13 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:22:13 $ docker top 003aa2944f6d06af2d03718b49fac56572a7f90b2a8b9ad053eba1cecf445e7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:13 [ssh-agent] Looking for ssh-agent implementation... 13:22:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:13 $ docker exec 003aa2944f6d06af2d03718b49fac56572a7f90b2a8b9ad053eba1cecf445e7b ssh-agent 13:22:13 SSH_AUTH_SOCK=/tmp/ssh-fiuxJ5XcseR3/agent.32 13:22:13 SSH_AGENT_PID=38 13:22:13 Running ssh-add (command line suppressed) 13:22:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5626542582983250786.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5626542582983250786.key) 13:22:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:14 + git semver tag 13:22:14 2022-05-06 13:22:14,529 [run_tag] DEBUG tag force:False 13:22:14 2022-05-06 13:22:14,529 [check_head_tag] DEBUG check head tag 13:22:14 2022-05-06 13:22:14,530 [execute] INFO git cat-file --batch-check 13:22:14 2022-05-06 13:22:14,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 13:22:14 2022-05-06 13:22:14,534 [execute] INFO git cat-file --batch 13:22:14 2022-05-06 13:22:14,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 13:22:14 2022-05-06 13:22:14,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:14 2022-05-06 13:22:14,551 [execute] INFO git tag -a v2.2.0-dev.14 -m v2.2.0-dev.14 13:22:14 2022-05-06 13:22:14,551 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.14', '-m', 'v2.2.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 13:22:14 2022-05-06 13:22:14,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:14 2.2.0-dev.14 [Pipeline] } 13:22:14 $ docker exec --env ******** --env ******** 003aa2944f6d06af2d03718b49fac56572a7f90b2a8b9ad053eba1cecf445e7b ssh-agent -k 13:22:14 unset SSH_AUTH_SOCK; 13:22:14 unset SSH_AGENT_PID; 13:22:14 echo Agent pid 38 killed; 13:22:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:15 + git semver [Pipeline] } 13:22:15 $ docker stop --time=1 003aa2944f6d06af2d03718b49fac56572a7f90b2a8b9ad053eba1cecf445e7b 13:22:16 $ docker rm -f 003aa2944f6d06af2d03718b49fac56572a7f90b2a8b9ad053eba1cecf445e7b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:17 13:22:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:22:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:17 0.23.1-centos7: Pulling from edgex-lftools 13:22:17 ab5ef0e58194: Pulling fs layer 13:22:17 9712f1f96733: Pulling fs layer 13:22:17 63f879dbbcfc: Pulling fs layer 13:22:17 0d9ebad4ef96: Pulling fs layer 13:22:17 e9a5061849ea: Pulling fs layer 13:22:17 d747dcd14b5f: Pulling fs layer 13:22:17 2de7ff778b66: Pulling fs layer 13:22:17 0d9ebad4ef96: Waiting 13:22:17 e9a5061849ea: Waiting 13:22:17 d747dcd14b5f: Waiting 13:22:17 2de7ff778b66: Waiting 13:22:17 9712f1f96733: Verifying Checksum 13:22:17 9712f1f96733: Download complete 13:22:17 63f879dbbcfc: Verifying Checksum 13:22:17 63f879dbbcfc: Download complete 13:22:18 0d9ebad4ef96: Verifying Checksum 13:22:18 0d9ebad4ef96: Download complete 13:22:18 e9a5061849ea: Verifying Checksum 13:22:18 e9a5061849ea: Download complete 13:22:18 d747dcd14b5f: Download complete 13:22:18 ab5ef0e58194: Verifying Checksum 13:22:18 ab5ef0e58194: Download complete 13:22:18 2de7ff778b66: Verifying Checksum 13:22:18 2de7ff778b66: Download complete 13:22:21 ab5ef0e58194: Pull complete 13:22:21 9712f1f96733: Pull complete 13:22:21 63f879dbbcfc: Pull complete 13:22:25 0d9ebad4ef96: Pull complete 13:22:25 e9a5061849ea: Pull complete 13:22:25 d747dcd14b5f: Pull complete 13:22:26 2de7ff778b66: Pull complete 13:22:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:22:26 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:22:28 $ docker top 3f8ddef45497332766b5ac5a2eb876fdde5a6163571a2621967fe0be6220d2a8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:22:28 provisioning config files... 13:22:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7787131538573458155tmp 13:22:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6166823866006951877tmp 13:22:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8341811067692507534tmp [Pipeline] { [Pipeline] echo 13:22:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:22:28 ---> sigul-configuration.sh 13:22:28 gpg: directory `/root/.gnupg' created 13:22:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:22:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:22:28 gpg: keyring `/root/.gnupg/secring.gpg' created 13:22:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:22:28 gpg: CAST5 encrypted data 13:22:28 gpg: encrypted with 1 passphrase 13:22:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:22:29 + mkdir /home/jenkins 13:22:29 + mkdir /home/jenkins/sigul [Pipeline] sh 13:22:29 + 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 13:22:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:22:29 ---> sigul-install.sh 13:22:29 Sigul already installed; skipping installation. [Pipeline] sh 13:22:29 + git tag --list 13:22:29 v1.0.0 13:22:29 v1.1.0 13:22:29 v1.1.1 13:22:29 v1.1.2 13:22:29 v1.2.0 13:22:29 v1.2.1 13:22:29 v2.0.0 13:22:29 v2.0.1-dev.1 13:22:29 v2.0.1-dev.10 13:22:29 v2.0.1-dev.11 13:22:29 v2.0.1-dev.12 13:22:29 v2.0.1-dev.13 13:22:29 v2.0.1-dev.14 13:22:29 v2.0.1-dev.2 13:22:29 v2.0.1-dev.3 13:22:29 v2.0.1-dev.4 13:22:29 v2.0.1-dev.5 13:22:29 v2.0.1-dev.6 13:22:29 v2.0.1-dev.7 13:22:29 v2.0.1-dev.8 13:22:29 v2.0.1-dev.9 13:22:29 v2.1.0 13:22:29 v2.2.0-dev.1 13:22:29 v2.2.0-dev.10 13:22:29 v2.2.0-dev.11 13:22:29 v2.2.0-dev.12 13:22:29 v2.2.0-dev.13 13:22:29 v2.2.0-dev.14 13:22:29 v2.2.0-dev.2 13:22:29 v2.2.0-dev.3 13:22:29 v2.2.0-dev.4 13:22:29 v2.2.0-dev.5 13:22:29 v2.2.0-dev.6 13:22:29 v2.2.0-dev.7 13:22:29 v2.2.0-dev.8 13:22:29 v2.2.0-dev.9 [Pipeline] sh 13:22:30 + lftools sign git-tag v2.2.0-dev.14 13:22:30 Signing Git tag with Sigul... 13:22:30 Signing v2.2.0-dev.14 [Pipeline] echo 13:22:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:22:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:22:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:22:32 $ docker stop --time=1 3f8ddef45497332766b5ac5a2eb876fdde5a6163571a2621967fe0be6220d2a8 13:22:33 $ docker rm -f 3f8ddef45497332766b5ac5a2eb876fdde5a6163571a2621967fe0be6220d2a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:22:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:22:34 . [Pipeline] withDockerContainer 13:22:34 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:22:34 $ docker top 268af86ebe57bdfc185c5d50e77196f217a55d5495907335797f1af044008eb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:34 [ssh-agent] Looking for ssh-agent implementation... 13:22:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:34 $ docker exec 268af86ebe57bdfc185c5d50e77196f217a55d5495907335797f1af044008eb6 ssh-agent 13:22:35 SSH_AUTH_SOCK=/tmp/ssh-1txtmoqdxkBT/agent.33 13:22:35 SSH_AGENT_PID=40 13:22:35 Running ssh-add (command line suppressed) 13:22:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4342162153747964423.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4342162153747964423.key) 13:22:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:35 + git semver bump pre 13:22:35 2022-05-06 13:22:35,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:35 2022-05-06 13:22:35,621 [bump_version] DEBUG bumping version:2.2.0-dev.14 on axis:pre with prefix:dev 13:22:35 2022-05-06 13:22:35,621 [bump_version] DEBUG bumped version:2.2.0-dev.15 13:22:35 2022-05-06 13:22:35,622 [write_version] DEBUG write version:2.2.0-dev.15 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 13:22:35 2022-05-06 13:22:35,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:35 2022-05-06 13:22:35,622 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:35 2022-05-06 13:22:35,623 [execute] INFO git cat-file --batch-check 13:22:35 2022-05-06 13:22:35,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:22:35 2022-05-06 13:22:35,628 [execute] INFO git cat-file --batch 13:22:35 2022-05-06 13:22:35,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:22:35 2022-05-06 13:22:35,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:35 2.2.0-dev.15 [Pipeline] } 13:22:35 $ docker exec --env ******** --env ******** 268af86ebe57bdfc185c5d50e77196f217a55d5495907335797f1af044008eb6 ssh-agent -k 13:22:35 unset SSH_AUTH_SOCK; 13:22:35 unset SSH_AGENT_PID; 13:22:35 echo Agent pid 40 killed; 13:22:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:36 + git semver [Pipeline] } 13:22:36 $ docker stop --time=1 268af86ebe57bdfc185c5d50e77196f217a55d5495907335797f1af044008eb6 13:22:37 $ docker rm -f 268af86ebe57bdfc185c5d50e77196f217a55d5495907335797f1af044008eb6 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:22:38 . [Pipeline] withDockerContainer 13:22:38 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:22:38 $ docker top c678e8f0b8df241fcabfe07824b0522d50dbe9c5ae403bdc17d084f6029a3961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:38 [ssh-agent] Looking for ssh-agent implementation... 13:22:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:39 $ docker exec c678e8f0b8df241fcabfe07824b0522d50dbe9c5ae403bdc17d084f6029a3961 ssh-agent 13:22:39 SSH_AUTH_SOCK=/tmp/ssh-Hl8fSBlcnlqD/agent.32 13:22:39 SSH_AGENT_PID=38 13:22:39 Running ssh-add (command line suppressed) 13:22:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_282327707056453966.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_282327707056453966.key) 13:22:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:39 + git semver push 13:22:39 2022-05-06 13:22:39,793 [run_push] DEBUG push 13:22:39 2022-05-06 13:22:39,794 [execute] INFO git push origin semver 13:22:39 2022-05-06 13:22:39,794 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:22:40 2022-05-06 13:22:40,712 [run_push] DEBUG push all version tags 13:22:40 2022-05-06 13:22:40,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:22:40 2022-05-06 13:22:40,713 [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) 13:22:41 2022-05-06 13:22:41,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 13:22:41 2.2.0-dev.15 [Pipeline] } 13:22:41 $ docker exec --env ******** --env ******** c678e8f0b8df241fcabfe07824b0522d50dbe9c5ae403bdc17d084f6029a3961 ssh-agent -k 13:22:41 unset SSH_AUTH_SOCK; 13:22:41 unset SSH_AGENT_PID; 13:22:41 echo Agent pid 38 killed; 13:22:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:42 + git semver [Pipeline] } 13:22:42 $ docker stop --time=1 c678e8f0b8df241fcabfe07824b0522d50dbe9c5ae403bdc17d084f6029a3961 13:22:43 $ docker rm -f c678e8f0b8df241fcabfe07824b0522d50dbe9c5ae403bdc17d084f6029a3961 [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 13:22:44 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 13:22:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 13:22:44 total 16 13:22:44 drwxr-xr-x 3 root root 4096 May 6 13:12 . 13:22:44 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:22 .. 13:22:44 drwxr-xr-x 2 root root 4096 May 6 13:12 cost 13:22:44 -rw-r--r-- 1 root root 84 May 6 13:12 cost.csv 13:22:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 13:22:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 13:22:44 total 16 13:22:44 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:12 . 13:22:44 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:22 .. 13:22:44 drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:12 cost 13:22:44 -rw-r--r-- 1 jenkins jenkins 84 May 6 13:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:22:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:22:45 ---> package-listing.sh 13:22:45 ++ facter osfamily 13:22:45 ++ tr '[:upper:]' '[:lower:]' 13:22:45 + OS_FAMILY=debian 13:22:45 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 13:22:45 + START_PACKAGES=/tmp/packages_start.txt 13:22:45 + END_PACKAGES=/tmp/packages_end.txt 13:22:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:22:45 + PACKAGES=/tmp/packages_start.txt 13:22:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 13:22:45 + PACKAGES=/tmp/packages_end.txt 13:22:45 + case "${OS_FAMILY}" in 13:22:45 + dpkg -l 13:22:45 + grep '^ii' 13:22:45 + '[' -f /tmp/packages_start.txt ']' 13:22:45 + '[' -f /tmp/packages_end.txt ']' 13:22:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:22:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 13:22:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 13:22:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 13:22:45 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 13:22:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:22:46 . [Pipeline] withDockerContainer 13:22:46 prd-ubuntu20.04-docker-8c-8g-40576 does not seem to be running inside a container 13:22:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:22:47 $ docker top 42610de1cf6fad7d4849d0ad89d93e6ae541a57d21a968abe48f3d101b51ca0c -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:47 + touch /tmp/pre-build-complete [Pipeline] sh 13:22:47 + mkdir -p /var/log/sysstat [Pipeline] sh 13:22:48 + ls /var/log/sa-host 13:22:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:22:48 provisioning config files... 13:22:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8077062061973422077tmp [Pipeline] { [Pipeline] echo 13:22:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:22:48 ---> create-netrc.sh [Pipeline] } 13:22:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:22:48 ---> python-tools-install.sh [Pipeline] echo 13:22:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:22:49 ---> sudo-logs.sh 13:22:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:22:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:22:49 ---> job-cost.sh 13:22:49 lf-activate-venv: SKIPPING 13:22:49 DEBUG: total: 0.2199999988079071 13:22:49 INFO: Retrieving Stack Cost... 13:22:50 INFO: Retrieving Pricing Info for: v3-standard-8 13:22:50 INFO: Archiving Costs [Pipeline] echo 13:22:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:22:50 ---> logs-deploy.sh 13:22:50 lf-activate-venv: SKIPPING 13:22:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/36 13:22:50 INFO: archiving workspace using pattern(s): 13:22:51 Archives upload complete. 13:22:51 INFO: archiving logs to Nexus 13:22:52 ---> uname -a: 13:22:52 Linux prd-ubuntu20-04-docker-8c-8g-40576 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 13:22:52 13:22:52 13:22:52 ---> lscpu: 13:22:52 Architecture: x86_64 13:22:52 CPU op-mode(s): 32-bit, 64-bit 13:22:52 Byte Order: Little Endian 13:22:52 Address sizes: 40 bits physical, 48 bits virtual 13:22:52 CPU(s): 8 13:22:52 On-line CPU(s) list: 0-7 13:22:52 Thread(s) per core: 1 13:22:52 Core(s) per socket: 1 13:22:52 Socket(s): 8 13:22:52 NUMA node(s): 1 13:22:52 Vendor ID: AuthenticAMD 13:22:52 CPU family: 23 13:22:52 Model: 49 13:22:52 Model name: AMD EPYC-Rome Processor 13:22:52 Stepping: 0 13:22:52 CPU MHz: 2799.996 13:22:52 BogoMIPS: 5599.99 13:22:52 Virtualization: AMD-V 13:22:52 Hypervisor vendor: KVM 13:22:52 Virtualization type: full 13:22:52 L1d cache: 256 KiB 13:22:52 L1i cache: 256 KiB 13:22:52 L2 cache: 4 MiB 13:22:52 L3 cache: 128 MiB 13:22:52 NUMA node0 CPU(s): 0-7 13:22:52 Vulnerability Itlb multihit: Not affected 13:22:52 Vulnerability L1tf: Not affected 13:22:52 Vulnerability Mds: Not affected 13:22:52 Vulnerability Meltdown: Not affected 13:22:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:22:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:22:52 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:22:52 Vulnerability Srbds: Not affected 13:22:52 Vulnerability Tsx async abort: Not affected 13:22:52 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 13:22:52 13:22:52 13:22:52 ---> nproc: 13:22:52 8 13:22:52 13:22:52 13:22:52 ---> df -h: 13:22:52 Filesystem Size Used Avail Use% Mounted on 13:22:52 overlay 155G 12G 143G 8% / 13:22:52 tmpfs 64M 0 64M 0% /dev 13:22:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 13:22:52 shm 64M 0 64M 0% /dev/shm 13:22:52 /dev/vda1 155G 12G 143G 8% /facter-os 13:22:52 13:22:52 13:22:52 ---> sar -b -r -n DEV: 13:22:52 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-40576) 05/06/22 _x86_64_ (8 CPU) 13:22:52 13:22:52 13:10:03 LINUX RESTART (8 CPU) 13:22:52 13:22:52 13:11:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:22:52 13:12:01 189.90 2.17 187.73 0.00 42.57 58855.24 0.00 13:22:52 13:13:01 157.09 0.03 157.05 0.00 5.20 34323.37 0.00 13:22:52 13:14:01 1.63 0.00 1.63 0.00 0.00 20.68 0.00 13:22:52 13:15:01 1.40 0.00 1.40 0.00 0.00 16.26 0.00 13:22:52 13:16:01 1.07 0.02 1.05 0.00 0.13 12.53 0.00 13:22:52 13:17:01 1.55 0.02 1.53 0.00 0.13 17.60 0.00 13:22:52 13:18:01 1.20 0.00 1.20 0.00 0.00 14.40 0.00 13:22:52 13:19:01 1.65 0.00 1.65 0.00 0.00 19.99 0.00 13:22:52 13:20:01 0.97 0.00 0.97 0.00 0.00 12.80 0.00 13:22:52 13:21:01 1.42 0.00 1.42 0.00 0.00 20.66 0.00 13:22:52 13:22:01 4.42 0.12 4.30 0.00 13.46 457.66 0.00 13:22:52 Average: 32.70 0.21 32.49 0.00 5.53 8448.69 0.00 13:22:52 13:22:52 13:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:22:52 13:12:01 28494512 31715304 580596 1.77 162316 3275740 2585812 7.62 1345564 2604016 316 13:22:52 13:13:01 27805824 31776188 516508 1.57 173708 3950132 1811704 5.34 1337548 3231928 372 13:22:52 13:14:01 27804992 31775392 516876 1.57 173732 3950136 1811704 5.34 1337592 3231932 12 13:22:52 13:15:01 27810108 31780552 511352 1.56 173776 3950136 1811704 5.34 1333156 3231932 36 13:22:52 13:16:01 27810496 31781152 510996 1.55 173812 3950144 1811704 5.34 1332796 3232240 12 13:22:52 13:17:01 27814048 31784844 506944 1.54 173848 3950144 1811704 5.34 1328868 3232240 228 13:22:52 13:18:01 27815152 31785968 505816 1.54 173888 3950148 1811704 5.34 1328124 3232244 16 13:22:52 13:19:01 27815120 31785976 505776 1.54 173916 3950156 1811704 5.34 1328092 3232252 24 13:22:52 13:20:01 27815544 31786436 505272 1.54 173952 3950140 1811704 5.34 1327760 3232252 12 13:22:52 13:21:01 27815520 31786432 505188 1.54 174004 3950128 1811704 5.34 1328100 3232232 48 13:22:52 13:22:01 26876276 31720304 570276 1.73 182736 4762732 2189960 6.45 1400696 4044332 820636 13:22:52 Average: 27788872 31770777 521418 1.59 173608 3962703 1916464 5.65 1338936 3248873 74701 13:22:52 13:22:52 13:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:22:52 13:12:01 docker0 104.98 130.01 8.40 1059.28 0.00 0.00 0.00 0.00 13:22:52 13:12:01 ens3 316.74 230.50 4496.61 85.53 0.00 0.00 0.00 0.00 13:22:52 13:12:01 veth8cbe33c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:12:01 lo 2.91 2.91 0.29 0.29 0.00 0.00 0.00 0.00 13:22:52 13:13:01 docker0 10.83 15.44 0.64 89.64 0.00 0.00 0.00 0.00 13:22:52 13:13:01 ens3 211.94 159.97 2707.52 279.70 0.00 0.00 0.00 0.00 13:22:52 13:13:01 lo 7.40 7.40 0.73 0.73 0.00 0.00 0.00 0.00 13:22:52 13:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:14:01 ens3 0.68 0.30 0.35 0.26 0.00 0.00 0.00 0.00 13:22:52 13:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:15:01 ens3 1.25 0.32 0.35 0.20 0.00 0.00 0.00 0.00 13:22:52 13:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:22:52 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:16:01 ens3 2.07 0.60 1.06 0.51 0.00 0.00 0.00 0.00 13:22:52 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:17:01 ens3 1.28 0.50 0.54 0.39 0.00 0.00 0.00 0.00 13:22:52 13:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:22:52 13:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:18:01 ens3 0.73 0.17 0.15 0.07 0.00 0.00 0.00 0.00 13:22:52 13:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:19:01 ens3 0.62 0.38 0.27 0.21 0.00 0.00 0.00 0.00 13:22:52 13:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:22:52 13:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:20:01 ens3 0.13 0.02 0.01 0.00 0.00 0.00 0.00 0.00 13:22:52 13:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:21:01 ens3 0.30 0.20 0.09 0.07 0.00 0.00 0.00 0.00 13:22:52 13:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:22:52 13:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:52 13:22:01 ens3 149.24 80.72 4058.27 9.19 0.00 0.00 0.00 0.00 13:22:52 13:22:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 13:22:52 Average: docker0 10.38 13.05 0.81 102.99 0.00 0.00 0.00 0.00 13:22:52 Average: ens3 61.89 42.78 1018.85 34.12 0.00 0.00 0.00 0.00 13:22:52 Average: lo 1.11 1.11 0.11 0.11 0.00 0.00 0.00 0.00 13:22:52 13:22:52 13:22:52 ---> sar -P ALL: 13:22:52 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-40576) 05/06/22 _x86_64_ (8 CPU) 13:22:52 13:22:52 13:10:03 LINUX RESTART (8 CPU) 13:22:52 13:22:52 13:11:02 CPU %user %nice %system %iowait %steal %idle 13:22:52 13:12:01 all 27.27 0.00 6.65 1.99 0.11 63.99 13:22:52 13:12:01 0 26.91 0.00 6.75 0.48 0.12 65.74 13:22:52 13:12:01 1 28.15 0.00 6.58 1.15 0.12 64.00 13:22:52 13:12:01 2 27.05 0.00 6.41 0.34 0.10 66.09 13:22:52 13:12:01 3 26.71 0.00 7.00 1.50 0.12 64.67 13:22:52 13:12:01 4 27.96 0.00 6.03 0.95 0.10 64.95 13:22:52 13:12:01 5 26.09 0.00 6.57 3.59 0.10 63.65 13:22:52 13:12:01 6 26.84 0.00 7.43 3.03 0.10 62.59 13:22:52 13:12:01 7 28.41 0.00 6.41 4.87 0.10 60.21 13:22:52 13:13:01 all 17.56 0.00 3.61 1.20 0.07 77.55 13:22:52 13:13:01 0 15.19 0.00 3.82 0.99 0.07 79.94 13:22:52 13:13:01 1 18.31 0.00 3.92 3.11 0.07 74.59 13:22:52 13:13:01 2 18.79 0.00 3.44 0.46 0.08 77.23 13:22:52 13:13:01 3 19.00 0.00 3.79 1.79 0.08 75.35 13:22:52 13:13:01 4 17.58 0.00 3.85 2.02 0.08 76.47 13:22:52 13:13:01 5 18.45 0.00 3.11 0.10 0.07 78.27 13:22:52 13:13:01 6 17.23 0.00 3.69 0.99 0.07 78.03 13:22:52 13:13:01 7 15.96 0.00 3.27 0.19 0.07 80.53 13:22:52 13:14:01 all 0.15 0.00 0.02 0.01 0.00 99.83 13:22:52 13:14:01 0 0.03 0.00 0.02 0.02 0.00 99.93 13:22:52 13:14:01 1 0.03 0.00 0.02 0.02 0.00 99.93 13:22:52 13:14:01 2 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:14:01 3 0.02 0.00 0.02 0.00 0.00 99.97 13:22:52 13:14:01 4 0.99 0.00 0.07 0.02 0.00 98.92 13:22:52 13:14:01 5 0.03 0.00 0.00 0.00 0.00 99.97 13:22:52 13:14:01 6 0.03 0.00 0.00 0.00 0.00 99.97 13:22:52 13:14:01 7 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:15:01 all 0.28 0.00 0.01 0.00 0.00 99.69 13:22:52 13:15:01 0 0.02 0.00 0.00 0.02 0.00 99.97 13:22:52 13:15:01 1 0.05 0.00 0.02 0.02 0.02 99.90 13:22:52 13:15:01 2 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:15:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:15:01 4 1.99 0.00 0.00 0.00 0.00 98.01 13:22:52 13:15:01 5 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:15:01 6 0.07 0.00 0.05 0.00 0.02 99.87 13:22:52 13:15:01 7 0.05 0.00 0.02 0.00 0.00 99.93 13:22:52 13:16:01 all 0.16 0.00 0.07 0.00 0.01 99.75 13:22:52 13:16:01 0 0.08 0.00 0.17 0.02 0.00 99.73 13:22:52 13:16:01 1 0.08 0.00 0.18 0.00 0.00 99.73 13:22:52 13:16:01 2 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:16:01 3 0.05 0.00 0.03 0.00 0.02 99.90 13:22:52 13:16:01 4 1.01 0.00 0.02 0.02 0.02 98.94 13:22:52 13:16:01 5 0.02 0.00 0.05 0.00 0.02 99.92 13:22:52 13:16:01 6 0.07 0.00 0.12 0.00 0.00 99.82 13:22:52 13:16:01 7 0.00 0.00 0.00 0.00 0.00 100.00 13:22:52 13:17:01 all 0.03 0.00 0.02 0.01 0.00 99.94 13:22:52 13:17:01 0 0.02 0.00 0.03 0.05 0.00 99.90 13:22:52 13:17:01 1 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:17:01 2 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:17:01 3 0.02 0.00 0.03 0.00 0.00 99.95 13:22:52 13:17:01 4 0.02 0.00 0.02 0.00 0.00 99.97 13:22:52 13:17:01 5 0.05 0.00 0.03 0.00 0.00 99.92 13:22:52 13:17:01 6 0.07 0.00 0.00 0.00 0.00 99.93 13:22:52 13:17:01 7 0.00 0.00 0.00 0.05 0.00 99.95 13:22:52 13:18:01 all 0.01 0.00 0.01 0.00 0.00 99.97 13:22:52 13:18:01 0 0.00 0.00 0.00 0.02 0.02 99.97 13:22:52 13:18:01 1 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:18:01 2 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 13:22:52 13:18:01 4 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:18:01 5 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:18:01 6 0.05 0.00 0.02 0.00 0.02 99.92 13:22:52 13:18:01 7 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:19:01 all 0.06 0.00 0.01 0.02 0.00 99.91 13:22:52 13:19:01 0 0.15 0.00 0.03 0.02 0.00 99.80 13:22:52 13:19:01 1 0.08 0.00 0.02 0.12 0.00 99.78 13:22:52 13:19:01 2 0.03 0.00 0.00 0.00 0.00 99.97 13:22:52 13:19:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:19:01 4 0.03 0.00 0.00 0.00 0.00 99.97 13:22:52 13:19:01 5 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:19:01 6 0.13 0.00 0.02 0.02 0.00 99.83 13:22:52 13:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:20:01 all 0.02 0.00 0.02 0.00 0.00 99.96 13:22:52 13:20:01 0 0.03 0.00 0.03 0.02 0.00 99.92 13:22:52 13:20:01 1 0.02 0.00 0.02 0.00 0.00 99.97 13:22:52 13:20:01 2 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:20:01 3 0.02 0.00 0.00 0.00 0.00 99.98 13:22:52 13:20:01 4 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:20:01 5 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:20:01 6 0.00 0.00 0.02 0.00 0.00 99.98 13:22:52 13:20:01 7 0.02 0.00 0.03 0.02 0.02 99.92 13:22:52 13:21:01 all 0.02 0.00 0.01 0.01 0.00 99.96 13:22:52 13:21:01 0 0.05 0.00 0.03 0.02 0.02 99.88 13:22:52 13:21:01 1 0.00 0.00 0.00 0.03 0.00 99.97 13:22:52 13:21:01 2 0.03 0.00 0.00 0.00 0.00 99.97 13:22:52 13:21:01 3 0.03 0.00 0.02 0.00 0.00 99.95 13:22:52 13:21:01 4 0.00 0.00 0.00 0.00 0.02 99.98 13:22:52 13:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 13:22:52 13:21:01 6 0.07 0.00 0.00 0.00 0.00 99.93 13:22:52 13:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 13:22:52 13:22:01 all 2.88 0.00 1.16 0.03 0.01 95.92 13:22:52 13:22:01 0 2.91 0.00 1.62 0.13 0.02 95.32 13:22:52 13:22:01 1 3.63 0.00 1.04 0.03 0.02 95.29 13:22:52 13:22:01 2 3.18 0.00 0.84 0.02 0.02 95.95 13:22:52 13:22:01 3 2.56 0.00 1.76 0.02 0.03 95.63 13:22:52 13:22:01 4 2.75 0.00 0.72 0.00 0.00 96.53 13:22:52 13:22:01 5 3.03 0.00 0.95 0.02 0.02 95.99 13:22:52 13:22:01 6 2.29 0.00 1.22 0.00 0.02 96.47 13:22:52 13:22:01 7 2.68 0.00 1.11 0.00 0.00 96.21 13:22:52 13:22:52 Average: CPU %user %nice %system %iowait %steal %idle 13:22:52 Average: all 4.33 0.00 1.03 0.29 0.02 94.32 13:22:52 Average: 0 4.06 0.00 1.12 0.16 0.02 94.64 13:22:52 Average: 1 4.50 0.00 1.05 0.40 0.02 94.02 13:22:52 Average: 2 4.39 0.00 0.96 0.07 0.02 94.56 13:22:52 Average: 3 4.33 0.00 1.13 0.30 0.02 94.22 13:22:52 Average: 4 4.69 0.00 0.96 0.27 0.02 94.06 13:22:52 Average: 5 4.28 0.00 0.96 0.33 0.02 94.42 13:22:52 Average: 6 4.19 0.00 1.12 0.36 0.02 94.31 13:22:52 Average: 7 4.20 0.00 0.97 0.45 0.02 94.36 13:22:52 13:22:52 13:22:52