Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22dd7cc6891c310929bd15537ed473a29469e419+6db49600d84fbc344f4830d0628105aa21893aeb (701f0de3f54b399b29afc58d2322998f604582d3) 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-ssh10393431101948672384.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14814827175173899077.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16324245977638232523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10465078202020410547.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5991964987924994333.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-673 in /w/workspace/gexfoundry_device-rest-go_PR-190 [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/gexfoundry_device-rest-go_PR-190 # 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 Merging remotes/origin/main commit 6db49600d84fbc344f4830d0628105aa21893aeb into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 Merge succeeded, producing 7cb5c9429817c589730df795c1a6b282277bb94c Checking out Revision 7cb5c9429817c589730df795c1a6b282277bb94c (PR-190) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cb5c9429817c589730df795c1a6b282277bb94c # timeout=10 Commit message: "Merge commit '6db49600d84fbc344f4830d0628105aa21893aeb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:07:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:07:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:07:17 ========================================================= 19:07:17 EdgeX Global Pipelines Version Info 19:07:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0e70da98cff13cf27bcc98182ddbbd5547590dcc # timeout=10 19:07:17 ------------------- 19:07:17 stable info: 19:07:17 ------------------- 19:07:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:07:17 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:07:17 Message: update stable to v1.0.230 19:07:18 ------------------- 19:07:18 experimental info: 19:07:18 ------------------- 19:07:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:07:18 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 19:07:18 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 19:07:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 19:07:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cb5c9429817c589730df795c1a6b282277bb94c [Pipeline] echo 19:07:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cb5c94 [Pipeline] echo 19:07:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:19 provisioning config files... 19:07:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config6086457966095618739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:19 ---> docker-login.sh 19:07:19 nexus3.edgexfoundry.org:10001 19:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:19 Configure a credential helper to remove this warning. See 19:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:19 19:07:19 Login Succeeded 19:07:19 nexus3.edgexfoundry.org:10002 19:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:19 Configure a credential helper to remove this warning. See 19:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:19 19:07:19 Login Succeeded 19:07:19 nexus3.edgexfoundry.org:10003 19:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:19 Configure a credential helper to remove this warning. See 19:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:19 19:07:19 Login Succeeded 19:07:19 nexus3.edgexfoundry.org:10004 19:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:20 Configure a credential helper to remove this warning. See 19:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:20 19:07:20 Login Succeeded 19:07:20 docker.io 19:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:20 Configure a credential helper to remove this warning. See 19:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:20 19:07:20 Login Succeeded 19:07:20 ---> docker-login.sh ends [Pipeline] } 19:07:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:07:20 + git rev-list -1 --merges 7cb5c9429817c589730df795c1a6b282277bb94c~1..7cb5c9429817c589730df795c1a6b282277bb94c [Pipeline] echo 19:07:20 -----------> git rev-list -1 --merges 7cb5c9429817c589730df795c1a6b282277bb94c~1..7cb5c9429817c589730df795c1a6b282277bb94c 7cb5c9429817c589730df795c1a6b282277bb94c 19:07:20 7cb5c9429817c589730df795c1a6b282277bb94c [false] [Pipeline] sh 19:07:21 + git log --format=format:%s -1 7cb5c9429817c589730df795c1a6b282277bb94c [Pipeline] echo 19:07:21 ========================================================= 19:07:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:07:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:21 + git log --format=format:%s -1 7cb5c9429817c589730df795c1a6b282277bb94c [Pipeline] echo 19:07:21 [semverPrep] GIT_COMMIT: 7cb5c9429817c589730df795c1a6b282277bb94c, Commit Message: Merge commit '6db49600d84fbc344f4830d0628105aa21893aeb' into HEAD [Pipeline] echo 19:07:21 [semverPrep] This is not a build commit. [Pipeline] sh 19:07:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:22 + grep -v github /etc/ssh/ssh_known_hosts 19:07:22 + [ -e /tmp/ssh_known_hosts ] 19:07:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:07:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:07:22 + sudo tee -a /etc/ssh/ssh_known_hosts 19:07:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:07:22 19:07:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:07:22 latest: Pulling from edgex-devops/py-git-semver 19:07:22 1fe172e4850f: Pulling fs layer 19:07:22 caf521ccaac6: Pulling fs layer 19:07:22 3ead6fa29328: Pulling fs layer 19:07:22 5c2a1cbceb83: Pulling fs layer 19:07:22 a8d5f1318db7: Pulling fs layer 19:07:22 c427282e49a2: Pulling fs layer 19:07:22 1827001aaf11: Pulling fs layer 19:07:22 0714d37db230: Pulling fs layer 19:07:22 ac28cf19c067: Pulling fs layer 19:07:22 ca983d60f3e2: Pulling fs layer 19:07:22 9f894cec8388: Pulling fs layer 19:07:22 a8d5f1318db7: Waiting 19:07:22 c427282e49a2: Waiting 19:07:22 1827001aaf11: Waiting 19:07:22 0714d37db230: Waiting 19:07:22 ac28cf19c067: Waiting 19:07:22 ca983d60f3e2: Waiting 19:07:22 9f894cec8388: Waiting 19:07:22 5c2a1cbceb83: Waiting 19:07:22 caf521ccaac6: Verifying Checksum 19:07:22 caf521ccaac6: Download complete 19:07:22 5c2a1cbceb83: Download complete 19:07:23 a8d5f1318db7: Verifying Checksum 19:07:23 a8d5f1318db7: Download complete 19:07:23 c427282e49a2: Verifying Checksum 19:07:23 c427282e49a2: Download complete 19:07:23 3ead6fa29328: Verifying Checksum 19:07:23 3ead6fa29328: Download complete 19:07:23 0714d37db230: Verifying Checksum 19:07:23 0714d37db230: Download complete 19:07:23 ac28cf19c067: Download complete 19:07:23 ca983d60f3e2: Download complete 19:07:23 9f894cec8388: Verifying Checksum 19:07:23 9f894cec8388: Download complete 19:07:23 1fe172e4850f: Verifying Checksum 19:07:23 1fe172e4850f: Download complete 19:07:23 1827001aaf11: Verifying Checksum 19:07:23 1827001aaf11: Download complete 19:07:24 1fe172e4850f: Pull complete 19:07:24 caf521ccaac6: Pull complete 19:07:25 3ead6fa29328: Pull complete 19:07:25 5c2a1cbceb83: Pull complete 19:07:25 a8d5f1318db7: Pull complete 19:07:25 c427282e49a2: Pull complete 19:07:27 1827001aaf11: Pull complete 19:07:27 0714d37db230: Pull complete 19:07:27 ac28cf19c067: Pull complete 19:07:27 ca983d60f3e2: Pull complete 19:07:27 9f894cec8388: Pull complete 19:07:27 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 19:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:07:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:27 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 19:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:07:28 $ docker top 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 -eo pid,comm 19:07:28 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). 19:07:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:29 [ssh-agent] Looking for ssh-agent implementation... 19:07:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:29 $ docker exec 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 ssh-agent 19:07:29 SSH_AUTH_SOCK=/tmp/ssh-NlYP5N05FiRJ/agent.33 19:07:29 SSH_AGENT_PID=39 19:07:29 Running ssh-add (command line suppressed) 19:07:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7881730691418812622.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7881730691418812622.key) 19:07:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:29 + git tag --points-at HEAD [Pipeline] } 19:07:29 $ docker exec --env ******** --env ******** 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 ssh-agent -k 19:07:29 unset SSH_AUTH_SOCK; 19:07:29 unset SSH_AGENT_PID; 19:07:29 echo Agent pid 39 killed; 19:07:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:29 [ssh-agent] Looking for ssh-agent implementation... 19:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:30 $ docker exec 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 ssh-agent 19:07:30 SSH_AUTH_SOCK=/tmp/ssh-rGjCgbFMjWWB/agent.72 19:07:30 SSH_AGENT_PID=79 19:07:30 Running ssh-add (command line suppressed) 19:07:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_4036660737050874410.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_4036660737050874410.key) 19:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:30 + git semver init 19:07:30 2022-06-02 19:07:30,830 [run_init] DEBUG init version:0.0.0 force:False 19:07:30 2022-06-02 19:07:30,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver 19:07:30 2022-06-02 19:07:30,832 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-190/.semver 19:07:30 2022-06-02 19:07:30,832 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190, universal_newlines=False, shell=None, istream=None) 19:07:31 2022-06-02 19:07:31,742 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.git/info/exclude 19:07:31 2022-06-02 19:07:31,742 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 with force:False 19:07:31 2022-06-02 19:07:31,742 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 19:07:31 2022-06-02 19:07:31,745 [execute] INFO git cat-file --batch-check 19:07:31 2022-06-02 19:07:31,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 19:07:31 2022-06-02 19:07:31,752 [execute] INFO git cat-file --batch 19:07:31 2022-06-02 19:07:31,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 19:07:31 2022-06-02 19:07:31,756 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 19:07:31 0.0.0 [Pipeline] } 19:07:31 $ docker exec --env ******** --env ******** 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 ssh-agent -k 19:07:31 unset SSH_AUTH_SOCK; 19:07:31 unset SSH_AGENT_PID; 19:07:31 echo Agent pid 79 killed; 19:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:32 + git semver [Pipeline] } 19:07:32 $ docker stop --time=1 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 19:07:33 $ docker rm -f 1ae8421f66c36c78bb90b87af47aed9e55d052f82812b948c8f67fc41cec14c7 [Pipeline] // withDockerContainer [Pipeline] sh 19:07:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:07:34 Stashed 1 file(s) [Pipeline] echo 19:07:34 [edgeXSemver]: initialized semver on version 0.0.0 [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 19:07:34 provisioning config files... 19:07:34 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config3763240613203918525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:34 ---> docker-login.sh 19:07:34 nexus3.edgexfoundry.org:10001 19:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:34 Configure a credential helper to remove this warning. See 19:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:34 19:07:34 Login Succeeded 19:07:34 nexus3.edgexfoundry.org:10002 19:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:35 Configure a credential helper to remove this warning. See 19:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:35 19:07:35 Login Succeeded 19:07:35 nexus3.edgexfoundry.org:10003 19:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:35 Configure a credential helper to remove this warning. See 19:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:35 19:07:35 Login Succeeded 19:07:35 nexus3.edgexfoundry.org:10004 19:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:35 Configure a credential helper to remove this warning. See 19:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:35 19:07:35 Login Succeeded 19:07:35 docker.io 19:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:35 Configure a credential helper to remove this warning. See 19:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:35 19:07:35 Login Succeeded 19:07:35 ---> docker-login.sh ends [Pipeline] } 19:07:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:35 ========================================================= 19:07:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:07:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:36 + 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 . 19:07:36 Sending build context to Docker daemon 10.64MB 19:07:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:07:36 Step 2/12 : FROM ${BASE} AS builder 19:07:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:36 59bf1c3509f3: Pulling fs layer 19:07:36 666ba61612fd: Pulling fs layer 19:07:36 8ed8ca486205: Pulling fs layer 19:07:36 4fe6c5a15a65: Pulling fs layer 19:07:36 22a0e8bec74d: Pulling fs layer 19:07:36 ca2b28591e48: Pulling fs layer 19:07:36 a51346096db8: Pulling fs layer 19:07:36 daebc70d1ce1: Pulling fs layer 19:07:36 0e18a0eac166: Pulling fs layer 19:07:36 ca2b28591e48: Waiting 19:07:36 0e18a0eac166: Waiting 19:07:36 a51346096db8: Waiting 19:07:36 daebc70d1ce1: Waiting 19:07:36 4fe6c5a15a65: Waiting 19:07:36 22a0e8bec74d: Waiting 19:07:36 8ed8ca486205: Verifying Checksum 19:07:36 8ed8ca486205: Download complete 19:07:36 666ba61612fd: Download complete 19:07:36 22a0e8bec74d: Download complete 19:07:36 ca2b28591e48: Verifying Checksum 19:07:36 a51346096db8: Verifying Checksum 19:07:36 a51346096db8: Download complete 19:07:36 59bf1c3509f3: Verifying Checksum 19:07:36 59bf1c3509f3: Download complete 19:07:36 daebc70d1ce1: Verifying Checksum 19:07:36 daebc70d1ce1: Download complete 19:07:36 59bf1c3509f3: Pull complete 19:07:36 666ba61612fd: Pull complete 19:07:36 8ed8ca486205: Pull complete 19:07:36 0e18a0eac166: Verifying Checksum 19:07:36 0e18a0eac166: Download complete 19:07:37 4fe6c5a15a65: Verifying Checksum 19:07:37 4fe6c5a15a65: Download complete 19:07:40 4fe6c5a15a65: Pull complete 19:07:40 22a0e8bec74d: Pull complete 19:07:40 ca2b28591e48: Pull complete 19:07:40 a51346096db8: Pull complete 19:07:40 daebc70d1ce1: Pull complete 19:07:43 0e18a0eac166: Pull complete 19:07:43 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:07:43 ---> f018257e8ee9 19:07:43 Step 3/12 : ARG MAKE='make build' 19:07:44 ---> Running in fbe06666f602 19:07:44 Removing intermediate container fbe06666f602 19:07:44 ---> 2375daf8c019 19:07:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:07:44 ---> Running in df4627869c75 19:07:44 Removing intermediate container df4627869c75 19:07:44 ---> 9d914e6979b2 19:07:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:07:44 ---> Running in 0edf4c025435 19:07:44 Removing intermediate container 0edf4c025435 19:07:44 ---> eae74deb53bf 19:07:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:07:44 ---> Running in d3dfcdae0226 19:07:45 Removing intermediate container d3dfcdae0226 19:07:45 ---> 0f68f64b93a7 19:07:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:07:45 ---> Running in 31a5dec9389a 19:07:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:07:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:07:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:07:46 (2/4) Installing libedit (20210910.3.1-r0) 19:07:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:07:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:07:46 Executing busybox-1.34.1-r3.trigger 19:07:46 OK: 224 MiB in 56 packages 19:07:47 Removing intermediate container 31a5dec9389a 19:07:47 ---> 9c18139fa0a4 19:07:47 Step 8/12 : WORKDIR /device-rest-go 19:07:47 ---> Running in 7a4a2c3b1376 19:07:47 Removing intermediate container 7a4a2c3b1376 19:07:47 ---> 5662bc694baf 19:07:47 Step 9/12 : COPY go.mod vendor* ./ 19:07:47 ---> 2e19738db9ef 19:07:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:47 ---> Running in d653595c9926 19:07:49 Still waiting to schedule task 19:07:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:08:00 Removing intermediate container d653595c9926 19:08:00 ---> ef8158e33008 19:08:00 Step 11/12 : COPY . . 19:08:00 ---> 7d98bb3853fe 19:08:00 Step 12/12 : RUN $MAKE 19:08:00 ---> Running in d4676db36fb6 19:08:00 noop 19:08:01 Removing intermediate container d4676db36fb6 19:08:01 ---> 156f4183a7b6 19:08:01 Successfully built 156f4183a7b6 19:08:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:01 + docker inspect -f . ci-base-image-x86_64 19:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:01 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 19:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:02 $ docker top 13b1a45dbc8ac385343eda9501f297df9f3a8f8c16a97837c096eb7bc9d04084 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:02 + go version 19:08:02 go version go1.17.6 linux/amd64 [Pipeline] } 19:08:02 $ docker stop --time=1 13b1a45dbc8ac385343eda9501f297df9f3a8f8c16a97837c096eb7bc9d04084 19:08:03 $ docker rm -f 13b1a45dbc8ac385343eda9501f297df9f3a8f8c16a97837c096eb7bc9d04084 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:04 + docker inspect -f . ci-base-image-x86_64 19:08:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:04 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 19:08:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:04 $ docker top abed810e25bc5c5242c4d3569905507a89d8145d49b36fdcd1e49694f72a58ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:08:05 + make test 19:08:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:08:05 ? github.com/edgexfoundry/device-rest-go [no test files] 19:08:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:08:15 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 19:08:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:08:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:08:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:08:24 ./bin/test-attribution-txt.sh [Pipeline] echo 19:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:08:25 $ docker stop --time=1 abed810e25bc5c5242c4d3569905507a89d8145d49b36fdcd1e49694f72a58ec 19:08:26 $ docker rm -f abed810e25bc5c5242c4d3569905507a89d8145d49b36fdcd1e49694f72a58ec [Pipeline] // withDockerContainer [Pipeline] sh 19:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:28 + ls -al . 19:08:28 total 172 19:08:28 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 19:08 . 19:08:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 19:07 .. 19:08:28 -rw-rw-r-- 1 jenkins jenkins 151 Jun 2 19:07 .dockerignore 19:08:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 19:07 .git 19:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:07 .github 19:08:28 -rw-rw-r-- 1 jenkins jenkins 329 Jun 2 19:07 .gitignore 19:08:28 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 19:07 .golangci.yml 19:08:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 19:07 .semver 19:08:28 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 2 19:07 Attribution.txt 19:08:28 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 2 19:07 CHANGELOG.md 19:08:28 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 2 19:07 Dockerfile 19:08:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 19:07 GOVERNANCE.md 19:08:28 -rw-rw-r-- 1 jenkins jenkins 680 Jun 2 19:07 Jenkinsfile 19:08:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 19:07 LICENSE 19:08:28 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 2 19:07 Makefile 19:08:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 2 19:07 OWNERS.md 19:08:28 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 2 19:07 README.md 19:08:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 19:07 VERSION 19:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 19:07 bin 19:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:07 cmd 19:08:28 -rw-r--r-- 1 jenkins jenkins 9355 Jun 2 19:08 coverage.out 19:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 19:07 driver 19:08:28 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 2 19:07 go.mod 19:08:28 -rw-rw-r-- 1 jenkins jenkins 35433 Jun 2 19:07 go.sum 19:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:07 snap 19:08:28 -rw-rw-r-- 1 jenkins jenkins 713 Jun 2 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:28 + 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=7cb5c9429817c589730df795c1a6b282277bb94c --label arch=amd64 --label version=0.0.0 . 19:08:28 Sending build context to Docker daemon 10.65MB 19:08:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:08:28 Step 2/25 : FROM ${BASE} AS builder 19:08:28 ---> 156f4183a7b6 19:08:28 Step 3/25 : ARG MAKE='make build' 19:08:28 ---> Running in 08ef59fe0bb7 19:08:28 Removing intermediate container 08ef59fe0bb7 19:08:28 ---> 22fa3b842cef 19:08:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:08:28 ---> Running in e5c33f0a4110 19:08:28 Removing intermediate container e5c33f0a4110 19:08:28 ---> 75b657057195 19:08:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:08:28 ---> Running in 0913bd2d7a55 19:08:28 Removing intermediate container 0913bd2d7a55 19:08:28 ---> 137b207c4235 19:08:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:08:28 ---> Running in 73f105086594 19:08:29 Removing intermediate container 73f105086594 19:08:29 ---> de241452237e 19:08:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:29 ---> Running in a7ebfaf069b8 19:08:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:08:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:08:30 OK: 224 MiB in 56 packages 19:08:31 Removing intermediate container a7ebfaf069b8 19:08:31 ---> b9eb2b483046 19:08:31 Step 8/25 : WORKDIR /device-rest-go 19:08:31 ---> Running in de3d17cc4969 19:08:31 Removing intermediate container de3d17cc4969 19:08:31 ---> 5cf8c3fbf0a5 19:08:31 Step 9/25 : COPY go.mod vendor* ./ 19:08:31 ---> 11251b999528 19:08:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:31 ---> Running in 0434fc78c36d 19:08:32 Removing intermediate container 0434fc78c36d 19:08:32 ---> 23e61a2f9129 19:08:32 Step 11/25 : COPY . . 19:08:32 ---> 4a909d5c62d9 19:08:32 Step 12/25 : RUN $MAKE 19:08:32 ---> Running in 33408afeb871 19:08:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 19:08:50 Removing intermediate container 33408afeb871 19:08:50 ---> 7741659d8b7b 19:08:50 Step 13/25 : FROM alpine:3.14 19:08:50 3.14: Pulling from library/alpine 19:08:51 8663204ce13b: Pulling fs layer 19:08:51 8663204ce13b: Verifying Checksum 19:08:51 8663204ce13b: Pull complete 19:08:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:08:51 Status: Downloaded newer image for alpine:3.14 19:08:51 ---> e04c818066af 19:08:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:08:51 ---> Running in 44fdec83280e 19:08:51 Removing intermediate container 44fdec83280e 19:08:51 ---> be7654b5a043 19:08:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:08:51 ---> Running in 5625ae5b1349 19:08:51 Removing intermediate container 5625ae5b1349 19:08:51 ---> 0b0daef409e0 19:08:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:08:51 ---> Running in f235ca8ecbc3 19:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:08:52 (1/6) Installing dumb-init (1.2.5-r1) 19:08:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:08:52 (3/6) Installing libsodium (1.0.18-r0) 19:08:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:08:52 (5/6) Installing libzmq (4.3.4-r0) 19:08:52 (6/6) Installing zeromq (4.3.4-r0) 19:08:52 Executing busybox-1.33.1-r7.trigger 19:08:52 OK: 8 MiB in 20 packages 19:08:52 Removing intermediate container f235ca8ecbc3 19:08:52 ---> 74f77550a30c 19:08:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:08:53 ---> 19a04503e8a9 19:08:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:08:53 ---> e12300bfb374 19:08:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:08:53 ---> 601dde38f2d1 19:08:53 Step 20/25 : EXPOSE 59986 19:08:53 ---> Running in 4bbfda227b74 19:08:53 Removing intermediate container 4bbfda227b74 19:08:53 ---> 50dde48191e0 19:08:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:08:53 ---> Running in 3c7b53416fef 19:08:53 Removing intermediate container 3c7b53416fef 19:08:53 ---> 31ae75e9847e 19:08:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:08:53 ---> Running in 99ac70fef0a5 19:08:53 Removing intermediate container 99ac70fef0a5 19:08:53 ---> bb4279f43be0 19:08:53 Step 23/25 : LABEL arch=amd64 19:08:53 ---> Running in a43593cd75a5 19:08:53 Removing intermediate container a43593cd75a5 19:08:53 ---> b6a520c9b178 19:08:53 Step 24/25 : LABEL git_sha=7cb5c9429817c589730df795c1a6b282277bb94c 19:08:54 ---> Running in fdea582918f3 19:08:54 Removing intermediate container fdea582918f3 19:08:54 ---> f92b0a279812 19:08:54 Step 25/25 : LABEL version=0.0.0 19:08:54 ---> Running in 526d592b0889 19:08:54 Removing intermediate container 526d592b0889 19:08:54 ---> 0b9d95ad812f 19:08:54 [Warning] One or more build-args [ARCH] were not consumed 19:08:54 Successfully built 0b9d95ad812f 19:08:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:08:54 19:08:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:08:54 latest: Pulling from edgex-lftools-log-publisher 19:08:54 5eb5b503b376: Pulling fs layer 19:08:54 5c69ac0246d0: Pulling fs layer 19:08:54 ec43610c2a17: Pulling fs layer 19:08:54 3a2ae6a8a46f: Pulling fs layer 19:08:54 33b1e0a273af: Pulling fs layer 19:08:54 5d3b04190fa2: Pulling fs layer 19:08:54 2f39f015ded8: Pulling fs layer 19:08:54 3a2ae6a8a46f: Waiting 19:08:54 33b1e0a273af: Waiting 19:08:54 5d3b04190fa2: Waiting 19:08:54 2f39f015ded8: Waiting 19:08:54 5c69ac0246d0: Verifying Checksum 19:08:54 5c69ac0246d0: Download complete 19:08:54 3a2ae6a8a46f: Verifying Checksum 19:08:54 3a2ae6a8a46f: Download complete 19:08:55 33b1e0a273af: Verifying Checksum 19:08:55 33b1e0a273af: Download complete 19:08:55 ec43610c2a17: Verifying Checksum 19:08:55 ec43610c2a17: Download complete 19:08:55 5d3b04190fa2: Verifying Checksum 19:08:55 5d3b04190fa2: Download complete 19:08:55 5eb5b503b376: Verifying Checksum 19:08:55 5eb5b503b376: Download complete 19:08:55 2f39f015ded8: Download complete 19:08:56 5eb5b503b376: Pull complete 19:08:56 5c69ac0246d0: Pull complete 19:08:57 ec43610c2a17: Pull complete 19:08:57 3a2ae6a8a46f: Pull complete 19:08:57 33b1e0a273af: Pull complete 19:08:57 5d3b04190fa2: Pull complete 19:09:01 2f39f015ded8: Pull complete 19:09:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:09:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:01 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 19:09:01 $ 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/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:09:03 $ docker top 52905aeea6f930017d7fcd24477f27ae36b40dc702b923d7aca4e0169de9bd13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:03 ---> job-cost.sh 19:09:03 lf-activate-venv: SKIPPING 19:09:03 INFO: No Stack... 19:09:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:04 INFO: Archiving Costs [Pipeline] sh 19:09:04 + cut -d, -f6 19:09:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-190/archives/cost.csv [Pipeline] lock 19:09:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] 19:09:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] did not exist. Created. 19:09:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:09:04 + echo total: 0.2199999988079071 [Pipeline] stash 19:09:04 Stashed 1 file(s) [Pipeline] } 19:09:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:09:04 $ docker stop --time=1 52905aeea6f930017d7fcd24477f27ae36b40dc702b923d7aca4e0169de9bd13 19:09:06 $ docker rm -f 52905aeea6f930017d7fcd24477f27ae36b40dc702b923d7aca4e0169de9bd13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:09:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-674 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] ws 19:09:27 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 19:09:27 The recommended git tool is: git 19:09:34 using credential edgex-jenkins-ssh 19:09:34 Cloning the remote Git repository 19:09:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:09:34 > git init /w/workspace/device-rest-go/3 # timeout=10 19:09:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:09:35 > git --version # timeout=10 19:09:35 > git --version # 'git version 2.25.1' 19:09:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:09:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:09:37 Merging remotes/origin/main commit 6db49600d84fbc344f4830d0628105aa21893aeb into PR head commit 22dd7cc6891c310929bd15537ed473a29469e419 19:09:37 Merge succeeded, producing 34992166ae0c1e9fe6d149153aa7d83c66273a5f 19:09:37 Checking out Revision 34992166ae0c1e9fe6d149153aa7d83c66273a5f (PR-190) 19:09:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:09:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:09:37 > git config core.sparsecheckout # timeout=10 19:09:37 > git checkout -f 22dd7cc6891c310929bd15537ed473a29469e419 # timeout=10 19:09:37 > git remote # timeout=10 19:09:37 > git config --get remote.origin.url # timeout=10 19:09:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:37 > git merge 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 19:09:37 > git rev-parse HEAD^{commit} # timeout=10 19:09:37 > git config core.sparsecheckout # timeout=10 19:09:37 > git checkout -f 34992166ae0c1e9fe6d149153aa7d83c66273a5f # timeout=10 19:09:41 Commit message: "Merge commit '6db49600d84fbc344f4830d0628105aa21893aeb' into HEAD" 19:09:41 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:09:42 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:42 Dload Upload Total Spent Left Speed 19:09:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 19:09:41 > git rev-list --no-walk 0e70da98cff13cf27bcc98182ddbbd5547590dcc # timeout=10 [Pipeline] sh 19:09:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:09:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:09:43 + sudo tee /etc/docker/daemon.new 19:09:43 { 19:09:43 "registry-mirrors": [ 19:09:43 "https://nexus3.edgexfoundry.org:10001" 19:09:43 ], 19:09:43 "bip": "10.250.0.254/24", 19:09:43 "hosts": [ 19:09:43 "tcp://0.0.0.0:5555", 19:09:43 "unix:///var/run/docker.sock" 19:09:43 ], 19:09:43 "mtu": 1458, 19:09:43 "selinux-enabled": true, 19:09:43 "seccomp-profile": "/etc/docker/seccomp.json" 19:09:43 } [Pipeline] sh 19:09:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:09:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:02 provisioning config files... 19:10:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config4557588551296253915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:03 ---> docker-login.sh 19:10:03 nexus3.edgexfoundry.org:10001 19:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:04 Configure a credential helper to remove this warning. See 19:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:04 19:10:04 Login Succeeded 19:10:04 nexus3.edgexfoundry.org:10002 19:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:04 Configure a credential helper to remove this warning. See 19:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:04 19:10:04 Login Succeeded 19:10:04 nexus3.edgexfoundry.org:10003 19:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:05 Configure a credential helper to remove this warning. See 19:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:05 19:10:05 Login Succeeded 19:10:05 nexus3.edgexfoundry.org:10004 19:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:05 Configure a credential helper to remove this warning. See 19:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:05 19:10:05 Login Succeeded 19:10:05 docker.io 19:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:06 Configure a credential helper to remove this warning. See 19:10:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:06 19:10:06 Login Succeeded 19:10:06 ---> docker-login.sh ends [Pipeline] } 19:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:06 ========================================================= 19:10:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:10:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:07 + 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 . 19:10:07 Sending build context to Docker daemon 128.5kB 19:10:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:10:07 Step 2/12 : FROM ${BASE} AS builder 19:10:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:07 9b3977197b4f: Pulling fs layer 19:10:07 1a89e8eeedd5: Pulling fs layer 19:10:07 94645a83ff95: Pulling fs layer 19:10:07 3f3a8bcf1eab: Pulling fs layer 19:10:07 0c92f367c5e7: Pulling fs layer 19:10:07 3096ccb668a1: Pulling fs layer 19:10:07 e8cf19c19ddd: Pulling fs layer 19:10:07 a4caa8a26152: Pulling fs layer 19:10:07 3f3a8bcf1eab: Waiting 19:10:07 0c92f367c5e7: Waiting 19:10:07 3096ccb668a1: Waiting 19:10:07 e8cf19c19ddd: Waiting 19:10:07 a4caa8a26152: Waiting 19:10:07 94645a83ff95: Verifying Checksum 19:10:07 94645a83ff95: Download complete 19:10:07 1a89e8eeedd5: Download complete 19:10:07 0c92f367c5e7: Verifying Checksum 19:10:07 0c92f367c5e7: Download complete 19:10:07 3096ccb668a1: Download complete 19:10:07 9b3977197b4f: Verifying Checksum 19:10:07 e8cf19c19ddd: Verifying Checksum 19:10:07 e8cf19c19ddd: Download complete 19:10:08 9b3977197b4f: Pull complete 19:10:09 1a89e8eeedd5: Pull complete 19:10:09 94645a83ff95: Pull complete 19:10:09 a4caa8a26152: Verifying Checksum 19:10:09 a4caa8a26152: Download complete 19:10:10 3f3a8bcf1eab: Verifying Checksum 19:10:10 3f3a8bcf1eab: Download complete 19:10:22 3f3a8bcf1eab: Pull complete 19:10:22 0c92f367c5e7: Pull complete 19:10:22 3096ccb668a1: Pull complete 19:10:22 e8cf19c19ddd: Pull complete 19:10:29 a4caa8a26152: Pull complete 19:10:29 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:10:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:10:29 ---> 725f1c02e7f9 19:10:29 Step 3/12 : ARG MAKE='make build' 19:10:30 ---> Running in 9c2e33c7ba94 19:10:30 Removing intermediate container 9c2e33c7ba94 19:10:30 ---> 7eea920be6c4 19:10:30 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:10:30 ---> Running in bc819c0f360d 19:10:31 Removing intermediate container bc819c0f360d 19:10:31 ---> fc49873cf7cb 19:10:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:10:31 ---> Running in ca0e4c54ae72 19:10:31 Removing intermediate container ca0e4c54ae72 19:10:31 ---> 1e88a0318936 19:10:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:10:31 ---> Running in 00e19a88f5ce 19:10:33 Removing intermediate container 00e19a88f5ce 19:10:33 ---> e3f08a67bed5 19:10:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:33 ---> Running in 1289e1721070 19:10:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:10:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:10:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:10:36 (2/4) Installing libedit (20210910.3.1-r0) 19:10:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:10:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:10:36 Executing busybox-1.34.1-r3.trigger 19:10:36 OK: 224 MiB in 56 packages 19:10:37 Removing intermediate container 1289e1721070 19:10:37 ---> a3136ce20287 19:10:37 Step 8/12 : WORKDIR /device-rest-go 19:10:37 ---> Running in 1e0608add478 19:10:38 Removing intermediate container 1e0608add478 19:10:38 ---> e508c1499e8e 19:10:38 Step 9/12 : COPY go.mod vendor* ./ 19:10:38 ---> c6911151bfe7 19:10:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:38 ---> Running in e4f289e103b4 19:11:25 Removing intermediate container e4f289e103b4 19:11:25 ---> 755b3ec2b6fd 19:11:25 Step 11/12 : COPY . . 19:11:25 ---> 5ba86003267b 19:11:25 Step 12/12 : RUN $MAKE 19:11:25 ---> Running in c39eb6bdb259 19:11:25 noop 19:11:25 Removing intermediate container c39eb6bdb259 19:11:25 ---> 031ad4d15e4c 19:11:25 Successfully built 031ad4d15e4c 19:11:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:26 + docker inspect -f . ci-base-image-arm64 19:11:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:26 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 19:11:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:11:27 $ docker top 0b8597740154ef538b6b4373fb1fdc2941161387982bcc8c91ca6e3c3c50103d -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:28 + go version 19:11:28 go version go1.17.6 linux/arm64 [Pipeline] } 19:11:28 $ docker stop --time=1 0b8597740154ef538b6b4373fb1fdc2941161387982bcc8c91ca6e3c3c50103d 19:11:30 $ docker rm -f 0b8597740154ef538b6b4373fb1fdc2941161387982bcc8c91ca6e3c3c50103d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:30 + docker inspect -f . ci-base-image-arm64 19:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:31 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 19:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:11:32 $ docker top 6ed4e1d83c8bcc83933f6d8e5bababa5a35cb6d6e765130452225f2a4a16abc4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:11:33 + make test 19:11:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:11:34 ? github.com/edgexfoundry/device-rest-go [no test files] 19:12:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:12:56 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements 19:12:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:12:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:13:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:13:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:13:18 ./bin/test-attribution-txt.sh [Pipeline] echo 19:13:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:13:22 $ docker stop --time=1 6ed4e1d83c8bcc83933f6d8e5bababa5a35cb6d6e765130452225f2a4a16abc4 19:13:24 $ docker rm -f 6ed4e1d83c8bcc83933f6d8e5bababa5a35cb6d6e765130452225f2a4a16abc4 [Pipeline] // withDockerContainer [Pipeline] sh 19:13:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:13:25 Warning: overwriting stash ‘coverage-report’ 19:13:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:13:26 + ls -al . 19:13:26 total 168 19:13:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 19:13 . 19:13:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 19:09 .. 19:13:26 -rw-rw-r-- 1 jenkins jenkins 151 Jun 2 19:09 .dockerignore 19:13:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 19:09 .git 19:13:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:09 .github 19:13:26 -rw-rw-r-- 1 jenkins jenkins 329 Jun 2 19:09 .gitignore 19:13:26 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 19:09 .golangci.yml 19:13:26 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 2 19:09 Attribution.txt 19:13:26 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 2 19:09 CHANGELOG.md 19:13:26 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 2 19:09 Dockerfile 19:13:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 19:09 GOVERNANCE.md 19:13:26 -rw-rw-r-- 1 jenkins jenkins 680 Jun 2 19:09 Jenkinsfile 19:13:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 19:09 LICENSE 19:13:26 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 2 19:09 Makefile 19:13:26 -rw-rw-r-- 1 jenkins jenkins 620 Jun 2 19:09 OWNERS.md 19:13:26 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 2 19:09 README.md 19:13:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 19:07 VERSION 19:13:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 19:09 bin 19:13:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:09 cmd 19:13:26 -rw-r--r-- 1 jenkins jenkins 9355 Jun 2 19:12 coverage.out 19:13:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 19:09 driver 19:13:26 -rw-rw-r-- 1 jenkins jenkins 3287 Jun 2 19:09 go.mod 19:13:26 -rw-rw-r-- 1 jenkins jenkins 35433 Jun 2 19:09 go.sum 19:13:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 19:09 snap 19:13:26 -rw-rw-r-- 1 jenkins jenkins 713 Jun 2 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:26 + 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=34992166ae0c1e9fe6d149153aa7d83c66273a5f --label arch=arm64 --label version=0.0.0 . 19:13:26 Sending build context to Docker daemon 138.8kB 19:13:26 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:13:26 Step 2/25 : FROM ${BASE} AS builder 19:13:26 ---> 031ad4d15e4c 19:13:26 Step 3/25 : ARG MAKE='make build' 19:13:27 ---> Running in 30764d8dd1b7 19:13:27 Removing intermediate container 30764d8dd1b7 19:13:27 ---> e641c09b2978 19:13:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:13:27 ---> Running in 21e68cb5fa4e 19:13:27 Removing intermediate container 21e68cb5fa4e 19:13:27 ---> 36f4aa39e74b 19:13:27 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:13:28 ---> Running in e1991af4798a 19:13:28 Removing intermediate container e1991af4798a 19:13:28 ---> b305f560d716 19:13:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:13:28 ---> Running in 6883864f6b0a 19:13:30 Removing intermediate container 6883864f6b0a 19:13:30 ---> 90ecaba78f80 19:13:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:13:30 ---> Running in 1b19a1d53474 19:13:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:13:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:13:32 OK: 224 MiB in 56 packages 19:13:33 Removing intermediate container 1b19a1d53474 19:13:33 ---> 1dbb921c1b8e 19:13:33 Step 8/25 : WORKDIR /device-rest-go 19:13:33 ---> Running in cbd6f09e4a75 19:13:34 Removing intermediate container cbd6f09e4a75 19:13:34 ---> 313663ed555e 19:13:34 Step 9/25 : COPY go.mod vendor* ./ 19:13:34 ---> 77e5c68bf9d9 19:13:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:34 ---> Running in ee015fbc74a0 19:13:36 Removing intermediate container ee015fbc74a0 19:13:36 ---> 34ce8f7ed687 19:13:36 Step 11/25 : COPY . . 19:13:36 ---> 693cf0a40673 19:13:36 Step 12/25 : RUN $MAKE 19:13:37 ---> Running in c22b5ad67a62 19:13:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 19:15:45 Removing intermediate container c22b5ad67a62 19:15:45 ---> c535130d002b 19:15:45 Step 13/25 : FROM alpine:3.14 19:15:45 3.14: Pulling from library/alpine 19:15:45 455c02918c45: Pulling fs layer 19:15:45 455c02918c45: Verifying Checksum 19:15:45 455c02918c45: Download complete 19:15:45 455c02918c45: Pull complete 19:15:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:15:45 Status: Downloaded newer image for alpine:3.14 19:15:45 ---> ac73e934f311 19:15:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:15:45 ---> Running in ef66012f2174 19:15:45 Removing intermediate container ef66012f2174 19:15:45 ---> 208a07a90500 19:15:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:15:45 ---> Running in 41690d79870d 19:15:45 Removing intermediate container 41690d79870d 19:15:45 ---> 789fbadf4220 19:15:45 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:15:45 ---> Running in 3f57a6afbbdc 19:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:15:45 (1/6) Installing dumb-init (1.2.5-r1) 19:15:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:15:45 (3/6) Installing libsodium (1.0.18-r0) 19:15:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:15:45 (5/6) Installing libzmq (4.3.4-r0) 19:15:45 (6/6) Installing zeromq (4.3.4-r0) 19:15:45 Executing busybox-1.33.1-r7.trigger 19:15:45 OK: 8 MiB in 20 packages 19:15:45 Removing intermediate container 3f57a6afbbdc 19:15:45 ---> 3f23826dc2c0 19:15:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:15:45 ---> 476f63b455a9 19:15:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:15:45 ---> c8ea6acc332f 19:15:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:15:45 ---> f2460b76ecbd 19:15:45 Step 20/25 : EXPOSE 59986 19:15:45 ---> Running in 02d1e21badb9 19:15:45 Removing intermediate container 02d1e21badb9 19:15:45 ---> 2c97ecdc1f27 19:15:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:15:45 ---> Running in c77e6297569b 19:15:45 Removing intermediate container c77e6297569b 19:15:45 ---> e67582d112ec 19:15:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:15:45 ---> Running in c11483e9b0d2 19:15:45 Removing intermediate container c11483e9b0d2 19:15:45 ---> 5035791eea55 19:15:45 Step 23/25 : LABEL arch=arm64 19:15:45 ---> Running in 71795954e316 19:15:45 Removing intermediate container 71795954e316 19:15:45 ---> c31cdb72741c 19:15:45 Step 24/25 : LABEL git_sha=34992166ae0c1e9fe6d149153aa7d83c66273a5f 19:15:45 ---> Running in 91294adfc806 19:15:45 Removing intermediate container 91294adfc806 19:15:45 ---> fc92c74e944c 19:15:45 Step 25/25 : LABEL version=0.0.0 19:15:45 ---> Running in ace503c7de2c 19:15:45 Removing intermediate container ace503c7de2c 19:15:45 ---> a78a2ca5dbef 19:15:45 [Warning] One or more build-args [ARCH] were not consumed 19:15:45 Successfully built a78a2ca5dbef 19:15:45 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:15:45 19:15:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:15:46 arm64: Pulling from edgex-lftools-log-publisher 19:15:46 8998bd30e6a1: Pulling fs layer 19:15:46 04944245beec: Pulling fs layer 19:15:46 699f458cf7ca: Pulling fs layer 19:15:46 765212b225bb: Pulling fs layer 19:15:46 f23df028b6ca: Pulling fs layer 19:15:46 d65c8cfc05b1: Pulling fs layer 19:15:46 2437ff75d9bd: Pulling fs layer 19:15:46 765212b225bb: Waiting 19:15:46 f23df028b6ca: Waiting 19:15:46 d65c8cfc05b1: Waiting 19:15:46 2437ff75d9bd: Waiting 19:15:46 04944245beec: Verifying Checksum 19:15:46 04944245beec: Download complete 19:15:46 765212b225bb: Verifying Checksum 19:15:46 765212b225bb: Download complete 19:15:46 f23df028b6ca: Verifying Checksum 19:15:46 f23df028b6ca: Download complete 19:15:46 d65c8cfc05b1: Verifying Checksum 19:15:46 d65c8cfc05b1: Download complete 19:15:46 699f458cf7ca: Verifying Checksum 19:15:46 699f458cf7ca: Download complete 19:15:46 8998bd30e6a1: Verifying Checksum 19:15:46 8998bd30e6a1: Download complete 19:15:49 2437ff75d9bd: Verifying Checksum 19:15:49 2437ff75d9bd: Download complete 19:15:50 8998bd30e6a1: Pull complete 19:15:51 04944245beec: Pull complete 19:15:52 699f458cf7ca: Pull complete 19:15:53 765212b225bb: Pull complete 19:15:53 f23df028b6ca: Pull complete 19:15:53 d65c8cfc05b1: Pull complete 19:16:09 2437ff75d9bd: Pull complete 19:16:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:16:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:09 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 19:16:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:16:11 $ docker top 76b3412b92712458ef75db482fc316af85d60a89e2637c475f35e7d3deaebdaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:12 ---> job-cost.sh 19:16:12 lf-activate-venv: SKIPPING 19:16:12 INFO: No Stack... 19:16:13 INFO: Retrieving Pricing Info for: v3-standard-4 19:16:14 INFO: Archiving Costs [Pipeline] sh 19:16:15 + cat /w/workspace/device-rest-go/3/archives/cost.csv 19:16:15 + cut -d, -f6 [Pipeline] lock 19:16:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] 19:16:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] did not exist. Created. 19:16:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:16:15 /w/workspace/device-rest-go/3@tmp/durable-62fbfcd5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:16:16 + echo total: 0.10999999940395355 [Pipeline] stash 19:16:16 Warning: overwriting stash ‘stack-cost’ 19:16:16 Stashed 1 file(s) [Pipeline] } 19:16:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:16:16 $ docker stop --time=1 76b3412b92712458ef75db482fc316af85d60a89e2637c475f35e7d3deaebdaf 19:16:18 $ docker rm -f 76b3412b92712458ef75db482fc316af85d60a89e2637c475f35e7d3deaebdaf [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 19:16:18 provisioning config files... 19:16:18 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config6019839690817191968tmp [Pipeline] { [Pipeline] sh 19:16:18 + set +x 19:16:18 + curl -s https://codecov.io/bash 19:16:18 + bash -s -- 19:16:18 19:16:18 _____ _ 19:16:18 / ____| | | 19:16:18 | | ___ __| | ___ ___ _____ __ 19:16:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:16:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:16:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:16:18 Bash-1.0.6 19:16:18 19:16:18 19:16:18 ==> git version 2.25.1 found 19:16:18 ==> 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 19:16:18 Release-Date: 2020-01-08 19:16:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:16:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:16:18 ==> Jenkins CI detected. 19:16:18 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-190 19:16:18 project root: . 19:16:18 --> token set from env 19:16:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:16:18 ==> Running gcov in . (disable via -X gcov) 19:16:18 ==> Python coveragepy not found 19:16:18 ==> Searching for coverage reports in: 19:16:18 + . 19:16:18 -> Found 1 reports 19:16:18 ==> Detecting git/mercurial file structure 19:16:18 ==> Reading reports 19:16:19 + ./coverage.out bytes=9355 19:16:19 ==> Appending adjustments 19:16:19 https://docs.codecov.io/docs/fixing-reports 19:16:19 + Found adjustments 19:16:19 ==> Gzipping contents 19:16:19 4.0K /tmp/codecov.0RHNiR.gz 19:16:19 ==> Uploading reports 19:16:19 url: https://codecov.io 19:16:19 query: branch=PR-190&commit=7cb5c9429817c589730df795c1a6b282277bb94c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 19:16:19 -> Pinging Codecov 19:16:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-190&commit=7cb5c9429817c589730df795c1a6b282277bb94c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 19:16:19 -> Uploading to 19:16:19 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/4E5D53B4F1F92C436F7061BF334D961C/7cb5c9429817c589730df795c1a6b282277bb94c/eeb75313-03dc-4718-a36c-1c53b56be7bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T191619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa00b1210b571b692169a70376cca719534f376e3d3980a19b355d6ecb87ce3d 19:16:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:16:19 Dload Upload Total Spent Left Speed 19:16:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7588 --:--:-- --:--:-- --:--:-- 7588 19:16:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7cb5c9429817c589730df795c1a6b282277bb94c [Pipeline] } 19:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 19:16:20 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-190/archives ] 19:16:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 19:16:20 total 16 19:16:20 drwxr-xr-x 3 root root 4096 Jun 2 19:09 . 19:16:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 19:09 .. 19:16:20 drwxr-xr-x 2 root root 4096 Jun 2 19:09 cost 19:16:20 -rw-r--r-- 1 root root 85 Jun 2 19:09 cost.csv 19:16:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-190/archives 19:16:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 19:16:20 total 16 19:16:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 19:09 . 19:16:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 19:09 .. 19:16:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 19:09 cost 19:16:20 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:16:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:16:21 ---> package-listing.sh 19:16:21 ++ facter osfamily 19:16:21 ++ tr '[:upper:]' '[:lower:]' 19:16:21 + OS_FAMILY=debian 19:16:21 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-190 19:16:21 + START_PACKAGES=/tmp/packages_start.txt 19:16:21 + END_PACKAGES=/tmp/packages_end.txt 19:16:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:16:21 + PACKAGES=/tmp/packages_start.txt 19:16:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 19:16:21 + PACKAGES=/tmp/packages_end.txt 19:16:21 + case "${OS_FAMILY}" in 19:16:21 + dpkg -l 19:16:21 + grep '^ii' 19:16:21 + '[' -f /tmp/packages_start.txt ']' 19:16:21 + '[' -f /tmp/packages_end.txt ']' 19:16:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:16:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 19:16:21 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ 19:16:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [Pipeline] echo 19:16:21 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/gexfoundry_device-rest-go_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:16:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:22 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 19:16:22 $ 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/gexfoundry_device-rest-go_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:16:22 $ docker top 6fe870e4f6e3de358c88cc7270e0edeac23bfd745e58bc4953c2d2c01d787c84 -eo pid,comm [Pipeline] { [Pipeline] sh 19:16:23 + touch /tmp/pre-build-complete [Pipeline] sh 19:16:23 + mkdir -p /var/log/sysstat [Pipeline] sh 19:16:23 + ls /var/log/sa-host 19:16:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:23 provisioning config files... 19:16:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config5589836331148332672tmp [Pipeline] { [Pipeline] echo 19:16:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:16:24 ---> create-netrc.sh [Pipeline] } 19:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:16:24 ---> python-tools-install.sh [Pipeline] echo 19:16:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:16:24 ---> sudo-logs.sh 19:16:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:16:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:16:25 ---> job-cost.sh 19:16:25 lf-activate-venv: SKIPPING 19:16:25 DEBUG: total: 0.2199999988079071 19:16:25 INFO: Retrieving Stack Cost... 19:16:25 INFO: Retrieving Pricing Info for: v3-standard-8 19:16:26 INFO: Archiving Costs [Pipeline] echo 19:16:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:16:26 ---> logs-deploy.sh 19:16:26 lf-activate-venv: SKIPPING 19:16:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-190/3 19:16:26 INFO: archiving workspace using pattern(s): 19:16:27 Archives upload complete. 19:16:27 INFO: archiving logs to Nexus 19:16:28 ---> uname -a: 19:16:28 Linux prd-ubuntu20-04-docker-8c-8g-673 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 19:16:28 19:16:28 19:16:28 ---> lscpu: 19:16:28 Architecture: x86_64 19:16:28 CPU op-mode(s): 32-bit, 64-bit 19:16:28 Byte Order: Little Endian 19:16:28 Address sizes: 40 bits physical, 48 bits virtual 19:16:28 CPU(s): 8 19:16:28 On-line CPU(s) list: 0-7 19:16:28 Thread(s) per core: 1 19:16:28 Core(s) per socket: 1 19:16:28 Socket(s): 8 19:16:28 NUMA node(s): 1 19:16:28 Vendor ID: AuthenticAMD 19:16:28 CPU family: 23 19:16:28 Model: 49 19:16:28 Model name: AMD EPYC-Rome Processor 19:16:28 Stepping: 0 19:16:28 CPU MHz: 2799.998 19:16:28 BogoMIPS: 5599.99 19:16:28 Virtualization: AMD-V 19:16:28 Hypervisor vendor: KVM 19:16:28 Virtualization type: full 19:16:28 L1d cache: 256 KiB 19:16:28 L1i cache: 256 KiB 19:16:28 L2 cache: 4 MiB 19:16:28 L3 cache: 128 MiB 19:16:28 NUMA node0 CPU(s): 0-7 19:16:28 Vulnerability Itlb multihit: Not affected 19:16:28 Vulnerability L1tf: Not affected 19:16:28 Vulnerability Mds: Not affected 19:16:28 Vulnerability Meltdown: Not affected 19:16:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:16:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:16:28 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:16:28 Vulnerability Srbds: Not affected 19:16:28 Vulnerability Tsx async abort: Not affected 19:16:28 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 19:16:28 19:16:28 19:16:28 ---> nproc: 19:16:28 8 19:16:28 19:16:28 19:16:28 ---> df -h: 19:16:28 Filesystem Size Used Avail Use% Mounted on 19:16:28 overlay 155G 11G 145G 7% / 19:16:28 tmpfs 64M 0 64M 0% /dev 19:16:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:16:28 shm 64M 0 64M 0% /dev/shm 19:16:28 /dev/vda1 155G 11G 145G 7% /facter-os 19:16:28 19:16:28 19:16:28 ---> sar -b -r -n DEV: 19:16:28 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-673) 06/02/22 _x86_64_ (8 CPU) 19:16:28 19:16:28 19:06:40 LINUX RESTART (8 CPU) 19:16:28 19:16:28 19:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:16:28 19:08:01 473.04 46.64 426.40 0.00 4148.99 189875.21 0.00 19:16:28 19:09:01 177.81 0.13 177.68 0.00 4.52 52019.43 0.00 19:16:28 19:10:02 24.74 0.00 24.74 0.00 0.00 12731.77 0.00 19:16:28 19:11:01 1.03 0.00 1.03 0.00 0.00 13.01 0.00 19:16:28 19:12:01 1.45 0.02 1.43 0.00 0.13 16.13 0.00 19:16:28 19:13:01 0.97 0.00 0.97 0.00 0.00 12.13 0.00 19:16:28 19:14:01 1.30 0.00 1.30 0.00 0.00 15.73 0.00 19:16:28 19:15:01 0.92 0.00 0.92 0.00 0.00 11.60 0.00 19:16:28 19:16:01 1.22 0.00 1.22 0.00 0.00 13.20 0.00 19:16:28 Average: 75.25 5.13 70.12 0.00 455.40 28056.78 0.00 19:16:28 19:16:28 19:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:16:28 19:08:01 28460444 31724536 577696 1.76 171384 3312732 2589792 7.63 1209036 2787268 420 19:16:28 19:09:01 27791292 31760812 534088 1.62 173328 3948036 1933040 5.70 1344104 3243236 354792 19:16:28 19:10:02 27808352 31778496 518492 1.58 173540 3948192 1769172 5.21 1339316 3230896 184 19:16:28 19:11:01 27809224 31779396 517324 1.57 173568 3948192 1769172 5.21 1339508 3230896 248 19:16:28 19:12:01 27818980 31789264 507444 1.54 173608 3948200 1769172 5.21 1328364 3230968 44 19:16:28 19:13:01 27819248 31789564 507112 1.54 173640 3948204 1769172 5.21 1328744 3230972 192 19:16:28 19:14:01 27827516 31797872 498736 1.52 173680 3948212 1769172 5.21 1320180 3230980 12 19:16:28 19:15:01 27827500 31797904 498660 1.52 173704 3948216 1769172 5.21 1320208 3230992 180 19:16:28 19:16:01 27827668 31798072 498612 1.52 173740 3948216 1769172 5.21 1320412 3230992 16 19:16:28 Average: 27887803 31779546 517574 1.57 173355 3877578 1878560 5.54 1316652 3183022 39565 19:16:28 19:16:28 19:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:16:28 19:08:01 veth7d7bb4c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:08:01 ens3 827.77 536.79 7219.83 122.53 0.00 0.00 0.00 0.00 19:16:28 19:08:01 docker0 119.51 146.62 9.77 1234.15 0.00 0.00 0.00 0.00 19:16:28 19:08:01 lo 6.78 6.78 0.66 0.66 0.00 0.00 0.00 0.00 19:16:28 19:09:01 ens3 169.31 115.80 2681.67 70.05 0.00 0.00 0.00 0.00 19:16:28 19:09:01 docker0 10.61 14.77 0.62 89.46 0.00 0.00 0.00 0.00 19:16:28 19:09:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 19:16:28 19:10:02 ens3 15.38 12.41 15.03 14.85 0.00 0.00 0.00 0.00 19:16:28 19:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:10:02 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 19:16:28 19:11:01 ens3 6.46 6.27 0.65 14.15 0.00 0.00 0.00 0.00 19:16:28 19:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:16:28 19:12:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:13:01 ens3 4.43 8.55 0.35 7.61 0.00 0.00 0.00 0.00 19:16:28 19:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:16:28 19:14:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:15:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 19:16:28 19:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:16:28 19:16:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 19:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:16:28 Average: ens3 112.60 74.83 1092.89 25.31 0.00 0.00 0.00 0.00 19:16:28 Average: docker0 14.29 17.72 1.14 145.30 0.00 0.00 0.00 0.00 19:16:28 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 19:16:28 19:16:28 19:16:28 ---> sar -P ALL: 19:16:28 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-673) 06/02/22 _x86_64_ (8 CPU) 19:16:28 19:16:28 19:06:40 LINUX RESTART (8 CPU) 19:16:28 19:16:28 19:07:02 CPU %user %nice %system %iowait %steal %idle 19:16:28 19:08:01 all 13.16 0.00 5.13 2.20 0.09 79.42 19:16:28 19:08:01 0 11.77 0.00 4.68 0.51 0.09 82.95 19:16:28 19:08:01 1 11.92 0.00 5.68 5.01 0.09 77.30 19:16:28 19:08:01 2 15.86 0.00 4.98 3.49 0.10 75.56 19:16:28 19:08:01 3 13.20 0.00 6.31 1.60 0.10 78.79 19:16:28 19:08:01 4 14.89 0.00 5.01 2.63 0.09 77.38 19:16:28 19:08:01 5 12.61 0.00 5.16 1.91 0.09 80.24 19:16:28 19:08:01 6 13.72 0.00 4.15 0.96 0.09 81.08 19:16:28 19:08:01 7 11.30 0.00 5.11 1.45 0.10 82.04 19:16:28 19:09:01 all 36.00 0.00 6.88 0.70 0.10 56.32 19:16:28 19:09:01 0 35.60 0.00 6.76 0.99 0.10 56.55 19:16:28 19:09:01 1 36.31 0.00 6.74 0.24 0.08 56.63 19:16:28 19:09:01 2 34.19 0.00 7.23 2.75 0.10 55.72 19:16:28 19:09:01 3 33.95 0.00 6.36 0.12 0.10 59.47 19:16:28 19:09:01 4 36.41 0.00 6.89 0.05 0.10 56.55 19:16:28 19:09:01 5 37.45 0.00 7.03 0.96 0.10 54.47 19:16:28 19:09:01 6 37.00 0.00 7.02 0.42 0.10 55.46 19:16:28 19:09:01 7 37.09 0.00 7.01 0.03 0.12 55.75 19:16:28 19:10:02 all 0.21 0.00 0.18 0.17 0.00 99.44 19:16:28 19:10:02 0 0.20 0.00 0.13 0.03 0.00 99.63 19:16:28 19:10:02 1 0.17 0.00 0.17 0.00 0.02 99.65 19:16:28 19:10:02 2 0.23 0.00 0.42 1.05 0.00 98.30 19:16:28 19:10:02 3 0.28 0.00 0.13 0.00 0.00 99.58 19:16:28 19:10:02 4 0.32 0.00 0.08 0.00 0.00 99.60 19:16:28 19:10:02 5 0.17 0.00 0.12 0.03 0.00 99.68 19:16:28 19:10:02 6 0.12 0.00 0.20 0.25 0.00 99.43 19:16:28 19:10:02 7 0.22 0.00 0.17 0.00 0.00 99.62 19:16:28 19:11:01 all 0.03 0.00 0.02 0.00 0.01 99.94 19:16:28 19:11:01 0 0.02 0.00 0.03 0.02 0.00 99.93 19:16:28 19:11:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:16:28 19:11:01 2 0.02 0.00 0.05 0.00 0.00 99.93 19:16:28 19:11:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:16:28 19:11:01 4 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:11:01 5 0.03 0.00 0.00 0.00 0.02 99.95 19:16:28 19:11:01 6 0.07 0.00 0.03 0.02 0.03 99.85 19:16:28 19:11:01 7 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:12:01 all 0.03 0.00 0.02 0.00 0.01 99.95 19:16:28 19:12:01 0 0.03 0.00 0.02 0.02 0.02 99.92 19:16:28 19:12:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:12:01 2 0.05 0.00 0.02 0.00 0.00 99.93 19:16:28 19:12:01 3 0.02 0.00 0.03 0.00 0.02 99.93 19:16:28 19:12:01 4 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:12:01 5 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:12:01 6 0.03 0.00 0.02 0.02 0.02 99.92 19:16:28 19:12:01 7 0.03 0.00 0.02 0.00 0.00 99.95 19:16:28 19:13:01 all 0.02 0.00 0.02 0.01 0.00 99.95 19:16:28 19:13:01 0 0.00 0.00 0.02 0.02 0.00 99.97 19:16:28 19:13:01 1 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:13:01 2 0.02 0.00 0.00 0.02 0.02 99.95 19:16:28 19:13:01 3 0.03 0.00 0.05 0.00 0.00 99.92 19:16:28 19:13:01 4 0.00 0.00 0.00 0.00 0.00 100.00 19:16:28 19:13:01 5 0.03 0.00 0.00 0.00 0.00 99.97 19:16:28 19:13:01 6 0.03 0.00 0.03 0.02 0.00 99.92 19:16:28 19:13:01 7 0.02 0.00 0.02 0.00 0.02 99.95 19:16:28 19:14:01 all 0.03 0.00 0.02 0.00 0.00 99.95 19:16:28 19:14:01 0 0.02 0.00 0.00 0.02 0.00 99.97 19:16:28 19:14:01 1 0.00 0.00 0.02 0.00 0.00 99.98 19:16:28 19:14:01 2 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:14:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:14:01 4 0.03 0.00 0.02 0.00 0.00 99.95 19:16:28 19:14:01 5 0.07 0.00 0.07 0.00 0.02 99.85 19:16:28 19:14:01 6 0.02 0.00 0.00 0.02 0.00 99.97 19:16:28 19:14:01 7 0.03 0.00 0.03 0.00 0.00 99.93 19:16:28 19:15:01 all 0.01 0.00 0.01 0.00 0.00 99.97 19:16:28 19:15:01 0 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:15:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:15:01 2 0.00 0.00 0.00 0.00 0.00 100.00 19:16:28 19:15:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:16:28 19:15:01 4 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:15:01 5 0.03 0.00 0.03 0.00 0.02 99.92 19:16:28 19:15:01 6 0.00 0.00 0.00 0.00 0.02 99.98 19:16:28 19:15:01 7 0.02 0.00 0.05 0.00 0.00 99.93 19:16:28 19:16:01 all 0.01 0.00 0.01 0.00 0.00 99.97 19:16:28 19:16:01 0 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 19:16:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:16:01 2 0.00 0.00 0.02 0.00 0.00 99.98 19:16:28 19:16:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:16:28 19:16:01 4 0.00 0.00 0.00 0.00 0.02 99.98 19:16:28 19:16:01 5 0.03 0.00 0.03 0.00 0.02 99.92 19:16:28 19:16:01 6 0.02 0.00 0.00 0.02 0.00 99.97 19:16:28 19:16:01 7 0.02 0.00 0.02 0.00 0.00 99.97 19:16:28 Average: all 5.44 0.00 1.35 0.34 0.02 92.85 19:16:28 Average: 0 5.25 0.00 1.28 0.18 0.02 93.27 19:16:28 Average: 1 5.35 0.00 1.39 0.57 0.02 92.67 19:16:28 Average: 2 5.53 0.00 1.39 0.80 0.02 92.26 19:16:28 Average: 3 5.21 0.00 1.41 0.19 0.02 93.16 19:16:28 Average: 4 5.69 0.00 1.32 0.29 0.02 92.68 19:16:28 Average: 5 5.55 0.00 1.37 0.32 0.03 92.73 19:16:28 Average: 6 5.62 0.00 1.26 0.19 0.03 92.90 19:16:28 Average: 7 5.34 0.00 1.35 0.16 0.03 93.12 19:16:28 19:16:28 19:16:28