Pull request #322 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2+55c123e92a81b52ef904480be8a3eb69bc416b29 (c03553ad52e332edbfea6014bd0e67ced9a8ce9f) 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-ssh1774683862801834329.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10062720465137487498.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1946136143486262150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh11092902910199734356.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1017232904368341325.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16367’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16368’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16369’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16370 in /w/workspace/gexfoundry_device-rest-go_PR-322 [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-322 # 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 > 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/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 Merge succeeded, producing 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 Checking out Revision 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 (PR-322) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:34:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:34:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:34:37 ========================================================= 21:34:37 EdgeX Global Pipelines Version Info 21:34:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # 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 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # timeout=10 > git rev-list --no-walk b7a532f10f65a37a16fe5b5df099a14b732e137e # timeout=10 21:34:38 ------------------- 21:34:38 stable info: 21:34:38 ------------------- 21:34:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:34:38 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:34:38 Message: update stable to v1.0.249 21:34:39 ------------------- 21:34:39 experimental info: 21:34:39 ------------------- 21:34:39 Commited By: **** collab-it+edgex@linuxfoundation.org 21:34:39 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:34:39 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ed9423 [Pipeline] echo 21:34:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:34:39 provisioning config files... 21:34:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config12946157675223517965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:40 ---> docker-login.sh 21:34:40 nexus3.edgexfoundry.org:10001 21:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:40 Configure a credential helper to remove this warning. See 21:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:40 21:34:40 Login Succeeded 21:34:40 nexus3.edgexfoundry.org:10002 21:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:40 Configure a credential helper to remove this warning. See 21:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:40 21:34:40 Login Succeeded 21:34:40 nexus3.edgexfoundry.org:10003 21:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:41 Configure a credential helper to remove this warning. See 21:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:41 21:34:41 Login Succeeded 21:34:41 nexus3.edgexfoundry.org:10004 21:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:41 Configure a credential helper to remove this warning. See 21:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:41 21:34:41 Login Succeeded 21:34:41 docker.io 21:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:41 Configure a credential helper to remove this warning. See 21:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:41 21:34:41 Login Succeeded 21:34:41 ---> docker-login.sh ends [Pipeline] } 21:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:34:41 + git rev-list -1 --merges 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2~1..4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [Pipeline] echo 21:34:41 -----------> git rev-list -1 --merges 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2~1..4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [false] [Pipeline] sh 21:34:42 + git log --format=format:%s -1 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [Pipeline] echo 21:34:42 ========================================================= 21:34:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:34:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:42 + git log --format=format:%s -1 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [Pipeline] echo 21:34:42 [semverPrep] GIT_COMMIT: 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 21:34:42 [semverPrep] This is not a build commit. [Pipeline] sh 21:34:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:34:42 + grep -v github /etc/ssh/ssh_known_hosts 21:34:42 + [ -e /tmp/ssh_known_hosts ] 21:34:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:34:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:34:42 + sudo tee -a /etc/ssh/ssh_known_hosts 21:34:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:34:43 21:34:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:34:43 0.1.4: Pulling from edgex-devops/py-git-semver 21:34:43 b85a868b505f: Pulling fs layer 21:34:43 e2be974225ed: Pulling fs layer 21:34:43 339a4e72a1f5: Pulling fs layer 21:34:43 988bab9f4d93: Pulling fs layer 21:34:43 1469e6f7b9e6: Pulling fs layer 21:34:43 eaf3925da568: Pulling fs layer 21:34:43 bab4dde63d76: Pulling fs layer 21:34:43 bde34c3a00c8: Pulling fs layer 21:34:43 b352a97aabf1: Pulling fs layer 21:34:43 4872d77fe225: Pulling fs layer 21:34:43 5851b861e8e6: Pulling fs layer 21:34:43 988bab9f4d93: Waiting 21:34:43 1469e6f7b9e6: Waiting 21:34:43 b352a97aabf1: Waiting 21:34:43 eaf3925da568: Waiting 21:34:43 4872d77fe225: Waiting 21:34:43 5851b861e8e6: Waiting 21:34:43 bab4dde63d76: Waiting 21:34:43 bde34c3a00c8: Waiting 21:34:43 e2be974225ed: Verifying Checksum 21:34:43 e2be974225ed: Download complete 21:34:43 988bab9f4d93: Verifying Checksum 21:34:43 988bab9f4d93: Download complete 21:34:43 339a4e72a1f5: Verifying Checksum 21:34:43 339a4e72a1f5: Download complete 21:34:43 1469e6f7b9e6: Verifying Checksum 21:34:43 1469e6f7b9e6: Download complete 21:34:43 eaf3925da568: Verifying Checksum 21:34:43 eaf3925da568: Download complete 21:34:43 bde34c3a00c8: Verifying Checksum 21:34:43 bde34c3a00c8: Download complete 21:34:43 b352a97aabf1: Download complete 21:34:43 4872d77fe225: Verifying Checksum 21:34:43 4872d77fe225: Download complete 21:34:43 5851b861e8e6: Download complete 21:34:43 b85a868b505f: Verifying Checksum 21:34:43 b85a868b505f: Download complete 21:34:44 bab4dde63d76: Verifying Checksum 21:34:44 bab4dde63d76: Download complete 21:34:45 b85a868b505f: Pull complete 21:34:45 e2be974225ed: Pull complete 21:34:45 339a4e72a1f5: Pull complete 21:34:45 988bab9f4d93: Pull complete 21:34:46 1469e6f7b9e6: Pull complete 21:34:46 eaf3925da568: Pull complete 21:34:48 bab4dde63d76: Pull complete 21:34:48 bde34c3a00c8: Pull complete 21:34:48 b352a97aabf1: Pull complete 21:34:48 4872d77fe225: Pull complete 21:34:48 5851b861e8e6: Pull complete 21:34:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:34:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:34:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:48 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 21:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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-devops/py-git-semver:0.1.4 cat 21:34:51 $ docker top e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea -eo pid,comm 21:34:51 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). 21:34:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:34:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:51 [ssh-agent] Looking for ssh-agent implementation... 21:34:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:51 $ docker exec e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea ssh-agent 21:34:51 SSH_AUTH_SOCK=/tmp/ssh-8Oo57LgtSl6x/agent.31 21:34:51 SSH_AGENT_PID=37 21:34:51 Running ssh-add (command line suppressed) 21:34:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_6679415281711508393.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_6679415281711508393.key) 21:34:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:51 + git tag --points-at HEAD [Pipeline] } 21:34:51 $ docker exec --env ******** --env ******** e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea ssh-agent -k 21:34:51 unset SSH_AUTH_SOCK; 21:34:51 unset SSH_AGENT_PID; 21:34:51 echo Agent pid 37 killed; 21:34:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:34:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:51 [ssh-agent] Looking for ssh-agent implementation... 21:34:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:52 $ docker exec e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea ssh-agent 21:34:52 SSH_AUTH_SOCK=/tmp/ssh-wPJjcKsvtFtE/agent.69 21:34:52 SSH_AGENT_PID=75 21:34:52 Running ssh-add (command line suppressed) 21:34:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_4935830499914999790.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_4935830499914999790.key) 21:34:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:52 + git semver init 21:34:52 2023-05-22 21:34:52,703 [run_init] DEBUG init version:0.0.0 force:False 21:34:52 2023-05-22 21:34:52,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver 21:34:52 2023-05-22 21:34:52,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-322/.semver 21:34:52 2023-05-22 21:34:52,704 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-322/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322, universal_newlines=False, shell=None, istream=None) 21:34:53 2023-05-22 21:34:53,737 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.git/info/exclude 21:34:54 2023-05-22 21:34:53,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 with force:False 21:34:54 2023-05-22 21:34:53,737 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 21:34:54 2023-05-22 21:34:53,741 [execute] INFO git cat-file --batch-check 21:34:54 2023-05-22 21:34:53,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 21:34:54 2023-05-22 21:34:53,748 [execute] INFO git cat-file --batch 21:34:54 2023-05-22 21:34:53,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 21:34:54 2023-05-22 21:34:53,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 21:34:54 0.0.0 [Pipeline] } 21:34:54 $ docker exec --env ******** --env ******** e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea ssh-agent -k 21:34:54 unset SSH_AUTH_SOCK; 21:34:54 unset SSH_AGENT_PID; 21:34:54 echo Agent pid 75 killed; 21:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:34:54 + git semver [Pipeline] } 21:34:54 $ docker stop --time=1 e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea 21:34:55 $ docker rm -f --volumes e105ecbb3cb3a79f5e871fa8265e0921fd7cc7d85418940b4fd2656966df32ea [Pipeline] // withDockerContainer [Pipeline] sh 21:34:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:34:56 Stashed 1 file(s) [Pipeline] echo 21:34:56 [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 21:34:56 provisioning config files... 21:34:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config8149084472044072603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:56 ---> docker-login.sh 21:34:56 nexus3.edgexfoundry.org:10001 21:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:56 Configure a credential helper to remove this warning. See 21:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:56 21:34:56 Login Succeeded 21:34:56 nexus3.edgexfoundry.org:10002 21:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:56 Configure a credential helper to remove this warning. See 21:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:56 21:34:56 Login Succeeded 21:34:56 nexus3.edgexfoundry.org:10003 21:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:57 Configure a credential helper to remove this warning. See 21:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:57 21:34:57 Login Succeeded 21:34:57 nexus3.edgexfoundry.org:10004 21:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:57 Configure a credential helper to remove this warning. See 21:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:57 21:34:57 Login Succeeded 21:34:57 docker.io 21:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:57 Configure a credential helper to remove this warning. See 21:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:57 21:34:57 Login Succeeded 21:34:57 ---> docker-login.sh ends [Pipeline] } 21:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:34:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:57 ========================================================= 21:34:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:34:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:34:57 Sending build context to Docker daemon 10.93MB 21:34:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:34:57 Step 2/12 : FROM ${BASE} AS builder 21:34:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:34:57 f56be85fc22e: Pulling fs layer 21:34:57 85791d961cd3: Pulling fs layer 21:34:57 d694b5ae8c79: Pulling fs layer 21:34:57 9f32a84ed3da: Pulling fs layer 21:34:57 4d19c01a9841: Pulling fs layer 21:34:57 9325e15d5711: Pulling fs layer 21:34:57 556b6ee489ea: Pulling fs layer 21:34:57 c5a4b2cf53e6: Pulling fs layer 21:34:57 9f32a84ed3da: Waiting 21:34:57 4d19c01a9841: Waiting 21:34:57 556b6ee489ea: Waiting 21:34:57 9325e15d5711: Waiting 21:34:57 85791d961cd3: Verifying Checksum 21:34:57 85791d961cd3: Download complete 21:34:57 9f32a84ed3da: Verifying Checksum 21:34:57 9f32a84ed3da: Download complete 21:34:58 4d19c01a9841: Download complete 21:34:58 f56be85fc22e: Verifying Checksum 21:34:58 f56be85fc22e: Download complete 21:34:58 9325e15d5711: Verifying Checksum 21:34:58 9325e15d5711: Download complete 21:34:58 f56be85fc22e: Pull complete 21:34:58 85791d961cd3: Pull complete 21:34:58 c5a4b2cf53e6: Verifying Checksum 21:34:58 c5a4b2cf53e6: Download complete 21:34:58 d694b5ae8c79: Verifying Checksum 21:34:58 d694b5ae8c79: Download complete 21:34:58 556b6ee489ea: Verifying Checksum 21:34:58 556b6ee489ea: Download complete 21:35:02 d694b5ae8c79: Pull complete 21:35:02 9f32a84ed3da: Pull complete 21:35:02 4d19c01a9841: Pull complete 21:35:02 9325e15d5711: Pull complete 21:35:05 556b6ee489ea: Pull complete 21:35:06 c5a4b2cf53e6: Pull complete 21:35:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:35:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:35:06 ---> c4be618373d6 21:35:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:35:08 ---> Running in 5a2962948a76 21:35:08 Removing intermediate container 5a2962948a76 21:35:08 ---> 47c428e977fb 21:35:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:35:08 ---> Running in cfbd66aea312 21:35:08 Removing intermediate container cfbd66aea312 21:35:08 ---> 6b65949eb782 21:35:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:35:08 ---> Running in f9d9ec2e18b9 21:35:09 Removing intermediate container f9d9ec2e18b9 21:35:09 ---> 54eb459b6adf 21:35:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:35:09 ---> Running in 9eb31c31a506 21:35:09 Removing intermediate container 9eb31c31a506 21:35:09 ---> 562de3b5d1b8 21:35:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:35:09 ---> Running in 902ea399646e 21:35:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:35:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:35:09 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:35:09 (2/4) Installing libedit (20221030.3.1-r0) 21:35:09 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:35:09 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:35:09 Executing busybox-1.35.0-r29.trigger 21:35:09 OK: 269 MiB in 57 packages 21:35:10 Removing intermediate container 902ea399646e 21:35:10 ---> 2f6689be3af0 21:35:10 Step 8/12 : WORKDIR /device-rest-go 21:35:10 ---> Running in 843ef088b87d 21:35:10 Removing intermediate container 843ef088b87d 21:35:10 ---> 832d732f325a 21:35:10 Step 9/12 : COPY go.mod vendor* ./ 21:35:10 ---> dfe9f819d04e 21:35:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:10 ---> Running in 5f86f2041e40 21:35:11 Still waiting to schedule task 21:35:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:35:37 Removing intermediate container 5f86f2041e40 21:35:37 ---> ab66bc767bc2 21:35:37 Step 11/12 : COPY . . 21:35:37 ---> 12c557cb25f4 21:35:37 Step 12/12 : RUN $MAKE 21:35:37 ---> Running in d529e2f9c149 21:35:37 noop 21:35:37 Removing intermediate container d529e2f9c149 21:35:37 ---> e28e020d70b4 21:35:37 Successfully built e28e020d70b4 21:35:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:37 + docker inspect -f . ci-base-image-x86_64 21:35:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:37 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 21:35:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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 ******** -e ******** ci-base-image-x86_64 cat 21:35:38 $ docker top ce57840301528e4d20eca4cc65ad21c681ea6bea35467febaf799451b0095a01 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:38 + go version 21:35:38 go version go1.20.2 linux/amd64 [Pipeline] } 21:35:38 $ docker stop --time=1 ce57840301528e4d20eca4cc65ad21c681ea6bea35467febaf799451b0095a01 21:35:39 $ docker rm -f --volumes ce57840301528e4d20eca4cc65ad21c681ea6bea35467febaf799451b0095a01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:40 + docker inspect -f . ci-base-image-x86_64 21:35:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:40 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 21:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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 ******** -e ******** ci-base-image-x86_64 cat 21:35:40 $ docker top 2e79d16fb5ee49c016e9a38eee623350c0815d9705058b75eb614c37ee695da9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] fileExists [Pipeline] sh 21:35:41 + make test 21:35:41 go test ./... -coverprofile=coverage.out ./... 21:35:46 ? github.com/edgexfoundry/device-rest-go [no test files] 21:35:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:35:56 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 21:36:04 go vet ./... 21:36:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:36:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:36:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:36:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:36:07 $ docker stop --time=1 2e79d16fb5ee49c016e9a38eee623350c0815d9705058b75eb614c37ee695da9 21:36:09 $ docker rm -f --volumes 2e79d16fb5ee49c016e9a38eee623350c0815d9705058b75eb614c37ee695da9 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:36:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:36:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:36:11 + ls -al . 21:36:11 total 184 21:36:11 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:35 . 21:36:11 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:34 .. 21:36:11 -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:34 .dockerignore 21:36:11 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:34 .git 21:36:11 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:34 .github 21:36:11 -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:34 .gitignore 21:36:11 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:34 .golangci.yml 21:36:11 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:34 .semver 21:36:11 -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:34 Attribution.txt 21:36:11 -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:34 CHANGELOG.md 21:36:11 -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:34 Dockerfile 21:36:11 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:34 GOVERNANCE.md 21:36:11 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:34 Jenkinsfile 21:36:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:34 LICENSE 21:36:11 -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:34 Makefile 21:36:11 -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:34 OWNERS.md 21:36:11 -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:34 README.md 21:36:11 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:34 VERSION 21:36:11 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:34 bin 21:36:11 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:34 cmd 21:36:11 -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:35 coverage.out 21:36:11 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:34 driver 21:36:11 -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:34 go.mod 21:36:11 -rw-rw-r-- 1 jenkins jenkins 31418 May 22 21:34 go.sum 21:36:11 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:34 snap 21:36:11 -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:11 + 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=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 --label arch=amd64 --label version=0.0.0 . 21:36:11 Sending build context to Docker daemon 10.95MB 21:36:11 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:36:11 Step 2/25 : FROM ${BASE} AS builder 21:36:11 ---> e28e020d70b4 21:36:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:36:11 ---> Running in 1d3e2d96b9a5 21:36:11 Removing intermediate container 1d3e2d96b9a5 21:36:11 ---> 67cb76e81a23 21:36:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:11 ---> Running in 1eccb9037d76 21:36:11 Removing intermediate container 1eccb9037d76 21:36:11 ---> 5cb66d11c6da 21:36:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:36:11 ---> Running in 056878c00ca8 21:36:12 Removing intermediate container 056878c00ca8 21:36:12 ---> cc03a8a95550 21:36:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:36:12 ---> Running in 7e0b0652a4d8 21:36:12 Removing intermediate container 7e0b0652a4d8 21:36:12 ---> c11097181222 21:36:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:12 ---> Running in b6663f54f8ef 21:36:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:36:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:36:12 OK: 269 MiB in 57 packages 21:36:13 Removing intermediate container b6663f54f8ef 21:36:13 ---> 1ac76838f4b8 21:36:13 Step 8/25 : WORKDIR /device-rest-go 21:36:13 ---> Running in c13dfa54321c 21:36:13 Removing intermediate container c13dfa54321c 21:36:13 ---> e8793b655043 21:36:13 Step 9/25 : COPY go.mod vendor* ./ 21:36:13 ---> c86bddb14696 21:36:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:13 ---> Running in f2d6cf0511c4 21:36:14 Removing intermediate container f2d6cf0511c4 21:36:14 ---> efa1042e4441 21:36:14 Step 11/25 : COPY . . 21:36:14 ---> 3a66744d24eb 21:36:14 Step 12/25 : RUN $MAKE 21:36:14 ---> Running in 4a35ca0b343f 21:36:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:36:32 Removing intermediate container 4a35ca0b343f 21:36:32 ---> 63871248c26a 21:36:32 Step 13/25 : FROM alpine:3.17 21:36:33 3.17: Pulling from library/alpine 21:36:33 f56be85fc22e: Already exists 21:36:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:36:33 Status: Downloaded newer image for alpine:3.17 21:36:33 ---> 9ed4aefc74f6 21:36:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:36:33 ---> Running in 67f33d0fea72 21:36:33 Removing intermediate container 67f33d0fea72 21:36:33 ---> 29f27cc55783 21:36:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:36:33 ---> Running in f832c3281921 21:36:33 Removing intermediate container f832c3281921 21:36:33 ---> 3ce914f95c4e 21:36:33 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:36:33 ---> Running in fbb0cb09d117 21:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:36:34 (1/1) Installing dumb-init (1.2.5-r2) 21:36:34 Executing busybox-1.35.0-r29.trigger 21:36:34 OK: 7 MiB in 16 packages 21:36:34 Removing intermediate container fbb0cb09d117 21:36:34 ---> 7a0e0a7f5f9b 21:36:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:36:35 ---> 5fbe9615bbb2 21:36:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:36:35 ---> 39ebe13f2bff 21:36:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:36:35 ---> ef5caa96195d 21:36:35 Step 20/25 : EXPOSE 59986 21:36:35 ---> Running in e703a1c955c7 21:36:35 Removing intermediate container e703a1c955c7 21:36:35 ---> 747ab95787b2 21:36:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:36:35 ---> Running in f1f6d502376a 21:36:35 Removing intermediate container f1f6d502376a 21:36:35 ---> a0b67704488e 21:36:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:36:35 ---> Running in 20e134a53de9 21:36:35 Removing intermediate container 20e134a53de9 21:36:35 ---> 15bc115acf38 21:36:35 Step 23/25 : LABEL arch=amd64 21:36:35 ---> Running in 38f7c94b4d59 21:36:36 Removing intermediate container 38f7c94b4d59 21:36:36 ---> 80c3f7afe12f 21:36:36 Step 24/25 : LABEL git_sha=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 21:36:36 ---> Running in 314f67056f85 21:36:36 Removing intermediate container 314f67056f85 21:36:36 ---> 726d03fdf750 21:36:36 Step 25/25 : LABEL version=0.0.0 21:36:36 ---> Running in b6fd84082ab0 21:36:36 Removing intermediate container b6fd84082ab0 21:36:36 ---> ab27727836a7 21:36:36 [Warning] One or more build-args [ARCH] were not consumed 21:36:36 Successfully built ab27727836a7 21:36:36 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 21:36:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:36 21:36:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:36 latest: Pulling from edgex-lftools-log-publisher 21:36:36 5eb5b503b376: Pulling fs layer 21:36:36 5c69ac0246d0: Pulling fs layer 21:36:36 ec43610c2a17: Pulling fs layer 21:36:36 3a2ae6a8a46f: Pulling fs layer 21:36:36 33b1e0a273af: Pulling fs layer 21:36:36 5d3b04190fa2: Pulling fs layer 21:36:36 2f39f015ded8: Pulling fs layer 21:36:36 33b1e0a273af: Waiting 21:36:36 3a2ae6a8a46f: Waiting 21:36:36 5d3b04190fa2: Waiting 21:36:36 5c69ac0246d0: Verifying Checksum 21:36:36 5c69ac0246d0: Download complete 21:36:36 3a2ae6a8a46f: Verifying Checksum 21:36:36 3a2ae6a8a46f: Download complete 21:36:36 33b1e0a273af: Verifying Checksum 21:36:36 33b1e0a273af: Download complete 21:36:36 ec43610c2a17: Verifying Checksum 21:36:36 ec43610c2a17: Download complete 21:36:36 5d3b04190fa2: Verifying Checksum 21:36:36 5d3b04190fa2: Download complete 21:36:37 5eb5b503b376: Verifying Checksum 21:36:37 5eb5b503b376: Download complete 21:36:37 2f39f015ded8: Download complete 21:36:38 5eb5b503b376: Pull complete 21:36:38 5c69ac0246d0: Pull complete 21:36:38 ec43610c2a17: Pull complete 21:36:38 3a2ae6a8a46f: Pull complete 21:36:39 33b1e0a273af: Pull complete 21:36:39 5d3b04190fa2: Pull complete 21:36:43 2f39f015ded8: Pull complete 21:36:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:43 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 21:36:43 $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:36:46 $ docker top c60099980b48f1d8b3aba0b532c829add9083441c1c1dd8543f5cf212631fd59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:46 ---> job-cost.sh 21:36:46 lf-activate-venv: SKIPPING 21:36:46 INFO: No Stack... 21:36:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:36:47 INFO: Archiving Costs [Pipeline] sh 21:36:47 + cat /w/workspace/gexfoundry_device-rest-go_PR-322/archives/cost.csv 21:36:47 + cut -d, -f6 [Pipeline] lock 21:36:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] 21:36:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] did not exist. Created. 21:36:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:48 + echo total: 0.2199999988079071 [Pipeline] stash 21:36:48 Stashed 1 file(s) [Pipeline] } 21:36:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:48 $ docker stop --time=1 c60099980b48f1d8b3aba0b532c829add9083441c1c1dd8543f5cf212631fd59 21:36:49 $ docker rm -f --volumes c60099980b48f1d8b3aba0b532c829add9083441c1c1dd8543f5cf212631fd59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16374 in /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] { [Pipeline] ws 21:39:24 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 21:39:24 The recommended git tool is: git 21:39:34 using credential edgex-jenkins-ssh 21:39:34 Cloning the remote Git repository 21:39:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:39:34 > git init /w/workspace/device-rest-go/3 # timeout=10 21:39:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:39:34 > git --version # timeout=10 21:39:34 > git --version # 'git version 2.25.1' 21:39:34 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:39:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:39:41 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 21:39:42 Merge succeeded, producing 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 21:39:42 Checking out Revision 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 (PR-322) 21:39:42 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:41 > git config core.sparsecheckout # timeout=10 21:39:41 > git checkout -f 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # timeout=10 21:39:41 > git remote # timeout=10 21:39:41 > git config --get remote.origin.url # timeout=10 21:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:41 > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 21:39:42 > git rev-parse HEAD^{commit} # timeout=10 21:39:42 > git config core.sparsecheckout # timeout=10 21:39:42 > git checkout -f 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # timeout=10 21:39:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:39:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:44 Dload Upload Total Spent Left Speed 21:39:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:39:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:39:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:39:45 + sudo tee /etc/docker/daemon.new 21:39:45 { 21:39:45 "registry-mirrors": [ 21:39:45 "https://nexus3.edgexfoundry.org:10001" 21:39:45 ], 21:39:45 "bip": "10.250.0.254/24", 21:39:45 "hosts": [ 21:39:45 "tcp://0.0.0.0:5555", 21:39:45 "unix:///var/run/docker.sock" 21:39:45 ], 21:39:45 "mtu": 1458, 21:39:45 "selinux-enabled": true, 21:39:45 "seccomp-profile": "/etc/docker/seccomp.json" 21:39:45 } [Pipeline] sh 21:39:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:39:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:05 provisioning config files... 21:40:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config1025172444514743725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:05 ---> docker-login.sh 21:40:05 nexus3.edgexfoundry.org:10001 21:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:06 Configure a credential helper to remove this warning. See 21:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:06 21:40:06 Login Succeeded 21:40:06 nexus3.edgexfoundry.org:10002 21:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:06 Configure a credential helper to remove this warning. See 21:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:06 21:40:06 Login Succeeded 21:40:06 nexus3.edgexfoundry.org:10003 21:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:07 Configure a credential helper to remove this warning. See 21:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:07 21:40:07 Login Succeeded 21:40:07 nexus3.edgexfoundry.org:10004 21:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:07 Configure a credential helper to remove this warning. See 21:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:07 21:40:07 Login Succeeded 21:40:07 docker.io 21:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:08 Configure a credential helper to remove this warning. See 21:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:08 21:40:08 Login Succeeded 21:40:08 ---> docker-login.sh ends [Pipeline] } 21:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:08 ========================================================= 21:40:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:40:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:40:08 Sending build context to Docker daemon 139.3kB 21:40:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:40:09 Step 2/12 : FROM ${BASE} AS builder 21:40:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:40:09 c41833b44d91: Pulling fs layer 21:40:09 ed15518f5707: Pulling fs layer 21:40:09 feae8fd75edb: Pulling fs layer 21:40:09 242c74f7c9fa: Pulling fs layer 21:40:09 3cdef696dda3: Pulling fs layer 21:40:09 2ced38df9373: Pulling fs layer 21:40:09 58f1dce35555: Pulling fs layer 21:40:09 242c74f7c9fa: Waiting 21:40:09 2ced38df9373: Waiting 21:40:09 3cdef696dda3: Waiting 21:40:09 58f1dce35555: Waiting 21:40:09 ed15518f5707: Verifying Checksum 21:40:09 ed15518f5707: Download complete 21:40:09 242c74f7c9fa: Download complete 21:40:09 3cdef696dda3: Download complete 21:40:09 c41833b44d91: Verifying Checksum 21:40:09 c41833b44d91: Download complete 21:40:10 58f1dce35555: Verifying Checksum 21:40:10 58f1dce35555: Download complete 21:40:11 c41833b44d91: Pull complete 21:40:12 ed15518f5707: Pull complete 21:40:12 feae8fd75edb: Verifying Checksum 21:40:12 feae8fd75edb: Download complete 21:40:12 2ced38df9373: Verifying Checksum 21:40:12 2ced38df9373: Download complete 21:40:27 feae8fd75edb: Pull complete 21:40:27 242c74f7c9fa: Pull complete 21:40:27 3cdef696dda3: Pull complete 21:40:33 2ced38df9373: Pull complete 21:40:37 58f1dce35555: Pull complete 21:40:37 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:40:37 ---> fadd8f120f05 21:40:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:40:39 ---> Running in 1fd6865d5261 21:40:39 Removing intermediate container 1fd6865d5261 21:40:39 ---> 1a1c4e2a6b91 21:40:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:40:39 ---> Running in 469fa75174cf 21:40:39 Removing intermediate container 469fa75174cf 21:40:39 ---> ea167e7010ff 21:40:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:40:39 ---> Running in d3f39a0b7d39 21:40:40 Removing intermediate container d3f39a0b7d39 21:40:40 ---> a3049d6c9f16 21:40:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:40:40 ---> Running in 6d5ffc667c65 21:40:40 Removing intermediate container 6d5ffc667c65 21:40:40 ---> 5a5616002b01 21:40:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:40 ---> Running in 52bfa9e3dc3e 21:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:44 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:40:44 (2/4) Installing libedit (20221030.3.1-r0) 21:40:44 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:40:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:40:44 Executing busybox-1.35.0-r29.trigger 21:40:44 OK: 268 MiB in 57 packages 21:40:45 Removing intermediate container 52bfa9e3dc3e 21:40:45 ---> 9e365350b1fe 21:40:45 Step 8/12 : WORKDIR /device-rest-go 21:40:45 ---> Running in f1c8b88938bf 21:40:45 Removing intermediate container f1c8b88938bf 21:40:45 ---> 442060304d90 21:40:45 Step 9/12 : COPY go.mod vendor* ./ 21:40:46 ---> 3257d225e298 21:40:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:46 ---> Running in 595362c78672 21:42:08 Removing intermediate container 595362c78672 21:42:08 ---> fdc57af54aea 21:42:08 Step 11/12 : COPY . . 21:42:08 ---> f7ac13142495 21:42:08 Step 12/12 : RUN $MAKE 21:42:08 ---> Running in 0a377b55c419 21:42:08 noop 21:42:08 Removing intermediate container 0a377b55c419 21:42:08 ---> a46217bc59e2 21:42:08 Successfully built a46217bc59e2 21:42:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:08 + docker inspect -f . ci-base-image-arm64 21:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:08 prd-ubuntu20.04-docker-arm64-4c-16g-16374 does not seem to be running inside a container 21:42:08 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:42:10 $ docker top c93e2d7b1928ddb2c1946f940c8630074b5bbaebd692e5009c3ec5b197225f50 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:11 + go version 21:42:11 go version go1.20.2 linux/arm64 [Pipeline] } 21:42:11 $ docker stop --time=1 c93e2d7b1928ddb2c1946f940c8630074b5bbaebd692e5009c3ec5b197225f50 21:42:13 $ docker rm -f --volumes c93e2d7b1928ddb2c1946f940c8630074b5bbaebd692e5009c3ec5b197225f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:13 + docker inspect -f . ci-base-image-arm64 21:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:13 prd-ubuntu20.04-docker-arm64-4c-16g-16374 does not seem to be running inside a container 21:42:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat 21:42:15 $ docker top 6c64560bc3cd7f34c79f8bfbe15f92d3b0b64392601faae712cb9cade74264cd -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:16 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 21:42:16 + make test 21:42:16 go test ./... -coverprofile=coverage.out ./... 21:43:03 ? github.com/edgexfoundry/device-rest-go [no test files] 21:45:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:45:25 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 32.2% of statements 21:45:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:45:25 go vet ./... 21:45:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:45:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:45:47 ./bin/test-attribution-txt.sh [Pipeline] echo 21:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:45:47 $ docker stop --time=1 6c64560bc3cd7f34c79f8bfbe15f92d3b0b64392601faae712cb9cade74264cd 21:45:49 $ docker rm -f --volumes 6c64560bc3cd7f34c79f8bfbe15f92d3b0b64392601faae712cb9cade74264cd [Pipeline] // withDockerContainer [Pipeline] sh 21:45:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:45:51 Warning: overwriting stash ‘coverage-report’ 21:45:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:45:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:45:52 + ls -al . 21:45:52 total 180 21:45:52 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:42 . 21:45:52 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:39 .. 21:45:52 -rw-rw-r-- 1 jenkins jenkins 151 May 22 21:39 .dockerignore 21:45:52 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:39 .git 21:45:52 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:39 .github 21:45:52 -rw-rw-r-- 1 jenkins jenkins 329 May 22 21:39 .gitignore 21:45:52 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:39 .golangci.yml 21:45:52 -rw-rw-r-- 1 jenkins jenkins 9331 May 22 21:39 Attribution.txt 21:45:52 -rw-rw-r-- 1 jenkins jenkins 13085 May 22 21:39 CHANGELOG.md 21:45:52 -rw-rw-r-- 1 jenkins jenkins 1578 May 22 21:39 Dockerfile 21:45:52 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:39 GOVERNANCE.md 21:45:52 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:39 Jenkinsfile 21:45:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:39 LICENSE 21:45:52 -rw-rw-r-- 1 jenkins jenkins 1779 May 22 21:39 Makefile 21:45:52 -rw-rw-r-- 1 jenkins jenkins 620 May 22 21:39 OWNERS.md 21:45:52 -rw-rw-r-- 1 jenkins jenkins 15827 May 22 21:39 README.md 21:45:52 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:34 VERSION 21:45:52 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:39 bin 21:45:52 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:39 cmd 21:45:52 -rw-r--r-- 1 jenkins jenkins 14663 May 22 21:45 coverage.out 21:45:52 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:39 driver 21:45:52 -rw-rw-r-- 1 jenkins jenkins 3402 May 22 21:39 go.mod 21:45:52 -rw-rw-r-- 1 jenkins jenkins 31418 May 22 21:39 go.sum 21:45:52 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:39 snap 21:45:52 -rw-rw-r-- 1 jenkins jenkins 713 May 22 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:52 + 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=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 --label arch=arm64 --label version=0.0.0 . 21:45:52 Sending build context to Docker daemon 154.6kB 21:45:53 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:45:53 Step 2/25 : FROM ${BASE} AS builder 21:45:53 ---> a46217bc59e2 21:45:53 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:45:53 ---> Running in 39b9c11c95e5 21:45:53 Removing intermediate container 39b9c11c95e5 21:45:53 ---> b7ee0811e508 21:45:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:45:53 ---> Running in 7ab93b233234 21:45:53 Removing intermediate container 7ab93b233234 21:45:53 ---> e12360bd2a37 21:45:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:45:53 ---> Running in eac70c648251 21:45:54 Removing intermediate container eac70c648251 21:45:54 ---> bb35be73bcf0 21:45:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:45:54 ---> Running in fd54c51e4b43 21:45:54 Removing intermediate container fd54c51e4b43 21:45:54 ---> 9b386f4fb7e1 21:45:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:45:54 ---> Running in f10ea09c8860 21:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:45:57 OK: 268 MiB in 57 packages 21:45:58 Removing intermediate container f10ea09c8860 21:45:58 ---> 7fcd063cf09f 21:45:58 Step 8/25 : WORKDIR /device-rest-go 21:45:58 ---> Running in 4799731eca0f 21:45:59 Removing intermediate container 4799731eca0f 21:45:59 ---> d3858d517608 21:45:59 Step 9/25 : COPY go.mod vendor* ./ 21:45:59 ---> dc7ed12bd130 21:45:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:45:59 ---> Running in b4bfe73f1ee5 21:46:03 Removing intermediate container b4bfe73f1ee5 21:46:03 ---> 6146000e27a9 21:46:03 Step 11/25 : COPY . . 21:46:03 ---> f34ebf522cf9 21:46:03 Step 12/25 : RUN $MAKE 21:46:03 ---> Running in 9bf9c4162787 21:46:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:48:41 Removing intermediate container 9bf9c4162787 21:48:41 ---> 418a2e6329a8 21:48:41 Step 13/25 : FROM alpine:3.17 21:48:41 3.17: Pulling from library/alpine 21:48:41 c41833b44d91: Already exists 21:48:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:48:41 Status: Downloaded newer image for alpine:3.17 21:48:41 ---> 51e60588ff2c 21:48:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:48:41 ---> Running in 32fee7e16386 21:48:41 Removing intermediate container 32fee7e16386 21:48:41 ---> 9a75d4cd0ba5 21:48:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:48:41 ---> Running in febd2362edb2 21:48:41 Removing intermediate container febd2362edb2 21:48:41 ---> 16d9122bfd95 21:48:41 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:48:41 ---> Running in 22c6d6b392a7 21:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:48:41 (1/1) Installing dumb-init (1.2.5-r2) 21:48:41 Executing busybox-1.35.0-r29.trigger 21:48:41 OK: 8 MiB in 16 packages 21:48:41 Removing intermediate container 22c6d6b392a7 21:48:41 ---> 8303c2c1c746 21:48:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:48:44 ---> 76534c3fe0a4 21:48:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:48:44 ---> 045c4c156ec4 21:48:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:48:45 ---> 99bd238c61e7 21:48:45 Step 20/25 : EXPOSE 59986 21:48:45 ---> Running in a169c5cfb100 21:48:45 Removing intermediate container a169c5cfb100 21:48:45 ---> ad241c3c1cb7 21:48:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:48:45 ---> Running in 42a8d2c8c61d 21:48:45 Removing intermediate container 42a8d2c8c61d 21:48:45 ---> 8b9108843218 21:48:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:48:46 ---> Running in 26ab941b800e 21:48:46 Removing intermediate container 26ab941b800e 21:48:46 ---> 5d0d72613e8f 21:48:46 Step 23/25 : LABEL arch=arm64 21:48:46 ---> Running in b65bd9a32319 21:48:46 Removing intermediate container b65bd9a32319 21:48:46 ---> 0dc165004633 21:48:46 Step 24/25 : LABEL git_sha=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 21:48:46 ---> Running in 092cd552f45d 21:48:47 Removing intermediate container 092cd552f45d 21:48:47 ---> 5ef934bc47b2 21:48:47 Step 25/25 : LABEL version=0.0.0 21:48:47 ---> Running in b2541f981477 21:48:47 Removing intermediate container b2541f981477 21:48:47 ---> 54be75d47752 21:48:47 [Warning] One or more build-args [ARCH] were not consumed 21:48:47 Successfully built 54be75d47752 21:48:47 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 21:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:47 21:48:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:48 arm64: Pulling from edgex-lftools-log-publisher 21:48:48 8998bd30e6a1: Pulling fs layer 21:48:48 04944245beec: Pulling fs layer 21:48:48 699f458cf7ca: Pulling fs layer 21:48:48 765212b225bb: Pulling fs layer 21:48:48 f23df028b6ca: Pulling fs layer 21:48:48 d65c8cfc05b1: Pulling fs layer 21:48:48 2437ff75d9bd: Pulling fs layer 21:48:48 f23df028b6ca: Waiting 21:48:48 d65c8cfc05b1: Waiting 21:48:48 2437ff75d9bd: Waiting 21:48:48 04944245beec: Verifying Checksum 21:48:48 04944245beec: Download complete 21:48:48 765212b225bb: Verifying Checksum 21:48:48 765212b225bb: Download complete 21:48:48 f23df028b6ca: Verifying Checksum 21:48:48 f23df028b6ca: Download complete 21:48:48 d65c8cfc05b1: Verifying Checksum 21:48:48 d65c8cfc05b1: Download complete 21:48:48 699f458cf7ca: Verifying Checksum 21:48:48 699f458cf7ca: Download complete 21:48:49 8998bd30e6a1: Verifying Checksum 21:48:49 8998bd30e6a1: Download complete 21:48:51 2437ff75d9bd: Verifying Checksum 21:48:51 2437ff75d9bd: Download complete 21:48:53 8998bd30e6a1: Pull complete 21:48:53 04944245beec: Pull complete 21:48:55 699f458cf7ca: Pull complete 21:48:55 765212b225bb: Pull complete 21:48:55 f23df028b6ca: Pull complete 21:48:56 d65c8cfc05b1: Pull complete 21:49:11 2437ff75d9bd: Pull complete 21:49:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:49:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:11 prd-ubuntu20.04-docker-arm64-4c-16g-16374 does not seem to be running inside a container 21:49:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:49:14 $ docker top fddbd0b31e0d938cda31d0f86055414c6e049e075f05bdbc7b57da3635846a1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:15 ---> job-cost.sh 21:49:15 lf-activate-venv: SKIPPING 21:49:15 INFO: No Stack... 21:49:15 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:16 INFO: Archiving Costs [Pipeline] sh 21:49:17 + cat /w/workspace/device-rest-go/3/archives/cost.csv 21:49:17 + cut -d, -f6 [Pipeline] lock 21:49:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] 21:49:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] did not exist. Created. 21:49:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:18 /w/workspace/device-rest-go/3@tmp/durable-897eec12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:49:18 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:18 Warning: overwriting stash ‘stack-cost’ 21:49:18 Stashed 1 file(s) [Pipeline] } 21:49:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:18 $ docker stop --time=1 fddbd0b31e0d938cda31d0f86055414c6e049e075f05bdbc7b57da3635846a1d 21:49:20 $ docker rm -f --volumes fddbd0b31e0d938cda31d0f86055414c6e049e075f05bdbc7b57da3635846a1d [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 21:49:20 provisioning config files... 21:49:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config10950600299154635913tmp [Pipeline] { [Pipeline] sh 21:49:21 + set +x 21:49:21 + curl -s https://codecov.io/bash 21:49:21 + bash -s -- 21:49:21 21:49:21 _____ _ 21:49:21 / ____| | | 21:49:21 | | ___ __| | ___ ___ _____ __ 21:49:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:49:21 | |___| (_) | (_| | __/ (_| (_) \ V / 21:49:21 \_____\___/ \__,_|\___|\___\___/ \_/ 21:49:21 Bash-1.0.6 21:49:21 21:49:21 21:49:21 ==> git version 2.25.1 found 21:49:21 ==> 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 21:49:21 Release-Date: 2020-01-08 21:49:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:49:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:49:21 ==> Jenkins CI detected. 21:49:21 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-322 21:49:21 project root: . 21:49:21 --> token set from env 21:49:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:49:21 ==> Running gcov in . (disable via -X gcov) 21:49:21 ==> Python coveragepy not found 21:49:21 ==> Searching for coverage reports in: 21:49:21 + . 21:49:21 -> Found 1 reports 21:49:21 ==> Detecting git/mercurial file structure 21:49:21 ==> Reading reports 21:49:21 + ./coverage.out bytes=14663 21:49:21 ==> Appending adjustments 21:49:21 https://docs.codecov.io/docs/fixing-reports 21:49:21 + Found adjustments 21:49:21 ==> Gzipping contents 21:49:21 4.0K /tmp/codecov.Knbz1t.gz 21:49:21 ==> Uploading reports 21:49:21 url: https://codecov.io 21:49:21 query: branch=PR-322&commit=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= 21:49:21 -> Pinging Codecov 21:49:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-322&commit=4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= 21:49:21 -> Uploading to 21:49:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/4E5D53B4F1F92C436F7061BF334D961C/4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2/d8cb4fb6-4d63-4eb5-a1b6-4b8c7254a6a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214921Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb842b600dbbed6635470086819056ad57dc67d99705461229145e7ae2cb768f 21:49:21 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:21 Dload Upload Total Spent Left Speed 21:49:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11513 --:--:-- --:--:-- --:--:-- 11513 21:49:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 [Pipeline] } 21:49:21 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 21:49:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-322/archives ] 21:49:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives 21:49:22 total 16 21:49:22 drwxr-xr-x 3 root root 4096 May 22 21:36 . 21:49:22 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:36 .. 21:49:22 drwxr-xr-x 2 root root 4096 May 22 21:36 cost 21:49:22 -rw-r--r-- 1 root root 86 May 22 21:36 cost.csv 21:49:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-322/archives 21:49:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives 21:49:22 total 16 21:49:22 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:36 . 21:49:22 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:36 .. 21:49:22 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:36 cost 21:49:22 -rw-r--r-- 1 jenkins jenkins 86 May 22 21:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:23 ---> package-listing.sh 21:49:23 ++ tr '[:upper:]' '[:lower:]' 21:49:23 ++ facter osfamily 21:49:23 + OS_FAMILY=debian 21:49:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-322 21:49:23 + START_PACKAGES=/tmp/packages_start.txt 21:49:23 + END_PACKAGES=/tmp/packages_end.txt 21:49:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:23 + PACKAGES=/tmp/packages_start.txt 21:49:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' 21:49:23 + PACKAGES=/tmp/packages_end.txt 21:49:23 + case "${OS_FAMILY}" in 21:49:23 + dpkg -l 21:49:23 + grep '^ii' 21:49:23 + '[' -f /tmp/packages_start.txt ']' 21:49:23 + '[' -f /tmp/packages_end.txt ']' 21:49:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' 21:49:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ 21:49:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [Pipeline] echo 21:49:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:24 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 21:49:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-322/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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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:latest cat 21:49:24 $ docker top df1715b22465a680654a383ab8eca842e247a823aea66c24b9e31656be184e7f -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:25 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:25 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:25 + ls /var/log/sa-host 21:49:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:25 provisioning config files... 21:49:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config9521146692078468672tmp [Pipeline] { [Pipeline] echo 21:49:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:26 ---> create-netrc.sh [Pipeline] } 21:49:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:26 ---> python-tools-install.sh [Pipeline] echo 21:49:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:26 ---> sudo-logs.sh 21:49:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:27 ---> job-cost.sh 21:49:27 lf-activate-venv: SKIPPING 21:49:27 DEBUG: total: 0.2199999988079071 21:49:27 INFO: Retrieving Stack Cost... 21:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:27 INFO: Archiving Costs [Pipeline] echo 21:49:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:28 ---> logs-deploy.sh 21:49:28 lf-activate-venv: SKIPPING 21:49:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-322/3 21:49:28 INFO: archiving workspace using pattern(s): 21:49:29 Archives upload complete. 21:49:29 INFO: archiving logs to Nexus 21:49:29 ---> uname -a: 21:49:29 Linux prd-ubuntu20-04-docker-8c-8g-16370 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:49:29 21:49:29 21:49:29 ---> lscpu: 21:49:29 Architecture: x86_64 21:49:29 CPU op-mode(s): 32-bit, 64-bit 21:49:29 Byte Order: Little Endian 21:49:29 Address sizes: 40 bits physical, 48 bits virtual 21:49:29 CPU(s): 8 21:49:29 On-line CPU(s) list: 0-7 21:49:29 Thread(s) per core: 1 21:49:29 Core(s) per socket: 1 21:49:29 Socket(s): 8 21:49:29 NUMA node(s): 1 21:49:29 Vendor ID: AuthenticAMD 21:49:29 CPU family: 23 21:49:29 Model: 49 21:49:29 Model name: AMD EPYC-Rome Processor 21:49:29 Stepping: 0 21:49:29 CPU MHz: 2799.998 21:49:29 BogoMIPS: 5599.99 21:49:29 Virtualization: AMD-V 21:49:29 Hypervisor vendor: KVM 21:49:29 Virtualization type: full 21:49:29 L1d cache: 256 KiB 21:49:29 L1i cache: 256 KiB 21:49:29 L2 cache: 4 MiB 21:49:29 L3 cache: 128 MiB 21:49:29 NUMA node0 CPU(s): 0-7 21:49:29 Vulnerability Itlb multihit: Not affected 21:49:29 Vulnerability L1tf: Not affected 21:49:29 Vulnerability Mds: Not affected 21:49:29 Vulnerability Meltdown: Not affected 21:49:29 Vulnerability Mmio stale data: Not affected 21:49:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:49:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:49:29 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:49:29 Vulnerability Srbds: Not affected 21:49:29 Vulnerability Tsx async abort: Not affected 21:49:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:49:29 21:49:29 21:49:29 ---> nproc: 21:49:29 8 21:49:29 21:49:29 21:49:29 ---> df -h: 21:49:29 Filesystem Size Used Avail Use% Mounted on 21:49:29 overlay 155G 12G 144G 8% / 21:49:29 tmpfs 64M 0 64M 0% /dev 21:49:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:49:29 shm 64M 0 64M 0% /dev/shm 21:49:29 /dev/vda1 155G 12G 144G 8% /facter-os 21:49:29 21:49:29 21:49:29 ---> sar -b -r -n DEV: 21:49:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16370) 05/22/23 _x86_64_ (8 CPU) 21:49:29 21:49:29 21:34:05 LINUX RESTART (8 CPU) 21:49:29 21:49:29 21:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:49:29 21:36:01 188.42 1.55 186.87 0.00 25.32 72958.75 0.00 21:49:29 21:37:01 182.72 0.25 182.47 0.00 14.80 43748.44 0.00 21:49:29 21:38:01 1.43 0.00 1.43 0.00 0.00 18.01 0.00 21:49:29 21:39:01 1.25 0.00 1.25 0.00 0.00 15.59 0.00 21:49:29 21:40:01 57.31 11.21 46.09 0.00 5225.40 8885.45 0.00 21:49:29 21:41:01 4.17 0.02 4.15 0.00 0.13 97.85 0.00 21:49:29 21:42:01 3.02 1.60 1.42 0.00 36.26 18.26 0.00 21:49:29 21:43:01 1.87 0.00 1.87 0.00 0.00 21.73 0.00 21:49:29 21:44:01 1.05 0.00 1.05 0.00 0.00 11.73 0.00 21:49:29 21:45:01 1.55 0.00 1.55 0.00 0.00 17.20 0.00 21:49:29 21:46:01 0.97 0.00 0.97 0.00 0.00 10.13 0.00 21:49:29 21:47:01 1.25 0.00 1.25 0.00 0.00 15.20 0.00 21:49:29 21:48:01 0.90 0.00 0.90 0.00 0.00 9.73 0.00 21:49:29 21:49:01 1.75 0.00 1.75 0.00 0.00 19.73 0.00 21:49:29 Average: 31.98 1.05 30.93 0.00 378.69 8989.68 0.00 21:49:29 21:49:29 21:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:49:29 21:36:01 27708520 31120304 1173056 3.57 146368 3440740 2231320 6.58 1623076 3069492 221912 21:49:29 21:37:01 27638808 31574536 718996 2.19 158628 3923664 1763736 5.20 1257644 3471920 260 21:49:29 21:38:01 27639548 31575336 717996 2.18 158660 3923668 1763736 5.20 1257656 3471924 8 21:49:29 21:39:01 27647268 31583364 709984 2.16 158684 3923668 1763736 5.20 1248700 3472172 24 21:49:29 21:40:01 27107976 31561396 719596 2.19 192696 4386580 1812480 5.34 1576620 3648352 260 21:49:29 21:41:01 27120628 31569232 711396 2.16 191252 4383332 1787792 5.27 1567012 3645120 176 21:49:29 21:42:01 27111784 31562668 717824 2.18 191320 4384420 1787792 5.27 1579756 3645504 56 21:49:29 21:43:01 27111020 31561976 718404 2.18 191376 4384424 1787792 5.27 1580412 3645416 176 21:49:29 21:44:01 27110264 31561224 719092 2.19 191404 4384424 1787792 5.27 1579984 3645416 40 21:49:29 21:45:01 27109828 31560996 719192 2.19 191424 4384556 1787792 5.27 1580092 3645548 176 21:49:29 21:46:01 27109860 31561280 719112 2.19 191456 4384560 1787792 5.27 1580164 3645768 176 21:49:29 21:47:01 27109660 31561148 719096 2.19 191488 4384564 1787792 5.27 1580196 3645772 176 21:49:29 21:48:01 27109612 31561120 719064 2.19 191504 4384568 1787792 5.27 1579580 3645776 180 21:49:29 21:49:01 27109436 31561016 718956 2.19 191556 4384552 1787792 5.27 1579568 3645776 8 21:49:29 Average: 27267444 31533971 750126 2.28 181273 4218409 1816081 5.35 1512176 3567425 15973 21:49:29 21:49:29 21:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:49:29 21:36:01 ens3 332.66 201.43 2003.18 31.72 0.00 0.00 0.00 0.00 21:49:29 21:36:01 vethc486dc2 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 21:49:29 21:36:01 docker0 178.97 298.18 14.45 1965.10 0.00 0.00 0.00 0.00 21:49:29 21:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:37:01 ens3 133.84 92.52 2626.44 94.63 0.00 0.00 0.00 0.00 21:49:29 21:37:01 docker0 2.63 7.18 0.17 85.57 0.00 0.00 0.00 0.00 21:49:29 21:37:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 21:49:29 21:38:01 ens3 1.50 0.13 0.19 0.07 0.00 0.00 0.00 0.00 21:49:29 21:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:39:01 ens3 2.05 1.03 3.50 0.51 0.00 0.00 0.00 0.00 21:49:29 21:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:40:01 ens3 148.03 74.34 2865.88 5.79 0.00 0.00 0.00 0.00 21:49:29 21:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:40:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 21:49:29 21:41:01 ens3 0.40 0.20 0.03 0.01 0.00 0.00 0.00 0.00 21:49:29 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:42:01 ens3 5.03 4.00 3.63 3.96 0.00 0.00 0.00 0.00 21:49:29 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:42:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:43:01 ens3 3.65 2.97 1.98 2.26 0.00 0.00 0.00 0.00 21:49:29 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:44:01 ens3 0.23 0.05 0.07 0.00 0.00 0.00 0.00 0.00 21:49:29 21:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:45:01 ens3 0.32 0.18 0.09 0.07 0.00 0.00 0.00 0.00 21:49:29 21:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:46:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 21:49:29 21:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:47:01 ens3 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:48:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:49:01 ens3 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 21:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:49:29 21:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:49:29 Average: ens3 44.88 26.93 536.08 9.93 0.00 0.00 0.00 0.00 21:49:29 Average: docker0 12.97 21.81 1.04 146.49 0.00 0.00 0.00 0.00 21:49:29 Average: lo 0.29 0.29 0.02 0.02 0.00 0.00 0.00 0.00 21:49:29 21:49:29 21:49:29 ---> sar -P ALL: 21:49:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-16370) 05/22/23 _x86_64_ (8 CPU) 21:49:29 21:49:29 21:34:05 LINUX RESTART (8 CPU) 21:49:29 21:49:29 21:35:01 CPU %user %nice %system %iowait %steal %idle 21:49:29 21:36:01 all 28.03 0.00 6.45 2.76 0.07 62.68 21:49:29 21:36:01 0 28.71 0.00 6.24 0.37 0.07 64.62 21:49:29 21:36:01 1 27.73 0.00 5.87 0.98 0.08 65.34 21:49:29 21:36:01 2 25.87 0.00 4.96 0.55 0.07 68.55 21:49:29 21:36:01 3 29.81 0.00 6.62 0.19 0.07 63.32 21:49:29 21:36:01 4 25.69 0.00 6.83 7.86 0.07 59.54 21:49:29 21:36:01 5 27.39 0.00 6.31 0.32 0.05 65.94 21:49:29 21:36:01 6 29.74 0.00 6.44 0.37 0.07 63.38 21:49:29 21:36:01 7 29.34 0.00 8.36 11.54 0.10 50.65 21:49:29 21:37:01 all 21.56 0.00 5.07 1.61 0.06 71.71 21:49:29 21:37:01 0 21.95 0.00 5.26 0.13 0.05 72.61 21:49:29 21:37:01 1 22.80 0.00 5.87 9.82 0.07 61.44 21:49:29 21:37:01 2 20.96 0.00 4.80 0.00 0.05 74.19 21:49:29 21:37:01 3 23.08 0.00 4.91 0.05 0.07 71.89 21:49:29 21:37:01 4 19.78 0.00 4.31 0.15 0.05 75.71 21:49:29 21:37:01 5 21.70 0.00 4.43 0.12 0.07 73.68 21:49:29 21:37:01 6 20.56 0.00 5.86 0.69 0.07 72.82 21:49:29 21:37:01 7 21.64 0.00 5.09 1.96 0.07 71.24 21:49:29 21:38:01 all 0.03 0.00 0.01 0.00 0.01 99.94 21:49:29 21:38:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:38:01 1 0.20 0.00 0.02 0.00 0.02 99.77 21:49:29 21:38:01 2 0.00 0.00 0.00 0.00 0.02 99.98 21:49:29 21:38:01 3 0.02 0.00 0.02 0.00 0.02 99.95 21:49:29 21:38:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:38:01 5 0.00 0.00 0.03 0.00 0.03 99.93 21:49:29 21:38:01 6 0.03 0.00 0.02 0.00 0.00 99.95 21:49:29 21:38:01 7 0.00 0.00 0.00 0.03 0.02 99.95 21:49:29 21:39:01 all 0.05 0.00 0.02 0.01 0.01 99.92 21:49:29 21:39:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:49:29 21:39:01 1 0.08 0.00 0.02 0.00 0.00 99.90 21:49:29 21:39:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:39:01 3 0.05 0.00 0.02 0.00 0.00 99.93 21:49:29 21:39:01 4 0.05 0.00 0.00 0.00 0.00 99.95 21:49:29 21:39:01 5 0.08 0.00 0.05 0.02 0.03 99.82 21:49:29 21:39:01 6 0.07 0.00 0.02 0.00 0.02 99.90 21:49:29 21:39:01 7 0.05 0.00 0.02 0.02 0.00 99.92 21:49:29 21:40:01 all 2.30 0.00 1.42 0.64 0.03 95.62 21:49:29 21:40:01 0 1.87 0.00 2.67 0.85 0.02 94.60 21:49:29 21:40:01 1 3.50 0.00 1.43 0.85 0.02 94.20 21:49:29 21:40:01 2 1.83 0.00 2.47 0.52 0.03 95.15 21:49:29 21:40:01 3 3.35 0.00 1.06 0.05 0.05 95.49 21:49:29 21:40:01 4 1.92 0.00 0.70 0.90 0.02 96.46 21:49:29 21:40:01 5 2.06 0.00 0.99 0.45 0.03 96.47 21:49:29 21:40:01 6 1.32 0.00 0.94 0.07 0.03 97.64 21:49:29 21:40:01 7 2.51 0.00 1.12 1.41 0.03 94.93 21:49:29 21:41:01 all 0.34 0.00 0.04 0.01 0.01 99.60 21:49:29 21:41:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:49:29 21:41:01 1 0.20 0.00 0.07 0.00 0.00 99.73 21:49:29 21:41:01 2 0.03 0.00 0.03 0.02 0.02 99.90 21:49:29 21:41:01 3 2.02 0.00 0.05 0.00 0.02 97.92 21:49:29 21:41:01 4 0.02 0.00 0.05 0.07 0.00 99.87 21:49:29 21:41:01 5 0.13 0.00 0.03 0.00 0.00 99.83 21:49:29 21:41:01 6 0.12 0.00 0.05 0.00 0.02 99.82 21:49:29 21:41:01 7 0.10 0.00 0.03 0.00 0.00 99.87 21:49:29 21:42:01 all 0.50 0.00 0.02 0.01 0.01 99.45 21:49:29 21:42:01 0 0.20 0.00 0.02 0.02 0.02 99.75 21:49:29 21:42:01 1 0.27 0.00 0.03 0.03 0.02 99.65 21:49:29 21:42:01 2 0.05 0.00 0.02 0.02 0.02 99.90 21:49:29 21:42:01 3 2.17 0.00 0.02 0.00 0.02 97.80 21:49:29 21:42:01 4 0.22 0.00 0.02 0.03 0.02 99.72 21:49:29 21:42:01 5 0.05 0.00 0.03 0.00 0.00 99.92 21:49:29 21:42:01 6 1.00 0.00 0.02 0.00 0.03 98.95 21:49:29 21:42:01 7 0.02 0.00 0.03 0.00 0.00 99.95 21:49:29 21:43:01 all 0.26 0.00 0.01 0.01 0.01 99.71 21:49:29 21:43:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:49:29 21:43:01 1 0.05 0.00 0.02 0.02 0.00 99.92 21:49:29 21:43:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:43:01 3 1.86 0.00 0.00 0.00 0.02 98.13 21:49:29 21:43:01 4 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:43:01 5 0.03 0.00 0.02 0.02 0.02 99.92 21:49:29 21:43:01 6 0.10 0.00 0.03 0.00 0.02 99.85 21:49:29 21:43:01 7 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:44:01 all 0.26 0.00 0.01 0.00 0.01 99.72 21:49:29 21:44:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:49:29 21:44:01 1 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:44:01 2 0.00 0.00 0.00 0.00 0.02 99.98 21:49:29 21:44:01 3 1.92 0.00 0.02 0.00 0.02 98.05 21:49:29 21:44:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:49:29 21:44:01 5 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:44:01 6 0.05 0.00 0.02 0.00 0.03 99.90 21:49:29 21:44:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:49:29 21:45:01 all 0.17 0.00 0.01 0.00 0.00 99.81 21:49:29 21:45:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:49:29 21:45:01 1 0.02 0.00 0.02 0.00 0.00 99.97 21:49:29 21:45:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:45:01 3 1.32 0.00 0.07 0.00 0.02 98.60 21:49:29 21:45:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:45:01 5 0.03 0.00 0.00 0.00 0.00 99.97 21:49:29 21:45:01 6 0.00 0.00 0.02 0.00 0.02 99.97 21:49:29 21:45:01 7 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:46:01 all 0.02 0.00 0.01 0.00 0.01 99.96 21:49:29 21:46:01 0 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:46:01 1 0.02 0.00 0.00 0.00 0.00 99.98 21:49:29 21:46:01 2 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:46:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:46:01 4 0.03 0.00 0.02 0.00 0.02 99.93 21:49:29 21:46:01 5 0.00 0.00 0.00 0.02 0.00 99.98 21:49:29 21:46:01 6 0.03 0.00 0.02 0.00 0.03 99.92 21:49:29 21:46:01 7 0.02 0.00 0.02 0.00 0.00 99.97 21:49:29 21:49:29 21:46:01 CPU %user %nice %system %iowait %steal %idle 21:49:29 21:47:01 all 0.01 0.00 0.01 0.00 0.01 99.96 21:49:29 21:47:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:49:29 21:47:01 1 0.00 0.00 0.00 0.00 0.02 99.98 21:49:29 21:47:01 2 0.00 0.00 0.00 0.00 0.02 99.98 21:49:29 21:47:01 3 0.05 0.00 0.02 0.00 0.02 99.92 21:49:29 21:47:01 4 0.02 0.00 0.02 0.02 0.00 99.95 21:49:29 21:47:01 5 0.02 0.00 0.00 0.02 0.02 99.95 21:49:29 21:47:01 6 0.02 0.00 0.02 0.00 0.03 99.93 21:49:29 21:47:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:49:29 21:48:01 all 0.01 0.00 0.00 0.00 0.01 99.97 21:49:29 21:48:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:48:01 1 0.02 0.00 0.00 0.02 0.00 99.97 21:49:29 21:48:01 2 0.00 0.00 0.00 0.00 0.02 99.98 21:49:29 21:48:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:48:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:49:29 21:48:01 5 0.02 0.00 0.02 0.02 0.00 99.95 21:49:29 21:48:01 6 0.03 0.00 0.00 0.00 0.02 99.95 21:49:29 21:48:01 7 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:49:01 all 0.01 0.00 0.01 0.00 0.01 99.97 21:49:29 21:49:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:49:29 21:49:01 1 0.02 0.00 0.00 0.02 0.00 99.97 21:49:29 21:49:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 21:49:01 3 0.02 0.00 0.02 0.00 0.02 99.95 21:49:29 21:49:01 4 0.02 0.00 0.00 0.00 0.02 99.97 21:49:29 21:49:01 5 0.02 0.00 0.00 0.02 0.00 99.97 21:49:29 21:49:01 6 0.03 0.00 0.03 0.00 0.03 99.90 21:49:29 21:49:01 7 0.00 0.00 0.00 0.00 0.00 100.00 21:49:29 Average: all 3.79 0.00 0.93 0.36 0.02 94.91 21:49:29 Average: 0 3.75 0.00 1.02 0.10 0.01 95.13 21:49:29 Average: 1 3.87 0.00 0.94 0.83 0.02 94.34 21:49:29 Average: 2 3.45 0.00 0.87 0.08 0.02 95.57 21:49:29 Average: 3 4.65 0.00 0.90 0.02 0.02 94.40 21:49:29 Average: 4 3.38 0.00 0.84 0.64 0.01 95.13 21:49:29 Average: 5 3.65 0.00 0.84 0.07 0.02 95.41 21:49:29 Average: 6 3.76 0.00 0.95 0.08 0.03 95.18 21:49:29 Average: 7 3.79 0.00 1.04 1.05 0.02 94.11 21:49:29 21:49:29 21:49:29